Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

Show all files in Finder


# just put them into your ~/.bash_login
# and then: source ~/.bash_login 

function showall() { 
   /usr/bin/defaults write com.apple.finder AppleShowAllFiles TRUE
   /bin/sleep 1
   /usr/bin/killall Finder
   return 0
}     


function shownall() { 
   /usr/bin/defaults write com.apple.finder AppleShowAllFiles FALSE
   /bin/sleep 1
   /usr/bin/killall Finder
   return 0
}     

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed