Monday, May 24, 2010

Display hidden files in Finder

FinderHiddenFiles

#!/bin/sh
if [ "$1" == 'off' ]
then
  PARAM=FALSE
else
  PARAM=TRUE
fi

defaults write com.apple.finder AppleShowAllFiles $PARAM 
killall Finder 
 
to display the hidden files run
  FinderHiddenFiles

to display the hidden files run
  FinderHiddenFiles off

No comments:

Post a Comment