>_ IzzyLab

Topic breakdown

tar has three main modes: create an archive (-c), extract (-x) and list the contents (-t). The listing is read from the archive's entry headers, so nothing appears on disk — that's how you check what's inside before publishing or installing, and whether a file was forgotten (or an extra one slipped in). For .tar.gz you add gzip handling, and -f points to the archive file. Verbose mode -v turns the list into something like ls -l — handy for reading, but a manifest needs bare paths.

What's checked

  1. the manifest lists the archive's files
  2. the manifest contains only paths
  3. archive not extracted

What it looks like