Quickly Show / Hide Hidden Files on Mac OS X Mavericks & Yosemite

Arturas Minderis
Arturas Minderis
1 هزار بار بازدید - 9 سال پیش - It seems like every day
It seems like every day I search Google for the command to show hidden files on Mac OS X, not to mention Googling for the command to then hide those hidden files a few minutes later.

Today I decided to show you how make this process easy. All I need do is just click in Finders submenu - Toggle Hidden Files, and if hidden files are hidden - it will be unhidded, or if it not hidden - it will be hidded.

Here is script code. You may it copy and paste following by video instructions:

#!/bin/bash
#
STATUS=`defaults read com.apple.finder AppleShowAllFiles`
if [ $STATUS == 1 ]
then
defaults write com.apple.finder AppleShowAllFiles -boolean false
else
defaults write com.apple.finder AppleShowAllFiles -boolean true
fi

killall Finder
9 سال پیش در تاریخ 1394/01/30 منتشر شده است.
1,038 بـار بازدید شده
... بیشتر