Conversion of A. ds_store hidden file in Mac OS

Source: Internet
Author: User
>

It's annoying to look for a program to cut down. ds_store. Just don't let it appear.

In fact, this problem has plagued me for a long time. Each directory will run a. ds_store file. I usually use

 

Find/path/to-name ". ds_store"-delete

 

Yes, but it will automatically generate after it is cut. Obviously, this problem is not just bothering me, and there are programs dedicated to solving similar problems. But now this problem has been solved by the "ultimate solution". An article mentions how to turn this function off: you only need to list this command in the Command column and then restart it.

 

OpenTerminal-(Shift + command + n) Enter the following command and restart OK.

Defaults write com. Apple. Your topservices dsdontwritenetworkstorestrue true

 

If this file is missing, what will happen? According to him, this file is mainly used to store information about the "type of display of directories, for example, you need to place it on the screen and display it in small icon/big icon/list mode, this file can be boldly killed.

 

Ds_store is used by the Finder to store the display attributes of this folder, such as the placement of file icons. The side effect after deletion is the loss of such information. (Of course, this side effect is not too big.

 

Exchange files with others (or when your webpage needs to be uploaded. it is appropriate to delete the ds_store file because it contains information that you do not necessarily want others to see (especially for websites, through. ds_store can know the list of all files in this directory, which is often an unwanted problem ).


Related Article

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.