The bmannconsulting.com website
1---
2via: https://stackoverflow.com/questions/25010369/wget-curl-large-file-from-google-drive
3github: https://github.com/wkentaro/gdown
4tags:
5 - GoogleDrive
6 - python
7 - opensource
8---
9A Python tool to download things from Google Drive
10
11```
12pipx install gdown
13```
14
15After that, you can download any file from Google Drive by running one of these commands:
16
17```
18gdown https://drive.google.com/uc?id=<file_id> # for files
19gdown <file_id> # alternative format
20gdown --folder https://drive.google.com/drive/folders/<file_id> # for folders
21gdown --folder --id <file_id> # this format work
22```
23
24I also learned about `pipx`, which is apparently a recommend way for Python to install and run Python scripts in isolated environments. `apt-get install pipx`.