Site TIPS PAGE🔎   UP ONE LEVEL
 OJB's Site. v2.4.L: tip147 tips mac owen2 
Tip

Discuss   Up to OJB's Mac Tips List

Hide and Unhide Files

To hide a file or folder, use this command in Terminal:

chflags hidden FILE

To turn hidden off, displaying the file again:

chflags nohidden FILE

To apply these commands recursively (to a folder, and all enclosed folders and files, to any number of layers deep) use this command from Terminal:

chflags -R hidden FOLDER

Alternatively, you can set the Finder to display all hidden files. Either press command shift . in the Finder on modern versions of the OS, or run this command from the Terminal for any OS version:

defaults write com.apple.Finder AppleShowAllFiles true

And relaunch Finder.





My latest blog post: Think for Yourself: In the end, everything is just an opinion. Be skeptical, and think for yourself! (posted 2026-04-25).

My latest podcast: OJB's Podcast 2026-04-14 How Far is that Star?

If you're not sure what to view from my site, here are some suggestions: My Latest Airshow Report, My Favourite Wines and Beers, An Interesting Astronomical Observation, See Some Photos, Read Some Mac Tips.


Site News (Mobile): OJB's web site, v 2.4 which has major changes, and possibly errors! Please report anything to ojb@mac.com.