Case: You have a file that is both invisible (you have to use
ls -a in order to see it), and hidden from the GUI (you cannot see an icon for it in Finder.
You want to make it visible - so that you can see it in the STDOUT when you type
Check out the
SetFiles - something that comes with Apple's Developer Tools.
SetFiles -a V
You want to unhide it so that it will show with an icon in Finder.
chflags. No Developer Tools required.
You just want to be able to see all the files no matter their intrinsic hidden/nohidden, invisible/visible status.
defaults write com.Apple.Finder AppleShowAllFiles YES
defaults write com.Apple.Finder AppleShowAllFiles TRUE
Follow that up with...
Use the same command, but replace the last argument with
FALSE to go back to normal Finder functionality.
Some voodoo right here in this joint.