Results 1 to 2 of 2

Thread: Move entire contents of one folder to another

  1. #1
    Join Date
    Oct 2007
    Rep Power

    Default Move entire contents of one folder to another

    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?



  2. #2
    Join Date
    Oct 2007
    Columbus, OH
    Rep Power


    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:
    zmmboxsearch -m username@domain.tld -q "in:foldername" -d /tmp/username
    and then loop through that directory, importing each file into the new folder with something like:
    for x in '/tmp/username/*'
    zmmailbox -z -m username@domain.tld am "/Zimbra/Destination Folder" $x
    And finally remove the old folder with
    zmmailbox -z -m usernaem@domain.tld df "/Path/To/Original Folder"

Similar Threads

  1. Can no longer start desktop
    By foobaz in forum General Questions
    Replies: 12
    Last Post: 04-02-2010, 04:06 PM
  2. Connector finds folders and items however does not import them
    By berkeb in forum Zimbra Connector for Outlook
    Replies: 3
    Last Post: 03-11-2010, 05:44 AM
  3. .pst migration issues
    By jimklein in forum Migration
    Replies: 13
    Last Post: 02-16-2009, 12:55 AM
  4. Error when Using Outlook PST Importer
    By chh in forum Zimbra Connector for Outlook
    Replies: 1
    Last Post: 01-19-2009, 04:20 AM
  5. Replies: 3
    Last Post: 08-11-2007, 12:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts