Celeb Glow
news | March 11, 2026

How can i download folder from google drive in linux

I want to download a directory that i puted in my drive to my ubuntu from terminal !! How can i download a directory from google drive to my ubuntu 20.04 with wget ?? or even another one! i searched and do not found a solution work for me ... i tested this one

 wget --no-check-certificate '
-O FILENAME

But it work only for file !

2 Answers

You could use the free and open-sourcedrive:

drive is a tiny program to pull or push Google Drive files.

To download files or folders from google drive, use the command:

drive pull -id <file or folder id>
4

The easiest up-to-date solution (2021) I found to download large folders from google drive is gdrive:

gdrive download --recursive --skip <file_id>

where <file_id> is the id you get from the folder URL. No need to configure anything, it will already ask you for your credentials and such.

The --skip flag is useful for large folders, since the download might time out at some point. You then rerun the command and --skip will make it act like an rsync.

As of this date, --skip is a relatively new flag and is available if you install gdrive through Go. If your system gdrive doesn't have it, try the same without --skip. Then, if you really need it, install it using go get as described in the github readme page.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy