>
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 ).