Finder / Toggle visibility of hidden files

Via Shell this way:

# Toggle Finder showing hidden files
# From:

value=`defaults read AppleShowAllFiles`
if [ $value == "TRUE" ]
  defaults write AppleShowAllFiles FALSE
  defaults write AppleShowAllFiles TRUE
killall Finder
exit 0

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.