Finding specific things
macOS hides anything beginning with a dot, plus a handful of system folders. Two keystrokes reveal them.
In any Finder window press ⇧⌘. (shift-command-period). Hidden files appear, dimmed. Press it again to hide them.
This is a display toggle only — nothing is changed on disk.
defaults write com.apple.finder AppleShowAllFiles -bool true
killall Finder
Set it back with false.
.zshrc, .gitignore, .env. Unix convention, honoured by Finder.~/Library — hidden with a flag rather than a dot./usr, /bin, /etc and friends are hidden to keep Finder tidy..DS_Store — Finder's own per-folder view settings. Harmless, ubiquitous, and thereason folders copied to a Windows machine look untidy.
Spotlight ignores most of them. find does not care:
find ~ -name ".*" -maxdepth 1
To search inside dotfiles for text:
grep -r "search term" ~/.config
chflags nohidden ~/Library
The reverse is chflags hidden. This is how ~/Library is hidden in the first place — a flag on the folder, not a dot in its name.
Yes. It changes what Finder displays, nothing else. The risk is only that you might then move or delete something you should not.
Finder's per-folder view preferences. Deleting them is harmless; Finder recreates them and you lose only icon positions and window sizes.
Everywhere keeps track of every file on your Mac, including the folders Spotlight hides and drives you have unplugged. Free for a day, then $19 once.
Version 2.20.3 · macOS 13+ · 4.7 MB · notarised