Display Your Mac's Download History With A Terminal Command

Your Mac logs just about everything you download. If you've lost a file, or you just want to see how much you've downloaded, iDownloadBlog shares a simple Terminal command that reveals everything you've put into your Downloads folder.

All it takes is a Terminal (Applications > Utilities) command:

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

Once you load that up, Terminal should give you a (potentially very large) list of everything you've downloaded. If that makes you a little uncomfortable, you can easily delete everything in the database as well by typing this into Terminal:

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

Once that command is run, your download history should disappear forever.

How to extract OS X download history via Terminal [iDownloadBlog]


Be the first to comment on this story!

Trending Stories Right Now