diff --git a/duplicity-backup.sh b/duplicity-backup.sh index be29261..bdb23eb 100755 --- a/duplicity-backup.sh +++ b/duplicity-backup.sh @@ -434,7 +434,7 @@ get_remote_file_size() FRIENDLY_TYPE_NAME="Google Cloud Storage" if $GSCMD_AVAIL ; then TMPDEST=`echo $DEST | sed -e "s/\/*$//" ` - SIZE=`gsutil du -s ${TMPDEST} | awk '{print $1}'` + SIZE=`gsutil du -hs ${TMPDEST} | awk '{print $1$2}'` fi ;; "s3")