{"id":19694726,"url":"https://github.com/simulot/getphotos","last_synced_at":"2026-06-17T09:31:58.387Z","repository":{"id":75014197,"uuid":"500520253","full_name":"simulot/getphotos","owner":"simulot","description":"Command-line utility to place photos from your smartphone in your photo library, by date.","archived":false,"fork":false,"pushed_at":"2022-06-24T20:08:33.000Z","size":1640,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-27T12:35:18.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/simulot.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-06T16:59:05.000Z","updated_at":"2024-07-07T06:44:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"015fdf62-6bb6-456c-bbcd-d6f4a674c5f3","html_url":"https://github.com/simulot/getphotos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simulot/getphotos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simulot%2Fgetphotos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simulot%2Fgetphotos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simulot%2Fgetphotos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simulot%2Fgetphotos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simulot","download_url":"https://codeload.github.com/simulot/getphotos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simulot%2Fgetphotos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34443232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-11T19:24:17.034Z","updated_at":"2026-06-17T09:31:58.371Z","avatar_url":"https://github.com/simulot.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This module aims to download photos from your smartphone into your photo library in folders based on photo's time.\n\nIt uses the `gio` command for accessing to attached devices and perform file operations. (see `man gio`)\n\n# usage\n```\nUsage of getphotos:\n  -device value\n        device mount point. leave empty to search all devices mounted\n  -exclude value\n        exclude files containing the string. Can be repeated. (default .trashed,screenshoot)\n  -library value\n        photo libray path. (default /home/$user/Pictures)\n  -move\n        move files instead of copy them.\n  -subfolder value\n        Photo destination sub folder based on exposure date, accepts %Y,%m,%d for year month day, %H,%M,%S for hours minutes secondes (default Photos/%Y/%Y.%m/%Y.%m.%d)\n```\n\n# device option\nBy default, `getphotos` scans all attached devices having a `DCIM` folder.\nIt has been tested on a linux mint box with:\n- iPhone 6s and +\n- Android 12\n\nThe `-device` option indicates the path where photos are stored. When it's given, scan for attached device is skipped.\n\n\n# move option\nWhen the `-move` is given, the photos are removed from the device after a successful copy into the library.\n\n# Photos library\n\nThe photo library is placed by default in your's Picture directory. The default location is /home/$user/Pictures. This can be changed with the option `-library`\n\nPhotos are placed in the library in a directory determined by the date of the photo. The default directory for a photo taken on 01/06/2022 is `/home/$user/Photos/2022/2022.06/2022.06.01`.\n\nThis can be changed using the `-subfolder` option. Following placeholder can be used:\n- %Y for the year (ex. 2022)\n- %m for the month (ex. 06)\n- %d for the day (ex. 01)\n- %H for the hour (ex. 16)\n- %M for the minute (ex. 02)\n- %S for de seconde (ex. 45)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimulot%2Fgetphotos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimulot%2Fgetphotos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimulot%2Fgetphotos/lists"}