Skip to content

Instantly share code, notes, and snippets.

@salverde
Last active December 12, 2015 02:38
Show Gist options
  • Save salverde/4700338 to your computer and use it in GitHub Desktop.
Save salverde/4700338 to your computer and use it in GitHub Desktop.
Launch Services Quarantine OS X tracks everything you download. This gist is both shell scripts (and Applescript) that lists and clears your Quarantine.
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'SELECT LSQuarantineDataURLString FROM LSQuarantineEvent'
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'DELETE FROM LSQuarantineEvent'
# Applescript
do shell script
"sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'DELETE FROM LSQuarantineEvent'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment