mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
gdown: add page (#13272)
Co-authored-by: spageektti <git@spageektti.cc> Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
This commit is contained in:
parent
cbc9d663cf
commit
b826b6939a
1 changed files with 24 additions and 0 deletions
24
pages/common/gdown.md
Normal file
24
pages/common/gdown.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# gdown
|
||||
|
||||
> Download files from Google Drive and other URLs.
|
||||
> More information: <https://github.com/wkentaro/gdown>.
|
||||
|
||||
- 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:
|
||||
|
||||
`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 -`
|
Loading…
Add table
Reference in a new issue