Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'List Full Download History of Your Mac ' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
List Full Download History of Your Mac
Authored by: mbroughtn on Jul 17, '12 08:36:14AM

Not every file you download will have the quarantine xattr set. Files downloaded with Safari have that characteristic. Files downloaded with other browsers will probably not have the quarantine bit set.

[ Reply to This | # ]
List Full Download History of Your Mac
Authored by: leamanc on Jul 18, '12 12:42:39PM

The quarantine is a bit set on the Downloads folder (probably others too, like Desktop). So as long as you download to Downloads, it shouldn't matter what browser you use. I use Chrome 99% of the time, and the command showed plenty of downloads that I recognized as coming from that browser.

[ Reply to This | # ]
List Full Download History of Your Mac
Authored by: mbroughtn on Jul 19, '12 04:54:20PM

I am not sure how you are determining there is an quarantine xattr for Desktop or Download. I do see an ACL for the standard User directories to prevent them from being deleted, but no xattr -- quarantine or other.

I did some more testing and have had mixed results as to what application will add the quarantine xattr for downloads. When I use Safari, Camino, Firefox, Chrome, or Cyberduck (ftp client), the downloads will have the quarantine xattr. If I use iCab (browser) or Transmit (ftp), the downloads do not have a quarantine xattr.

I think you will also find that if you have downloaded a file and cleared the quarantine bit using Apple's dialog window, you can download the same file again and the quarantine bit will not be set. I did not test this in any detail, however.

The bottom line is to not totally rely on the quarantine bit being set for a download.

[ Reply to This | # ]
Re: List Full Download History of Your Mac
Authored by: Uncle Asad on Jul 20, '12 02:34:42PM

Specifically, some applications opt-in to quarantining via a key in their Info.plist, but Apple also includes in the OS a plist containing bundle identifiers of some applications (just common web browsers, last I checked) whose downloads the quarantine system automatically quarantines regardless of whether the application has opted-in itself.

So if you download files with command-line tools like curl or wget or a with third-party application that isn't on Apple's list and hasn't opted-in to quarantining, then those files won't be quarantined (and won't be included in this database).

[ Reply to This | # ]