Hello The simplest way is to mount with davfs the addressbook and to write a Vcard File inside install davfs mount the addressbook mount -t davfs http://127.0.0.1/SOGo/so/<YourUser>/Contacts /mnt
after you can write in mnt a vcf file . Regards Le Mardi 27 Janvier 2015 17:30 CET, Davide Bozzelli <[email protected]> a écrit: Hi I'm finding a way to add one or more contacts from the command line. I suppose i need to use sogo-tool and formatting the request as json request, but i haven't an example to start. Another way is to properly formatting a backup file and restore it via sogo-tool restore . The only thing i don't know in this case is how to create the uid of a single contact. How SOGo generate it ? is there a way to generate it in a unique way externally to SOGo ? Thx in advance -- [email protected] https://inverse.ca/sogo/lists -- Alain Abbas 11 rue Robert Schumann 54500 Vandoeuvre Tel : +333 83 18 02 70 skype: alain.abbas -- [email protected] https://inverse.ca/sogo/lists
