All Projects → wkentaro → gshell

wkentaro / gshell

Licence: MIT license
Navigate in Google Drive as you do on shell (gshell = Google Drive + Shell).

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to gshell

Gam
command line management for Google Workspace
Stars: ✭ 2,558 (+2564.58%)
Mutual labels:  google-apps
WSAGAScript
Scripts to install Google Apps into a WSA image. Plus optional root
Stars: ✭ 2,006 (+1989.58%)
Mutual labels:  google-apps
Auth
Manage multiple user authentication databases from a central web application
Stars: ✭ 17 (-82.29%)
Mutual labels:  google-apps
WSA-GA-Actions
Automated Script to bake WSA Packages with GApps, All that in just one click!
Stars: ✭ 18 (-81.25%)
Mutual labels:  google-apps

gshell = Google Drive + Shell

Navigate in Google Drive as you do on shell.

Installation

pip install gshell

gshell init  # login to your google account

Usage

$ 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

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].