How to install RClone with OneDrive as remote for Windows
Install Process:
-
Go to rclone.org/downloads and click the download button under 'Windows' (Intel/AMD – 64Bit option). This will start the download of the rclone zip file.
-
Unzip the rclone .zip file in a location you know the path to.
-
Navigate into the unzipped rclone folder, probably called ‘rclone-v1.55.1-windows-amd64’ or something along those lines.
-
Now open another instance of File Explorer, and in the left navigation click into the ‘C:’ drive (probably called 'Local Disk (C:)'), then click into the ‘Windows’ folder. Scroll down and find the System32 folder, then drag and drop the rclone.exe file from the unzipped rclone folder into the System32 folder.
-
Open the windows command line terminal.
-
Type command: rclone config
-
Select ‘n’ to add a new remote, then enter the name you want your remote to be called (I used ‘onedrive’ as my remote name), hit enter.
-
After entering a name, a list of cloud service providers will show up, find the number associated with ‘/ Microsoft OneDrive’, type in the number and hit enter.
-
You do not need to enter a ‘client ID’ or a ‘secret ID’, so hit enter twice.
-
You can then enter ‘n’ when it asks ‘Edit advanced config’, and ‘y’ when it asks ‘Use auto config’
-
Once you hit enter after selecting ‘y’ for ‘Use auto config’, your default browser will open and here you will need to log into your OneDrive account. If it asks for permissions click ‘yes’.
-
Next, it will ask the type of account, enter the number associated with ‘OneDrive Personal or Business’.
-
You will then be asked which drive to use. For almost everyone that will be ‘0’.
-
It will then ask ‘Is that okay?’, type in ‘y’ and hit enter
-
You will see some seemingly random lines of text appear, then it will ask again if the config is ok, enter ‘y’.
-
Rclone now shows you its configuration menu so just choose ‘q’ to quit out of rclone config
-
You’re all set! You can now use rclone to move data onto your OneDrive
Example Command:
rclone copy <path to local files or directory to copy from> <your remotes name>:<directory/folder on OneDrive to copy files or directory to> -P