aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc.1.scd
diff options
context:
space:
mode:
authorJohannes Thyssen Tishman <johannes@thyssentishman.com>2024-01-22 20:46:53 +0100
committerRobin Jarry <robin@jarry.cc>2024-01-25 23:33:01 +0100
commite4eab644b0ee1a7bc87fa0581cf0ac28eb64bf58 (patch)
tree986e64abfe5fb6f9c8750ef82f4f3751e085b6e5 /doc/aerc.1.scd
parent73d1bb7cbb726bd4e4f567970526707fdaa4fb67 (diff)
downloadaerc-e4eab644b0ee1a7bc87fa0581cf0ac28eb64bf58.tar.gz
cp: allow to copy messages across accounts
Add a new -a flag to :cp. 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: Copy messages across accounts with `:cp -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 5be01751..c7fc8542 100644
--- a/doc/aerc.1.scd
+++ b/doc/aerc.1.scd
@@ -272,11 +272,14 @@ message list, the message in the message viewer, etc).
*-E*: Forces *[compose].edit-headers* = _false_ for this message only.
-*:copy* [*-p*] _<target>_++
-*:cp* [*-p*] _<target>_
- Copies the selected message(s) to the target folder.
+*:copy* [*-p*] [*-a* _<account>_] _<folder>_++
+*:cp* [*-p*] [*-a* _<account>_] _<folder>_
+ Copies 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*: Copy to _<folder>_ of _<account>_. If _<folder>_ does
+ not exist, it will be created whether or not *-p* is used.
*:decline* [*-e*|*-E*]
Declines an iCalendar meeting invitation.