Re: Help -- going posix space crazy
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.