Search Search

    How to Show Hidden Files on Mac?

    MacOS is known to be highly protected in order to avoid damage caused by clumsiness or dangerous modifications made by users. The system has several corners where important directories and files are hidden. Here's how to show hidden files on Mac.

    If hidden files were permanently accessible, the probability of a user inadvertently deleting or modifying them is not negligible. Nor are the possible consequences. But it often happens that it is necessary toshow any of these hidden folders or files on Mac in order to solve a specific problem.

    On UNIX systems, hidden files are preceded by a period (.) and do not appear in the list of files. It can be an .htaccess file, .bash_profile or .svn directory, for example. Folders like /usr, /bin and /etc are also hidden.

    The hidden folder that we most often need to access is the User Library which is hidden by default since macOS 10.7. (~/Library). This is where application files and other personal data are stored. Here are three different ways to show hidden files on Mac.

    First method

    We start with the classic technique which is also the longest:

    • From Utilities (Applications > Utilities), navigate to the tool Port
    • Enter the following command in the Terminal and validate:
      chflags nohidden ~/Library 
    • Enter the system administrator password if prompted, then confirm again.

    Second method

    • Open Finder
    • From the menu bar, select Go and Go to folder
    • Type ~/Library in the field and click Go

    Third method

    This method for showing hidden files in the Library directory is a faster variant than the previous one:

    • In Finder, click Go
    • Hold the key Alt down. The Library then appears in the list
    • Click on the line to access your personal file.

    Fourth Method to Show Hidden Library Files on Mac

    It is the easiest and fastest technique that has been introduced by Apple since macOS Sierra. A simple keyboard shortcut displays the Library.

    • Open Finder
    • Go to Macintosh HD and simultaneously press the keys CMD + Maj + . (point) on the keyboard
    • Hidden files will automatically become visible
    • Press the same hotkey again to hide them.

    Show all hidden folders and files on Mac

    To display all the hidden directories and files on a Mac, you have to go through the Terminal tool as for the first method described above. However, the command to enter is different.

    • From Utilities (Applications > Utilities), navigate to the Terminal tool
    • Enter the following command in the Terminal then validate:
      defaults write AppleShowAllFiles -bool true
    • Then relaunch Finder by entering the following command in Terminal: kill all Finder and validate.

    Now all hidden files and directories will show up regardless of where they are. To hide them again, just enter the same command shown above, replacing the end with false: defaults write AppleShowAllFiles -bool false.

    The editorial advises you:

    1. Mac: how to create a bootable USB drive in macOS?
    2. The best file compression software on PC and Mac
    3. Insufficient storage: how to clean your Android smartphone
    The 2022 iPad Pro is going to be redesigned and will have wireless charging capability, like Apple's other mobile devices. After the presentation of the iPad mini 6,… All the power of a Mac computer on your eyes: this is what Apple promises in its future mixed reality headset, scheduled for the end of 2022. While the Apple Watch, the 'iPad… Do you have an iPhone and want to change your PIN code? The option, buried in the twists and turns, of iOS is not so easy to find. However, this code ... There are a few options available to unlock an iPhone. Some online services offer to do this quickly for a few euros. The law also obliges operators to do it for free ...
    Audio Video How to Show Hidden Files on Mac?
    add a comment of How to Show Hidden Files on Mac?
    Comment sent successfully! We will review it in the next few hours.