Depending on how you interact with your computer, and when you started being a Mac user, I’m not surprised.
Starting at macOS 10.12 16A238m, Finder will not display .DS_Store files (even if you ran defaults write com.apple.finder AppleShowAllFiles YES in Terminal to show hidden system files).
I’m such a Mac user that I don’t even get it. I am simultaneously laughing at myself and embarrassed.
MacOS create these directories to store metadata. But because it starts with a dot, you don’t normally see it.
macOS only does this on network shares or external storage that’s formatted in neither HFS+ nor APFS, Apple‘s file system formats.
Right, so anything that might be used with other machines.
ZIP files created with macOS‘ file manager Finder can also contain DS_Store files.
Yes, the idea is to support macOS features on non native file systems.
If you want to look it up, some of this goes back to HFS, a file system with a resource fork and data fork. It allows you to do pretty cool stuff.
Removed by mod
To add to this, it does not do this on drives/folders added to the indexing exclusion list
Huh? I’ve seen it on the git untracked files list on APFS drives, I’m pretty sure.
In fact I know some companies just add it to .gitignore for that reason
Depending on how you interact with your computer, and when you started being a Mac user, I’m not surprised.
Wikipedia
That’s cause they’re hidden from you. The file does not show up on MacOS, even if you enable showing hidden files.