• 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
Permanently deleting items with Finder.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Permanently deleting items with Finder.


  • Subject: Permanently deleting items with Finder.
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 2 May 2006 07:33:34 -0500

Jack Crombie asked ...
My script creates a 16 bit /channel version of itself and saves in a folder called "converted"
I want to permanently delete this folder at the end of my script without going through the trash.
Is there a way to delete it straight out without going via the Trash or move it to the trash and delete exclusively this folder?

on remove(itemAlias) -- deletes a file without putting it in the Trash try "rm -fr " & (quoted form of POSIX path of itemAlias) do shell script the result on error errText number errNr -- return optional error info here end try end remove

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Permanently deleting items with Finder.
  • Next by Date: Putting a list of files in a particular order
  • Previous by thread: Re: Finder Scripting Speed
  • Next by thread: Putting a list of files in a particular order
  • Index(es):
    • Date
    • Thread