LinuxCommandLibrary

gdown

Download files from Google Drive and other URLs.

TLDR

Download a file from a URL

$ gdown [url]
copy


Download using a file ID
$ gdown [file_id]
copy


Download with fuzzy file ID extraction (also works with links)
$ gdown --fuzzy [url]
copy


Download a folder using its ID or the full URL
$ gdown [folder_id|url] -O [path/to/output_directory] --folder
copy


Download a tar archive, write it to stdout and extract it
$ gdown [tar_url] -O - --quiet | tar xvf -
copy

Copied to clipboard