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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2

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