aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc.1.scd
diff options
context:
space:
mode:
authorJohannes Thyssen Tishman <johannes@thyssentishman.com>2024-01-22 20:46:54 +0100
committerRobin Jarry <robin@jarry.cc>2024-01-25 23:33:01 +0100
commit40c25caafd583d4ee6ab3f5b318306e534abe480 (patch)
tree6d3b63da9c8bf409b1e16fa8af1e456e43b7e1b1 /doc/aerc.1.scd
parente4eab644b0ee1a7bc87fa0581cf0ac28eb64bf58 (diff)
downloadaerc-40c25caafd583d4ee6ab3f5b318306e534abe480.tar.gz
mv: allow to move messages across accounts
Add a new -a flag to :mv. When specified, an account name is required before the folder name. If the destination folder doesn't exist, it will be created whether or not the -p flag is specified. Changelog-added: Move messages across accounts with `:mv -a <account> <folder>`. Signed-off-by: Johannes Thyssen Tishman <johannes@thyssentishman.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'doc/aerc.1.scd')
-rw-r--r--doc/aerc.1.scd11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/aerc.1.scd b/doc/aerc.1.scd
index c7fc8542..d77bbf03 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -335,11 +335,14 @@ message list, the message in the message viewer, etc).
*-E*: Forces *[compose].edit-headers* = _false_ for this message only.
-*:move* [*-p*] _<target>_++
-*:mv* [*-p*] _<target>_
- Moves the selected message(s) to the target folder.
+*:move* [*-p*] [*-a* _<account>_] _<folder>_++
+*:mv* [*-p*] [*-a* _<account>_] _<folder>_
+ Moves the selected message(s) to _<folder>_.
- *-p*: Create the _<target>_ folder if it does not exist.
+ *-p*: Create _<folder>_ if it does not exist.
+
+ *-a*: Move to _<folder>_ of _<account>_. If _<folder>_ does
+ not exist, it will be created whether or not *-p* is used.
*:patch* _<args ...>_
Patch management sub-commands. See *aerc-patch*(7) for more details.