Re: moving files from one volume to another?
Re: moving files from one volume to another?
- Subject: Re: moving files from one volume to another?
- From: garbanzito <email@hidden>
- Date: Tue, 19 Jun 2001 19:03:42 -0600
at 6/19/01, 1:04 PM -0400, they whom i call Bill Christens-Barry wrote:
what I'm looking for is a command that uses a single word syntax
(like the "moveFile" command in Jon's Commands) to emulate a move
even though it's really doing a copy and delete across volumes.
Isn't this how it's done in Unix (leaving it to the mv command to do
the right thing if the volumes are different)?
yes, the man page for Unix mv explicitly says it does
a cp & rm if between volumes. i suppose on Mac OS X,
you could script a call like
AEshell ("mv " & sourcefile & " " & destination)
(although you'd lose the file's resource fork.)
since the underlying behavior you need would be
copy-delete, why not just write a handler to do it? i doubt
there would be much performance penalty.
steve harley email@hidden