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: Ed Stockly <email@hidden>
- Date: Tue, 19 Jun 2001 20:07:11 -0700
>
at 6/18/01, 5:35 PM -0400, they whom i call Bill Christens-Barry wrote:
>
> What's the best way in AppleScript to move a file (or folder of or
>
> list of files) from one volume to another? The Jon's Commands osaxen
>
> doesn't support moving across volumes with the "moveFile" command,
>
> so currently I must do a "copyFile" followed by a "deleteFile".
The best way to do it is exactly what you're doing with a single
reservation. I suggest writing a hanlder with strong error trapping that
will copyfile, confirm the file copied successfully then deleteFile.
The one reservation is that when doing copyFile from Jons commands you'll
soon see that the command will monopolize your processor until the copy is
finished. This locks the user out when large files are copying across the
network. Using the finder is a bit kinder but slower.
HTH,
ES