1.1; arcf (archive_files), revision 1.1, 81/07/01
ARCF (ARCHIVE_FILE) -- Maintain an archive file.
usage: ARCF {-D | -P | -T | -U | -X}[V] arcname [pathname...]
FORMAT
ARCF command Arcname [pathname ...]
ARCF collects sets of files into one large file and maintains that file as an
archive. Files can be extracted from the archive, new ones can be added, old
ones can be deleted or replaced by updated versions, and data about the
contents can be listed. Only text files can be archived.
NOTE: When you use the update and print commands, the files are updated
and printed in the order they appear in the archived file, not in
the order listed on the command line.
ARGUMENTS
Command
(required) Use one of the following commands to specify the operation you
wish to perform on the archive file (arcname):
(Follow the command with "V" (no hyphen) to get verbose output.)
-D Delete the named files from the archive.
If the V option is used, file names are displayed on standard
output as they are deleted from the archive.
-P Write the named files on standard output.
The V option displays the file names.
-T Write a table of contents for the archive file.
If the V option is used, the table lists the file's length, type,
and date and time of the last change.
-U Update the named archive by replacing existing files or adding
new ones. If no file names are given, all possible files in the
archive will be updated with files of the same name in the current
directory. Use to create new archive file.
If the V option is used, file names are displayed as files are
written to the new archived file.
-X Extract (copy) the named files from the archive. Write each to a
file in the current directory. If the file already exists, the
new version replaces the old one.
If the V option is used, file names are displayed as files are
extracted.
V Print additional information. ( Request verbose output.) Type
this option following any of the others. Do not type a space or
a hyphen before the V.
Arcname
(required) Specify name of archive file being created or maintained.
pathname
(optional) Specify name of file to be added to, or deleted from, the named
archive. Separate multiple file names with blanks. Using a hyphen
alone causes file names to be read from standard input, one per
line.
Default if omitted: performed selected action on all files in
the archive.
EXAMPLES
1. $ arcf -uv my_archive stamps Update archive file "my_archive"
stamps with a new copy of the file
$ "stamps", returning verbose output.
2. $ arcf -tv my_archive Report on the contents of the archive.
stamps 330 local 02/18/83 13:53:07
$