>
>
>  *From:* Geoff Hoffman <ghoff...@cardinalpath.com>
> *Sent:* Tuesday, July 26, 2011 4:05 PM
> *To:* users@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.fore...@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?

Attachment: wlEmoticon-smile[1].png
Description: Binary data

Reply via email to