Last Updated: May 15, 2019
·
738
· robotmay

OS X keeps track of every file you've ever downloaded

Well this was an interesting article by Michael McConnell: http://www.macgasm.net/2013/01/18/good-morning-your-mac-keeps-a-log-of-all-your-downloads

I figured I'd share this on here in case you hadn't seen it yet, but the following command will list every file you've downloaded on your Mac:

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

And this one will clear it:

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