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 /commands/msg | |
parent | 61206c6ac6fdc3fc884626a5b1076354f8311c33 (diff) |
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 'commands/msg')
0 files changed, 0 insertions, 0 deletions