[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to clean the working dir from .svn folders ?

From: Geoff Hoffman <ghoffman_at_cardinalpath.com>
Date: Tue, 26 Jul 2011 07:05:16 -0700

I believe you can use a bash script similar to the following, but you may
need to set a flag from PHP so that cron running as root or admin has
permission to delete them. Hope it helps-

#!/bin/sh
echo "recursively removing .svn folders from"
pwd
rm -rf `find . -type d -name .svn`
Received on 2011-07-26 16:05:56 CEST

This is an archived mail posted to the Subversion Users mailing list.