{"id":20581228,"url":"https://github.com/jonathas/pbc-organizer","last_synced_at":"2026-04-22T04:06:25.100Z","repository":{"id":40714430,"uuid":"277297383","full_name":"jonathas/pbc-organizer","owner":"jonathas","description":"Photo by Camera Organizer - Organize your moments!","archived":false,"fork":false,"pushed_at":"2025-06-22T14:50:30.000Z","size":410,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-06-22T15:41:01.720Z","etag":null,"topics":["exif","nodejs","photo","photo-gallery","photography","photos","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonathas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-07-05T12:26:11.000Z","updated_at":"2025-06-22T14:49:45.000Z","dependencies_parsed_at":"2024-11-16T06:37:38.216Z","dependency_job_id":null,"html_url":"https://github.com/jonathas/pbc-organizer","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jonathas/pbc-organizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fpbc-organizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fpbc-organizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fpbc-organizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fpbc-organizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathas","download_url":"https://codeload.github.com/jonathas/pbc-organizer/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathas%2Fpbc-organizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32120408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"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":["exif","nodejs","photo","photo-gallery","photography","photos","typescript"],"created_at":"2024-11-16T06:27:32.166Z","updated_at":"2026-04-22T04:06:25.056Z","avatar_url":"https://github.com/jonathas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Photo by Camera Organizer\n\n## Introduction\n\nIf you, like me, live in a household where there is more than one model of camera or mobile phone, you might end up with photos from all these cameras mixed up in just one place.\n\nThis can happen, among other reasons, if for example:\n\n- Both you and other people in your family use the same Dropbox account and all devices sync photos to the Camera Uploads directory on Dropbox automatically\n\n- You receive photos that friends took of you / for you in some party and they get all mixed up in some directory.\n\n- You have more than one camera model that you own and would like to organize photos by camera in different directories.\n\nUsing the Photo by Camera Organizer script, you're able to identify which of the photos in a specific directory were taken by your friend's camera, then automatically move them to a separate directory so they can be better organized.\n\n## Configuration\n\nDownload this source code, enter its directory via the terminal and run:\n\n```bash\nnpm i\n```\n\nto install the required packages\n\n## Usage\n\n### Organizig by camera model\n\nThe following parameters can be passed to the script:\n\n___________________\n\n| Command        | Result |\n| ------------- |:-------------:|\n| srcdir    | The directory path where your photos are located |\n| outdir  | The directory where you want to save the selected photos (the script will create it if it doesn't exist yet) |\n| brand | The brand of the camera. Examples: samsung, xiaomi     |\n| model | Optional. The specific model of the camera, in case you have more than one camera with the same brand |\n| filetype | Optional. If your photos are not in jpg, specify the filetype. Examples: png, gif, jpeg |\n___________________\n\nRun it with ts-node. Examples:\n\n```\nts-node index.ts --brand=samsung --srcdir=/Users/jon/Desktop --outdir=\"/Users/jon/Desktop/mydir with spaces\" --model=SM-G973F\n```\n\n```\nts-node index.ts --brand=xiaomi --srcdir=/Users/jon/Desktop --outdir=\"/Users/jon/Desktop/mydir xiaomi photos\" --filetype=png\n```\n\n```\nts-node index.ts --brand=xiaomi --srcdir=/Users/jon/Desktop --outdir=/Users/jon/Desktop/mydir\n```\n\n### Organizing by date\n\nIf you'd like to group the files by date only:\n\n___________________\n\n| Command        | Result |\n| ------------- |:-------------:|\n| srcdir    | The directory path where your photos are located |\n| outdir  | The directory where you want to save the selected photos (the script will create it if it doesn't exist yet) |\n| mode  | bydate\n___________________\n\nRun it with ts-node. Examples:\n\n```\nts-node index.ts --mode=bydate --srcdir=/Users/jon/Desktop --outdir=\"/Users/jon/Desktop/mydir with spaces\"\n```\n\n## Known limitations\n\n- The script won't be able to identify screenshots, as they don't have exif data about a camera. They weren't taken by a camera anyway.\n\n- The script won't be able to identify videos, as they don't have exif data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Fpbc-organizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathas%2Fpbc-organizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathas%2Fpbc-organizer/lists"}