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: Bill Christens-Barry <email@hidden>
- Date: Tue, 19 Jun 2001 13:04:24 -0400
Date: Tue, 19 Jun 2001 09:11:03 -0600
To: Bill Christens-Barry <email@hidden>,
email@hidden
From: garbanzito <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".
this is basic file system reality. "moving" a file leaves
the actual file data in the same place on the disk and just
changes the file system's database so it appears the file
resides in another folder.
that kind of manipulation is impossible between volumes,
whether the volumes are on the same physical disk or not.
so you can only copy it, then delete the original. same is
true manually in the Finder.
steve harley email@hidden
Thanks, Steve. The explanation of the mechanistic reasons for why a
move is different is helpful. I know this is true - 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)?
Bill Christens-Barry
-----------------------
Bill Christens-Barry, PhD
Equipoise Imaging, LLC
email@hidden