Wipe „.DS_Store“ and other resource fork files from disk

Imagine this:

You get some files from a friend or you just copy over some stuff from your Mac to your other computer running Windows or Linux. Harddisk, USB or external storages are polluted by these files. How to clean up the mess?

resource fork disposal


You might have notice that Mac OS hides some files which will be visible on other operating systems. There, THEY ARE COMPLETELY UNNECESSARY! So to remove these files you can simply open up a terminal window (on Linux) and execute the following commands:

find . -iname ".DS_Store" -exec rm "{}" \;
find . -iname "._*" -exec rm "{}" \;
find . -iname "__MACOSX*" -exec rm -r "{}" \;

On Windows you can use a graphical tool called DOT Delete. You can get it here: http://www.addictivetips.com/windows-tips/dot-delete-removes-mac-ds_store-files-from-windows/
Hope this helps to clean up your (non Mac OS X) drives!


If you think this information is useful, you can like Maknesium on Facebook on the right on this page and never miss these kind of hints again. :)

2 Gedanken zu „Wipe „.DS_Store“ and other resource fork files from disk“

  1. good hint! one should however better put the filename arguments into quotes in case there are directories or filenames with spaces in it, so „{}“ instead of {}.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

I accept that my given data and my IP address is sent to a server in the USA only for the purpose of spam prevention through the Akismet program.More information on Akismet and GDPR.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.