[Solved] Certain files have creation dates changed when editing metadata
Posted: Sun Sep 13, 2020 10:02 pm
Hello,
Hopefully this question isn't duplicated anywhere; I could not find anything like it when searching.
The creation date of some of my image files is being changed when I edit metadata (e.g. adding keywords). I have the Browser>General>Original File Date: Keep after modify metadata checked (true). Generally I think these might have been files on which I previously updated the creation date manually -- either using the Date > Set file date... functionality in GC, or by using the SetFile -d command. At any rate, I would like whatever creation date I have set to be preserved when editing metadata.
Steps to reproduce:
1. Find a file in the GC browser, make note of the creation date
2. Go to Date>Set file date... and set the creation date to some other creation date, or in terminal do SetFile -d to update the creation date
3. Use the keyword window or the "Append keywords..." command to add a keyword to the file
4. Wait for the file to update
Result: the creation date has changed back to the original creation date
If I do mdls on one of these files (after manually setting the creation date, but before it gets set back), there are several date attributes:
kMDItemContentCreationDate,kMDItemFSCreationDate -- set to the creation date I set manually
kMDItemContentModificationDate, kMDItemFSContentChangeDate -- set to whatever the modification date was set to
kMDItemDateAdded -- some date more recent than creation or modification
Sorry, this has turned into a long post; really I just want to know how I might change a date and get that date to "stick" after making metadata changes.
Thanks!
Hopefully this question isn't duplicated anywhere; I could not find anything like it when searching.
The creation date of some of my image files is being changed when I edit metadata (e.g. adding keywords). I have the Browser>General>Original File Date: Keep after modify metadata checked (true). Generally I think these might have been files on which I previously updated the creation date manually -- either using the Date > Set file date... functionality in GC, or by using the SetFile -d command. At any rate, I would like whatever creation date I have set to be preserved when editing metadata.
Steps to reproduce:
1. Find a file in the GC browser, make note of the creation date
2. Go to Date>Set file date... and set the creation date to some other creation date, or in terminal do SetFile -d to update the creation date
3. Use the keyword window or the "Append keywords..." command to add a keyword to the file
4. Wait for the file to update
Result: the creation date has changed back to the original creation date
If I do mdls on one of these files (after manually setting the creation date, but before it gets set back), there are several date attributes:
kMDItemContentCreationDate,kMDItemFSCreationDate -- set to the creation date I set manually
kMDItemContentModificationDate, kMDItemFSContentChangeDate -- set to whatever the modification date was set to
kMDItemDateAdded -- some date more recent than creation or modification
Sorry, this has turned into a long post; really I just want to know how I might change a date and get that date to "stick" after making metadata changes.
Thanks!