MattDinnery / google-shared-contacts-client

Automatically exported from code.google.com/p/google-shared-contacts-client
Apache License 2.0
0 stars 0 forks source link

Copyright 2008 Google Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

shared_contacts/shared_contacts_profiles.py Python script for managing the shared contacts/profiles of a domain

shared_contacts/outlook.csv example CSV file for python shared_contacts_profiles.py --import

The script requires the GData Python client library version 2.0.6 or higher. Download location: http://code.google.com/p/gdata-python-client/downloads/list Installation procedure: http://code.google.com/apis/gdata/articles/python_client_lib.html

Imports the contacts of your-ms-outlook-contacts-file.csv into the domain. Writes the added or updated contacts to output-file.csv: python shared_contacts_profiles.py --admin=your-admin-login@your-domain.com --import=your-ms-outlook-contacts-file.csv --output=output-file.csv

Exports all contacts of the domain to export-file.csv: python shared_contacts_profiles.py --admin=your-admin-login@your-domain.com --export=export-file.csv

Deletes all contacts of the domain: python shared_contacts_profiles.py --admin=your-admin-login@your-domain.com --clear