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 -`