How to change file creation date?

Started by Archive, May 12, 2010, 08:54:23 AM

Previous topic - Next topic

Archive

[Originally posted by ce on 2008-08-02 06:21:19-07]

After searching through the manual I could not find a way to set the file creation date in exiftool. I was expecting a "tag" such as FileCreateDate that works the same way as FileModifyDate.

I want to reset the filesystem creation date to the date the picture was taken, since the file date gets reset when i move files from one drive to another.

Thanks

Archive

[Originally posted by heiko on 2008-08-02 11:45:44-07]

Hello,

you can use

Code:
ExifTool "-DateTimeOriginal>FileModifyDate" name.jpg

to do your job

Regards
Heiko

Archive

[Originally posted by ce on 2008-08-02 15:44:04-07]

The suggested solution will only change the "Modified" date in the file system, but the "Created" date in the filesystem will not be affected. I would like to set the filesytem creation date to the date when the picture was taken, which seems to be impossible with exiftool.exe.

Surely it would be an easy task in perl.

Archive

[Originally posted by exiftool on 2008-08-15 11:04:38-07]

Unfortunately the filesystem create date is not part of a Unix
filesystem, so Perl has not evolved a built-in command to
modify this date.

 - Phil