You could use GNU units. It appears to treat SI prefixes as strictly base 10, so use the KiB/MiB etc. variants where applicable:
> $ units 8112116KiB MiB > * 7921.9883 > / 0.00012623094 Something like > …2>&1| awk '/transferred/' {print $1}'|while read i; do units "${i}bytes" > "GiB"; done That will need playing around with. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20130208142415.GB6533@debian