5 ms·
That's not the only problem. Apple leaves a whole bunch of "mac droppings" all over the place: https://github.com/github/gitignore/blob/master/Global/macOS.git
by kstenerud 7y ago
That's not the only problem. Apple leaves a whole bunch of "mac droppings" all over the place:
https://github.com/github/gitignore/blob/master/Global/macOS.gitignore https://github.com/github/gitignore/blob/master/Global/macOS...
The worst part is that .DS_Store assumes, even on remote (SMB) filesystems, that only one machine will ever be accessing the directory, and so stores things like view settings and icon positions and such. Which means that every mac computer that accesses that file share will be fighting with each other, overwriting their metadata, and sometimes triggering problems because one has half-overwritten the file while another is accessing it.
That metadata should have been stored locally on the mac (with info about what path it refers to), not on the remote system.
Overall, it's a very poorly designed feature.
- jakobegger 7y agoBut it was pretty neat that you could arrange icons on a floppy disks and then give it to someone else and the icons were in the same position on their computer.
- matt-attack 7y agoIt’s still relevant today for external drives.
- quux 7y agoDisk images, which is how a lot of mac software is distributed also use this feature.
- sfoley 7y agoMy guess as to the reason they’re in the directory rather than a separate folder is so you can rename/move it without losing all your metadata.
- andreareina 7y agoThe filesystem already keeps track of moves/renames -- I can (and have) moved the files that the App Store downloads, and it still knows where they are.