Tradional Usage
  tar {A|c|d|r|t|u|x}[GnSkUWOmpsMBiajJzZhPlRvwo] [ARG...]

It is invigorating.

  • pelya@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    tar is usually smart enough to figure that .tar.gz is a compressed archive, so tar xvf suffices.

    Moreover, .tar.xz archives are much more common nowadays, and the flag to tell tar to use xz decompression is J. Yes, uppercase J I shit you not, because all other letters of alphabet were already taken. The next commandline option added to tar is going to be a Unicode emoji symbol.

      • pelya@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        7 days ago

        Burrows–Wheeler algorithm or block-compression algorithm, the bzip2 file compression program was developed by Julian Seward.

        Ah yes, totally makes sense.

    • ruby@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      7 days ago

      i always forgot about -J so i got used to writing tar --xz -cvf archive.tar.xz file1 file2… instead. it’s a bit more explicit and i’ll never have to hunt for the same flag in the man page again.