diff options
author | Robin Jarry <robin@jarry.cc> | 2022-03-24 09:26:06 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-03-24 15:30:10 +0100 |
commit | d64ceba2cc8d8d1624348a76c7e7a02e385e6d0a (patch) | |
tree | 70adf3aa3b2224a57be48f98905db64f0d6c6c3c /doc | |
parent | d66930749a9f8eaa19acab78d57585a170f17429 (diff) | |
download | aerc-d64ceba2cc8d8d1624348a76c7e7a02e385e6d0a.tar.gz |
save: add -a option to save all attachments
Allow saving all message parts that have the content disposition
"attachment" header to a folder.
Suggested-by: Ondřej Synáček <ondrej@synacek.org>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Koni Marti <koni.marti@gmail.com>
Tested-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/aerc.1.scd | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 27384ade..dda8aedf 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -337,12 +337,12 @@ message list, the message in the message viewer, etc). Saves the current message part in a temporary file and opens it with the system handler. Any given args are forwarded to the open handler -*save* [-fp] <path> +*save* [-fpa] <path> Saves the current message part to the given path. If the path is not an absolute path, general.default-save-path will be prepended to the path given. - If path ends in a trailing slash or if a folder exists on disc, - aerc assumes it to be a directory. + If path ends in a trailing slash or if a folder exists on disc or if -a + is specified, aerc assumes it to be a directory. When passed a directory :save infers the filename from the mail part if possible, or if that fails, uses "aerc_$DATE". @@ -350,6 +350,8 @@ message list, the message in the message viewer, etc). *-p*: Create any directories in the path that do not exist + *-a*: Save all attachments. Individual filenames cannot be specified. + *mark* [-atv] Marks messages. Commands will execute on all marked messages instead of the highlighted one if applicable. The flags below can be combined as needed. |