GDM will help you to migrate your Google Drive documents from a personal Google Account (e.g [email protected]) to a GoogleApps domain.
- google-api-python-client==1.2
- httplib2==0.8
- pyOpenSSL==0.13.1
- python-dateutil==2.2
Before you start you have to create a project on https://console.developers.google.com/ and setup OAuth Authentication. For your personal account you need an Client ID and for the GoogleApps account use a service account to access all accounts in your domain. Also don't forget to actiavte the GoogleDrive API for both accoutns.
$ pip install -r requirements.txt
$ python gdm.py /path/to/email_mapping_list.csv <condition number>
email_mapping_list.csv (2 columns: src - old domain email address, dest - new domain email address):
src | dest |
---|---|
[email protected] | [email protected] |
[email protected] | [email protected] |
[email protected] | [email protected] |
Condition number: all posible numbers are:
0,1,2,3,4,5,6,7,8,9 or 'all'
- Cannot use SignedJwtAssertionCredentials?
- Error When installing PyOpenSSL:
- The official guide for setting up Google Drive Domain-wide Service Account didn't work?
- _csv.Error: Could not determine delimiter
- https://developers.google.com/drive/quickstart-python
- https://developers.google.com/drive/v2/reference/
Email: [email protected] Twitter: @marcschnitzius
This is a fork of https://github.com/dangtrinh. Thanks for your job :)
- Email: dangtrinhnt[at]gmail[dot]com - Trinh Nguyen