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!
This should do what you want, but test it to be sure.
exiftool -r -o %d/clean/%F -all= /path/to/source/
That's amazing, thank you very much. Works as expected.