QUOTE
open Finder->Preferences->Advanced and check the "Show all file name extensions" checkbox. You can now see all those other 'hidden' files and even delete the .DS_Store file in any folder. Simple, Safe, Easy.
QUOTE("gray")
This does not work on my 10.8.4 set up!!!
This option does not reveal .DS_Store files.
EDIT: The reason method does not work is because the name "DS_Store" is not an extension.
You are absolutely correct! My furst miztaik thiz yeer!!!
I also was reminded of the biggest problem with using the "defaults write" method. I often forget I used it!
I'm pretty sure that's how I made the 'invisible' files visible... sometime ago, months? Years?!
But there are many utilities that can do this for you, also: Cocktail, Onyx and Tinkertool. I'm not sure I would remember using them any better than the 'defaults write' method, but at least I could see the settings in those apps if I but looked!
All that actually happens is that a new key and value are added to the very beginning of the Finder plist:
NO invisible files shown:CODE
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ComputerViewSettings</key>
<dict>
SHOW invisible files:CODE
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AppleShowAllFiles</key>
<true/>
<key>ComputerViewSettings</key>
<dict>
That's exactly what the "defaults write" method does. It writes to whatever plist file you tell it and exactly what you tell it to write.
defaults write.com.apple.Finder AppleShowAllFiles FALSE; killall Finder
defaults used to access plist files
write. Can also be
read. Might be a good idea to do a read first and write down the values you see!
com.apple.Finder is the name of the plist file so there's no need to include the ".plist" part
AppleShowAllFiles the name of the key value
FALSE or
TRUE In this case only a Boolean value is possible, in other cases, a numerical or even text value could be entered
; end of the defaults write command
killall Finder needed to relaunch the Finder. A plist is usually only read when an app starts. In order to get Finder to 'see' the new value, it needs to restart.
Notice that no electrons were harmed in this exercise.
HOWEVER, even the defaults write method can cause problems! If you ask it to write an invalid value or even a misspelled key word, the app may not work. So judgement should still be used!