Jeremy Simkins | Web Developer

Jan
06

Removing .svn directories from a folder in Terminal

Filed Under: Mac

Well i was trying to find a way to remove all the .svn files from a directory on OSx.
I found this code worked the best for fully removing all .svn files recursively.

find . -name .svn -print0 | xargs -0 rm -rf

Remember to cd to the directory you are wanting to remove the .svn files from.

cd Sites/project

Profile

Jeremy Simkins

Jeremy Simkins is an accomplished senior web developer with over nine years in the production field. Experienced PHP developer as well as a passionate software engineer. Jeremy specializes in code optimization, performance, and implementation.

View Jeremy Simkins's profile on LinkedIn

Open Source Projects

MPS Mod

FriendFeed

WordPress

Copyright ©2009 Jeremy Simkins. Theme Design by Noe Ruiz