To display hidden files on a Mac you simply open your terminal and enter following:
defaults write com.apple.finder AppleShowAllFiles TRUEAfter this is done you have to restart the Finder:
killall FinderWhen you want to hide them again execute following:
defaults write com.apple.finder AppleShowAllFiles FALSEDon’t forget to restart the Finder again.