Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (1) — Plan9 3rd Edition (Vita Nuova)

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 filenames. 

­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
 
 

Plan 9  —  May 12, 2000

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