Skip to content

Instantly share code, notes, and snippets.

@halbtuerke
Created February 24, 2011 13:02
Show Gist options
  • Save halbtuerke/842130 to your computer and use it in GitHub Desktop.
Save halbtuerke/842130 to your computer and use it in GitHub Desktop.
on open theFile
set filePath to quoted form of (POSIX path of theFile)
do shell script "rm " & filePath
end open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment