Using GDrive to download entire folder

8,521

Detailed steps to install and use gdrive can be found in this web page or this one. Specifically, to download a folder the first step is to get it's ID using this command :

gdrive list --query "mimeType = 'application/vnd.google-apps.folder'"

Then, just download your folder with this command :

gdrive download --recursive '<folderID>'
Share:
8,521

Related videos on Youtube

user637630
Author by

user637630

Updated on September 18, 2022

Comments

  • user637630
    user637630 over 1 year

    is there a way to use GDrive to download an entire folder from Google Drive? I am unable to find a way, and I need to download the folder from the command line.

  • Mayur Kulkarni
    Mayur Kulkarni over 4 years
    This method no longer works. Google won't let you sign in with it.
  • stephanmg
    stephanmg over 4 years
    @MayurKulkarni: Sad news :(
  • alper
    alper about 4 years
    I have tried and it works on my end @MayurKulkarni
  • rfabbri
    rfabbri almost 3 years
    It works. But currently it is not like an rsync, so for really big folders the download may timeout.