how to back date a file date? - solved.

Josef Lowder joe at actionline.com
Mon Jul 16 22:43:10 MST 2007


.
Thanks again for the responses. 

'touch' worked.  I used this syntax: 

$ touch -t 0705141341 filename.jpg

That set the file date as: May 14 at 13:41 (year 2007) 

--------------------
> Josef Lowder wrote:
> > How can I back-date a file to an older date that 
> > reflects its original creation date rather than its 
> > last modified date? 
> > 
> > I want to do this so the file dates will correctly identify 
> > the dates the photos were originally taken rather than the 
> > later dates that I modified, cropped, and resized them, etc.

On Mon, 16 Jul 2007, JT Moree wrote
> jhead will do this.  I wrote some wrapper scripts as part of picbook
> (http://sourceforge.net/projects/picbook/) to do this kind of stuff.
> they call jhead and/or touch.
> 
> http://picbook.cvs.sourceforge.net/*checkout*/picbook/picbook/FixImage.sh
> might be useful to you.




More information about the PLUG-discuss mailing list