• janAkali
    link
    fedilink
    English
    36 months ago

    I don’t understand.
    How is it hard to remember: “eXtract File” = “tar xf …”? If tar is gZipped - it’s “tar xzf …”.
    I don’t think I’ve ever seen tarball that wouldn’t work with one of these two commands.

    • Programmer Belch
      link
      fedilink
      English
      66 months ago

      Usually the distro has tar in automatic and automatically detects which compression flag to use so tar xf ... usually just works

    • xigoi
      link
      fedilink
      36 months ago

      Just use tar xaf to auto-detect the format. (Mnemonic: “extract a file”)