13 ms·
I seem to recall that the __MACOSX folder is there to support resource forks? Something along those lines at any rate.
by zerocrates 5y ago
I seem to recall that the __MACOSX folder is there to support resource forks? Something along those lines at any rate.
- bombcar 5y agoYep. And since many files don’t have resource forks it’s kinda rare. But any directory you look at basically gets a .DS_STORE. I remember hiding those from windows clients with samba, and hiding thumbs.db from mac clients over netatalk (and samba)
- dunham 5y agoIt looks like they store the extended attributes in the __MACOSX tree too. And everything you download from the web has extended attributes describing the original URL and page that linked to it. (With chrome/safari, I haven't checked firefox.) It looks like the finder "compress" functionality will include __MACOSX, and the command line zip doesn't. If you run `xattr -l` on something in your Downloads, you should see the kMDItemWhereFroms metadata. mdls shows it too, but also includes other data that is extracted from the file itself. You can also search on that metadata: mdfind kMDItemWhereFroms:citeseerx