2010-10-23 11:04:14 +02:00
|
|
|
.TH MU EXTRACT 1 "October 2010" "User Manuals"
|
2010-08-24 20:09:43 +02:00
|
|
|
|
|
|
|
.SH NAME
|
|
|
|
|
|
|
|
mu extract\- display and save message parts (attachments)
|
|
|
|
|
|
|
|
.SH SYNOPSIS
|
|
|
|
|
|
|
|
.B mu extract [options] <file> [<parts-to-save>]
|
|
|
|
|
|
|
|
.SH DESCRIPTION
|
|
|
|
|
2010-09-01 22:35:03 +02:00
|
|
|
\fBmu extact\fR is the \fBmu\fR sub-command for extracting MIME-parts (e.g.,
|
2010-09-05 20:20:46 +02:00
|
|
|
attachments) from mail messages. It works on message files, and does not require the
|
2010-09-01 22:35:03 +02:00
|
|
|
message to be indexed.
|
|
|
|
|
2010-10-23 11:04:14 +02:00
|
|
|
For attachments, the file name specified in the mail message is used (if
|
|
|
|
any). If there is no name, or when saving other mime-parts, a name is used
|
|
|
|
derived from the message-id of the message.
|
2010-08-24 20:09:43 +02:00
|
|
|
|
|
|
|
.SH OPTIONS
|
|
|
|
|
|
|
|
.TP
|
2010-09-01 22:35:03 +02:00
|
|
|
\fB\-a\fR, \fB\-\-save\-attachments\fR
|
|
|
|
save all MIME-parts that look like attachments.
|
|
|
|
|
2010-10-23 11:04:14 +02:00
|
|
|
.TP
|
|
|
|
\fB\-\-save\-all\fR
|
2010-09-01 22:35:03 +02:00
|
|
|
save all non-multipart MIME-parts.
|
|
|
|
|
2010-10-23 11:04:14 +02:00
|
|
|
.TP
|
|
|
|
\fB\-\-parts\fR=<parts>
|
|
|
|
only consider the following numbered parts
|
|
|
|
(comma-separated list).The numbers for the parts can be seen from running
|
|
|
|
\fBmu extract\fR without any options but only the message file.
|
|
|
|
|
|
|
|
.TP
|
2010-09-01 22:35:03 +02:00
|
|
|
\fB\-\-target\-dir\fR=<dir>
|
2010-10-23 11:04:14 +02:00
|
|
|
save the parts in the target directory rather than
|
|
|
|
the current working directory.
|
2010-09-01 22:35:03 +02:00
|
|
|
|
2010-10-23 11:04:14 +02:00
|
|
|
.TP
|
2010-09-01 22:35:03 +02:00
|
|
|
\fB\-\-overwrite\fR
|
|
|
|
overwrite existing files with the same name.
|
2010-08-24 20:09:43 +02:00
|
|
|
|
|
|
|
.SH BUGS
|
2010-09-05 20:20:46 +02:00
|
|
|
Please report bugs if you find them:
|
2010-10-23 11:04:14 +02:00
|
|
|
|
2010-08-24 20:09:43 +02:00
|
|
|
.BR http://code.google.com/p/mu0/issues/list
|
|
|
|
|
|
|
|
.SH AUTHOR
|
|
|
|
|
|
|
|
Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
|
|
|
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
|
|
|
|
.BR mu(1)
|