site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Am 10. Aug 2006 um 02:50 schrieb Dan Shoop: echo "1" > test sleep 60; echo "2" >> test sleep 60; /Developer/Tools/CpMac -p test test-copy With kind regards Piers -- Piers Uso Walter <Piers.Walter@ilink.de> ilink Kommunikationssysteme GmbH _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... One telling issue is that the Finder properly preserves Creation Date, while command line tools do not. This is interesting. Do you know a way to even determine the creation date of a file using the command line? The Unix FAQs (which, of course, may possibly not apply here) seem to indicate that this should not be possible. Regarding command line tools and preservation of file creation date (as indicated by Finder), you may want to try /Developer/Tools/CpMac, which is available as part of the developer tools. A short test seems to indicate that CpMac-p does indeed preserve the creation date: (Finder displays 03:56 AM as the creation date of test and 03:57 AM as its modification date) (Finder displays 03:56 AM as the creation date of test-copy and 03:57 AM as its modification date) This email sent to site_archiver@lists.apple.com