I suppose it is tar version dependent, but on any recent Linux version I have used, you can just tar xvf <tar_name.tar.{z,gz,xz,etc}> and it will automatically figure out if it is compressed, what tools were used to compress it, and how to decompress it.
But you are right, x and c are mutually exclusive.
tar xzvf this_awesome_file.tgz
… fixed. Apparently I can’t type.
I think you want to remove the
c
because that means “create” an archive, and you’re missing az
which applies gzip decompression/compressionI suppose it is tar version dependent, but on any recent Linux version I have used, you can just tar xvf <tar_name.tar.{z,gz,xz,etc}> and it will automatically figure out if it is compressed, what tools were used to compress it, and how to decompress it.
But you are right, x and c are mutually exclusive.
Yeap, apparently I can’t type. So, we’d all be dead anyway with that bomb.
QED 🫠