Your Mac logs pretty much everything you download, and 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.
Chances are you download a lot of things over you Mac's life, and if you want to find an old file you've since deleted, or you're just curious to see how much you downloaded, all it takes is a Terminal (Applications > Utilities) command:
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent'
One 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.
No comments:
Post a Comment