Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/github30/gdrive.sh
Download a file or a folder easily. curl gdrive.sh | bash -s $fileid
https://github.com/github30/gdrive.sh
bash curl google-drive-cli shell-script travis-ci
Last synced: about 1 month ago
JSON representation
Download a file or a folder easily. curl gdrive.sh | bash -s $fileid
- Host: GitHub
- URL: https://github.com/github30/gdrive.sh
- Owner: GitHub30
- License: mit
- Created: 2018-08-28T07:47:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-23T17:07:21.000Z (almost 3 years ago)
- Last Synced: 2025-01-03T03:09:42.187Z (about 2 months ago)
- Topics: bash, curl, google-drive-cli, shell-script, travis-ci
- Language: Shell
- Homepage: https://qiita.com/relu/items/df7ff987542cccffc5a0
- Size: 20.5 KB
- Stars: 209
- Watchers: 7
- Forks: 51
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This script is obsolete. **Please use gdown**
```bash
pip install gdown# download a file
gdown https://drive.google.com/uc?id=1l_5RK28JRL19wpT22B-DY9We3TVXnnQQ
# for a Folder
gdown --folder https://drive.google.com/drive/u/0/folders/18EunmjOJsbE5Lh9zA0cZ4wKV6Um46dkg
```https://colab.research.google.com/drive/1QXVAkUovvIQva65TuvAcca_jRhR_M6Bc?usp=sharing
# gdrive.sh
[](https://travis-ci.org/GitHub30/gdrive.sh)# Usage
```bash
curl gdrive.sh | bash -s 0B4y35FiV1wh7QWpuVlFROXlBTHc
curl gdrive.sh | sh -s https://drive.google.com/open?id=0B7EVK8r0v71pZjFTYXZWM3FlRnM
curl gdrive.sh | bash -s https://drive.google.com/open?id=0B4y35FiV1wh7QWpuVlFROXlBTHc
curl gdrive.sh | bash -s https://drive.google.com/file/d/0B4y35FiV1wh7QWpuVlFROXlBTHc/view?usp=sharing
curl gdrive.sh | bash -s https://drive.google.com/file/d/0B4y35FiV1wh7QWpuVlFROXlBTHc/view
curl gdrive.sh | bash -s https://drive.google.com/file/d/0B65DIm6DrZJceGltX2VOczNkcEE/edit
curl gdrive.sh | bash -s https://docs.google.com/file/d/0BwmPMFurnk9Pak5zWEVyOUZESms/edit
# Folder support
curl gdrive.sh | bash -s https://drive.google.com/drive/folders/0B7EVK8r0v71peklHb0pGdDl6R28
curl gdrive.sh | bash -s https://drive.google.com/drive/folders/0B7EVK8r0v71peklHb0pGdDl6R28?usp=sharing
```
**0B4y35FiV1wh7QWpuVlFROXlBTHc** is file id for Google Drive# Install
```bash
alias gdrive.sh='curl gdrive.sh | bash -s'
gdrive.sh 0B4y35FiV1wh7QWpuVlFROXlBTHc
```
# Uninstall
```bash
unalias gdrive.sh
```# Get a file id
## Get shareable link
## Copy one
