|
|
Permanently delete files via AppleScript
For a simpler--but equally dangerous--method of removing files, use an Automator Finder plug-in. I have one I call "Expunge", with two actions. The first action is an Automator "Ask for confirmation" screen, and the second one is a simple "Run shell script" that takes the selected files as command line arguments, and applies "rm -rfP" to each one, in a for loop. I save this workflow as a Finder plugin, and voilĂ . When you control-click on one or more objects in the Finder, you just slide down to the "Automator" submenu and select Expunge to delete them immediately and permanently.
Permanently delete files via AppleScript
here is a variation of the above to delete all files in a folder. |
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.15 seconds |
|