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

Copy file across volumes


  • Subject: Copy file across volumes
  • From: Simon Forster <email@hidden>
  • Date: Thu, 28 Jul 2005 12:57:42 +0100

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).

To put this into some context, an application calls a function of an attached script once a file has been created. This file then needs to be copied to an external firewire drive and to an Xserve immediately and reliably. Actually, I'll probably need to create some form of queuing mechanism so that the function returns quickly enough to be called again a fraction of a second later.

Such a simple brief but...!

TIA

Simon Forster
_____________________________________________________
 LDML Ltd, 62 Pall Mall, London, SW1Y 5HZ, UK
 Tel: +44 (0)70 9230 5244   Fax: +44 (0)70 9230 5247
_____________________________________________________

In theory, theory and practice are the same.
In practice, they're not.

_______________________________________________
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: "Gary (Lists)" <email@hidden>
  • Prev by Date: Re: set myList to myList & ...(Digest, Vol 2, Issue 492)
  • Next by Date: Re: shallow vs deep copying [was Re: Applescript-users Digest, Vol 2, Issue 492]
  • Previous by thread: Re: set myList to myList & ...(Digest, Vol 2, Issue 492)
  • Next by thread: Re: Copy file across volumes
  • Index(es):
    • Date
    • Thread