• 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: Copy file across volumes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy file across volumes


  • Subject: Re: Copy file across volumes
  • From: John Baltutis <email@hidden>
  • Date: Thu, 28 Jul 2005 11:20:21 -0700

On 07/28/05, Simon Forster <email@hidden> wrote:
>
> What's the most reliable method for copying files across volumes?
>
> If I get the Finder to copy the files, occasionally I've received a
> "Finder is busy" message. I suppose I could trap for this error but
> then how? Perhaps more pertinently, how do I reproduce this error so
> that I can test my workaround?
>
> If I use System Events, I don't seem to be able to traverse volumes.
> And anyway, the move command will quietly fail without any error. If
> the file's not moved / copied, I need to know and deal with it.
>
> (Do shell script) cp dumps the resource fork - unless I use CpMac.
> But not every machine has CpMac installed. (Although I suppose I
> could create an Application bundle and include CpMac in this).

I'd use ditto, which does preserve the resource fork. Note that the manpage
for CpMac states: "As of Mac OS X 10.4, the cp command preserves metadata
and resource forks of files on Extended HFS volumes, so it can be used in
place of CpMac. The /Developer/Tools/CpMac command will be deprecated in
future versions of Mac OS X."

Can't help with copy across volumes problem.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Copy file across volumes
      • From: Malcolm Fitzgerald <email@hidden>
  • Prev by Date: Re: Copy file across volumes
  • Next by Date: Re: Copy file across volumes
  • Previous by thread: Re: Copy file across volumes
  • Next by thread: Re: Copy file across volumes
  • Index(es):
    • Date
    • Thread