Delete all of the Mac. Ds_store hidden files

Source: Internet
Author: User
Tags configuration settings administrator password


Delete all of the Mac. Ds_store hidden files36509 thank Longago for sharing in 2012-07-06 12:01| Read Only the author | Reverse view | print
Safari 5.1.7 Mac OS X 10.7.4
<ignore_js_op > 
Mac OS x system, almost the majority of folders are included. Ds_store hides the file, which holds special information and configuration settings for this directory, such as view, icon size, and some ancillary metadata for this directory.

These under the Mac. The Ds_store file is hidden by default and we can't see it. But when the file is shared to Windows, it is visible, and it feels like some junk file exists.

Use the following gadget to get your Mac. Ds_store hidden files, if you want to delete them, follow these steps:
<ignore_js_op>  show: Recover hidden files Macx.zip   (45.42 KB, downloaded: 2231)  


1, Spotlight search for "terminal", open [Terminal] program
2, Enter the following code and return:
  1. sudo find/-name ". Ds_store "-depth-exec rm {} \;
Copy Code 3, if prompted you need an administrator password, enter the confirmation. The command line input is not visible, do not lose the wrong
4, the process will automatically find all. Ds_store files and delete them

However, the system will still create a new one later. Ds_store file, if you need to disable system creation, you can run the following code in the terminal and enter:
  1. defaults write com.apple.desktopservices Dsdontwritenetworksto Res true
to copy the code so that no new is created under the current account. Ds_store file now.

Delete all of the Mac. Ds_store Hidden files

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.