Batch EXIF metadata remover — straight from your terminal.
________ _________ _ ____________
/ ____/ / / ____/ | / | / / ____/ __ \
/ / / / / __/ / /| | / |/ / __/ / /_/ /
/ /___/ /___/ /___/ ___ |/ /| / /___/ _, _/
\____/_____/_____/_/ |_/_/ |_/_____/_/ |_|
Cleaner scans the inputs/ folder, strips all EXIF metadata from every image, and saves clean copies with randomised filenames into the outputs/ folder. The original files are never modified.
Supported formats: JPG, JPEG, PNG, GIF, TIFF, HEIC, HEIF, WEBP
- Python 3.7+
- Pillow
git clone https://github.com/vladkotov92/cleaner.git
cd cleaner
pip install pillow- Drop the images you want to clean into the
inputs/folder. - Run the script:
python3 cleaner.py- Retrieve the cleaned images from the
outputs/folder.
The script will print a per-file status and a final summary:
[OK] photo1.jpg
[OK] photo2.png
[ERROR] corrupt.jpg: cannot identify image file
Done! 2/3 images processed.
The
outputs/folder is created automatically if it does not exist.
A Russian Boy GitHub: vladkotov92
MIT — see LICENSE