To list an archive's contents I can do :
tar -tzvf mytarball.tar.gz
But this works for local files only. Can someone point out how to do it (if at all possible) for files over internet.
I tried it with a file
wget -q https://git-core.googlecode.com/files/git-1.8.0.tar.gz | tar -tzv
gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now
So does tar work properly with streams for listing ? Are there any compression formats which allow this (without requiring to download the whole file) ?