Re: Scripting Additions: Embracing the Horror of Unix
Re: Scripting Additions: Embracing the Horror of Unix
- Subject: Re: Scripting Additions: Embracing the Horror of Unix
- From: John W Baxter <email@hidden>
- Date: Mon, 28 Jan 2002 23:18:52 -0800
At 22:36 -0800 1/28/02, Jon Pugh wrote:
>
set sourceFile to "Disk:folder:folder:file"
>
set destinationDir to "Disk:folder:folder:folder:"
>
do shell script ("cp " & posix path of sourceFile & space & posix path of
>
destinationDir)
The resource fork just went away.
Using the ditto command with appropriate flags seems better. (And that
probably can replace the copyFile command.)
--John
--
John Baxter email@hidden Port Ludlow, WA, USA