Show/Hide Mac OSX Hidden Files
Need to see hidden files on a mac? No worries:
#!/bin/bash
current_status=$(defaults read com.apple.finder AppleShowAllFiles)
if
[ $current_status == "YES" ]
then
defaults write com.apple.finder AppleShowAllFiles NO
else
defaults write com.apple.finder AppleShowAllFiles YES
fi
killall Finder # kill finder triggers restart
Written by Andrew Bigger
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Osx
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#