. Ds_store's description

Source: Internet
Author: User

When I cleaned my computer today, I suddenly found that there appeared to be a file somewhere. Ds_store file, today there is time, simply looked up, and do a summary published an article, afraid of what impact, not really implemented, just for their own collection, for your reference only.

Ds_store is used to store the display properties of this folder: for example, where the file icon is placed. The removal of the later side effects is the loss of this information. (Of course, this side effect is not too big.) Although these documents were originally intended for Finderare used, but they are conceived as a more general metadata store for display settings, superscript location and view settings. For example, in Mac OS X 10.4 "Tiger"In. Ds_store contains all the files of a folder SpotlightComments. However, in Mac OS X 10.5 "Leopard"In this way, the comment (now called the keyword) is changed to be stored in the extended file properties. Exchange files with others (or the pages you do need to be uploaded) should be put. Ds_store file deletion is appropriate because it contains some information that you do not necessarily want others to see (especially the website, through.)     Ds_store can know the list of all the files in this directory, many times this is an unwanted problem). This is an Apple file, if the file has this suffix, prove that these files have been stored on Apple Mac OS system, generally deleted on the line, the impact is small. 1. Ininput in Terminal:
sudo find / -name ".DS_Store" -depth -exec rm {} \;
Delete all. Ds_store file.2, Forbidden. Ds_store Generation:
Open "terminal", copy paste the following command, enter the execution, restart the Mac to take effect.
defaults write com.apple.desktopservices dsdontwritenetworkstores-bool TRUE
3, restore. Ds_store Generation:
defaults Delete com.apple.desktopservices dsdontwritenetworkstores

. Ds_store's description

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.