basically i think i unchecked a hide hidden files/system files whatever it was option in finder or somewhere on 10.5.6 OS X and now i'm getting these bloody annoying .DS_Store files on my desktop and in every folder. simply put how do i get rid of them/hide them. really annoying me now! cheers
In Terminal defaults write com.Apple.Finder AppleShowAllFiles NO Will probably need to reboot afterwards, or just relaunch Finder.
Just in case you're curious, they're basically the Mac equivalent of thumbs.db; I believe they're the Spotlight index contents for any given folder. So hiding them (as above) is a whole heck of a lot more practical than getting rid of them entirely.
just wait til you discover that it also litters every folder you browse to on all your network drives with them... there's a command to disable creation of .DS_STORE files on all network media though: defaults write com.apple.desktopservices DSDontWriteNetworkStores true terminal again. i recommend you do that
Spotlight index data is stored in the .Spotlight-V100 directory at the root of a volume (again, the preceding dot indicates it's hidden). .DS_Store is just related to the folder it's in, containing things like icon layout, window position, background image and such like.