Your Mac Logs Everything You Download, Here’s How To Clear It Out

Your Mac Logs Everything You Download, Here’s How To Clear It Out

Mac: OS X keeps a running log of every file you download, in part so it can help you troubleshoot later on if you download something you weren’t supposed to. If you’re not a fan of this behaviour, Macgasm shows you how to clear out that log.

First off, if you want to see your log, you need to type in a command into Terminal (Applications > Utilities):

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

You should see a list of everything you’ve ever downloaded here. Mine went all the way back to my first download after I replaced the hard drive drive on my Mac (it was CrashPlan, obviously). It also includes everything I’ve downloaded from a local FTP server. This is a little dubious in privacy terms, and will include files you have long since trashed. To delete the log, type in:

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

That should clear everything out of the log. Go ahead and run the first script again to confirm.

Good Morning, Your Mac Keeps a Log of All Your Downloads [Macgasm]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


3 responses to “Your Mac Logs Everything You Download, Here’s How To Clear It Out”