Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Inferno 3rd Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GETTAR(1)

NAME

gettar, lstar, puttar − tar archive utilities

SYNOPSIS

gettar
lstar
puttar [ file ...  ]

DESCRIPTION

These commands manage POSIX.1 tar archives in Inferno. 

Gettar reads a tar file from standard input and unpacks the contents into the current directory tree. 

Lstar reads a tar file from standard input and lists the files contained therein, one per line, with four space-separated fields giving the file name, modification time (in seconds since the epoch), size (in bytes), and a constant 0 (the place holder for a checksum).  The format is the same as that produced by du -n -t . 

Puttar writes a tar file to standard output that contains each file, and its substructure if it is a directory. Given no arguments, puttar instead reads a list of file names from standard input and includes each file or directory named; it does not copy directory substructure. 

EXAMPLE

The following commands create a tar file with two files test.b and srv.b:

$ cat tarlist test.b srv.b $ puttar <tarlist >test.tar $ lstar <test.tar test.b 867178082 1104 0 srv.b 866042662 3865 0

SOURCE

/appl/cmd/gettar.b
/appl/cmd/lstar.b
/appl/cmd/puttar.b

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026