Remove .Ds_Store Files on Mac Os X completely

The Finder automatically places a .DS_Store file into every folder you have opened.  These files are annoying sometimes, especially when you are working on source code control tool, e.g git, svn. Also some .DS_Store files are corrupted, and these corrupted .DS_Store files cause problems like a Finder window blinking open and then closing, the inability to see some icons, or sort icons, or to change the view options.

Actually, removing these files can be pretty easy by following steps:

  1. Give yourself super-user (root) permissions in Terminal so you can use the commands needed to delete some .DS_Store files.
  2. Terminal will prompt you for a password Use your administrator account password
  3. Navigate to the Folder with the Corrupted .DS_Store File
  4.  Type rm -f .DS_Store and press Return

            

No comments :

Post a Comment