Command to sort photos in directory by "shooting mode"?

Started by plantguy123, February 21, 2020, 03:55:22 PM

Previous topic - Next topic

plantguy123

I have a directory of photos. For the "Shooting Mode" metadata item, most have "Delay, PC Control", while some only have "PC Control". What exiftool command would I use to move all photos without "Delay" to a different directory? Thanks.

StarGeek

I'm unfamiliar with the "Shooting Mode" tag, so I can't give an exact command.  You need to get the actual tag name with
exiftool -G1 -a -s File.jpg

Once you figure out the name, replace TAG with that in this command
exiftool -if "$TAG!~/Delay/i" "-Directory=/path/to/new/directory/"
* 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).