Making the file create date match the date taken

Started by alexbixknell, July 10, 2023, 04:50:54 PM

Previous topic - Next topic

alexbixknell

I've backed up my photo library from various sources onto windows (actually, onto my NAS). The "File Created" data shown on Windows Explorer is now the backup date, not the date the photo was taken. So, I'm trying to change the tag

I've tried to work this out from other topics, but I have got this far, and it still won't work.

I think the first line I used created a new "Create Date" tag in the ExifIFD tags, which doesn't do what I need it to do. So I got the full tag list up and I assume what I'm trying to change - the tag read by windows - is [System] FileCreateDate

If I enter:
exiftool "-System:FileCreateDate=ExifIFD:DateTimeOriginal" [DIR}
It tells me the date format is wrong

If I enter:
exiftool "-System:FileCreateDate<ExifIFD:DateTimeOriginal" [DIR}
It says the files are updated but when viewed in explorer, the file create is unchanged

Any idea what I'm doing wrong?

Phil Harvey

Your first command is common mistake 5c.

But your second command should work.  Try reading back FileCreateDate with ExifTool to see if it worked:

exiftool -filecreatedate FILE

If it doesn't, then we have some sort of (possibly NAS-related) problem setting file attributes.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).