Section: Archive Extraction (1)
Updated: 18th June, 2006
Return to Main Contents
nomarch - extract `.arc' archives
nomarch lists, extracts, or tests `.arc' archives. (An alternate
extension sometimes used was `.ark'; these work too.) This is a
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;
below for how to do other things instead.
give terse usage help.
list files in archive. If verbose listings are enabled, it shows the
filename, compression method, compressed/uncompressed size, date/time,
and CRC; but by default, it just shows the filename, uncompressed
size, and date/time.
extract to standard output, rather than to separate files.
test files in archive (more precisely, check file CRCs).
use uppercase filenames; more precisely, preserve original case from
give verbose output (when used with
the archive to operate on.
- match1 etc.
optionally specify which archive members to list/extract/test. Those
which match any of these filenames/wildcards are processed. Wildcard
operators supported are shell-like `*' and `?', but don't forget to
quote arguments which use these (e.g.
EXTRACTING MULTIPLE ARCHIVES
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
for i in *.arc; do nomarch $i; done
The above would extract all archives in the current directory.
USING THE PROGRAM FROM EMACS
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
(setq archive-arc-extract '("nomarch" "-U"))
The CRC used by the format is only 16-bit, so
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 (email@example.com).
- EXTRACTING MULTIPLE ARCHIVES
- USING THE PROGRAM FROM EMACS
- SEE ALSO
This document was created by
using the manual pages.
Time: 21:04:32 GMT, August 18, 2019