Skip to content

Instantly share code, notes, and snippets.

View johnawm's full-sized avatar

song.x johnawm

View GitHub Profile
@johnawm
johnawm / download_gdrive
Created May 21, 2021 08:11 — forked from ankitmundada/download_gdrive
Shell Script to download Publicly shared Google drive files
#!/bin/bash
# Get files from Google Drive
# Source: https://stackoverflow.com/a/50573452/2382312
# Usage: download_gdrive FILE_ID DESTINATION_PATH
# $1 = file ID
# $2 = file name
URL="https://drive.google.com/uc?export=download&id=$1"