How to get started with rclone copy?

I'm new to RClone and I've just made a google drive configuration named gdrive. Now I want to copy(or sync, I don't know) the PDF files in ~/Documents/eBooks to a directory with the same name on my Google Drive.

This is the first time I ran the command that I came up with:

$ rclone copy --progress ~/Documents/eBooks/ gdrive/eBooks                                                                                                                               
Transferred:      161.327 MiB / 161.327 MiB, 100%, 0 B/s, ETA -                                                                                                                               
Transferred:           31 / 31, 100%                                                           
Elapsed time:         0.9s

But it executed like a jet and didn't result in uploading files to my Google Drive. So I re-executed it and here's the result:

$ rclone copy --progress ~/Documents/eBooks/ gdrive/eBooks
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Checks:                31 / 31, 100%
Elapsed time:         0.0s

It acts like it's uploading the files, but there's nothing in my Google Drive.

This is a one-way action, meaning that I'm just updating the files from my PC, and I want to see the PDF annotations I make on my PC with my other devices.

What's wrong? Should I use sync instead of copy?

you copied it locally to folder called gdrive/eBooks.. This is why it was so quick:)

Assuming you have created remote called gdrive you should run:

rclone copy --progress ~/Documents/eBooks/ gdrive:eBooks

1 Like

Thanks, although copying to a local dir feature seems redundant. IDK I'm a newbie.
Will it just upload the changed bits of the changed files in feature executions?

It operates on files bases. It will skip any already copied files but will copy anything changed/new.

What about " Should I use sync instead of copy?"

It is up to you.

sync will sync:) your local directory to remote. So if you delete something it will be deleted from remote to. Copy does not delete anything.

That's it. Thanks for your quick response and patience.

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