2013/3/20 Christian Mack <[email protected]>:
> Hello joris dedieu
>
>
> Am 2013-03-20 14:48, schrieb joris dedieu:
>>
>> Is there a tip to import a large collection of ICS and VCARD files
>> (from Zimbra) to SOGo.
>> I tried to do the import using curl or cadaver  or davfs but it don't
>> seem to work.
>>
> < cut >
>
> For ics files you can use davfs2.
> For vCards I never tested it.

It's seems to be working to.

>
> In order to do so, you have to separate each event and todo into its own
> ics-file, calendars are grouped as one folder.
> All calendars of one user are stored in an folder named like the login
> name in SOGo
> With that we did something like the following as user sogo.
>
> -----Begin---------------
> # Requires davfs2 with disabled locking
>
> FILES=/tmp/zimbra_export
> MNT=/home/sogo/mnt
>
> for user in ${FILES}/*
> do
>         userid=`basename ${user}`
>         echo http://sogo.your.domain/SOGo/dav/${userid}
>         sudo mount -o uid=sogo -t davfs
> http://sogo.your.domain/SOGo/dav/${userid} ${MNT}
>         for cal in ${user}/*
>         do
>                 calname=`basename ${cal}`
>                 cp -R ${cal} "${MNT}/Calendar/New-${calname}"
>         done
>         exit 0
>         sudo umount ${MNT}
> done
> -----End-----------------
>
> Be aware, this will only work, if your login names didn't change and if
> your email addresses in SOGo are the same as in Zimbra.
> If the email address changed, SOGo will show you these imported events,
> but you will not be able to change them, because you are not the
> owner/organizer of these any more. SOGo will treat you as attendee for
> these events.
>
>
> Kind regards,
> Christian Mack
>
> --
> Christian Mack
> Gruppe Informationsdienste
> Rechenzentrum Universität Konstanz
> --
> [email protected]
> https://inverse.ca/sogo/lists
-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to