Need to show hidden files (or hide them again) on OSX? Toggle this default
defaults write com.apple.Finder AppleShowAllFiles TRUE / FALSE
(remember to killall Finder to force its usage)
Nice and easy..
Also, for specific folders, try adding a period to the name of a file or folder, instant hiding. Of course, I’m not sure what sort of stuff you’d need to hide??? 🙂