Last active
August 29, 2015 14:09
-
-
Save mitogh/6777f9321610b36614d3 to your computer and use it in GitHub Desktop.
Clean the history of your downloads, (MAC)
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
#!/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