← flaviocopes.com

How to hide a file or folder in macOS Finder

Published May 26 2022

I was slightly annoyed by macOS putting a Public folder in my home folder, with no reason.

I couldn’t delete it as it’s a system folder.

So I found out a way to hide it instead.

Open the terminal and run chflags hidden <path>, like this:

chflags hidden Public

Done!

In case you need to set it back to visible, us

chflags nohidden <path>


Check out my books

© 2023 Flavio Copes Flavio Copes using Notion to Site Notion to Site. Follow on Twitter

Solopreneur? Wannabe? Adventure awaits