How do I toggle hidden files on/off?
In previous versions of OSX this was ⌘ Command⇧ Shift.
It's not working anymore for me on macOS Big Sur.
⌘ Command⇧ Shift. still works. Check Keyboard Shortcuts to see if you have a shortcut overriding the toggle hidden files action
To permanently show hidden files, open terminal and type:
defaults write com.apple.finder AppleShowAllFiles true; killall Finder
Shift
+ ;
So on a French keyboard the shortcut is Fn
+ Cmd
+ Shift
+ ;
Commented
Nov 11, 2021 at 10:35
I can confirm it works on Big Sur 11.1 (20C69). However I can also explain why it doesn't work sometimes.
Apple decided to create shortcuts to go backward and forward in the history, which is great! However they use the following key combinations:
The forward shortcut takes precedence over the one used to toggle hidden files. So, if you want to show hidden files, make sure to be at the end of your history so you cannot go forward, that way you will be able to toggle hidden files.
on macOS Big Sur 11.1 I had to use YES
and NO
instead of true
or false
as parameters to:
$ defaults write com.apple.finder AppleShowAllFiles
Ex:
$ defaults write com.apple.finder AppleShowAllFiles YES; killall Finder
defaults write com.apple.finder AppleShowAllFiles true; killall Finder
worked fine for me on macOS Big Sur 11.1.
Commented
Dec 25, 2020 at 2:27