Change multiple files within directory

Started by descotes, November 26, 2017, 07:08:28 PM

Previous topic - Next topic

descotes

Question I have is I am changing dates in each of my files.  I'm using windows and have one folder that says "1971".  Within that folder are picture files that go like this:

1971-01-xx.tif
1971-01-xx.tif
1971-02-xx.tif
1971-02-xx.tif
1971-02-xx.tif
1971-02-xx.tif
1971-02-xx.tif
1971-03-xx.tif
1971-03-xx.tif

I am running this exiftool -overwrite_original -alldates="1971:02:01 12:24:36" and it's working.  However I'm doing it one at a time for each month and changing the month as I go.

Is there a way to do each month as a batch so I'm not doing them one at a time?

StarGeek

Instead of using the file, use the directory to get everything in that directory.  From your previous examples, I assume that you have CD to the directory that holds the pictures.  In that case, just use a dot
exiftool -overwrite_original -alldates="1971:02:01 12:24:36" .

Otherwise, you could use the full path to the directory
exiftool -overwrite_original -alldates="1971:02:01 12:24:36" C:\path\to\tiffs\photos\1971
* 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).