Advertisement
Guest User

Untitled

a guest
Jan 7th, 2013
1,240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #!/bin/bash
  2. # SVN Emergency Fix
  3. function rdirls() {
  4. for i in $1/*
  5. do
  6. if [ -d "$i" ]
  7. then
  8. echo $i
  9. rm -rf $i/.svn
  10. rdirls $i
  11. else
  12. echo "NOT " > /dev/null 2>&1
  13. fi
  14. done
  15. }
  16. if [ -d "$1" ]
  17. then
  18. echo $1
  19. rm -rf ./.svn
  20. rdirls $1
  21. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement