Tar oddity...

José Matos jaomatos at gmail.com
Fri Dec 18 19:19:42 UTC 2009


On Friday 18 December 2009 18:40:59 Rick Stevens wrote:
> Try "tar tvzf xxx.tar.gz".  The fact it has a ".gz" at the end indicates
> that it's a gzipped tar file so you must specify "z" in the tar command
> line.

The versions that Fedora carries should be able to understand this without the 
need for the z (or j or x).

I found this on the list some time ago (one year?).

So if the file is compressed with gzip
"tar tvf xxx.tar.gz" should work as tar recognises the compression used.

-- 
José Abílio




More information about the fedora-list mailing list