Possible Duplicate:
How do I set the creation time of a file?
How can you create a files on a Mac that have a specific creation date (different from the current one)?
What I have found so far, touch can only alter the modified at time...
How can you create a files on a Mac that have a specific creation date (different from the current one)? What I have found so far, touch can only alter the modified at time... |
|||
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
|
I believe you can do it with touch.
|
|||||||||||||
|
|
SetFile can also be used to set the creation date before the modification date or in the future.
This would set the creation date to the modification date:
SetFile and GetFileInfo are part of the command line tools package, which can be downloaded from developer.apple.com/downloads or from Xcode's preferences after installing it from the App Store. |
|||
|
|
touch -tas well. – Lauri Ranta Jul 16 '12 at 16:48