mirror of
https://github.com/imapsync/imapsync.git
synced 2025-07-21 17:55:54 +02:00
23 lines
851 B
Text
23 lines
851 B
Text
#!/bin/cat
|
|
$Id: FAQ.Archiving.txt,v 1.2 2016/05/09 13:03:14 gilles Exp gilles $
|
|
|
|
This documentation is also at http://imapsync.lamiral.info/#doc
|
|
|
|
============================================
|
|
Imapsync tips about archiving messages.
|
|
============================================
|
|
|
|
=======================================================================
|
|
Q. How to move emails from one IMAP folder to another either on the
|
|
same IMAP server or a different one?
|
|
For example, all messages older than 1 year, move from INBOX to Archive.
|
|
|
|
R1. Solution:
|
|
|
|
imapsync ... --minage 365 --folder Inbox --f1f2 INBOX=Archive --delete --noexpungeaftereach
|
|
|
|
Add option --noexpungeaftereach if speed is a concern.
|
|
Add option --delete if you want to move messages, instead of just copy/sync them.
|
|
|
|
R2. See also file FAQ.Folders_Mapping.txt
|
|
|