• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: moving files from one volume to another?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: moving files from one volume to another? (From: Bill Christens-Barry <email@hidden>)

  • Prev by Date: Re: Error geetting offset of char in errMsg
  • Next by Date: Re: add a paragraph to the beginning of a doc
  • Previous by thread: Re: moving files from one volume to another?
  • Next by thread: Re: moving files from one volume to another?
  • Index(es):
    • Date
    • Thread