Re: MS-DOS better than Applescript?? (a final word?)
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.