Download a file from Google Drive using wget
Download a file from Google Drive using wget
Why use?
If you are here, i believe you are looking for some solution to download a file in Google Drive without browser GUI. :D
In this way we will get:
- Get a file and do not need open browser, or can not have GUI like web service.
- Do need compress file before download(this take lot of time)
Require:
Of course, we need wget
sudo apt-get update
sudo apt-get install wget
wget --version
Get your file link from your drive by get shareable link:sudo apt-get install wget
wget --version
Make sure anyone can access this file.
Get before "/view" in shareable link
Example:
https://drive.google.com/file/d/1Zmp3tf3g1kaMpG949iIFQjZqvLOFJlrr
Let's download
Clone this repository: gdown.pl
git clone https://github.com/circulosmeos/gdown.pl.git
cd gdown.pl
./gdown.pl https://drive.google.com/file/d/1Zmp3tf3g1kaMpG949iIFQjZqvLOFJlrr/edit
Done, time to enjoy :D
cd gdown.pl
./gdown.pl https://drive.google.com/file/d/1Zmp3tf3g1kaMpG949iIFQjZqvLOFJlrr/edit
Nhận xét
Đăng nhận xét