• xinayder@infosec.pub
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    Don’t you have to specify the compression algorithm when extracting? I always use tar -xzf for gzip files and if I remove -z it just fails.

    • Faresh@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      10 months ago

      I’ve been using only xf for a long time now. Don’t remember ever getting an error from it in the last years. Maybe tar can now check the magic number or something to figure out what the format is?