Created
November 17, 2014 08:25
-
-
Save doole/ecb9e1f134d342dcf6e2 to your computer and use it in GitHub Desktop.
SELECT/DELETE sqlite3 database records for all downloads on Mac OS X
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
# Source | |
# http://www.macgasm.net/2013/01/18/good-morning-your-mac-keeps-a-log-of-all-your-downloads/ | |
# http://lifehacker.com/your-mac-logs-everything-you-download-heres-how-to-cle-1658394180 | |
# SELECT | |
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent' | |
# DELETE | |
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