• 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: Really delete a file via AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Really delete a file via AppleScript (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Really delete a file via AppleScript
  • Next by Date: Re: Really delete a file via AppleScript
  • Previous by thread: Re: Really delete a file via AppleScript
  • Next by thread: Re: Really delete a file via AppleScript
  • Index(es):
    • Date
    • Thread