[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:58:45 -0700

>
>
> *From:* Geoff Hoffman <ghoffman_at_cardinalpath.com>
> *Sent:* Tuesday, July 26, 2011 4:05 PM
> *To:* users_at_subversion.apache.org
> *Subject:* Re: How to clean the working dir from .svn folders ?
>
> 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`
>
>

On Tue, Jul 26, 2011 at 7:32 AM, Damien Mistic <mistic100.forever_at_hotmail.fr
> wrote:

> Ďrmí is a not a Windows function, as I said I must run on all platforms,
> thatís why itís better if subversion can do it itself [image: Sourire]
>
> Damien.
>

Ah - I thought someone mentioned cygwin ... sorry. Could you create a PHP
script specifically for this? There are lots of recursive directory walk
scripts online. I'm sure you have a reason why svn export won't work but are
you certain? That's what it's for. You can't export as 'original-dir-export'
next to your original-dir, delete the original-dir, rename the exported back
to same as original-dir?

Received on 2011-07-26 16:59:22 CEST

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