Created
September 5, 2012 12:51
-
-
Save itsgoingd/3636098 to your computer and use it in GitHub Desktop.
Applescript: instantly delete selected files in Finder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- instantly delete selected files in Finder | |
tell application "Finder" to repeat with filename in (get selection) | |
do shell script "rm -rf " & quoted form of POSIX path of (filename as text) | |
end repeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment