Last active
December 13, 2015 22:18
-
-
Save mchogan/4983029 to your computer and use it in GitHub Desktop.
Toggle visibility of hidden files and folders in Mac OS X
So helpful! Thank you!
Hi, thanks for script, but it doesn't work on OS X 10.8.4 and shows error: "-: -c: line 4: syntax error near unexpected token 'else' ". When I checked manual for UNIX & Linux Shell Scripting (If & Else), I found that correct is
if [ $is_shown = "FALSE" ]; (added semicolon) and it works fine now.
Works perfectly in OS X 10.9.2, thank you!
Works in Yosemite. Special thanks @iCoderman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! This worked out for me. It was strange though, the first time I ran it, nothing happened. After that, files were shown/hidden as one would expect (I'm on OS X 10.8.2). It'd be cool to be able to right click anywhere in the finder to get this option in the context menu ... Looks like one can only make this work if a file/folder is selected?