Supposed to sort out just pictures but pdf were also sorted

Started by lumiere, December 14, 2021, 06:11:40 PM

Previous topic - Next topic

lumiere

Hello everyone,
I have just recently used exiftool to sort out pictures across many folders and subfolders. I expected exiftool to move just picture files across but it turned out it moved also pdf files.
How can I enforce just pictures to be moved and nothing else ?

StarGeek

This is basically FAQ #16 reversed.  Exiftool will process any of the writable Supported File Types table by default.  In order to limit the file types you want to process, you would use the -ext (-extension) option, either to specify the file types you want to rename, e.g. -ext jpg -ext jpeg -ext png or to exclude file types --ext pdf --ext mp4.
"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