Skip to main content

Google Drive tool

Project description

Google Drive Utility

What is Google Drive Utility?

Google Drive Utility provides an easy way to use Google Drive from command line, tasks such as uploading files/folders, downloading them, moving folders/files. Additionally, using the provided .reg files it can be added to the Windows Context Menu, giving the opportunity of using it anywhere in an very easy and friendly way. It is written in Python 2.7. It is licensed under the MIT license, see LICENSE.

Installation

Download and installation

You can download it with Pip:

pip install DriveUtilityity

Usage

Command line utility

Usage:

DriveUtil [Args]

or:

python -m DriveUtility [Args]

Available options are:

  -h, --help            show this help message and exit
  -u, --upload Path(s) [Path(s) ...]
                        Path of folder or file to upload.
  -s, --specificf Path(s) [Path(s) ...]
                        Path of folder or file to upload to a specific folder.
  -cr, --createf        Creates a folder.
  -re, --remove         Remove access to Drive.
  -l, --list            List Drive files and folders.
  -de, --delete         Delete selected file or folder.
  -g, --get [Path]      Download file or folder. Optionally, you can specify a
                        path to downlaod there.
  -m, --move            Move file or folder.
  -cb, --clean          Clean bin.
  -co, --copy           Copy a file.
  -se, --search         Search by name.
  -aS, --addS           Star a file.
  -rS, --removeS        Remove star from an starred file.
  -sL, --shareLink      Enable share linking and get the share link.
  -dS, --disableShare   Disable link sharing.
  -rn, --rename         Rename item.

Windows Context Menu

Adding it

The provided python scripts, addContext.py and removeContext.py add new options to the Context Menu, making DriveUtility more flexible to use. These two scripts must be run with admin rights. You can use:

python -m DriveUtility.addContext

and

python -m DriveUtility.removeContext

from an elevetad Windows command prompt.

Context Menu

Examples

example.py is a sample script. It will upload the contents of Test folder.

Contributing

All pull requests and issues are welcome. I'm very thankful for any type of help, improvement or tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DriveUtility-1.1.18.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

DriveUtility-1.1.18-py2-none-any.whl (17.2 kB view details)

Uploaded Python 2

File details

Details for the file DriveUtility-1.1.18.tar.gz.

File metadata

  • Download URL: DriveUtility-1.1.18.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

File hashes

Hashes for DriveUtility-1.1.18.tar.gz
Algorithm Hash digest
SHA256 518ddede8f38543043cffd5e0b45f194988f4dfc95e5248e8bad31fc92a08a12
MD5 851863af522168081410d16f1e4551fa
BLAKE2b-256 b27443bc106164ee65f76c9bb5a9972eef002c0960f15c4c77f56d4d3c19ea9d

See more details on using hashes here.

File details

Details for the file DriveUtility-1.1.18-py2-none-any.whl.

File metadata

  • Download URL: DriveUtility-1.1.18-py2-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

File hashes

Hashes for DriveUtility-1.1.18-py2-none-any.whl
Algorithm Hash digest
SHA256 d2e2060dc97b99210fbbf0588f1d3d908f29dd191d55b072cd7b2688c4a57790
MD5 b7c5a949ee9eca3a900430406c8f5296
BLAKE2b-256 d0ea823ca3dde861299046ff5813a00fc4f652eb2cf09263ed43379ea1896b3f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page