• 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: Scripting Additions: Embracing the Horror of Unix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Scripting Additions: Embracing the Horror of Unix
      • From: Timothy Bates <email@hidden>
References: 
 >Re: Scripting Addition w/ Dialog Boxes (OS X) (From: Paul Berkowitz <email@hidden>)
 >Scripting Additions: Embracing the Horror of Unix (From: Jon Pugh <email@hidden>)

  • Prev by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by Date: Re: Scripting Additions: Embracing the Horror of Unix
  • Previous by thread: Re: Scripting Additions: Embracing the Horror of Unix
  • Next by thread: Re: Scripting Additions: Embracing the Horror of Unix
  • Index(es):
    • Date
    • Thread