Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to know where can I find my applications downloads logs? Like url that the application downloaded or downloading now

share|improve this question

This shows a list of URLs downloaded by applications that use quarantine events:

sqlite3 ~/Library/Preferences/* 'select LSQuarantineDataURLString from LSQuarantineEvent' | grep .

Files also have metadata for download locations:

find ~/Documents -name '*.pdf' -exec mdls -name kMDItemFSName -name kMDItemWhereFroms {} \;

This would show download locations only for files that have a quarantine attribute added by Safari:

find ~/Documents -name '*.pdf' | while read -r f; do xattr -p "$f" 2> /dev/null | grep -q && { echo "$f"; mdls -name kMDItemWhereFroms "$f"; }; done

If others were searching for a log of installed packages or software updates, see /Library/Receipts/InstallHistory.plist.

share|improve this answer
I got this: kMDItemFSName = "intel-ipartition-template-boot.dmg" kMDItemWhereFroms = (null) when I ran this command: find ~/Desktop/ -name '*.dmg' -exec mdls -name kMDItemFSName -name kMDItemWhereFroms {} \; – navid_gh Jun 13 '13 at 8:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.