On Windows, Microsoft provides a free cloud storage service in the form of OneDrive. It comes integrated with Windows and you get 5 GB of free storage with your Microsoft account.
This works great on Windows but like Google, Microsoft also does not provide a native client for OneDrive on Linux desktop.
You can access your OneDrive data through browser, of course. In addition to that, there are some other ways to access OneDrive on Linux.
You can use a premium service like Insync or opt for a slightly more complicated command line approach with rclone to use OneDrive on Linux.
Recently, I came across another tool that is slightly different and slightly easier to use. It’s unsurprisingly called OneDriver.
OneDriver: Mount OneDrive on your Linux system
OneDriver is a free and open source tool that allows you to mount your OneDrive files on your Linux system.
Please keep in mind that it does not sync files in the same way OneDrive does on the Windows system. It mounts the OneDrive files on a local mount point instead. You access the files over the network.
However, it does provide a kind of hybrid approach here. The files you open in the mounted OneDrive also get downloaded on the system. Which means that you can access the opened files offline as well. The files become read-only if you are not connected to the internet.
If you make any changes to files locally, it gets reflected on the OneDrive if you are connected to the internet.
I did notice that in Nautilus file manager on GNOME, it downloads the images present in the current folder automatically. I was under the impression that they will only be downloaded when I open them.
Another thing is that Nautilus builds thumbnail cache initially. OneDriver may feel a little bit slower and resource consuming in the beginning, but it gets better eventually.
Oh! You can also mount multiple OneDrive accounts.
Installing and using OneDriver
To install OneDriver on Ubuntu 20.04 (and Linux Mint 20 series), you can use this PPA by the developer of OneDriver:
sudo add-apt-repository ppa:jstaf/onedriver sudo apt update sudo apt install onedriver
For Ubuntu 21.04, you may use it by downloading the DEB file from its PPA.
On Fedora, you can add this COPR:
sudo dnf copr enable jstaf/onedriver sudo dnf install onedriver
Arch users can find it in the AUR.
Once you install it, search for OneDriver in the menu and start it from here.
On the first run, it gives a strange looking empty interface. Click on the + sign and choose a folder or create a new one where you’ll mount the OneDrive. In my case, I created a new folder named One_drive in my home directory.
When you have selected the mount point, you will be asked to enter your Microsoft credential.
Once you are successfully logged in, you can see your files from OneDrive in the mounted directory.
Once you have done that, you can see your OneDrive account on the application interface. Click on the toggle button beside it to autostart OneDrive mounting after restart.
Overall, OneDriver is a nice free utility for accessing OneDrive on Linux. It may not provide the complete sync facility like the premium Insync service but it works fine for limited needs.
If you use this nifty tool, do share your experience with it. If you like project, maybe give it a star on GitHub.