Skip to content

Instantly share code, notes, and snippets.

@mitogh
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mitogh/6777f9321610b36614d3 to your computer and use it in GitHub Desktop.
Save mitogh/6777f9321610b36614d3 to your computer and use it in GitHub Desktop.
Clean the history of your downloads, (MAC)
#!/bin/bash
# Show all the current LOG of your history.
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent'
# Delete all the entries from the history.
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent'
# Credits:
# http://lifehacker.com/your-mac-logs-everything-you-download-heres-how-to-cle-1658394180
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment