Knowledge Base

Transferring files to OneDrive for Business via rclone


Rclone  is installed on NX Linux Desktop Service and RACC and the currently installed version is 1.48

Rclone is an open source command line program to sync files and directories to and from local storage to cloud based storage, such as OneDrive for Business.

Using Rclone is not formally supported by IT. We will try to keep the software up to date and help users only on an available effort basis. There is no guarantee that the software is fully compatible or will remain compatible with One Drive service.
Below is a quick guide to using Rclone with OneDrive and further information can be found in the Rclone documentation

Setting up an rclone Environment

From a terminal on NX run the following command to setup your environment. This is a one time operation as the configuration is held in your home directory.

No remote environments exist yet, so we will select ‘n’
You will then be asked to choose a name for the connection. We recommend using ‘remote’ as this is the same as our examples below.

Select option 19 for Microsoft One Drive

Firefox will then be launched requesting a login to OneDrive for Business. This is your UoR UPN (e.g. and password.

Once you have logged you will be asked for the type OneDrive i.e personal/business and select the drive you want to use from those found.


You then need to confirm your environment  Select ‘y‘ to save and then ‘q‘ to quit the setup.

Initiating a Backup to OneDrive

List directories in top level of your OneDrive

List all the files in your OneDrive

To copy a local directory to an OneDrive directory called backup

To copy a network directory to an OneDrive directory called network

To mount your OneDrive directory using fusemount into your home directory


Note that OneDrive is case insensitive so you can’t have a file called “Hello.doc” and one called “hello.doc”.

There are quite a few characters that can’t be in OneDrive file names. These can’t occur on Windows platforms, but on non-Windows platforms they are common. Rclone will map these names to and from an identical looking unicode equivalent. For example if a file has a ? in it will be mapped to ?instead.

The largest allowed file size is 100GiB as of 17th June 2020

If you don’t use rclone for 90 days the refresh token will expire. This will result in authorization problems. This is easy to fix by running the following command to get a new token and refresh token.

For older versions of rclone you have to use the edit command to refresh the token

See using rclone with onedrive for more information


RACC updates

We have changed the default partition to be the 'limited'. Users submitting jobs longer than 24h need to explicitly request another partition, e.g. 'cluster'. Jobs submitted with time limit exceeding the partition limit will be rejected.   Purchasing RACC nodes owned by projects can  be requested using the Self Service Portal form,  see /
Read More
Suggest Content…

Related articles

Access the NoMachine software on your PC

Connecting to NX from Outside the University Campus

User’s guide:

NX Custom Connections

NX File Transfer

NX Map a drive from the Client

NX Terminate Session

Linux Keyboard Layout

Firefox on the Linux Desktop Service

ACT software list