I have a wikipedia dump file of around 15GB which extension is .tar.7z. In it has another .tar file. The main content has in .tar file.
How to get the original size of all files those have in the tar file?
I have a wikipedia dump file of around 15GB which extension is .tar.7z. In it has another .tar file. The main content has in .tar file.
How to get the original size of all files those have in the tar file?
.tar
in .tar.7z
? That's strange. If it was just two levels (.7z
and .tar
) you could 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 you can see, the file sizes are listed in the third column.
file filename
to your question – muru Oct 24 '16 at 23:08