Skip to content Skip to sidebar Skip to footer

how to increase upload time using ramfs rclone linux

Brief: A step-by-stride tutorial showing how to employ the rclone control line tool to synchronize OneDrive in Linux.

There are several cloud storage services available for Linux. There is Dropbox that gives 2 GB of free space. You can too use Mega where yous tin can get xv GB of complimentary storage.

Microsoft'due south own Cloud storage service, OneDrive gives v GB of free storage to whatever Microsoft business relationship holder. The one major problem is that unlike Dropbox and Mega, Microsoft does non provide a desktop client for Linux.

This ways that you'll have to resort to using web browser for accessing your files in OneDrive which is non very convinient.

There is a hassle-free, GUI application Insync that lets you use OneDrive on Linux easily. Information technology'southward a premium software and not every 1 want to use it.

If you are not afraid of the Linux final, let me evidence you a command line tool rclone that you can use for synchronizing Microsoft OneDrive in Linux.

Sync OneDrive In Linux with Rclone

What is rclone?

Rclone is an open up source command line tool that enables yous to synchronize a local Linux directory with various cloud storage services.

With rclone, you tin backup files to cloud storage, restore files from deject storage, mirror cloud data, migrate information between cloud services, use multiple cloud storage equally disk.

You tin use it with Google Bulldoze, OneDrive, Nextcloud, Amazon S3 and over 40 such cloud services.

Rclone is an extensive control line tool and using it could be confusing with and so many options. This is why I wrote this tutorial to show y'all how to apply rclone with Microsoft OneDrive.

Update: There is a separate tool called Rclone Browser that makes using rclone easier by providing a graphical user interface.

Sync Microsoft OneDrive in Linux with rclone

Using Rclone in Linux is not that complicated but requires some patience and familiarity with the Linux terminal. You need to tweak the configuration a little to brand it work. Let's encounter how to do that.

Step 1: Install Rclone

I am using Ubuntu twenty.04 in this tutorial just you should be able to follow this tutorial in pretty much any Linux distribution. Just the rclone installation instruction could be different only the remainder of steps remains the aforementioned.

In Debian/Ubuntu based distributions utilise:

            sudo apt install rclone          

For Arch-based distributions, use:

            sudo pacman -S rclone          

For other distributions, please use your distribution's package managing director.

Step two: Adding new remote

Once you have installed rclone successfully, you lot need to configure rclone. Enter the following command in the terminal:

            rclone config          

If it's your first time using rclone, yous have to add a new remote to rclone. Select 'n' to add new remote.

Configuring Rclone
Configuring Rclone

Now you have to enter the name of remote. You can enter any name here that matches the cloud service so that it is easy to identify. I am using 'onedrive'.

Configuring Rclone
Configuring Rclone

Step 3: Select cloud service y'all want to sync with rclone

After entering name and hitting enter, you will encounter a listing of cloud services like Google cloud storage, Box, Ane Drive and others.

Yous have to enter the number of the service you want to utilise. In this case, it'due south 'One Drive'. Brand sure you enter the right number.

Selecting Cloud Service
Selecting Cloud Service

As you don't need to enter client ID or clandestine ID hit Enter twice.

Next enter 'Due north' for selecting no for advanced configuration. Of form, if you desire to configure something very specific, y'all tin can go ahead with Y.

Configuring Onedrive with rclone in Linux
Configuring OneDrive

When you're asked for 'Use automobile config', press Y.

Step 4: Login to OneDrive account

When you enter 'y' and striking enter, your default browser will open and hither you take to log into your Microsoft business relationship. And if it asks for permission click on 'yeah'.

One Drive Logging In
I Drive Logging In

Footstep 5: Enter business relationship type

At present you have to select account type. For most of the users it will be the showtime one, 'One drive Personal or concern'. I believe it is personal so become with one.

Configuring Onedrive with rclone

Later on that, you volition become a list of 'Drives' associated with your account. So, for the most office, you need to select '0' to select your bulldoze and enter 'Y' for yes in side by side step.

Configuring Onedrive

It volition ask for one concluding time if this configuration is okay? Hit 'Y' if information technology is.

Configuring One Drive

And so enter 'q' to exit the Rclone configuration carte.

Exiting Rclone Configuration

Stride five: Mounting OneDrive int file managing director

Create folder in your home directory where yous will mount OneDrive. I volition proper name the folder "OneDrive". You tin can name it whatever yous want, only please make sure you lot change the name to yours in the commands.

Create a new folder with mkdir command in your habitation directory or wherever you desire:

            mkdir ~/OneDrive          

Now you lot have to use the following command:

            rclone --vfs-enshroud-way writes mount "one drive":  ~/OneDrive          

In above command "one bulldoze" is the proper name of the "remote", then you should use the correct proper name in that location if yours is different. You tin can check the proper noun of the "remote" in step 2 of this tutorial.

Mounting One Drive in Linux with rclone
Mounting Ane Drive

This command will mount one drive in given location and will continue to run in terminal. When y'all finish the procedure with,ctrl + c the one drive volition exist unmounted.

To mount 1 drive on startup, follow the adjacent step below.

Pace half-dozen: Mount One Drive on startup

Every Linux distribution gives some way to manage startup awarding. I am using Ubuntu's Startup Application Preferences tool here.

Open "Startup Applications". And click on "Add". Now, in the control field, enter the following:

            sh -c "rclone --vfs-cache-mode writes mount \"ane drive\": ~/OneDrive"          
Mounting Onedrive On Startup in Linux
Mounting OneDrive On Startup

That's it. Now, you can easily use OneDrive on Linux without whatever hiccups.

As you tin can see, using OneDrive in Linux with rclone takes some effort. If y'all desire an easy fashion out, get a GUI tool like Insync. and apply OneDrive natively in Linux.

I hope you observe this tutorial helpful. If you have any questions or proposition, nosotros'll be happy to aid you lot out.

Sumeet

Sumeet

Figurer engineer, FOSS lover, lower level calculating enthusiast. Believe in helping others and spreading knowledge. When I become off from computer (it rarely happens) I do painting, reading and watching movies/series. Love the piece of work of Sir Arthur Conan Doyle, J. R. R. Tolkien and J. K. Rowling. BTW, I utilise Arch.


wintersmingth.blogspot.com

Source: https://itsfoss.com/use-onedrive-linux-rclone/

Post a Comment for "how to increase upload time using ramfs rclone linux"