Closed feep closed 4 years ago
I think the best bet here would be to get an explicit list of "low-information" files that remove --force
should be okay with deleting. Definitely .DS_Store
, but there's also things like .thumbs.db
and some other Windows specific files such as desktop.ini
. Would be nice to have a well-curated list that is generally agreed upon, and then we should document that as well.
A commented blacklist here:
https://github.com/sindresorhus/junk/blob/a7c280daddca13fe5d2f731235b97bdfb5940fda/index.js#L3
More, but that one seems pretty good.
Just to bring our slack conversation back into this:
This isn’t qri’s fault. It is the Finder crapping all over the filesystem
All the same, you are going to have Mac users.
Do we want to special case a directory containing only
.DS_Store
as empty?