Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-23-2008, 09:47 AM
Outstanding Member
 
Posts: 596
Default Move items between folders with zmmailbox?

Due to Bug 25828 - GroupWise: Shared addressbooks get migrated to user's Contacts and Bug 26100 - Migration wizards need to avoid creating sub-calendars I have a general need to move lots and lots of items between folders for lots of users. Renaming of /Calendar/Subcalendar folders created by zcsgwmigwiz appears not to work, and I can't rename /Randomfolder to /Contacts because the latter already exists and can't be deleted.

I see a zmmailbox moveItem, but I don't see an obvious way to "move all items from folder A to folder B."

Is parsing the output of search -t contact -l 1000000 'in:Folder' really the best way to do it? I could write some horrible shell or perl to accomplish that, but I'd worry about proper screen-scraping. I'm not a real SOAP programmer so I'd like to avoid that.
Reply With Quote
  #2 (permalink)  
Old 03-24-2008, 12:39 PM
Zimbra Employee
 
Posts: 77
Default

Unfortunately this isn't currently possible. If you'd like to see this implemented, please comment and/or vote on the following enhancement request:

Bug 10317 - Advanced Search Actions (supercedes Filters)
Reply With Quote
  #3 (permalink)  
Old 03-24-2008, 12:53 PM
Outstanding Member
 
Posts: 596
Default

okthx.

5.0.3+ appears to have fixed the problem of not being able to rename /Calendar/SubCalendar back to /SubCalendar, so that bit is all done now (by screen-scraping zmmailbox gaf, and feeding back to zmmailbox rf).

We'll be leaving the addressbook merging to the users.
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0