Delete .DS_Store files

I have a bunch of .DS_Store files in many directories in my home folder because I transferred them from my old system, a Mac OS X. To remove them, do

 <pre class="src src-sh">find . -name .DS_Store -exec rm <span style="color: #ffa07a;">"{}"</span> <span style="color: #ffa07a;">';'</span>

in ~/. Got this in the comments of this post.

About Vinh Nguyen

Statistician

1 comment

  1. Pingback: Super Nerdy Cool

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>