Guides

Setting Up Rclone for GDrive

2026-07-01 #Rclone#GDrive

Setting up Rclone

Initiate the rclone configuration with:

1
rclone config

Then the console will ask for a series of options. When you see the line ends with >, input the relevant alphabet and hit Enter

1
2
3
4
5
6
7
No remotes found, make a new one?
n) New remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
n/r/c/s/q> n
1
2
Enter name for new remote
name> name-without-space (eg: GDrive1)

The next will be a list of numbers asking what services you would want to connect to. Google Drive is number 24 as of the writing of this guide. Make sure to double check with your version:

1
2
3
4
...
68 / seafile
\ (seafile)
Storage> 24
1
client_id> (just hit Enter, leave it blank)
1
client_secret> (just hit Enter, leave it blank)
1
scope> 1
1
service_account_file> (just hit Enter, leave it blank)
1
2
3
4
Edit advanced config?
y) Yes
n) No (default)
y/n> n
1
2
3
Use web browser to automatically authenticate rclone with remote?
...
y/n> y

It will then open Google Drive login page on your browser. Proceed to login or select an existing account.
Press Continue to grant permission to rclone.

1
2
3
4
5
Configure this as a Shared Drive (Team Drive)?

y) Yes
n) No (default)
y/n> n
1
2
3
4
5
Keep this "GDrive1" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d> y

Now rclone has done setup the account. It will ask again what you’re going to do as of Step 1.

If you want to rclone to PC, hit q to end the config.
If you want to rclone to another GDrive, hit n and start over from Step 1 above, and give the second GDrive a different name

1
2
3
4
5
6
7
8
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q

In the next guide we will talk about how to migrate GDrive data with Rclone

Comments
Share