I canβt just rm -rf $(find . -name '.svn') , because I have some directories in my working copy that have not returned (by svn: ignore) and at the same time working copies of other svn repositories .
my-repo
|+ directory
||- .svn (to delete)
||- files...
|+ another_directory
||- .svn (to delete)
||- files...
|+ directory_ignored (svn:ignore)
||- .svn (different working copy)
||- more files ...
So, I just want to say subversion to remove all .svn directories that belong only to this working copy.
Is it possible?
The directory structure is quite complicated, so doing it manually is really sucking.
Edit: The working solution is finally:
for i in $(export IFS=$'\n'; grep -l ' https://complete-repo-path/ ' find . -name entries|grep .svn | sed 's/ /\ /' | sed 's/.svn/entries//'); do echo $i.svn; >
source share