diff options
author | Clayton Craft <clayton@craftyguy.net> | 2019-06-11 11:26:13 -0700 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-14 09:48:20 -0400 |
commit | e56ceb099e23cf170750758c67f00713bff1cce1 (patch) | |
tree | be1704aa3d6034e63a7bc28c7e2ec7748925e405 /doc/aerc.1.scd | |
parent | 61206c6ac6fdc3fc884626a5b1076354f8311c33 (diff) | |
download | aerc-e56ceb099e23cf170750758c67f00713bff1cce1.tar.gz |
Support directories in path to :save
This adds new functionality to :save in the message view for specifying directories in the path. A new flag, -p, is also added to :save for automatically creating any directories in the path that do not exist. If the path ends in a / (e.g. "Downloads/mail/") or if the path is an existing directory, the part's file name is the filename from the mail header for the part. Otherwise, it uses the last element in the path as the filename (e.g. 'blah.jpg' is the filename if the path is 'Downloads/mail/blah.jpg')
Diffstat (limited to 'doc/aerc.1.scd')
-rw-r--r-- | doc/aerc.1.scd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd index 229868f..7b09531 100644 --- a/doc/aerc.1.scd +++ b/doc/aerc.1.scd @@ -119,9 +119,11 @@ message list, the message in the message viewer, etc). Downloads and pipes the current message part into the given shell command, and opens a new terminal tab to show the result. -*save* <path> +*save* [-p] <path> Saves the current message part to the given path. + *-p*: Make any directories in the path that do not exist + *close* Closes the message viewer. |