{"id":31702317,"url":"https://github.com/brooks-code/jpeg-tidy","last_synced_at":"2025-10-08T21:50:51.896Z","repository":{"id":317432201,"uuid":"1067397775","full_name":"brooks-code/jpeg-tidy","owner":"brooks-code","description":"BRRER: a simple command-line tool to resize JPEGs, sequentially rename them, and strip all EXIF metadata — overwriting originals for fast, privacy-focused batch cleanup.","archived":false,"fork":false,"pushed_at":"2025-09-30T20:02:32.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-30T21:31:18.507Z","etag":null,"topics":["automation","batch-processing","exif","image-tools","metadata","privacy","privacy-protection","privacy-tools","shell","shell-scripts"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brooks-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-30T19:56:07.000Z","updated_at":"2025-09-30T20:02:35.000Z","dependencies_parsed_at":"2025-09-30T21:31:20.241Z","dependency_job_id":null,"html_url":"https://github.com/brooks-code/jpeg-tidy","commit_stats":null,"previous_names":["brooks-code/jpeg-tidy"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/brooks-code/jpeg-tidy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brooks-code%2Fjpeg-tidy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brooks-code%2Fjpeg-tidy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brooks-code%2Fjpeg-tidy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brooks-code%2Fjpeg-tidy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brooks-code","download_url":"https://codeload.github.com/brooks-code/jpeg-tidy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brooks-code%2Fjpeg-tidy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000701,"owners_count":26082837,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":["automation","batch-processing","exif","image-tools","metadata","privacy","privacy-protection","privacy-tools","shell","shell-scripts"],"created_at":"2025-10-08T21:50:48.394Z","updated_at":"2025-10-08T21:50:51.890Z","avatar_url":"https://github.com/brooks-code.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# JPEG B.atch R.esize, R.ename, and EXIF R.emoval script\n\n**BRRER-me! A tale of pixels and metadata.**\n\n![Banner Image](/img/photo_booth.jpg \"A banner image depicting a kodak photo booth (Source Flickr).\")\n*60s Kodak Fotomat drive through.*\n\n### Genesis\n\n\u003e When I print pictures online or in shops, I'd sometime rather prefer keeping the original files for myself than seeing them released into the third-parties jungle. This script is basically a combination of commands I use and it will help you (partially) anonymize your pictures and also reduce their carbon footprint.\n\n## Table of contents\n\n- [JPEG B.atch R.esize, R.ename, and EXIF R.emoval script](#jpeg-batch-resize-rename-and-exif-removal-script)\n    - [Genesis](#genesis)\n  - [Table of contents](#table-of-contents)\n  - [Features](#features)\n  - [Dependencies](#dependencies)\n    - [Installation of the dependencies](#installation-of-the-dependencies)\n  - [Usage](#usage)\n  - [Warning](#warning)\n  - [Limitations](#limitations)\n  - [License](#license)\n    - [Limitation of liability](#limitation-of-liability)\n\n## Features\n\n1. **Resize JPEG files**: Resizes all JPEG files in the current directory to 55% *(by default)* of their original size.\n2. **Rename JPEG files**: The script renames all JPEG files in the current directory to a sequential numbering (e.g., 1.jpg, 2.jpg, 3.jpg, etc.).\n3. **Remove EXIF metadata**: The script removes all EXIF metadata from the JPEG files in the current directory, **overwriting** the original files.\n\n\u003e[!NOTE]\n\u003e The script is case insensitive towards file extensions and will consider .jpeg or .jpg files equivalently.\n\n## Dependencies\n\nThe following dependencies are required to be installed:\n\n* ImageMagick (for image resizing), included in most distros.\n* exiftool (for EXIF metadata removal)\n\n### Installation of the dependencies\n\nTo install the dependencies on Debian/Ubuntu, run the following commands:\n\n* `sudo apt update \u0026\u0026 sudo apt install imagemagick libimage-exiftool-perl`\n\n## Usage\n\n1. Save or download this script as a file.\n2. Navigate to the script folder and make it executable by running `chmod +x BRRER.sh` or run `chmod +x /path/to/file/BRRER.sh`.\n3. Navigate to the directory containing the JPEG files you want to process.\n4. Run the script by executing `./path/to/file/BRRER.sh` in the terminal.\n5. Confirm that you are in the correct directory and want to proceed with the processing.\n\n## Warning\n\n\u003e[!WARNING]\n\u003e The script will **overwrite** the original files. Make sure to backup your all your files before running it!\n\n## Limitations\n\n* For security reasons, the script uses `find` with a `maxdepth` value of **1** to search for JPEG files within the current directory, so it will **only process files in the current directory** and not the ones located in subdirectories.\n\n## License\n\nThe source code is provided under a Creative Commons CC0 license. See the [LICENSE](/LICENSE) file for details.\n\n### Limitation of liability\n\nBy using this script, you acknowledge that the author shall not be held liable for any lost profits, lost revenues or opportunities, downtime, or any consequential damages or costs, resulting from the use of this script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrooks-code%2Fjpeg-tidy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrooks-code%2Fjpeg-tidy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrooks-code%2Fjpeg-tidy/lists"}