- Install rclone:
$ sudo pacman -S rclone (Manjaro)
- Get your token (see https://gist.github.com/vicente-gonzalez-ruiz/bb60df302ab8a5493995fc1541a2e724):
rclone config
<n> (New remote)
<mygdrive>
<18> (Google Drive)
<xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com> (your token here)
<xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> (secret found clicking in the entry for OAuth 2.0 Client IDs)
<1> (Full access)
<Enter> (service_account_file)
<Enter> (advanced config -> No)
<Enter> (Use web browser to automatically authenticate rclone with remote)
<your email account at google> (inside of the new web browser window)
<your password>
<click "Allow"> (rclone wants to access your Google Account)
<close the authentification ewb browser window> (if you can read "Success!")
<n> (Shared Drive ... usually unshared)
<y> (Keep this "mygdrive" remote?)
<q> (Quit config)
If everything went well, this:
rclone listremotes
should output:
mydrive:
Mount Google Drive:
mkdir google_drive
rclone -vv mount mydrive: ~/google_drive
Umount Google Drive with:
fusermount -u google_drive/