Remove the hidden flag with the same process, but change the command to chflags nohidden instead. Navigate to the folder containing the file you want to hide in Terminal using the cd command. There are two main ways to do it, and both will reveal all hidden files, regardless of the method used to hide them. Both have exactly the same effect, and the second one is typically easier to remember and execute on the fly.
Of course, advanced users will know you can always see hidden files and folders in Terminal with ls -l. This will reveal all hidden files. You can also hide files by putting them in system folders. This is the kind of trick you might use to hide adult materials from a snooping parent, but it is effective nonetheless. By default, the Library folder is hidden on macOS.
How to Show Hidden Files and Folders on Your Mac
For extra security, you can layer your hidden directory inside multiple cryptically-named folders. Be careful about hiding it inside folders actively used by applications, however. Open Terminal. Click Spotlight. Type chflags nohidden into Terminal.
How to view the size of folders in Finder window
Make sure you leave a space after nohidden. Click and drag a hidden file or folder into Terminal. Dropping the item onto the Terminal window will place the item's pathway--which is essentially its address--directly after the "chflags nohidden" command.
This will run the command, which removes the "hidden" status of your selected item. Double-click the item. It should now open like a regular file or folder. Dishant Gusain.
4 Ways to Show Hidden Files and Folders on Mac
Enable the Finder "Status" bar, which can be enabled in the View menu or by pressing Command-forward slash on the keyboard. Yes No. Not Helpful 0 Helpful 1. Include your email address to get a message when this question is answered. Already answered Not a question Bad question Other. By using this service, some information may be shared with YouTube.
go here After you have performed a task that requires these files to be shown, it is wise to hide them again to protect against any accidental damage. Refrain from editing or removing these files.
Edit Related wikiHows. Article Info This article was co-authored by our trained team of editors and researchers who validated it for accuracy and comprehensiveness. Is this article up to date?
Can you please put wikiHow on the whitelist for your ad blocker? Learn how. Cookies make wikiHow better.