Can IM change timestamp?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
VanGog
Posts: 278
Joined: 2012-02-05T02:46:58-07:00
Authentication code: 8675308

Can IM change timestamp?

Postby VanGog » 2012-04-13T09:43:17-07:00

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.

User avatar
glennrp
Posts: 858
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: Can IM change timestamp?

Postby glennrp » 2012-04-14T04:36:41-07:00

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.

VanGog
Posts: 278
Joined: 2012-02-05T02:46:58-07:00
Authentication code: 8675308

Re: Can IM change timestamp?

Postby VanGog » 2012-04-14T05:07:51-07:00

I found touch equivalent for windows so I will use it http://sourceforge.net/projects/unxutils/


Return to “Users”

Who is online

Users browsing this forum: Bing [Bot] and 8 guests