ExifTool Forum

ExifTool => Newbies => Topic started by: zuru on June 22, 2020, 03:58:07 PM

Title: how do I move raw files that were shot at a particular ISO?
Post by: zuru on June 22, 2020, 03:58:07 PM
Sorry for the newbie question but I'd like to move to a new folder a subset of raw files that match a specific ISO. Can anyone point me to the right syntax?

thanks
Title: Re: how do I move raw files that were shot at a particular ISO?
Post by: StarGeek on June 22, 2020, 04:14:11 PM
Try
exiftool -if "$ISO==800" -Directory=/path/to/moved/ /path/to/source/
Replace 800 with the actual ISO you're looking for.  You can also use Less/Greater than </>, e.g. "$ISO>200".
Replace /path/to/moved/ and /path/to/source/ with the actual paths.

This command creates backup files.  Add -Overwrite_Original (https://exiftool.org/exiftool_pod.html#overwrite_original) to suppress the creation of backup files.  Add -r (https://exiftool.org/exiftool_pod.html#r-.--recurse) to recurse into subdirectories.  If on Mac/Linux, change double quotes to single quotes (and vice versa).
Title: Re: how do I move raw files that were shot at a particular ISO?
Post by: zuru on June 22, 2020, 04:29:00 PM
Thanks!
Title: Re: how do I move raw files that were shot at a particular ISO?
Post by: Phil Harvey on June 22, 2020, 08:07:37 PM
Quote from: StarGeek on June 22, 2020, 04:14:11 PM
Try
exiftool -if "$ISO==800" -Directory=/path/to/moved/ /path/to/source/

This command creates backup files.

It shouldn't, because no "real" tags are being written.  So -overwrite_original shouldn't be necessary.

- Phil
Title: Re: how do I move raw files that were shot at a particular ISO?
Post by: StarGeek on June 22, 2020, 10:48:41 PM
Ooops, should have edited my copy/paste addendum.