Syntax for rclone check command

What is the problem you are having with rclone?

I have a Windows File Server and a Google Drive Remote set up in RClone. I'm trying to compare 2 directories to validate some files transferred properly using the rclone check command, but I can't get the command to run. I'm pretty sure its because I'm not specifying the source or destination correctly.

The error message I got was Command check needs 2 arguments maximum: you provided 3 non-flag arguments:

What is your rclone version (output from rclone version)

I'm on RClone v1.53.3

Which OS you are using and how many bits (eg Windows 7, 64 bit)

I'm using Windows Server 2016 for the Windows Machine

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone check source:E\FilePath\FilePath\Folder dest:Google Drive Remote:Folder

The rclone config contents with secrets removed.


A log from the command with the -vv flag

Logfile is empty. 

You have 3 remotes listed there and you need just a source and destination.

rclone check source:E\FilePath\FilePath\Folder Remote:Folder

as an example.

If you had your rclone config, I could be specific.

Hi

I did a rclone cat of my config file and I removed all the things I think would be considered sensitive info; if something else is needed, I can grab that as well.

My understanding is that the source: would be the path to the folder on my local server and the dest: path would be the path to the Drive on GDrive. Wouldn't that result in one remote being specified?

hello and welcome to the forum,

for local, just use the file path as is, same as with any windows command line app.
for remote, you have to use the name of a remote from the config file with a colon :
you can read about it here
https://rclone.org/docs/#syntax-of-remote-paths

so try
rclone check E:\FilePath\FilePath\Folder Folder:

when testing, you can use lsd
rclone lsd E:\FilePath\FilePath\Folder
rclone lsd Folder:

Yep, that worked, thanks!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.