{"id":23974937,"url":"https://github.com/kidig/go-sdcopy","last_synced_at":"2025-07-05T17:39:56.570Z","repository":{"id":271049068,"uuid":"912253438","full_name":"kidig/go-sdcopy","owner":"kidig","description":"Command-line tool to copy \u0026 organize your media files from SD cards","archived":false,"fork":false,"pushed_at":"2025-01-06T04:27:10.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T16:41:55.304Z","etag":null,"topics":["copy","sdcard","tool"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kidig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-05T03:18:04.000Z","updated_at":"2025-01-06T04:11:46.000Z","dependencies_parsed_at":"2025-01-05T10:10:41.010Z","dependency_job_id":null,"html_url":"https://github.com/kidig/go-sdcopy","commit_stats":null,"previous_names":["kidig/go-sdcopy"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/kidig/go-sdcopy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidig%2Fgo-sdcopy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidig%2Fgo-sdcopy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidig%2Fgo-sdcopy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidig%2Fgo-sdcopy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kidig","download_url":"https://codeload.github.com/kidig/go-sdcopy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kidig%2Fgo-sdcopy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263779085,"owners_count":23510091,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["copy","sdcard","tool"],"created_at":"2025-01-07T05:55:22.807Z","updated_at":"2025-07-05T17:39:56.564Z","avatar_url":"https://github.com/kidig.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SD Copy\n\nSD Copy copies files from a source directory to a destination directory, preserving the directory structure and file timestamps.\nIt can be used for organizing destination files by date (see **Placeholders** below)\n\n## Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/yourusername/sdcopy.git\n    cd sdcopy\n    ```\n\n2. Build the project:\n    ```sh\n    go build -o sdcopy main.go\n    ```\n\n## Usage\n\nRun the `sdcopy` command with the source and destination paths as arguments:\n\n```sh\n./sdcopy /path/to/source /path/to/destination\n```\n\nThis will copy all files from /path/to/source to /path/to/destination, preserving the directory structure and file timestamps.\n\n### Placeholders in Destination Path\nYou can use placeholders in the destination path to dynamically create directories based on the file's modification time. The following placeholders are supported:\n\n* {year}: The year of the file's modification time (e.g., 2023)\n* {month}: The month of the file's modification time (e.g., 01)\n* {day}: The day of the file's modification time (e.g., 15)\n\nFor example:\n```sh\n./sdcopy /path/to/source /path/to/destination/{year}/{month}/{day}\n```\n\nIf a file was modified on Jan 15, 2023, it will be copied to:\n```sh\n/path/to/destination/2023/01/15/filename\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkidig%2Fgo-sdcopy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkidig%2Fgo-sdcopy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkidig%2Fgo-sdcopy/lists"}