STUFF(1) STUFF(1)
NAME
stuff - create archives and encode files
SYNOPSIS
stuff [ POSIX or GNU style options ] [ file(1,n)/directory ... ]
where file(1,n)/directory ... is one or more parameters listing files or
directories to compress or encode.
DESCRIPTION
stuff is an application that creates archives and encoded files in(1,8) mul-
tiple compressed and encoded formats. It is a command-line utility that
uses the StuffIt Engine shared library.
stuff takes a list of files and directories on its command line and
compresses them into an archive or encodes them.
stuff can currently compress files into StuffIt, zip, UNIX compress,
PrivateFile archive formats and encode files into uuencode(1,5), BinHex and
MacBinary formats.
OPTIONS
Command-line options are distinguished from arguments (file(1,n) and direc-
tory names) by one or two dashes. Short (one-character) options are
preceded by one dash, long (multi-character) options are preceded by
two dashes. Some options have only short or a long form; some have
both. Options are listed in(1,8) alphabetical order.
-e=[option] --eol=[option]
Selects one of the following text type options, represented by
[option]: native, win, windows, crlf, unix, lf, mac, macintosh,
cr. Default: native.
-f=[format] --format=[format]
Determines which archive format is created: format is the format
of the new archive: one of StuffIt, StuffIt5, Zip, UnixCompress,
Uuencode, BinHex, MacBinary, StuffItSegment, PrivateFile.
Determines what archive format is created: format is the format
of the new archive: one of sit, sit5, cpt, zip, arc, arj, lha(1,n),
ha, rar, gz, compress, sco, pack(3,n,n pack-old), compact, freeze, uu, hqx,
btoa, mime, tar, bin, sitseg, or pf. Not all listed formats are
supported; to determine which ones are, use --formats. Default:
sit5.
--formats
Shows archive formats supported by stuff and the StuffIt Engine.
-l=[level] --level=[level]
Assigns the archive compression level. Valid compression levels
are 0, 13, and 15 for sit5 archives, and 0 through 9 for zip ar-
chives. Default: [automatic].
-n=[file(1,n)] --name=[file(1,n)]
Sets the name of the archive to be created. Default: [auto-
matic].
-p=[password] --password=[password]
Sets the password to be used in(1,8) the operation. Default: none.
-q --quiet
Suppresses all messages normally printed during operation.
Default: [no].
-v --version
Shows stuff and StuffIt Engine version(1,3,5) information. Default:
[no].
EXAMPLES
stuff file(1,n)
Creates a StuffIt5 archive from a file(1,n) named(5,8) file.
stuff -f=Zip file(1,n)
Creates a Zip archive from a file(1,n) named(5,8) file.
stuff --format=Zip --comp-level=9 file(1,n)
Creates a Zip archive from a file(1,n) named(5,8) file(1,n), using the maximum
compression level (which is also the slowest to compress).
stuff --name=newarchive.sit dir
Creates a StuffIt5 archive named(5,8) newarchive.sit from a directory
named(5,8) dir and everything it contains (files and subdirectories,
recursively).
stuff --password=abcdef file1 file2
Creates an encrypted StuffIt5 archive from two files: file1 and
file2.
stuff --format=BinHex --eol=mac file1 file2
Creates a BinHex encoded file(1,n) containing two files: file1 and
file2, concatenated. The BinHex file(1,n) is a Macintosh text file(1,n)
(with CR-only end-of-lines).
SEE ALSO
compress(1), gzip(1), zip(1)
DIAGNOSTICS
Exit status is normally 0; if(3,n) an error(8,n) occurs, exit(3,n,1 builtins) status is 1 or 2.
Linux $Date: 2001/03/24 00:51:56 $ STUFF(1)