Increase time attributes

Started by Micha, November 11, 2012, 04:35:09 PM

Previous topic - Next topic

Micha

Hi,
my question is similar to the one put by ipisco on November 5. Trying to change all time attributes I first applied the example from your website (exiftool -AllDates-=1 <DIR>). Modifying it to exiftool -AllDates-=1:3:5 4:13:0 resulted in changing hour, minute and second by 1/3/5 respectively with no changes in year, month and day. Applying your answer to ipisco (exiftool "AllDates+=1:3:5 4:13:0" <DIR>) did not affect any files.
How can I simultaneously change all time attributes?

PH Edit: Added link for reference to other post

Phil Harvey

You need quotes around the argument because it contains spaces:

exiftool "-AllDates-=1:3:5 4:13:0" ...

It seems like you may have tried quotes, but you forgot the leading "-" before "AllDates" there (at least in what you typed).

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

Micha

Thanks a million, Phil. My mistake was that I used the wrong kind of quotes, ' instead of ". Sorry, but it was the first time I used your excellent program.
Thanks again
Micha