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.
Ngl this is pretty punny. ( sh.itjust.works )
the fear of missing out a better compression ( lemmy.world )
Source - Posted with Reddy
Old XKCD, still relevant ( lemmy.dbzer0.com ) Englisch
Was trying to extract a totally legit copy of Skate 3 I downloaded today to play on my Steam Deck
Visual representation of the cloud ( sh.itjust.works )
Oh no, Murray! ( sh.itjust.works )