MacOS Logs All Downloads Regardless of Application

January 19th, 2013

Via: OSXDaily:

Whether it’s for troubleshooting, personal interest, or forensics, the following command will show you everything that you’ve downloaded to a Mac regardless of the application that it came from…

For those who would rather not have an all-inclusive historical list of downloaded files, you can run the following command to delete the contents of the quarantine database:

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

You can run that individually, or place it into .bash_profile or .profile to clear the database automatically when a new terminal window is launched.

Leave a Reply

You must be logged in to post a comment.