Recursively execute command on svn directories

If svn directories get locked or otherwise changed by a user that doesn’t own all the files in a checked out directory, you may need to operate only on the svn directores, and you can use:

find . -type d -name .svn -exec chown -R tomcat:tomcat "{}" \;

Leave a Reply