GithubHelp home page GithubHelp logo

sq3 / gdm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dangtrinhnt/gdm

1.0 2.0 0.0 84 KB

GDM - Google Drive Migration will help you to migrate your Google Drive documents from one domain to another domain

License: Apache License 2.0

Python 100.00%

gdm's Introduction

GDM - Google Drive Migration

GDM will help you to migrate your Google Drive documents from a personal Google Account (e.g [email protected]) to a GoogleApps domain.

Requirements

  • google-api-python-client==1.2
  • httplib2==0.8
  • pyOpenSSL==0.13.1
  • python-dateutil==2.2

Usage

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.

install requirements:

$ pip install -r requirements.txt

Run the migration script to start the emails migrations:

$ 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'

Troubleshooting

References

Contact

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

gdm's People

Contributors

dangtrinhnt avatar sq3 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

gdm's Issues

Sometimes get copy file error

Copy file error: <HttpError 500 when requesting https://www.googleapis.com/drive/v2/files/LALALA/copy?alt=json returned "Internal Error">

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.