Screenshots
Tar7 Source Code
 previous   up   next 

Tar7 is the Seed7 version of the tar archiving utility.

Tar7 lists, extracts and creates tar, zip, rpm, cpio and ar archives.

  • The extension .tar is used for TAR archive files.
  • The extensions .tgz and .tar.gz are used when a TAR archive file is compressed with gzip.
  • The extension .tar.bz2 is used when a TAR archive file is compressed with bzip2.
  • The extensions .zip and .zipx" are used for ZIP archives.
  • The extension .rpm is used for RPM archives.
  • The extension .cpio is used for CPIO archives.
  • The extensions .a and .ar" are used for AR archives.
usage: tar7 command{modifier} argument

The following commands are supported by tar7 (one of the commands -c, -t or -x must be specified):

-t    Tell about the contents of a tar, zip, rpm, cpio or ar archive
-x    Extract files from a tar, zip, rpm, cpio or ar archive
-c    Create a new tar, zip, rpm, cpio or ar archive

The commands can be altered with the following modifiers:

v    Verbosely list files processed
z    Zip a new created archve with gzip or decompress an existing archive that has been compressed with gzip, bzip2, xz, zstd or lzma
f    Use archive file provided as argument (the modifier f must be specified)

Example of a tar7 usage:

s7 tar7 -tvzf ../../seed7_05_20100221.tgz


Starting Tar7

List content of Seed7 archive (begin)

List content of Seed7 archive (end)

 previous   up   next