CLI client for Google Drive
Project description
Drive Cli
Inspiration
-
Google Drive has become a vital part of our day to day life. As much as non-programmer use it, so do programmers in several situations,where we need not use git/github.
-
Drive-CLI is a command line utility tool for google drive which helps you access,sync, download,upload.. directly to your drive without leaving the command line. The best part being the commands are similar to git cli so that you can easily remember them :massage:
Features
view-file
:list your files, filter them by name,type.clone
:download file/folder from drive using sharing link or file ID and get it linkedadd_remote
:upload existing local file to drive and get it linkedrm
:remove particular file or folderls
:list put all the files present in the drive of equivalent current directorystatus
:list changes made to local files since last pull or pullpull
:get latest changes from drive to local filespush
:push the changes made in remote to drive
Installation
- For Usage
#install using pip
$ pip uninstall drive-cli
- For Development
- clone the repo
$ git clone https://github.com/nurdtechie98/drive-cli.git
- get your client_secret.json from Oauth. Make sure to enable Drive Api for the project.
- rename the client secrest as oauth.json and place it inside drive_cli directory.
- install the package
# move into package directory $ cd drive-cli # install package in edit mode $ pip install -e . #note the dot
Usage
- Once installation is done, just use
drive
and the required command. - Use
drive --help
for listing all the commands - Use
drive [command] --help
to list all the options available for each command
Uninstalling
$ pip uninstall drive-cli
Contributing
- We're are open to
enhancements
&bug-fixes
:smile:. - Feel free to add issues and submit patches
Author
Chirag Shetty - nurdtechie98
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT - see the LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
drive_cli-1.0.2.tar.gz
(14.9 kB
view hashes)
Built Distribution
drive_cli-1.0.2-py3-none-any.whl
(14.9 kB
view hashes)
Close
Hashes for drive_cli-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 406edf6fcb7e09df5d98bd9d8828d63dfb9d17bb2b35f4e83e1360d4ffa6f452 |
|
MD5 | bd3a8587024b8bd6c85211a5e6905762 |
|
BLAKE2b-256 | 1a2e7115520d582d6a2a35c6c5486797c43bd7b854c7d909c2bbc5bbdd5d12a1 |