Terminal command displays your Mac’s entire download history

by Gareth Mankoo

Ever wondered how much data you’ve downloaded on your Mac, from the beginning of time? It’s quite simple to find out now. With this handy Terminal code you could easily lay hands on your Mac’s entire download history in one go. A simple SQL command accesses your Mac’s database and extracts the full contents and download history logs found in the LSQuarantineEvent. Head after the jump on a how-to guide to using this terminal. Happy memories!


Here’s how you can access ancient download history from your Mac.
Step 1: Launch Terminal
Step 2: Copy and paste the following command into your Terminal window:

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

Step 3: Press Return on your keyboard and gain access to a full list of all of the files logged within LSQuarantineEvent. You can now copy and paste the entire Terminal window, or individual file locations.

[Idownloadblog and Check the comments – Reddit]

Leave a comment