tar --test-label [LABEL...]

Test the archive volume label and exit

Arguments

NameDescription
LABEL

Options

NameDescription
f, -f, --file <ARCHIVE>
  • Required ✳
--force-localArchive file is local even if it has a colon
F, -F, --info-script, --new-volume-script <COMMAND>Run COMMAND at the end of each tape
L, -L, --tape-length <N>Change tape after writing Nx1024 bytes
M, -M, --multi-volumeCreate/list/extract multi-volume archive
--rmt-command <COMMAND>Use COMMAND instead of rmt when accessing remote archives
--rsh-command <COMMAND>Use COMMAND instead of rsh when accessing remote archives
--volno-file <FILE>Tar will keep track of which volume of a multi-volume archive it is working in FILE