1772
.DS_Store (sh.itjust.works)
submitted 4 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 25 points 4 months ago

I am not exactly a programmer. What is the .DS_Store file for?

[-] [email protected] 36 points 4 months ago
[-] [email protected] 4 points 4 months ago

Not for buying new DSiware games?

[-] [email protected] 35 points 4 months ago

Kind of a mac's version of desktop.ini. Remembers layouts and other metadata about a folder.

[-] [email protected] 6 points 4 months ago* (last edited 4 months ago)

I learned of those files outside the context of programming. When program or file zip packages contained these random ds store files and I looked up what they are.

Turns out, it's metadata ~~caching~~ for macOS. Irrelevant and does not belong into [distributed or shared] packages.

/edit: It's been a long time ago. Looking at it again, I guess it adds folder metadata, so it could be useful when distributing to other macOS. But for other OS, it's noise. Either way, usually it's not intentionally included.

this post was submitted on 28 Jan 2025
1772 points (99.7% liked)

Programmer Humor

24476 readers
32 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS