(UN)RAVEL(1)

NAME
ravel - construct mime-encoded documents
unravel - extract files from mime-encoded documents

SYNOPSIS
ravel [-6fvV] [-s subj] [-m msgid] [-b text] [-p text] [-o file] [-t recipient] file(s)
unravel [-7cfhvaV] [-p prefix] [file]

DESCRIPTION
Ravel and unravel are used to create and extract MIME-encoded mail documents, for transmitting over networks that do not support other than simple ASCII data.

Ravel reads files and writes an mime-encoded version to the standard output (or mails it if recipients are given via the -t option.) For ascii files, ravel uses the quoted-printable encoding, and for binary files the base64 encoding.

Unravel breaks apart files (or by default, the standard input) into their original form. Unless the -f option is given, it will not write over existing files, but will create and write to a new file. Additionally, unravel is able to decode uuencode(5)ed documents.

  Ravel Options

-6  Encode all attachments in base64

-b boundary-string
    Use the given boundary string to separate the elements in the encoded message.

-f sender
    Claim that the mime document is from sender.

-h  Print a help message, then exit.

-m message-id
    Use the given message-id for the mime-encoded document, instead of a machine-generated one.

-o file
    Write the mime document to file.

-p text
    MIME documents traditionally come with a little header saying that this is a mime document and you may not be able to read it unless you've got a mime-capable document reader. You may replace this message with any (single line) message that you choose.

-s subject
    Use the given subject on the Subject: line of the mime-encoded document (the default is Mime-encoded files)

-t recipient
    Attempt to mail this MIME document to the given recipient. (This option may be specified multiple times.)

-v  Print debugging and progress messages.

-V  Print what version this is, then exit.

  Unravel Options

-7  Write output filenames in 7 bit USASCII.

-a  Write every attachment in the mimed file to disk, even if it doesn't have a filename specified. If the -p option was not specified, unnamed attachments will be written to the file(s) part.seq.

-c  Extract attachments to the current directory.

-f  Replace existing files.

-h  Print a help message describing what command-line options are available, then exit.

-v  Print debugging and progress messages.

-V  Print what version this is, then exit.

-p prefix
    Write unnamed attachments to prefix.seq

SEE ALSO
uudecode(1), uuencode(1), uuencode(5).

AUTHOR
David Parsons (orc@pell.chi.il.us)