From e4eab644b0ee1a7bc87fa0581cf0ac28eb64bf58 Mon Sep 17 00:00:00 2001 From: Johannes Thyssen Tishman Date: Mon, 22 Jan 2024 20:46:53 +0100 Subject: 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 `. Signed-off-by: Johannes Thyssen Tishman Acked-by: Robin Jarry --- doc/aerc.1.scd | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'doc/aerc.1.scd') 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*] __++ -*:cp* [*-p*] __ - Copies the selected message(s) to the target folder. +*:copy* [*-p*] [*-a* __] __++ +*:cp* [*-p*] [*-a* __] __ + Copies the selected message(s) to __. - *-p*: Create the __ folder if it does not exist. + *-p*: Create __ if it does not exist. + + *-a*: Copy to __ of __. If __ does + not exist, it will be created whether or not *-p* is used. *:decline* [*-e*|*-E*] Declines an iCalendar meeting invitation. -- cgit