OneDrive on Linux

New Contributor

I would like to use OneDrive on Ubuntu, May be working with all or some folders. Since there is no office OneDrive client in Linux, I've searched online and found "rclone" but not sure how secure it is or is there any other alternative out there?

7 Replies
AFAIK, Microsoft has not shared any plans to support Linux in regards of ODFB. However, it seems there is an open source project about OneDrive Consumer support in Linux:
Thank you, I’ll check it.


I am the maintainer of the free OneDrive Client for Linux, which supports OneDrive Personal, OneDrive for Business, OneDrive for Office365 and Sharepoint, and fully supports Azure National Cloud Deployments for those that require it. It fully supports shared folders - both OneDrive Personal and OneDrive Business Shared Folders.


For further information & details:

This is an actively maintained client which was originally forked from the 'skilion' client (which unfortunately most of the Internet still references). The 'skilion' client was abandoned in 2018.


Hi @abraunegg!


I've stumbled on this post this morning as I'm trying to "mirror" my Win10 laptop to a Linux machine (using Windowsfx disto, to save all my bad habits :lol:).

I've installed your software and managed successfully to sync from OneDrive to the Linux laptop (using onedrive --synchronize --single-directory command) but I'm now wondering:

  1. if the sync is automatically done in the background when I edit files in the local storage,
  2. if I have to create and customize the config file,
  3. if I also need to create the sync_list file,
  4. if I need to run onedrive as a system service to get automatic sync.

Sorry for the dummy questions, but I'm a bit new to Linux and all those things still look a bit of "magical dust" to me!


Thanks in advance for your help!


Glad you found the tool useful :)


In regards to your questions:

onedrive --synchronize --single-directory


What this does is perform a single sync, of the single directory specified. Once the sync has finished, thats it.


> 1. If the sync is automatically done in the background when I edit files in the local storage


With your existing command, no - there is no automatic sync occurring. However, if you switch '--synchronize' for '--monitor' this will continually sync until you exit the application - ie - sync automatically.


> 2. If I have to create and customize the config file


Generally you do not need to do this unless you want to change some of the default options. Best read the help / man page for assistance on the configuration options.


> 3. If I also need to create the sync_list file


Generally no - you do not need to create this file, unless you want to be super specific about what needs to be synced


> 4. If I need to run onedrive as a system service to get automatic sync


That is generally the best way to configure automatic and constant sync in the background to occur.


Feel free to create questions on GitHub ( as this is where most questions & a wealth of knowledge in closed cases sit.

If you're looking for something a bit more polished and powerful, check out ExpanDrive


It has deb/rpm/AppImage packages and runs on nearly all linux distros. There is a desktop edition as well as a server edition that runs headless. Mounting specific sharepoint sites, remote paths, etc are all supported as well as offline mode and async writes. Also built to withstand reboots, transient networks, etc.



I have been using InSync (paid) and no problems at all