Re: Really delete a file via AppleScript
Re: Really delete a file via AppleScript
- Subject: Re: Really delete a file via AppleScript
- From: Johnny AppleScript <email@hidden>
- Date: Sun, 03 Aug 2003 17:19:45 -0600
On 03/08/03 9:05 AM, "John Delacour" <email@hidden> wrote:
>
I then created a folder "Rescued" on my newly wiped out Desktop and typed
>
>
sudo ditto jd ~/Desktop/Rescued
>
>
That's not the end of it. None of the files moved to .Trashes any longer has
>
a resource fork. That is toasted in the move, so my careful use of ditto to
>
duplicate the files was in vain.
Next time type
sudo ditto -rsrc [files to be copied] [to file path]
The 'rsrc' flag will preserve resources. Man ditto will reveal other useful
features.
Sorry you got nailed.
JA
_______________________________________________
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.