Java Ninja Chronicles By Norris Shelton

Things I learned in the pursuit of code

Something like this normally works on Linux:

find . -type D -name .svn | rm -r

Not on Mac. You have to remember to add xargs

find . -type D -name .svn | xargs rm -r

Without the xargs, it is like calling rm without a target.

December 5th, 2011

Posted In: Mac, OS/X

Tags: , ,

Leave a Reply

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

LinkedIn Auto Publish Powered By :