TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

.DS_Store for non-mac users

29 pointsby thrombaabout 12 years ago

11 comments

TazeTSchnitzelabout 12 years ago
I'd like it better if Mac users stopped obnixiously including __MACOSX directories and files, which conflict when extracting, in their zip archives.
评论 #5733348 未加载
Osmiumabout 12 years ago
In seriousness, I'll just leave this here:<p><a href="http://www.chrisnovoa.com/os-x-lion-ds_store-disabling/" rel="nofollow">http://www.chrisnovoa.com/os-x-lion-ds_store-disabling/</a>
waffle_ssabout 12 years ago
Or you could just do<p><pre><code> find -type d -exec touch {}/.DS_Store \;</code></pre>
SpikedColaabout 12 years ago
Do <i>real</i> .ds_store files have this inside?<p><a href="https://github.com/emre/macster/blob/master/macster/__main__.py" rel="nofollow">https://github.com/emre/macster/blob/master/macster/__main__...</a>
评论 #5733106 未加载
评论 #5733103 未加载
randalluabout 12 years ago
He has one in the macster/ path but not in the root repo... I thought Finder put them <i>everywhere</i>...
NelsonMinarabout 12 years ago
There needs to be files named ._README.md, ._setup.py, and ._tests.py to complete the package.
ihumanabout 12 years ago
Why would you want this if you are not on a Mac? The only point in the files is telling Finder how to lay out the folder's contents. Some people (like me) go out of the way to hide them.
评论 #5733094 未加载
bauerabout 12 years ago
As a windows user, I refer to these things as "mac turds" when I see them on network shares.
DrTungabout 12 years ago
I want the T-shirt!
drivebyacct2about 12 years ago
Bravo. I love seeing those files and the __MACOSX folder in zips. Especially when it's a (relatively) big open source project. I just chuckle, I've owned several Macs, they're a parasite.
WayneDBabout 12 years ago
He forgot to put .DS_Store files in his .gitignore.