Skip to content

Instantly share code, notes, and snippets.

@doole
Created November 17, 2014 08:25
Show Gist options
  • Save doole/ecb9e1f134d342dcf6e2 to your computer and use it in GitHub Desktop.
Save doole/ecb9e1f134d342dcf6e2 to your computer and use it in GitHub Desktop.
SELECT/DELETE sqlite3 database records for all downloads on Mac OS X
# 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