home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 2
/
crawlyvol2.bin
/
utility
/
archiver
/
mpack13b
/
munpack.man
< prev
next >
Wrap
Text File
|
1994-06-08
|
2KB
|
67 lines
MUNPACK(1) USER COMMANDS MUNPACK(1)
NAME
munpack - unpack messages in MIME or split-uuencode format
SYNOPSIS
munpack [ -f ] [ -q ] [ -t ] [ -C _✓d_✓i_✓r_✓e_✓c_✓t_✓o_✓r_✓y ] [ _✓f_✓i_✓l_✓e_✓n_✓a_✓m_✓e ...
]
DESCRIPTION
The _✓m_✓u_✓n_✓p_✓a_✓c_✓k program reads each RFC-822 message _✓f_✓i_✓l_✓e_✓n_✓a_✓m_✓e and
writes all non-text MIME parts or split-uuencoded files as
files. If no filename argument is given, munpack reads from
standard input.
If the message suggests a file name to use for the imbedded
part, that name is cleaned of potential problem characters
and used for the output file. If the suggested filename
includes subdirectories, they will be created as necessary.
If the message does not suggest a file name, the names
"part01", "part02", etc are used in sequence.
If the imbedded part was preceded with textual information,
that information is also written to a file. The file is
named the same as the imbedded part, with any filename
extension replaced with ".desc".
OPTIONS
-f Force overwriting of existing files. If a message sug-
gests a file name of an existing file, the file will be
overwritten. Without this flag, munpack appends ".1",
".2", etc to find a nonexistent file.
-q Be quiet. Supresses messages about saving partial mes-
sages and about messages with no interesting informa-
tion.
-t Also write the text MIME parts of multipart messages as
files. This option effectively disables the ".desc"
file feature for MIME messages.
-C _✓d_✓i_✓r_✓e_✓c_✓t_✓o_✓r_✓y
Change the current directory to _✓d_✓i_✓r_✓e_✓c_✓t_✓o_✓r_✓y before read-
ing any files. This is useful when invoking munpack
from a mail or news reader.
ENVIRONMENT
TMPDIR
Directory to store temporary files. Default is /tmp.
FILES
$TMPDIR/message-parts-$USER/
Directory used to store partial messages awaiting
reassembly.
Sun Release 4.1 Last change: 1