Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Clear the logs of the all the files you downloaded in OSX (ref:
# To delete all the currently stored files
sqlite3 ~/Library/Preferences/* 'delete from LSQuarantineEvent where LSQuarantineEventIdentifier like "%%";'
# To never store such information you can sym link it to dev null
ln -s /dev/null ~/Library/Preferences/

This comment has been minimized.

Copy link

@stoduk stoduk commented Dec 11, 2014

If you aren't doing the /dev/null part, you'll need to run "vacuum" command in sqlite3 afterwards to make the file reduce in size.

sqlite3 ~/Library/Preferences/* 'vacuum'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment