Remove location/GPS metadata from images for privacy. Use --all to strip all EXIF data.
Removes GPS and EXIF metadata from images to protect privacy before sharing.
/plugin marketplace add iamfiscus/claude-code-scrub/plugin install iamfiscus-scrub@iamfiscus/claude-code-scrub[--all] <file_or_folder>Remove GPS/location metadata from images to protect privacy before sharing.
When the user runs this command:
Parse arguments:
--all flag: Remove ALL metadata (not just GPS)Execute the scrub script:
bash "$CLAUDE_PLUGIN_ROOT/scripts/scrub-metadata.sh" [--all] <target>
Report results: Tell the user which files were processed and what was removed.
/scrub:metadata ./photo.jpg - Remove GPS data from single image/scrub:metadata --all ./photo.jpg - Remove ALL metadata from image/scrub:metadata ./images/ - Remove GPS data from all images in folder/scrub:metadata --all ./uploads/ - Strip all metadata from folder--all): Complete privacy, removes everythingJPG, JPEG, PNG, HEIC, WEBP, TIFF
Uses exiftool (preferred) or ImageMagick as fallback. If neither is installed, prompt user to install:
brew install exiftool