Use OneDriver to access OneDrive from Linux (v0.11.0 released, with GUI for easy setup)

driver It is the native Linux file system of Microsoft OneDrive. The tool installs OneDrive and then allows you to access it from the file manager and other applications as if the files were on the local hard drive.

With OneDriver, files are only downloaded when you open them. This means that if you have a large number of files in Microsoft OneDrive, you don’t need to wait for all the files to download before using them, and you don’t need to use selective sync. Any modified or new files you create in the OneDrive folder are automatically uploaded to Microsoft OneDrive (and vice versa).

It is also important to note that even if your computer is no longer connected to the Internet, the files you previously opened are still available. However, for any files that you have not opened before, you will need an Internet connection to access them. If you lose Internet access, the file system becomes read-only, and write access is automatically enabled again when you reconnect to the Internet.

In addition, OneDriver supports multiple accounts, and it should (?) support OneDrive for Business / Office 365. I can’t find the exact information about the latter, but looking at the error report, OneDriver should support both regular and OneDrive for Business / Office 365, but please note that I cannot test this because I only have one test personal account.

According to the developers, OneDriver is also very fast, caching file system metadata and file content in memory and disk.

In the latest OneDriver 0.11.0 released a few days ago, the tool includes a GUI that makes it easy to add Microsoft OneDrive accounts, mount/unmount OneDrive accounts, and automatically mount OneDrive at startup.

It is worth noting here that the option to automatically mount OneDrive at startup does not look like a standard option. You must click the check mark to the right of the on/off switch to enable auto-mounting at login (see the screenshot at the top of the article). I don’t know you, but I find this a bit confusing.

The new version also includes a new upload logic that fixes the race condition. When the file is 4MB or larger, software such as LibreOffice, KeepassXC or Krita may generate a 0-byte file instead of the expected file.

In addition, the tool now uses etags and modification time when syncing server-side changes back to the client, which reduces the number of times that files must be re-downloaded due to incorrect timestamp data from the Microsoft API.

When using OneDriver, you should also pay attention to some limitations/known issues:

  • Because some file managers will automatically download all files in the directory to create thumbnails, which will slow down the speed.This will only happen once, when the initial thumbnail is created
  • Microsoft OneDrive does not support symbolic links, so OneDriver
  • You cannot use OneDriver to access the OneDrive Recycle Bin because Microsoft has not disclosed its API
  • OneDriver loads files into the memory to speed up when you access them, but this is not suitable for very large files

I should also mention that OneDriver works similarly to Rclone’s OneDrive installation options, the only visible difference is that OneDriver has a GUI and is easier to set up. There may also be differences in performance, but I am not an ordinary user of Microsoft OneDrive, so I can’t tell how they compare in this regard, so you have to try it out and find out by yourself.

If you prefer to use a synchronization client for Microsoft OneDrive on Linux (synchronize OneDrive with a local folder, save files on disk after synchronization, and allow access even when the computer is offline) instead of mounting OneDrive, Check out the OneDrive free client.

OneDriver is available at COPR Repository for Fedora 33, 34 and Rawhide and Centos Stream 8.

For Ubuntu 20.04, OneDriver is available at Power purchase agreement. If you use Ubuntu 21.04, you can download And use the Ubuntu 20.04 DEB package from PPA, because it should be no problem.

Arch Linux / Manjaro users can install OneDriver from the following locations AUR.

For other Linux distributions, you can Build it from source.

Source

Related Posts