<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: Batzooh's Code Snippets</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Fri, 08 Aug 2008 13:26:26 GMT</pubDate>
    <description>DZone Snippets: Batzooh's Code Snippets</description>
    <item>
      <title>Recursively Remove .DS_Store files in OS X (More optimized)</title>
      <link>http://snippets.dzone.com/posts/show/4985</link>
      <description>Recently, I saw a this snippet :&lt;br /&gt;&lt;code&gt;&lt;br /&gt;alias rmdsstores='find ./ -type f | grep .DS_Store | xargs rm'&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;But this one is not very optimized, because you have two pipes with command call.&lt;br /&gt;&lt;br /&gt;You can do exactly the same, with only the 'find' command, here the code :&lt;br /&gt;&lt;code&gt;&lt;br /&gt;alias rmdsstores='find . -name *.DS_Store -type f -exec rm {} \;'&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Tue, 15 Jan 2008 16:07:06 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4985</guid>
      <author>Batzooh (Batzooh)</author>
    </item>
  </channel>
</rss>
