nomarch(1) | Archive Extraction | nomarch(1) |
nomarch - extract `.arc' archives
nomarch [-hlptUv] [archive.arc] [match1 [match2 ... ]]
nomarch lists, extracts, or tests `.arc' archives. (An alternate extension sometimes used was `.ark'; these work too.) This is a very outdated file format which should certainly not be used for anything new, but you may still need an extraction utility, and here it is. :-)
The default action is to extract all files in the specified archive; see OPTIONS below for how to do other things instead.
nomarch follows the `unzip'-like practice of working on only one archive per run, with further `filenames' given on the command-line actually specifying files to extract (or whatever). The easiest way to work on multiple files with nomarch is simply to run it multiple times using for; for example:
for i in *.arc; do nomarch $i; done
The above would extract all archives in the current directory.
Emacs's arc-mode facility lets you work with various kinds of archive file directly from the editor. Making it use nomarch for extracting `.arc' files isn't too hard. Just add the following to your ~/.emacs file:
(setq archive-arc-extract '("nomarch" "-U"))
The CRC used by the format is only 16-bit, so `-t' is a less-than-perfect test.
One compression method, obsolete even by `.arc' standards :-), isn't supported yet. This is partly because I've yet to find a single file which uses it, despite testing an awful lot of files.
Subdirectories in Spark archives are extracted as the `.arc'-format files they really are, which may not be terribly convenient.
Russell Marks (rus@svgalib.org).
18th June, 2006 | Version 1.4 |