wok-current rev 5678
mirror-tools/backup.sh: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 02 10:53:28 2010 +0200 (2010-06-02) |
parents | 0c59b115eabd |
children | cf5937e61b74 |
files | mirror-tools/stuff/home/backups/mirror/backup.sh |
line diff
1.1 --- a/mirror-tools/stuff/home/backups/mirror/backup.sh Wed Jun 02 10:50:33 2010 +0200 1.2 +++ b/mirror-tools/stuff/home/backups/mirror/backup.sh Wed Jun 02 10:53:28 2010 +0200 1.3 @@ -36,7 +36,7 @@ 1.4 local j 1.5 for j in $(seq $(($1 - 1)) -1 1); do 1.6 for i in *.$2.$(($j - 1)) ; do 1.7 - [ -e $i ] && mv -f $i ${i%.$2.*}.$2.$j; done 1.8 + [ -e $i ] && mv -f $i ${i%.$2.*}.$2.$j 1.9 done 1.10 done 1.11 }