Skip to content

fogoffaith/Metkleener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

✨ metkleener ✨

Clean metadata from JPG and PNG image files with style.


πŸš€ Features

  • 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

⚑ Usage

./metkleener.sh [OPTIONS] <file1> [file2 ...]

Options

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

🎯 Examples

Clean a few images:

./metkleener.sh image1.jpg image2.png

Clean all JPGs in the current directory and save to a folder:

./metkleener.sh --output cleaned/ *.jpg

Overwrite images in a directory (recursively):

./metkleener.sh --overwrite folder/

Verbose output:

./metkleener.sh --verbose image.jpg

πŸ›  Requirements

  • bash
  • file
  • xxd
  • awk
  • grep
  • tail
  • dd
  • coreutils (for mktemp and find)

All are standard on most Linux distributions and macOS.


πŸ’‘ Notes

  • The script creates cleaned images with _clean suffix by default unless --overwrite is 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.

πŸ“„ License

GNU General Public License v3.0


πŸ™ Credits


About

Metadata remover tools written in bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages