How to delete everything except .svn directories?
- by Arek
I have quite complex directory tree. There are many subdirectories, in those subdirectories beside other files and directories are ".svn" directories.
Now, under linux I want to delete all files and directories except the .svn directories.
I found many solutions about opposite behaviour - deleting all .svn directories in the tree. Can somebody quote me the correct answer for deleting everything except .svn?