Skip to content

royaurko/google-drive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Description:

  • A simple python program that fetches your Google Drive content to a local folder, waits for you to finish editing content locally and on exiting saves all changes back to Drive.

##System Requirements:

##Usage:

  • Get your CLIENT_ID and CLIENT_SECRET by enabling API access to Google Drive from here. Set CLIENT_ID and CLIENT_SECRET as environment variables (for instance in ~/.zshenv or ~/.bashrc)

  • Make sure that mongodb is running before running this program.


Usage: ./drive.py [Optional options...] 

Optional Options:
  -f Path to local folder (default: current folder)

  • The script will ask you whether you want to fetch content from Drive to the target folder. Note that this will over write any files in the target folder with conflicting names.

  • The script will not download any folders, subfolders, files that are not owned by you.

  • The script will wait while you work locally and make changes to your Google Drive.

  • When you are done, press Ctrl-c to halt the execution of the script. Before exiting the script will save all changes made locally back to Drive.

  • The script maintains a log file named log which is located in the same directory as the script.

About

Work with Google Drive content locally on Linux

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages