zmmsgmover - Zimbra Message Mover
zmmsgmover [options...] account@domain|ALL src-folder dst-folder
--man show man-page and exit
-h, --help display this help and exit
--noaction just talk don't act
--verbose talk while working
--debug show all output before it is parsed
Migrate messages from one folder to another. Removing the source folder after migration. If the destination folder does not exist, the selected folder will simply be renamed to the new name.
The initial /
for folder names is implide. Write Sent
and not /Sent
.
This command has to be executed as the zimbra user (sudo su - zimbra
).
Move all messages for one account
zmmsgmover tobi@zimbra.oetiker.ch sent-mail Sent
Move messages for all accunts on the system
zmmsgmover ALL sent-mail Sent
Copyright (c) 2016 by OETIKER+PARTNER AG. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Tobias Oetiker <tobi@oetiker.ch>
2016-02-15 to Initial Version