Mac system How to set up hidden and displayed files

Source: Internet
Author: User

If you're a curious person who wants to explore the Apple system, when you want to find out where the library is, how can you not find it? When you want to hide your secret, you can only hide it in the form of a folder stack? No insurance, in the event of meeting to see the folder on the point of the people do not stop to do? Open the terminal, Lock the Secret in nothingness!

1, first of all, to ensure that you know the name of the target file or folder, you do not put this name correctly into the terminal, the Mac can do nothing ah ...

2, open the terminal, input chflags hidden

3, after the above code plus the path of the folder, but note that the path here refers to your user folder inside the path, so the map of the "secret" folder path is downloads/secret

4, enter, this time you will be your secret folder on the success of the invisible, Chflags hidden folder path, the above code is the folder to hide the method, the same way to display a hidden folder is the code, chflags Nohidden folder path

5, but, if even I forgot to put a hidden folder here? Did you lose the secret? The workaround is not to hide the secret folder, but to hide all the files in it, this step is the same as a hidden folder, but change the folder path to a file path and have a full name suffix. At the same time, there is a simpler way, chflags hidden downloads/Secret/*, the above code can let the secret of all the contents of the folder hidden, but not hide the folder itself, and you can see that the folder should have two files, but see nothing!

Note:

1, how to display the Finder file path: The top menu bar--> display--> display the path bar.

2, how to display the number of files in the folder: The top menu bar--> display--> display options--> display file information.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.