Today I'll show you how you can download ANY files with direct link directly to your Google Drive!
##Are you rushing to make money online? Then this article is for you!
STEPS:1. Go to Google Colab and mount your drive.
2. Go to where you want to download the file.
3. Download the file directly to your Google Drive!
Step 1: Go to Google Colab and mount your drive.
First, let's go to Google Colab
Click on "Cancel" at the bottom right corner. You'll get something like this.
Click on "Connect" at the top right corner. You'll see something like this.
Now we have to mount our drive. To do this click on the folder icon on top left and click on the folder with the drive icon as shown below.
You'll see something like this. Now click on the play icon.
Click on the link and authorize google colab to access your drive. It's perfectly safe as it is from Google itself.
Now copy this authorization code, paste it into the box in Google Colab notebook and hit Enter on keyboard.
You'll get this output. This means our driver in successfully mounted.
Click on "Cancel" at the bottom right corner. You'll get something like this.
Click on "Connect" at the top right corner. You'll see something like this.
Now we have to mount our drive. To do this click on the folder icon on top left and click on the folder with the drive icon as shown below.
You'll see something like this. Now click on the play icon.
Click on the link and authorize google colab to access your drive. It's perfectly safe as it is from Google itself.
Now copy this authorization code, paste it into the box in Google Colab notebook and hit Enter on keyboard.
You'll get this output. This means our driver in successfully mounted.
Step 2: Go to where you want to download the file.
Now let's go to our drive folder.
Write 'cd /content/drive/MyDrive/' in a cell and hit Ctrl+Enter, or you can use the play icon on the left of the cell.
You can go to your Shared Drives with 'cd /content/drive/Shareddrives/YourDriveName'
I am using My Drive for the tutorial.
You can use 'ls' command to check your drive files and folders.
I want to create a folder here named "Test Downloads"
The command is "mkdir 'Test Downloads'"
When you run the command you won't see any output. But the folder is created. Use 'ls' command to make sure.
I want to download the file inside the "Test Downloads" folder. So I am running "cd 'Test Downloads'" to change the directory to the folder.
Write 'cd /content/drive/MyDrive/' in a cell and hit Ctrl+Enter, or you can use the play icon on the left of the cell.
You can go to your Shared Drives with 'cd /content/drive/Shareddrives/YourDriveName'
I am using My Drive for the tutorial.
You can use 'ls' command to check your drive files and folders.
I want to create a folder here named "Test Downloads"
The command is "mkdir 'Test Downloads'"
When you run the command you won't see any output. But the folder is created. Use 'ls' command to make sure.
I want to download the file inside the "Test Downloads" folder. So I am running "cd 'Test Downloads'" to change the directory to the folder.
Step 3: Download the file directly to your Google Drive!
The file I am using for this demo is this one
We will use a powerful tool named wget for downloading.
You can find it's documentations here
The command to download any file with wget is '!wget file_link'
So, for this example, my command is "!wget https://speed.hetzner.de/1GB.bin"
Run this command, and the download process will begin. It's that easy!
To be sure that the file has been downloaded, run the 'ls' command.
We will use a powerful tool named wget for downloading.
You can find it's documentations here
The command to download any file with wget is '!wget file_link'
So, for this example, my command is "!wget https://speed.hetzner.de/1GB.bin"
Run this command, and the download process will begin. It's that easy!
To be sure that the file has been downloaded, run the 'ls' command.
Now you can download it directly from your Google Drive.
Thank you for going through the tutorial!