Was trying to extract a totally legit copy of Skate 3 I downloaded today to play on my Steam Deck

  • arc@lemm.ee
    link
    fedilink
    arrow-up
    9
    ·
    1 month ago

    I know tar zxf and xjf off by heart. I probably do 100x as many extracts as creates. Tar is a stupidly antiquated command though.

    • flying_sheep@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      1 month ago

      Why remember/include the algorithm? Tar can infer that. It’s just bsdtar xf filename.* for everything. (bsdtar handles .zip as well)

        • flying_sheep@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 month ago

          Yes, and tar works the same, it just doesn’t handle zip files.

          And even if we’re pedantic: bsdtar is Arch Linux’ executable name for a port of the tar command that is shipped by BSDs, so it’s also tar.