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?".

Can IM change timestamp?

Postby VanGog » 2012-04-13T09:43:17+00: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.
VanGog
 
Posts: 190
Joined: 2012-02-05T02:46:58+00:00

Re: Can IM change timestamp?

Postby glennrp » 2012-04-14T04:36:41+00: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.
User avatar
glennrp
 
Posts: 774
Joined: 2006-04-01T08:16:32+00:00
Location: Maryland 39.26.30N 76.16.01W

Re: Can IM change timestamp?

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

I found touch equivalent for windows so I will use it http://sourceforge.net/projects/unxutils/
VanGog
 
Posts: 190
Joined: 2012-02-05T02:46:58+00:00


Return to Users

Who is online

Users browsing this forum: Bing [Bot], derilzemer, Google [Bot], Google Adsense [Bot], Yahoo [Bot] and 17 guests