2025-03-14 21:59:59 -06:00
|
|
|
# gdown
|
|
|
|
|
|
|
|
|
|
> Download files from Google Drive and other URLs.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://github.com/wkentaro/gdown#usage>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Download a file from a URL:
|
|
|
|
|
|
|
|
|
|
`gdown {{url}}`
|
|
|
|
|
|
|
|
|
|
- Download using a file ID:
|
|
|
|
|
|
|
|
|
|
`gdown {{file_id}}`
|
|
|
|
|
|
|
|
|
|
- Download with fuzzy file ID extraction (also works with <https://docs.google.com> links):
|
|
|
|
|
|
|
|
|
|
`gdown --fuzzy {{url}}`
|
|
|
|
|
|
|
|
|
|
- Download a folder using its ID or the full URL:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`gdown {{folder_id|url}} {{[-O|--output]}} {{path/to/output_directory}} --folder`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- Download a `.tar` archive, write it to `stdout`, and extract it:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`gdown {{tar_url}} {{[-O|--output]}} - {{[-q|--quiet]}} | tar xvf -`
|