• 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: MS-DOS better than Applescript?? (a final word?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MS-DOS better than Applescript?? (a final word?)


  • Subject: Re: MS-DOS better than Applescript?? (a final word?)
  • From: Charles Arthur <email@hidden>
  • Date: Wed, 4 Sep 2002 11:23:39 +0100

On Tue, 03 Sep 2002 12:16:44 -0800, rich allen <email@hidden> wrote:
>To: Roman Fischer <email@hidden>,
who wanted to know an equivalent of ..
>> Copy c:\abc\def.txt c:\abc\ghi.txt

>since you are familiar with DOS
>
>system ("cp /abc/def.txt /abc/ghi.txt")

Better make that cpmac /abc/def.txt /abc/ghi.txt

Because the Unix cp does not preserve resource forks, while cpmac is
specially designed to.
You never know, those resources could be important in some way. I've seen
tales on the 10.2 changeover of people who backed up their HD using ditto
(want to know? man ditto in the Terminal) and then wondering why all their
Photoshop files etc weren't readable when they restored. Answer: because
ditto doesn't back up the creator and file types. Ditto (ahem) for cp.

Charles

----------------------------
http://www.ukclimbing.com : 1100+ British crags, 350+ British climbing
walls - searchable by distance and anything else you care to think of -
with weather forecasts for every one, plus maps, articles, news and
features. And there's even a cool shop attached.



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: MS-DOS better than Applescript?? (a final word?)
      • From: Norman Cohen <email@hidden>
    • Re: MS-DOS better than Applescript?? (a final word?)
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: choose from list
  • Next by Date: Re: MS-DOS better than Applescript??
  • Previous by thread: Re: perl in script menu (Bug revealed)
  • Next by thread: Re: MS-DOS better than Applescript?? (a final word?)
  • Index(es):
    • Date
    • Thread