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/
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

bodacious