Author Topic: Processing a selection of files  (Read 601 times)

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 16724
    • ExifTool Home Page
Processing a selection of files
« on: May 01, 2018, 08:07:37 AM »
I have over 7000 sample images in my test suite, and I wanted to test ExifTool by editing a small cross-section of them.  This command worked very nicely (and efficiently) to run ExifTool on 1% of the files:

exiftool -fast3 -if "not $filesequence % 100" -artist=phil -o tmp/ DIR

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).