Hmm… Smells like a windows user aswell… Look at that:
.desktopdesktop.iniEdit: fixed the filename
Thumbs.db
ehthumbs_vista.db
Thanks but sadly my Windows peers won’t do this because it’s a manual step and they’re already afraid of Windows knifing their computer with an update without making manual changes on top of that.
System Volume Information
I’ve caught the whiff of some Linux too…
lost+found
Thumbs.db
you should do this with every one of these cases. btw, where does .Trash-1000 actually come from?
.Trash-999 was already taken by a metal band.
I had a long and frustrating conflict with this, on this post.
As @d_k_bo@feddit.org (An dem Punkt könnten wir auch einfach Deutsch labern) noted, it’s a freedesktop.org specification.
I still stand the point that it’s not very thought through (a hidden dir? Why?), and that blindly implementing it is annoying. It shouldn’t be a universal standard for all systems, as it’s only relevant if you use a file manager which can then use that dir as Trash dir - which I don’t. That could be tested by only allowing filemanagers to create the dir, and if it doesn’t exist, discard the data. That’s probably how some programs work, as only Prismlauncher has created the dir.
Workaround: ln -s .Trash-1000 /dev/null
I agree. It somehow seems very unfinished, and it annoyed me more than I’d like
Hab tagelang hass geschoben weil der Schmutz mir massiv Speicherplatz geklaut hat. Muss halt zu dev/null symlinken und prüfe regelmäßig global ob es ein neues davon gibt.
I saw somebody with Nintendo .DS_store as a username
'u/Nintendo 3/.DS_store'
I would also like a word with “bonjour” process while we’re at it.
Thought it was a virus when I first discovered it.
no one? Ok
Idk what all it does and doesn’t do, but installing it in Windows lets you find your Raspberry Pi by its “.local” hostname. I know it was originally for printers or something.
All i figured out for certain is that it came bundled with itunes.
That was what caused duplicates on setting the printer as default on dad’s PC. Just disable active scanning for new printers in the config. Was quite some detective work with examining the service file and recursively grepping /etc for variable names multiple times.
Isn’t bonjour the reason that devices like printers famously worked so much better on Mac than windows? I feel like I read an article about that like a decade or two ago.
__MACOSX folders hither and yon.
Found one of these in the firmware zip file of my soundbar today.
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE
Helps a bit.
Don’t forget:
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
I am not exactly a programmer. What is the .DS_Store file for?
It’s for storing your DSs, obviously.
Kind of a mac’s version of desktop.ini. Remembers layouts and other metadata about a folder.
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
cachingfor 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.
Linux user has been here.
How can you tell?
*sniff* Still smells like smug.
LF line endings.
Also applies to Mac but yeah
Didn’t Mac use just CR line endings at some point?
Long long ago, but yeah
Classic Mac OS did, pre OS X aka pre 2001.
It’s only really Windows that doesn’t use LF these days. All the Unix-based ones (Linux, BSD, macOS, iOS, Android etc.) use LF…
Windows also uses linefeeds, they just also add carriage returns.
*sniff* Still smells like smug.
.Trash-1000
DS DS DS D-not gonna work here anymore, anyway.
Where did this art come from? It seems like the cover to a tabletop wargame about the french and indian war or something.
https://amp.knowyourmeme.com/memes/white-man-has-been-here
In 2000, American painter Robert Griffing created a painting titled, Friend or Foe, wherein, two Native American hunters are examining footprints made in the snow.
Super cool, I realized I was thinking of the wargame A Few Acres Of Snow by martin wallace (the designer of the modern classics, Brass Birmingham and Brass Lancashire)
https://boardgamegeek.com/boardgame/79828/a-few-acres-of-snow
Blue Harvest for Mac will continually clean your removable drives of these files.
This seems like a bit of a scam:
On your external drives you can prevent the creation of.DS_Store
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
If you really want to continuously delete
DS_Store
from both your internal and external hard drives you can set up a cronjob:15 1 * * * root find / -name '.DS_Store' -type f -delete
When I had a Mac, literally the first thing I did was set up a Hazel rule to delete every single .DS_Store in every folder.
fd -HI '^\.DS_Store$' $HOME -tf -X rm -v
find . -name “.DS_Store” -type d -exec rm -rf {} + -print
That doesn’t work,
DS_Store
are files not directories ( you need to use-type f
).
An equivalentfind
command would be:
find "$HOME" -type f -name '.DS_Store' -delete -print
find
takes a while;fd
is way, way faster, butfind
is preinstalled, so there is that.