Addressbook CLI
This document describes the usage of the tine Groupware CLI (tine20.php).
Addressbook.import
description
Imports file with contact data into the addressbook.
usage example
php tine20.php --username tine20admin --method Addressbook.import file.csv adb_tine_import_csv
params
(filenames) (import definition name)
Addressbook.export
description
Exports contacts.
Per default only exports the internal contacts addressbook. You need to set the required container id in the code (Addressbook_Frontend_Cli).
usage example
php tine20.php --username tine20admin --password tine20adminPw --method Addressbook.export > myExport.csv
params
no params
memory limit error
If you run into this problem you might want to try the following: php -d memory_limit=512M tine20.php --username tine20admin --password tine20adminPw --method Addressbook.export > myExport.csv
Addressbook.removeAutogeneratedContacts
description
Removes contacts that were created from a calendar sync.
usage example
php tine20.php --username tine20admin --method Addressbook.removeAutogeneratedContacts