I have the following structure:
/.svn
/bla/.svn
/hello/.svn
/bla/bla/bla/.svn
... etc
I want to delete all the .svn folders. How do I do it?
It's NOT:
rm -rf .svn
In windows you use the /s trigger. How do you do it linux?
|
feedback
|
|
Use the command find:
{} is the filename, -type d means directories. Warning: use find and rm together with caution! | |||||||
feedback
|
Differences to other solutions already presented:
| |||
feedback
|
|
If your exact need is to remove
This will create a copy of the svn work area in the current directory into a new directory at | |||
|
feedback
|
Should work for you. Result: | |||||
|
feedback
|