Human readable size for Google Cloud
This commit is contained in:
parent
01143b6834
commit
2be958e0ec
1 changed files with 1 additions and 1 deletions
|
|
@ -434,7 +434,7 @@ get_remote_file_size()
|
||||||
FRIENDLY_TYPE_NAME="Google Cloud Storage"
|
FRIENDLY_TYPE_NAME="Google Cloud Storage"
|
||||||
if $GSCMD_AVAIL ; then
|
if $GSCMD_AVAIL ; then
|
||||||
TMPDEST=`echo $DEST | sed -e "s/\/*$//" `
|
TMPDEST=`echo $DEST | sed -e "s/\/*$//" `
|
||||||
SIZE=`gsutil du -s ${TMPDEST} | awk '{print $1}'`
|
SIZE=`gsutil du -hs ${TMPDEST} | awk '{print $1$2}'`
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"s3")
|
"s3")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue