From b826b6939a226a14adcb22718cc349018866ad7a Mon Sep 17 00:00:00 2001 From: sermelipharo Date: Tue, 16 Jul 2024 00:06:38 +0400 Subject: [PATCH] gdown: add page (#13272) Co-authored-by: spageektti Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/common/gdown.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/gdown.md diff --git a/pages/common/gdown.md b/pages/common/gdown.md new file mode 100644 index 000000000..674f37739 --- /dev/null +++ b/pages/common/gdown.md @@ -0,0 +1,24 @@ +# gdown + +> Download files from Google Drive and other URLs. +> More information: . + +- 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 links): + +`gdown --fuzzy {{url}}` + +- Download a folder using its ID or the full URL: + +`gdown {{folder_id|url}} -O {{path/to/output_directory}} --folder` + +- Download a tar archive, write it to `stdout` and extract it: + +`gdown {{tar_url}} -O - --quiet | tar xvf -`