{"id":13397530,"url":"https://github.com/mgerb/mgphoto","last_synced_at":"2025-05-07T21:11:29.801Z","repository":{"id":57580732,"uuid":"168268812","full_name":"mgerb/mgphoto","owner":"mgerb","description":"A dead simple command line photo import tool","archived":false,"fork":false,"pushed_at":"2022-04-09T18:32:05.000Z","size":355,"stargazers_count":29,"open_issues_count":2,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T21:11:28.438Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mgerb.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-30T02:54:53.000Z","updated_at":"2024-07-17T14:17:22.000Z","dependencies_parsed_at":"2022-09-26T19:30:48.389Z","dependency_job_id":null,"html_url":"https://github.com/mgerb/mgphoto","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fmgphoto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fmgphoto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fmgphoto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fmgphoto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgerb","download_url":"https://codeload.github.com/mgerb/mgphoto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954409,"owners_count":21830905,"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":["hacktoberfest"],"created_at":"2024-07-30T18:01:28.966Z","updated_at":"2025-05-07T21:11:29.773Z","avatar_url":"https://github.com/mgerb.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg width=\"200\" src=\"./readme_files/mgphoto.svg\"/\u003e\n\u003ch2 align=\"center\"\u003eA dead simple command line photo import tool\u003c/h2\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"./readme_files/demo.gif\" width=\"800\"\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/mgerb/mgphoto/releases\"\u003eDownload the latest release here\u003c/a\u003e\n\u003c/p\u003e\n\n- extremely fast\n- duplicate file handling\n  - skip duplicates\n  - copy duplicates to separate folder\n- preserve original files and file names\n- uses **optional** [Exiftool](https://exiftool.org/install.html) for higher precision exif readings (just install and make sure `exiftool` is in your path to benefit from this)\n- Photos are not renamed unless a file already exists with that name e.g. **IMG_1.jpg** will be renamed to **IMG_1_1.jpg**.\n- recursively scan directory for new photos\n\nCourtesy of [gophers](https://github.com/egonelbre/gophers) for the logo.\n\n## Options\n\n| Argument | Default | Description\n|--|--|--|\n| out | ./photos | Output path - defaults to ./photos |\n| log | ./transfer.log | Log path - defaults to ./transfer.log |\n| copy-dupes  | false | Copy duplicates to 'duplicates' folder |\n| ignore-tiny  | false | Ignore really small images (\u003c5kb) |\n| dryrun | false | Don't actually do anything |\n| analyze | false | Track how long operations are taking |\n| sidecar | false | Include sidecar files e.g. .xml, .on1, .xmp |\n\n## Example Usage\n\n```\nmgphoto -out=/home/photos -copy-dupes -ignore-tiny -analyze /path/to/input/files\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgerb%2Fmgphoto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgerb%2Fmgphoto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgerb%2Fmgphoto/lists"}