ExifTool Forum

ExifTool => Newbies => Topic started by: Micha on November 11, 2012, 04:35:09 PM

Title: Increase time attributes
Post by: Micha on November 11, 2012, 04:35:09 PM
Hi,
my question is similar to the one put by ipisco on November 5 (https://exiftool.org/forum/index.php/topic,4536.0.html). 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
Title: Re: Increase time attributes
Post by: Phil Harvey on November 11, 2012, 07:12:06 PM
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
Title: Re: Increase time attributes
Post by: Micha on November 12, 2012, 04:42:12 AM
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