copying files with mod/creation dates?
copying files with mod/creation dates?
- Subject: copying files with mod/creation dates?
- From: David Feldman <email@hidden>
- Date: Fri, 9 Nov 2001 12:55:08 -0500
I'm writing an app that does a lot of file copying. NSFileManager's
copyPath:toPath:handler method copies the file itself fine, but resets
the creation and modification times, which won't work. Is there a way to
copy files, as the Finder does, preserving these timestamps?
Thanks,
--Dave