Get entire list of Download HIstory on a Mac with a Terminal Command

You must have downloaded a lot of things on your Mac’s and if you want to see how much you downloaded, just open a Terminal (Applications > Utilities) and run this command:

sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent'

You should get list of everything you’ve downloaded. If you want to delete everything in the database. Just type following  into Terminal:

sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent' 
Once that command is run, your download history should disappear forever.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: