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:
My latest blog post: A Different View: People whose ideas differ aren't bad, they just have a different view. (posted 2025-07-22). Warning: mysqli_connect(): (HY000/1040): Too many connections in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 51
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Footer.m.inc.php on line 52
Could not connect to MySQL: