source

img title=“I don’t know what’s worse–the fact that after 15 years of using tar I still can’t keep the flags straight, or that after 15 years of technological advancement I’m still mucking with tar flags that were 15 years old when I started.”

    • DefederateLemmyMl
      link
      fedilink
      497 months ago

      Depends. Is it GNU tar, BSD tar or some old school Unix tar?

      Double hyphen “long options” are a typical GNU thing.

        • DefederateLemmyMl
          link
          fedilink
          English
          117 months ago

          Yes, the terse Unix version, which needs to be supported for compatibility, and the more readable GNU long option

        • DefederateLemmyMl
          link
          fedilink
          English
          35
          edit-2
          7 months ago
          ~# tar -h
          tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options
          Try 'tar --help' or 'tar --usage' for more information.
          ***********************************************
          WARNING: Self destruct sequence initiated
          ***********************************************