I have some photos taken before 2002 that exist in a folder tiled by the date the photo set was taken.
The photo file dates in these folders don't to seem to match the folder date.
So I was thinking that I would go in and manually change the FileModifyDate and FileAccessDate tags to correct the way in which Iphoto sorts these photos since there are only about 45 photos in a few folders.
Is this the best way to do this, and if so whats the best way to batch change these photos in these tiled by date folders?
A photo is attached regarding the folder name "Date" vs the meta information which is a year off. every photo is differnt so I was thinking I could manually adjust the tags on a per folder basis.
If the directory name always contains only year and month, then you could do this:
exiftool '-filemodifydate<${directory}01 000000' -r DIR
Which would set the date/time to 00:00 on the 1st of the month given by the directory name.
If DIR is the top-level directory name, then this command will recurse through all subdirectories, setting FileModifyDate on a per-folder basis as you wanted.
- Phil
Quote from: Phil Harvey on December 05, 2023, 08:00:37 AMIf the directory name always contains only year and month, then you could do this:
exiftool '-filemodifydate<${directory}01 000000' -r DIR
Which would set the date/time to 00:00 on the 1st of the month given by the directory name.
If DIR is the top-level directory name, then this command will recurse through all subdirectories, setting FileModifyDate on a per-folder basis as you wanted.
- Phil
Is there a way to manual set the date/time of the file tags in the folders without having to grab it from another source? I only have a few folders and I don't want to have to figure out the correct scheme to get the dating right.
To simply set the FileModifyDate, do this:
exiftool "-filemodifydate=2023:12:05 12:20:00" DIR
- Phil
Quote from: Phil Harvey on December 05, 2023, 12:20:47 PMTo simply set the FileModifyDate, do this:
exiftool "-filemodifydate=2023:12:05 12:20:00" DIR
- Phil
Thank you.