/upload2drive

Some python scripts to upload data to google drive without hassle.

Primary LanguagePython

Upload files to Google Drive from console

A python script to upload data to Drive from console without hassle.

Requirements

Check whether your system meets the following requirements before executing.

Setting things up

  • Create a folder in ~/.config with name upload2drive
  • Put your client_secret.json in there.

Using

  • First allow the script to access your drive. To do so type:
	$ python2 access_drive.py
  • To upload [a] file[s], type:
	$ python2 u2d.py /home/user/file.txt another_file.txt

One can specify absolute or relative path for uploading the file.