Tuesday, November 22, 2011

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

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 $HOME
nano .bashrc
Insert inside your file the Chunk below:
alias hiddenon="defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder"
alias 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
source .bashrc
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:



Climb the InfoWall

Fedora Fedora Fedora, Linux Linux


Sviluppo Siti Web
           Mac Tutorials

 

 

 

 

 

 

 

 

 

 

 

 

 

Google AdSense Sponsored Link