It common for most of us to use the same portable storage device with both our PC and Mac computer. While this works flawlessly, but there is one problem that most of us would have faced. When you are on windows, you can easily hide or view hidden files and folders, but on a mac there’s no such option.
If you have hidden files and folders on your portable storage device while using windows, then you would have already know that its not possible to view those hidden files and folder on a mac computer.
Although there are no options for viewing hidden files and folders on mac, but with the help of the terminal and a few lines of code, you can easily view hidden files and folders on a Mac. This is not a official method but a simple workaround.
For those who want to view hidden files and folders on a mac, here’s how you can do so.
How to View Hidden Files and Folders on Mac OS X Yosemite.
Note: The following instructions have been tried and tested on Mac OS X 10.10 Yosemite.
Open Terminal on your Mac and Type in the following command and press enter.
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
With this you can now view all the hidden files and folders on your mac.
How to Hide Files and Folders on Mac OS X Yosemite.
Now if you want to revert back the changes that you made earlier, you can type in the following command in the terminal and press enter.
defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder