Dùng gdown để Download Google Drive bằng Terminal trên Linux và Windows

TricksMMO

Administrator
Staff member
|TAR -XZ ** Cách tải xuống Google Drive với thiết bị đầu cuối trên Linux và Windows **

** Gdown ** là một công cụ Python cho phép bạn tải xuống các tệp từ Google Drive bằng dòng lệnh.Thật dễ dàng để sử dụng và hoạt động trên cả Linux và Windows.

** Để cài đặt Gdown, ** Bạn sẽ cần cài đặt Python và Trình quản lý gói PIP.

`` `
sudo apt-get install python3-pip
`` `

Khi Python và PIP được cài đặt, bạn có thể cài đặt GDOWN bằng cách chạy lệnh sau:

`` `
PIP Cài đặt Gdown
`` `

** Để sử dụng gdown, ** Bạn có thể sử dụng lệnh sau:

`` `
gdown [Tùy chọn] url_or_id
`` `

**Ở đâu:**

*** URL ** là URL của tệp bạn muốn tải xuống.
*** ID ** là ID của tệp bạn muốn tải xuống.Bạn có thể tìm thấy ID của một tệp bằng cách nhấp chuột phải vào tệp và chọn ** Nhận liên kết có thể chia sẻ **.ID sẽ là chuỗi dài các ký tự sau `? Id =`.

** Ví dụ: ** để tải xuống tệp tại `https: //drive.google.com/file/d/1234567890/view? Usp = sharing`, bạn sẽ sử dụng lệnh sau:

`` `
Gdown https://drive.google.com/file/d/1234567890/view?usp=sharing
`` `

** Gdown sẽ tải tệp vào thư mục hiện tại. ** Bạn có thể chỉ định một thư mục đầu ra khác bằng cách sử dụng tùy chọn `-o`.

** Ví dụ: ** Để tải tệp vào thư mục `/home/user/tải xuống, bạn sẽ sử dụng lệnh sau:

`` `
Gdown https://drive.google.com/file/d/1234567890/view?usp=Sharing -o/home/user/usere
`` `

** Gdown cũng hỗ trợ một số tùy chọn khác, ** chẳng hạn như tải xuống các tệp ở chế độ im lặng, tải xuống các tệp qua proxy và chỉ định tốc độ tải xuống.Để biết thêm thông tin, hãy xem [Tài liệu Gdown] (GitHub - wkentaro/gdown: Download a large file from Google Drive (curl/wget fails because of the security notice).).
=======================================
| tar -xz **How to download Google Drive with Terminal on Linux and Windows**

**Gdown** is a Python tool that allows you to download files from Google Drive using the command line. It's easy to use and works on both Linux and Windows.

**To install Gdown,** you'll need to install Python and the PIP package manager.

```
sudo apt-get install python3-pip
```

Once Python and PIP are installed, you can install Gdown by running the following command:

```
pip install gdown
```

**To use Gdown,** you can use the following command:

```
gdown [options] URL_or_ID
```

**Where:**

* **URL** is the URL of the file you want to download.
* **ID** is the ID of the file you want to download. You can find the ID of a file by right-clicking on the file and selecting **Get shareable link**. The ID will be the long string of characters after `?id=`.

**For example,** to download the file at `https://drive.google.com/file/d/1234567890/view?usp=sharing`, you would use the following command:

```
gdown https://drive.google.com/file/d/1234567890/view?usp=sharing
```

**Gdown will download the file to the current directory.** You can specify a different output directory by using the `-O` option.

**For example,** to download the file to the directory `/home/user/Downloads`, you would use the following command:

```
gdown https://drive.google.com/file/d/1234567890/view?usp=sharing -O /home/user/Downloads
```

**Gdown also supports a number of other options,** such as downloading files in silent mode, downloading files over a proxy, and specifying the download speed. For more information, see the [Gdown documentation](https://github.com/wkentaro/gdown).
 
Join Telegram ToolsKiemTrieuDoGroup
Back
Top