Skip to content

Instantly share code, notes, and snippets.

@itsgoingd
itsgoingd / gist:3636098
Created September 5, 2012 12:51
Applescript: instantly delete selected files in Finder
-- 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