- Removes EXIF and IPTC metadata from JPEG images
- Removes textual metadata chunks (
tEXt,iTXt,zTXt) from PNG images - Supports individual files or directories (recursively processes images in directories)
- Keeps original images by default, or overwrites with
--overwrite - Optional output directory for cleaned files
- Clear, stylish ASCII banner and progress animation
- Verbose mode for detailed processing logs
./metkleener.sh [OPTIONS] <file1> [file2 ...]| Option | Description |
|---|---|
--help |
Show this help message |
--overwrite |
Overwrite original files (default: creates new files) |
--output <dir> |
Save output files to specified directory |
--verbose |
Show detailed processing information |
Clean a few images:
./metkleener.sh image1.jpg image2.pngClean all JPGs in the current directory and save to a folder:
./metkleener.sh --output cleaned/ *.jpgOverwrite images in a directory (recursively):
./metkleener.sh --overwrite folder/Verbose output:
./metkleener.sh --verbose image.jpgbashfilexxdawkgreptailddcoreutils(formktempandfind)
All are standard on most Linux distributions and macOS.
- The script creates cleaned images with
_cleansuffix by default unless--overwriteis set. - Only JPG and PNG files are processed; unsupported formats are skipped with a warning.
- When a directory is given, it is searched recursively for JPG and PNG files.
GNU General Public License v3.0
- ASCII Art generated for visual style.
- fog_of_faith.