How can I move the entire contents of one email folder to another existing email folder. I know I can drag and drop 100 at a time but how can I automate it for the whole folder contents?
Thanks
Zvi
Printable View
How can I move the entire contents of one email folder to another existing email folder. I know I can drag and drop 100 at a time but how can I automate it for the whole folder contents?
Thanks
Zvi
If you are asking from a user perspective, I think that moving by group is pretty much the only way to do it. From an administrative/console side, you have some scripting options you can do with zmmailbox and zmmboxsearch.
You can dump the contents of a folder to a directory with something like:
and then loop through that directory, importing each file into the new folder with something like:Quote:
And finally remove the old folder withQuote:
for x in '/tmp/username/*'
do
zmmailbox -z -m username@domain.tld am "/Zimbra/Destination Folder" $x
done
Quote: