-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document the copy command as replacement for migrate and mirror
- Loading branch information
Showing
5 changed files
with
51 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!-- | ||
# @title command: 'copy' | ||
--> | ||
# Copy | ||
|
||
```sh | ||
imap-backup copy SOURCE_EMAIL DESTINATION_EMAIL | ||
``` | ||
|
||
This command makes a local copy of the emails in the source account | ||
and then copies them to the destination account. | ||
|
||
Exactly which folders are backed up (and copied) depends on how the account is set up. | ||
|
||
Specifically, the `folder inclusion mode (whitelist/blacklist)` and | ||
`folders to include/exclude` list. | ||
|
||
Note that, any messages on the destination account that is not on the source account | ||
are left unchanged. | ||
|
||
# Options | ||
|
||
* `--source-delimiter` - the separator between the elements of folders names | ||
on the source server, defaults to `/`, | ||
* `--source-prefix` - optionally, a prefix element to remove from the name | ||
of source folders, | ||
* `--destination-delimiter` - the separator between the elements of folder | ||
names on the destination server, defaults to `/`, | ||
* `--destination-prefix` - optionally, a prefix element to add before names | ||
on the destination server, | ||
* `--automatic-namespaces` - works out the 4 parameters above by querying | ||
the source and destination IMAP servers. | ||
|
||
# Delimiters and Prefixes | ||
|
||
For details of the delimiter and prefix options, | ||
see [the note about delimiters and prefixes](../delimiters-and-prefixes.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters