About DSWipe

DSWipe is a very simple application to remove those pesky .DS_Store files you find littered all over Mac OS X. There is 3 main modes of operation:

Global - Erases every single .DS_Store file on your machine. This requires root privileges.

User - This erases all .DS_Store files in your home directory.

Folder - Allows you to select a folder. DSWipe will then recursively delete all .DS_Store files from that path on.

DSWipe FAQ

What are .DS_Store files?
.DS_Store files are created by the Finder to keep track of folder view options, icon positions, and other visual information about folders.

When you open a folder in the Finder, a .DS_Store file is created in that directory. Currently, you can not disable the creation of .DS_Store files.

Why would I delete .DS_Store files?
There is actually quite a few reasons to delete them.

  • .DS_Store files can cause verification errors in Toast if the file is modified while a CD is being burned. In addition there is no reason to burn .DS_Store files on most CDs.
  • .DS_Store files are listed on network servers and litter file listings. Files that start with . are not hidden on Windows machines or Samba shares.
  • .DS_Store files eat up space on your hard drive for window settings you might not need. This is especially true if you prefer all your windows to have the same default settings.
  • .DS_Store files could be a security risk if you upload them to a web server. They contain folder information which can be exploited to obtain system configuration information.

Can I do this from Terminal?
sudo find / -name .DS_Store -depth -exec rm {} \;