|
|
Permanently delete files via AppleScript
this code is far too complex; simpler is (almost) always better
If you want to do this with applescript, use the following:
if you want to do it with shell scripting, use this:
I'd also suggest you do what I do in my own secure delete script: run the delete list through a choose from list alert so that you can check and remove anything you don't want to destroy.
oops - an error
this line in the second script - set deleteCmdList to {} - should actually read like this - set deleteCmdList to {"srm", "-rfmz"}. The script won't do much if you don't specify the unix command. :)
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|