[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to change jpg time stamp using exiv2



On 10/09/2010 07:02 PM, Ken Heard wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to the exiv2 man page the command to change a jpg time stamp
is as follows:

exiv2 -a<time>  adjust<file>

<Time>  is the difference between the time to be adjusted and the new
time in the format [-]HH[:MM[:SS]]. For example: 1 adds one hour, 1:01
adds one hour and one minute, -0:00:30 subtracts 30 seconds.

So, I have a time stamp of 2010-04-16 Fri 07:11, where I want to change
the time to 19:11.  So I run

exiv2 -a 12 adjust img_1234.jpg

and get the following in return:

Warning: Makernote IFD has a next pointer != 0 (128). Ignored.

So the man page is obviously wrong.  I would appreciate it if someone
could tell me the proper format for this command.

Regards, Ken Heard


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkywoBoACgkQlNlJzOkJmTdyGwCeNqlP5RzEgSFVuyA3ZvFDHnW3
W4kAn1TNs5r6cry2Gh110wbXvkbyy76P
=gDts
-----END PGP SIGNATURE-----


Hi,
I newer used exiv2, tried for first time with your command "exiv2 -a 12 adjust" on my_photo.TIF and everything was ok. "exiv2 -u my_photo.TIF" give a difference before and after "exiv2 -a 12 adjust" in image timestamp.

--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


Reply to: