rClone is a free, open-source command-line tool that syncs and copies files to and from cloud storage — including Google Drive. This guide covers installing rClone on Windows via Chocolatey, authenticating with Google, and copying your entire Drive to C:\data\gDrive.
Open an Elevated Command Prompt or PowerShell
Press Win + X and choose Windows Terminal (Admin) or Command Prompt (Admin). Chocolatey requires administrator rights to install packages.
Run the Install Command
Chocolatey downloads the latest stable rClone build, installs it, and adds it to your system PATH automatically.
Verify the Installation
You should see output similar to:
– os/version: windows/10.0.xxxxx
– os/type: windows
– os/arch: amd64
refreshenv in your Chocolatey-aware shell.rClone uses named remotes to represent cloud storage sources. You will create one called gdrive.
Launch the Configuration Wizard
Create a New Remote
- At the menu, type n (New remote) and press Enter.
- Enter the name
gdriveand press Enter.
Select Google Drive as the Storage Type
rClone displays a numbered provider list. Type drive (or the number next to Google Drive, commonly #18) and press Enter.
Leave Client ID and Secret Blank
- At
client_id>— press Enter to leave blank. - At
client_secret>— press Enter to leave blank.
Select the Drive Scope
Type 1 for full Drive access and press Enter.
Leave root_folder_id and service_account_file blank (press Enter at each).
Skip Advanced Configuration
At Edit advanced config?, type n and press Enter.
Auto-Launch Browser (Recommended)
At the Use auto config? prompt, type y and press Enter. rClone will automatically open your browser to Google’s login page.
Sign In to Google
- A browser window opens to accounts.google.com.
- Sign in with the Google account that owns the Drive you want to copy.
- Review the permission consent screen and click Allow.
- After granting access, the browser will display:
Team Drive Prompt
At Configure this as a Shared Drive (Team Drive)?, type n — unless you are specifically copying a Google Workspace Shared Drive.
Save the Remote
- Review the configuration summary rClone displays.
- Type y at “Yes, this is OK” and press Enter.
- Type q to quit the config wizard.
Before copying, confirm rClone can see your Drive:
You should see your Google Drive folders listed. To list all files recursively:
Basic Copy Command
--progress— Display real-time transfer progress in the terminal.--transfers 4— Transfer 4 files simultaneously (increase to 8 on fast connections).--checkers 8— Use 8 checkers to compare source vs. destination, speeding up incremental runs.
Recommended Command with Logging
For larger drives or unattended/scheduled runs, add a log file:
–progress ^
–transfers 8 –checkers 16 ^
–log-file C:\data\gDrive\rclone_copy.log ^
–log-level INFO
^) is the Windows CMD line-continuation character. In PowerShell, use a backtick (`) instead.copy vs. sync — Which Should I Use?
rclone copy— Copies files from source to destination. Never deletes files at the destination that no longer exist on the source. Recommended for backups.rclone sync— Makes the destination an exact mirror of the source, including deleting files not on the source. Use with caution.
After the initial copy, subsequent runs of the same command only transfer new or changed files — rClone automatically skips files that already match the destination.
Create a Batch File
Save the following as C:\scripts\gdrive_backup.bat:
rclone copy gdrive: C:\data\gDrive ^
–transfers 8 –checkers 16 ^
–log-file C:\data\gDrive\rclone_copy.log ^
–log-level INFO
Schedule with Windows Task Scheduler
- Open Task Scheduler (search in the Start menu).
- Click Create Basic Task…
- Name it Google Drive Backup; set your desired trigger (e.g., Daily at 11:00 PM).
- Set Action: Start a program → browse to
C:\scripts\gdrive_backup.bat. - On the Properties dialog, check Run with highest privileges.
| Command | Purpose |
|---|---|
| rclone config | Open the configuration wizard |
| rclone listremotes | List all configured remotes |
| rclone lsd gdrive: | List top-level folders in Drive |
| rclone ls gdrive: | List all files recursively |
| rclone size gdrive: | Show total size of your Drive |
| rclone copy gdrive: C:\data\gDrive –progress | Copy Drive to local (incremental-safe) |
| rclone sync gdrive: C:\data\gDrive –dry-run | Preview a sync without making changes |
| rclone check gdrive: C:\data\gDrive | Verify local files match Drive |
| rclone config reconnect gdrive: | Re-authenticate if token expires |
| rclone version | Show installed rClone version |
Token Expired / Authentication Error
If rClone returns an oauth2: token expired error, re-run authentication:
rclone Not Recognized After Install
Close and reopen your terminal to reload the PATH, or run refreshenv in a Chocolatey-aware shell.
Rate Limit / Too Many Requests (403)
Google Drive throttles high-speed transfers. Reduce parallel threads:
Copying a Shared / Team Drive
List available Shared Drives first, then copy with the shared flag:
rclone copy gdrive: C:\data\gDrive –drive-shared-with-me