Filippo oretti
Filippo oretti

Reputation: 49853

Remove all the svn files in all the macosx directories

I would like to run a command to remove all the .svn files in my macosx.

Is it possible or is better to remove them just from directory by directory?

How can i do that?

thx

Upvotes: 4

Views: 2021

Answers (2)

Gene Parmesan
Gene Parmesan

Reputation: 102

svn export will do a copy of all the files without the .svn and then you can remove the old folder if that's what you are going for.

Upvotes: 2

bta
bta

Reputation: 45077

You can use find to recursively locate and delete Subversion metadata folders:

find . -name .svn -exec rm -rf '{}' +

Upvotes: 6

Related Questions