Originally Posted by dafunks
tar xvf blacklists.tar.gz
That will work for files ending in .tar; you are missing the 'z' flag:
tar xvzf blacklists.tar.gz
will decompress it and extract the contents from the tarball.
To just decompress it, do:
which will produce blacklists.tar
And just in case you're curious, to recompress the tarball:
Flags of tar:
- x - extract
- z - use gunzip compression (*.gz or *.Z)
- j - use bzip compression (*.bz2)
- f - next argument is the file to process
- v - verbose output
If you use gunzip to try and decompress the .tar.gz file and it complains that it is not in gzip format, then maybe the file is not a gz file even though it has that extension.
See if that tells you if it is a gzipped file.