The syntax is zmprov -f commands.zmp.
I wish to use zmmailbox the same way to export and import users' calendars.
From the help I see it has '-f' option exactly like zmprov
Code: Select all
-f/--file use file as input stream
This is an example with a single line
Code: Select all
nano test.zmp
-z -m test1@domain.com getRestURL "/Calendar/?fmt=tgz" > calendar.tgz
zmmailbox -f test.zmp
mbox> ERROR: zclient.CLIENT_ERROR (Unknown command: (-z) Type: 'help commands' for a list)