Commit 70784d51a282ded1541da6a060b564ab40233ccf

Authored by Antonio Terceiro
1 parent 3f055a20

Removing crappy script

Showing 1 changed file with 0 additions and 12 deletions   Show diff stats
db/migrate/renumber.sh
@@ -1,12 +0,0 @@ @@ -1,12 +0,0 @@
1 -ls -1 *.rb | (  
2 - i=1  
3 - while read IN; do  
4 - OUT=$(echo $IN | sed -e "s/^[0-9]\+/$(printf '%03d' $i)/")  
5 - if [ "$IN" != "$OUT" ]; then  
6 - echo mv $IN $OUT  
7 - else  
8 - echo "# $IN stays untouched"  
9 - fi  
10 - i=$[$i + 1]  
11 - done  
12 -)