size used message was in K, not M
authorColas Nahaboo <colas@nahaboo.net>
Tue, 06 Jun 2017 08:21:42 +0200
changeset 2031f4cf98b45a
parent 19 3519a69bec56
child 21 988e6cac2745
size used message was in K, not M
rsync-incr
     1.1 --- a/rsync-incr	Fri Jun 02 06:23:30 2017 +0200
     1.2 +++ b/rsync-incr	Tue Jun 06 08:21:42 2017 +0200
     1.3 @@ -150,7 +150,7 @@
     1.4  if test -e "$destold/$last_date"; then 
     1.5    let msize='(size+1023)/1024'
     1.6    mv "$destold/$last_date" "$destold/$last_date-${msize}m"
     1.7 -  echo "Size used by this backup: $size m"
     1.8 +  echo "Size used by this backup: $msize m"
     1.9  fi
    1.10  date +'%Y-%m-%d.%Hh%M' >"$destold/LAST_DATE"
    1.11  if test "$status" = 0 -o "$status" = 24; then