Saturday, February 19, 2011

Recursively removing XCode build directories before SVN import, commit, or add

In Terminal, cd to the repository directory to be checked into SVN

rm -rf `find . -type d -name build`


This will remove all the build directories in all the sub directories e.g. when trunk contains multiple projects.

No comments:

Post a Comment