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: Jason P Toews <email@hidden>
- Date: Wed, 20 Jun 2001 10:15:58 -0400
This reminds me to ask something I've been meaning to ask...
Is there a way to duplicate or move a file, renaming it at the same time?
It seems like I've done this before, but now I can't think how.
Jason
>
From: Ed Stockly <email@hidden>
>
Date: Tue, 19 Jun 2001 20:07:11 -0700
>
To: email@hidden
>
Subject: Re: moving files from one volume to another?
>
>
> 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
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users