Re: Help -- going posix space crazy
Re: Help -- going posix space crazy
- Subject: Re: Help -- going posix space crazy
- From: John Delacour <email@hidden>
- Date: Sat, 22 Feb 2003 09:22:16 +0000
- Mac-eudora-version: 6.0a7
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
_______________________________________________
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.