Clear metadata, leaving originals in place, with modified files moved to subdir

Started by bodacious, May 10, 2020, 03:49:01 PM

Previous topic - Next topic

bodacious

Is it possible, with one command, to recursively clear all of the metadata from photos, leaving the original files in place and untouched, but the scrubbed files moved to a 'clean' subdirectory, relative to the original image?

Final directory structure as so:
directory/file.ext <--- unmodified
directory/clean/file.ext <--- metadata erased
directory/another_dir/file.ext
directory/another_dir/clean/file.ext

Cheers!

StarGeek

This should do what you want, but test it to be sure.
exiftool -r -o %d/clean/%F -all= /path/to/source/
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

bodacious