• xinayder@infosec.pub
    ·
    1 year 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
      ·
      1 year 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?