Last active
December 12, 2015 02:38
-
-
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.
This file contains 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
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