Copying file creation and modification time
David T. Lewis
lewis at mail.msen.com
Mon May 3 09:21:25 UTC 2004
On Sat, May 01, 2004 at 11:40:06AM +0200, Noury Bouraqadi wrote:
>
> I would like to make a copy of a file in another directory while keeping
> its creation time and modification time unchanged. Any hint?
There probably is not a platform-independent way to do this in Squeak.
However, if you are using a Unix box, the "cp -p " command does what
you want, and you can use OSProcess (on Squeak Map) to run the command.
Dave
More information about the Squeak-dev
mailing list
|