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:
I usually write a blog post about once a week. The latest post can be viewed here: I Support Religion!: I can see that the alternatives are often not good! (posted 2024-09-20 at 12:04:19). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2024-08-22 Stirring Up Trouble: Let's just get every view out there and fairly debate them..