linux check original / extracted size

zcat file.tar.gz | wc –bytes
186997248

byte converter:
echo 186997248 | awk ‘{ i = $1 / 1024 / 1024 ; print i “MB” }’

Leave a Reply

Your email address will not be published. Required fields are marked *