|
|
For each file argument, uad (Universal Atomic
Disintegrator) attempts to identify the file type. If the
file is a composite file of a type uad knows how to
expand, uad attempts to expand the file and recursively
process the subfiles.
Currently, uad expands BinHex, TNEF, tar'd, ziped, zip2exe,
compressed and gziped files as well as extracting MIME and
uuencoded enclosures in text files.
Support for other archive and compression formats is available using
external programs and the --external option.
OPTIONS
-
-c, --copyright
-
Display copyright information and then exit. All
other options will be ignored.
-
-h, -?, --help
-
Display usage message and then exit. All other
options will be ignored.
-
-v, --version
-
Display version information.
-
-e prog, --external prog
-
Use external expander for unknown archive types.
You must provide the external expander program.
An example uad-helper Unix sh script is provided
to handle cpio, RAR, bzip2, and StuffIt formats.
-
-k, --keep-tmpfiles
-
The temporary files containing constituent files
created during expansion are retained (normally
they are deleted). These files are announced as
each input file is scanned when this option is
specified.
-
-l, --follow-links
-
Symbolic links are followed. First, the link file
is described, then the file it points to is
scanned.
-
-L, --transparent-links
-
Symbolic links are followed transparently. The data
in the file linked to is used to describe the link
file.
-
-m, --malformed
-
Keep malformed files. Normally uad does not keep
any partial output or extracted components if an
archive or encoding is malformed. This option
will cause uad to keep such files, e.g. they
will appear on SmartScan output.
For use in conjunction with SmartScan output piped into vfind,
you should also specify the uad -p option when using -m,
otherwise trailing content in a malformed archive may not be processed.
-
-M, --Mail
-
Set Mail mode: This option makes uad report type
"top-level mail header" for the first component
of input files. Input files are treated as text and are
assumed to be mail files including headers.
-
-n, --no-expansion
-
Do not expand composite files.
-
--no-recursion
-
Do not expand files recursively.
-
-p, --provide-all
-
Provide All Files: Normally uad does not provide
output files for archives which have been expanded
into component files. This option will cause uad
to also provide the archive files.
-
-p0, --provide-top
-
Provide Top Files: Normally uad does not provide
output files which are simply copies of input file
archives which have been expanded into component
files. This option will cause uad to also provide
the top-level input archive files.
-
-pid, --pid
-
Print process id to stderr.
-
-q string, --quote string
-
Quote: This option causes uad to write the
specified literal string on SmartScan output.
-
--recursion num
-
Recursion Limit: This option causes uad to limit
the level of recursively expanded files to num.
-
-s, --stdin-file-list
-
Read the names of files to scan from standard
input, one per line.
-
-S, --stdin
-
Use the data on standard input as the file to scan.
-
-ssr, --smartscan-read
-
This option causes uad to read
files from a SmartScan stream on standard input.
-
-ssw, --smartscan-write
-
Write a SmartScan Stream to the standard output.
This option is useful when interfacing with other
SmartScan Compliant tools such as vfind(1).
-
-t dir, --tmpdir dir
-
Set the directory uad uses for its temporary
files to dir.
Without this option, uad will use
the default temp directory appropriate to the
operating system.
-
-T, --Text
-
Set Text mode. This option forces uad to
treat input files as text.
-
-w, --write-files
-
Constituent files for which meaningful names are
available (from, e.g., an archive or MIME message)
are saved with those names in the current
directory. Subdirectories are created as needed.
-
-z, --zeroing-off
-
Don't zero out the temporary files before unlinking
them. This speeds things up a little, but
introduces a potential security hole.
-
--
-
End of Options: Signals to uad that all
remaining arguments are to be treated as
filenames, even if they start with '-'.
|
|