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: Timothy Bates <email@hidden>
- Date: Wed, 30 Jan 2002 10:58:12 +1100
On 29/1/02 6:18 PM, "John W Baxter" <email@hidden> wrote:
>
At 22:36 -0800 1/28/02, Jon Pugh wrote:
>
> do shell script ("cp " & posix path of sourceFile & space & posix path of
>
> destinationDir)
>
The resource fork just went away.
Nice catch
>
Using the ditto command with appropriate flags seems better. (And that
>
probably can replace the copyFile command.)
Except ditto requires that the executor is root