Switch On/Off Show Hidden/Invisible Files and Folders on Mac Finder By Command Alias

November 22, 2011 | By Duchateaux.

The most Useful way to Work with Hidden Files is to Set a Switch On/Off Command by Setting an appropriate Alias.
This right because Usually you don’t want the Hidden Files/Folders to be Shown All Times but Only on Needing Demand.
So to set an Alias by Command line on Terminal:

cd  
nano .bashrc

Insert inside your file the Chunk below:

alias hiddenon="defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder"
/nalias hiddenoff="defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder"

To Save and Exit from “nano” Press:

Ctrl+X

To Load your new Settings execute:

bash

or

bash

Now to Switch On/Off Hidden Files/Folders on Finder will be As Simple As executing the Command:

hiddenon

To Switch ON

hiddenoff

To Switch OFF

Some Interesting Mac Tutorials are Contained in the Link Here Below:

           Mac Tutorials

.

Google AdSense Sponsored Link


QuickChic Theme • Powered by WordPress