mirror of
https://github.com/djcb/mu.git
synced 2024-06-26 07:29:17 +02:00
* update documentation for extract
This commit is contained in:
parent
3f971f69ba
commit
f57a11828d
|
@ -1,4 +1,4 @@
|
||||||
.TH MU EXTRACT 1 "September 2010" "User Manuals"
|
.TH MU EXTRACT 1 "October 2010" "User Manuals"
|
||||||
|
|
||||||
.SH NAME
|
.SH NAME
|
||||||
|
|
||||||
|
@ -14,8 +14,9 @@ mu extract\- display and save message parts (attachments)
|
||||||
attachments) from mail messages. It works on message files, and does not require the
|
attachments) from mail messages. It works on message files, and does not require the
|
||||||
message to be indexed.
|
message to be indexed.
|
||||||
|
|
||||||
For attachments, the name specified in the message is used; when saving
|
For attachments, the file name specified in the mail message is used (if
|
||||||
mime-parts, a name is used, derived from the message-id of the message. Thus,
|
any). If there is no name, or when saving other mime-parts, a name is used
|
||||||
|
derived from the message-id of the message.
|
||||||
|
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
|
|
||||||
|
@ -23,18 +24,28 @@ mime-parts, a name is used, derived from the message-id of the message. Thus,
|
||||||
\fB\-a\fR, \fB\-\-save\-attachments\fR
|
\fB\-a\fR, \fB\-\-save\-attachments\fR
|
||||||
save all MIME-parts that look like attachments.
|
save all MIME-parts that look like attachments.
|
||||||
|
|
||||||
\fB\-\-save\-all-parts\fR
|
.TP
|
||||||
|
\fB\-\-save\-all\fR
|
||||||
save all non-multipart MIME-parts.
|
save all non-multipart MIME-parts.
|
||||||
|
|
||||||
\fB\-\-target\-dir\fR=<dir>
|
.TP
|
||||||
save the parts in the target directory rather than the current one.
|
\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
|
||||||
|
\fB\-\-target\-dir\fR=<dir>
|
||||||
|
save the parts in the target directory rather than
|
||||||
|
the current working directory.
|
||||||
|
|
||||||
|
.TP
|
||||||
\fB\-\-overwrite\fR
|
\fB\-\-overwrite\fR
|
||||||
overwrite existing files with the same name.
|
overwrite existing files with the same name.
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
|
|
||||||
Please report bugs if you find them:
|
Please report bugs if you find them:
|
||||||
|
|
||||||
.BR http://code.google.com/p/mu0/issues/list
|
.BR http://code.google.com/p/mu0/issues/list
|
||||||
|
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
|
|
|
@ -222,7 +222,7 @@ config_options_group_extract (MuConfigOptions *opts)
|
||||||
"save all attachments", NULL},
|
"save all attachments", NULL},
|
||||||
{"save-all", 0, 0, G_OPTION_ARG_NONE, &opts->save_all,
|
{"save-all", 0, 0, G_OPTION_ARG_NONE, &opts->save_all,
|
||||||
"save all parts (incl. non-attachments)", NULL},
|
"save all parts (incl. non-attachments)", NULL},
|
||||||
{"parts", 0, 0, G_OPTION_ARG_STRING, &opts->parts,
|
{"parts <numbers>", 0, 0, G_OPTION_ARG_STRING, &opts->parts,
|
||||||
"save specific parts", NULL},
|
"save specific parts", NULL},
|
||||||
{"target-dir", 0, 0, G_OPTION_ARG_FILENAME, &opts->targetdir,
|
{"target-dir", 0, 0, G_OPTION_ARG_FILENAME, &opts->targetdir,
|
||||||
"target directory for saving", NULL},
|
"target directory for saving", NULL},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user