tar - How to know actual size of a compressed file in ubuntu using command? - Ask Ubuntu
i have wikipedia dump file of around 15gb extension .tar.7z. in has .tar file. main content has in .tar file.
how original size of files have in tar file?
.tar
in .tar.7z
? that's strange. if 2 levels (.7z
, .tar
) do:
tar tvf foo.tar.7z
for example,
$ tar tvf certbot.tar.xz drwxr-xr-x muru/muru 0 2016-07-06 19:30 certbot/ -rw-r--r-- muru/muru 362 2016-07-06 19:30 certbot/changes.rst drwxr-xr-x muru/muru 0 2016-07-06 19:30 certbot/letsencrypt-nginx/ drwxr-xr-x muru/muru 0 2016-07-06 19:30 certbot/letsencrypt-nginx/letsencrypt_nginx/ -rw-r--r-- muru/muru 119 2016-07-06 19:30 certbot/letsencrypt-nginx/letsencrypt_nginx/__init__.py -rw-r--r-- muru/muru 11984 2016-07-06 19:30 certbot/letsencrypt-nginx/license.txt -rw-r--r-- muru/muru 118 2016-07-06 19:30 certbot/letsencrypt-nginx/readme.rst -rw-r--r-- muru/muru 1638 2016-07-06 19:30 certbot/letsencrypt-nginx/setup.py -rw-r--r-- muru/muru 39 2016-07-06 19:30 certbot/letsencrypt-nginx/manifest.in -rw-r--r-- muru/muru 604 2016-07-06 19:30 certbot/contributing.md -rw-r--r-- muru/muru 494 2016-07-06 19:30 certbot/readthedocs.org.requirements.txt ...
as can see, file sizes listed in third column.
Comments
Post a Comment