Macos – Show hidden files on OS X except .DS_Store


I want to see all hidden files on my Mac except .DS_Store. Is there a way to do that?

Best Answer

You can show hidden files in Finder with a simple Terminal command:

defaults write AppleShowAllFiles -bool YES

Then relaunch Finder by holding down the option key and right-clicking its dock icon.

However, you can't hide the .DS_Store files without hiding the rest of the hidden files. You probably just have to live one way or the other.