E[x]tract files matching a pattern from an archive [f]ile

tar

  • Archiving utility.
    Often combined with a compression method, such as gzip or bzip2.
    More information: <https://www.gnu.org/software/tar>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

tar xf {{source.tar}} --wildcards "{{*.html}}"

click the source code to copy install tar on any operating system with command-not-found.com