Page 1 of 1

Can IM change timestamp?

Posted: 2012-04-13T09:43:17-07:00
by VanGog
I have folder with bitmaps and I want to use convert -level to convert the image, overwrite it with newfile with same name, but I need to change timestamp, for example 01-01-2001 01:01:01. Can IM change the timestamp? I use Windows and don't know about the way how to do it in Windows from command line.

Re: Can IM change timestamp?

Posted: 2012-04-14T04:36:41-07:00
by glennrp
Which timestamp are you referring to? There is the system's timestamp that you see when you list a directory, there is a date:create property, and probably an internal timestamp inside the EXIF property. Assuming you are talking about the first, that's outside of the scope of ImageMagick. On a Linux system you'd use "touch". I don't know what is the Windows equivalent but I'm sure there is one.

Re: Can IM change timestamp?

Posted: 2012-04-14T05:07:51-07:00
by VanGog
I found touch equivalent for windows so I will use it http://sourceforge.net/projects/unxutils/