• 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: scripting secure empty trash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting secure empty trash


  • Subject: Re: scripting secure empty trash
  • From: Barry Wainwright <email@hidden>
  • Date: Thu, 13 Jul 2006 22:02:12 +0100
  • Thread-topic: scripting secure empty trash

On 13/7/06 19:02, "Andrew Brosnan" <email@hidden> wrote:

> Hello,
>
> I'd like to use 'secure empty trash' in an Applescript. I can't find
> reference to how to do this, and my attempts have so far failed. Anyone
> know how to do this?
>
> Thanks,
> Andrew
>

do shell script "srm " & quoted form of (POSIX path of (path to trash
folder) & "*")

(all one line)

--
Barry


 _______________________________________________
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

References: 
 >scripting secure empty trash (From: Andrew Brosnan <email@hidden>)

  • Prev by Date: Re: Escape Character (was: no subject)
  • Next by Date: AS & Filemaker Pro
  • Previous by thread: Re: scripting secure empty trash
  • Next by thread: Extracting username and password from login
  • Index(es):
    • Date
    • Thread