[newbie]remove .svn directory

[newbie]remove .svn directory

am 04.01.2008 15:05:27 von Tony Winslow

I want to remove .svn directories, and I found the solution below on the
internet:
find . -name .svn -exec rm -vrf {} \;
Can anyone explain to me what exactly does it mean? Thank you!

Re: [newbie]remove .svn directory

am 04.01.2008 16:28:59 von Ed Morton

On 1/4/2008 8:05 AM, Tony Winslow wrote:
> I want to remove .svn directories, and I found the solution below on the
> internet:
> find . -name .svn -exec rm -vrf {} \;
> Can anyone explain to me what exactly does it mean? Thank you!

find .
= find from the current directory (.) down

-name .svn
= all files and directories named ".svn"

-exec
= and execute the following command:

rm -vrf
= which is the "rm" command using arguments "-vrf" (man rm)

{} \;
= giving that command each file/dir name as it's found.

Ed.

Re: [newbie]remove .svn directory

am 04.01.2008 16:37:43 von Cyrus Kriticos

Tony Winslow wrote:
> I want to remove .svn directories, and I found the solution below on the
> internet:
> find . -name .svn -exec rm -vrf {} \;
> Can anyone explain to me what exactly does it mean? Thank you!

Or checkout your dirs and files without creating .svn dirs:

svn export URL

--
Best regards | Be nice to America or they'll bring democracy to
Cyrus | your country.