Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Tool to handle google drive as shell

Project description

<a href="https://www.youtube.com/watch?v=eDRTj_Hy2k4">
<img src=".readme/gshell_youtube.png" width="40%" align="right" />
</a>

# gshell = Google Drive + Shell

[![](https://img.shields.io/pypi/v/gshell.svg)](https://pypi.python.org/pypi/gshell)
[![](https://travis-ci.org/wkentaro/gshell.svg?branch=master)](https://travis-ci.org/wkentaro/gshell)

Navigate in Google Drive as you do on shell.


## Install

```bash
pip install gshell
```


## Usage

```bash
% gshell info --with-id 0B9P1L--7Wd2vaGl4bDZaV2lESTQ
Id: 0B9P1L--7Wd2vaGl4bDZaV2lESTQ
Name: 20160502_gdown
Path: 20160502_gdown
Mime: application/vnd.google-apps.folder
Created: 2016-05-02 00:17:25
Modified: 2017-12-23 01:56:42
Shared: True
ViewUrl: https://drive.google.com/open?id=0B9P1L--7Wd2vaGl4bDZaV2lESTQ

% gshell cd --with-id 0B9P1L--7Wd2vaGl4bDZaV2lESTQ

% gshell pwd
20160502_gdown

% gshell ll
Id Name Type Size Created
0B9P1L--7Wd2vT3Zxem1OdTMtWU0 gdown-1.0.2.tar.gz bin 1.9 KB 2016-05-02 00:24:49
0B9P1L--7Wd2vU3VUVlFnbTgtS2c spam.txt bin 5.0 B 2016-05-02 00:19:31

% gshell download spam.txt
Downloading spam.txt -> spam.txt
Downloaded 0B9P1L--7Wd2vU3VUVlFnbTgtS2c at 5.0 B/s, total 5.0 B

% cat spam.txt
spam
```


## Commands

```bash
Usage: gshell [OPTIONS] COMMAND [ARGS]...

Options:
-V, --version Show the version and exit.
--help Show this message and exit.

Commands:
about show account status
cd change directory
download download file
info show file information
init initialize gshell
ll list files in detail
ls list files
mkdir make directory
open open current site on browser
pwd print current working directory
rm remove file
share share file
switch switch user
upload upload file
```


## License

See [LICENESE](LICENESE).

Project details


Release history Release notifications

This version
History Node

5.4.4

History Node

5.4.3

History Node

5.4.2

History Node

5.4.1

History Node

5.4.0

History Node

5.3.0

History Node

5.2.3

History Node

5.2.2

History Node

5.2.1

History Node

5.2.0

History Node

5.1.1

History Node

5.1.0

History Node

5.0.5

History Node

5.0.4

History Node

5.0.3

History Node

5.0.2

History Node

5.0.1

History Node

5.0.0

History Node

4.9.0

History Node

4.8.0

History Node

4.7.0

History Node

4.6.0

History Node

4.5.0

History Node

4.4.0

History Node

4.3.0

History Node

4.2.0

History Node

4.1.3

History Node

4.1.2

History Node

4.1.1

History Node

4.1.0

History Node

3.0.0

History Node

2.4.1

History Node

2.4.0

History Node

2.3.0

History Node

2.2.4

History Node

2.2.3

History Node

2.2.2

History Node

2.2.1

History Node

2.2.0

History Node

2.1.5

History Node

2.1.4

History Node

2.1.3

History Node

2.1.2

History Node

2.1.1

History Node

2.1.0

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

2.0.0

History Node

1.0.9

History Node

1.0.8

History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
gshell-5.4.4.tar.gz (5.7 MB) Copy SHA256 hash SHA256 Source None May 17, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page