How to show/hide invisible files and folders from Service menu?
By default files and folders whose name start with . is invisible. In order to show them, you can use the following command in Terminal.
defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder
To restore the default state, in which those files are hidden, use the following.
defaults delete com.apple.finder AppleShowAllFiles; killall Finder
How can I toggle the status of AppleShowAllFiles
key without launching Terminal?
Best Answer
Apologies if this is a little off-topic from your question, but, in macOS Sierra you can toggle showing hidden files right in the Finder with Shift+cmd+.