• 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: Help -- going posix space crazy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help -- going posix space crazy


  • Subject: Re: Help -- going posix space crazy
  • From: julifos <email@hidden>
  • Date: Sun, 23 Feb 2003 15:34:40 +0100

> At 1:15 am +0000 22/2/03, has wrote:
>
>> Marc Glasgow wrote:
>>
>>> do shell script "mv " & PosixOldFile & " " & PosixNewFile
>>
>> mv trashes resource forks. Use the Finder.
>
>
> ditto allows you to preserve the fork. This moves a Mac file from
> the desktop to the documents folder:
>
> set f to "~/desktop/some\\ file"
> set dir to "~/documents"
> do shell script "ditto -rsrcFork " & f & space & dir
>
> JD

Is "ditto" included in a standard OS X installation, or it does require
jaguar or dev. tools or anything special?

(here works so far, 10.2.4 & dev. tools installed)

JJ
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.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.

  • Prev by Date: Re: Understanding a repeat loop (strings/characters)
  • Next by Date: Re: alias file types
  • Previous by thread: Re: Help -- going posix space crazy
  • Next by thread: Applying a Script to a Mail message
  • Index(es):
    • Date
    • Thread