comparison bin/desvn.sh @ 2:3530d50c97ff

adding desvn.sh file to remove svn directories
author k0s <k0scist@gmail.com>
date Thu, 15 Oct 2009 13:01:24 -0400
parents
children
comparison
equal deleted inserted replaced
1:f58e8e81e16b 2:3530d50c97ff
1 #!/bin/bash
2
3 desvn() {
4
5 if [ "$#" == "1" ]
6 then
7 cd $1
8 fi
9
10 svn ls | grep '.*/$' | while read line
11 do
12 desvn $line
13 done
14 rm -rf .svn
15
16 if [ "$#" == "1" ]
17 then
18 cd ..
19 fi
20
21
22 }
23
24 desvn