Check the total content size of a tar gz file

后端 未结 7 1262
醉话见心
醉话见心 2020-12-23 19:00

How can I extract the size of the total uncompressed file data in a .tar.gz file from command line?

7条回答
  •  春和景丽
    2020-12-23 19:44

    If you want to do this from the command-line, you could try the -l option to gzip:

    $ gzip -l compressed.tar.gz
         compressed        uncompressed  ratio uncompressed_name
                132               10240  99.1% compressed.tar
    

提交回复
热议问题