rclone: Usage

In this section, we’ll cover a few basic commands to get your HPC directories and OneDrive folders synced.

First, you can list files and directories in the remote drive (OneDrive). In this command, you start by using the rclone command, followed by the list command. Then, the name of the remote service is needed, here the name is remote. After the name, include a colon and then the path (folder). The following is the standard format, followed by an example.

rclone ls remote:path
rclone ls remote:Miscellaneous/Scripts/

Similarly, you can list the directories in your cloud storage.

 rclone lsd remote:path

If you’d like to sync a folder, you can use the following command:

rclone sync source:path destination:path

If dest:path doesn’t exist, it is created and the source:path contents go there.

https://github.com/USDRCG/usdrcg.github.io/wiki/rclone:-Configuration-and-usage-for-MS-OneDrive