one drive free client doesn not appear in home directory

I wanted to have one drive free client in my home directory and I use it on ubuntu. Therefore I have used the advise from the following two sources. https://www.phillipsj.net/posts/using-onedrive-with-linux/ and How to setup OneDrive in Ubuntu 17.04?

In both cases I managed to authorize onedrive, this was the message:

Authorize this app visiting:

https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=d50ca740-c83f-4d1b-b616-12c519384f0c&scope=Files.ReadWrite%20Files.ReadWrite.all%20Sites.Read.All%20Sites.ReadWrite.All%20offline_access&response_type=code&redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient Enter the response uri: https://login.microsoftonline.com/common/oauth2/nativeclient?code=M.R3_BL2.94a533b8-2996-6aef-a782-2f6a0cba3121

Application has been successfully authorised, however no additional command switches were provided.

Please use --help for further assistance in regards to running this application.

According to the two main sources it should appear in my home directory.However, it does not appear there. Yet when I type “onedrive” in the terminal it seems as if I have done it correctly:

Configuring Global Azure AD Endpoints

--synchronize or --monitor switches missing from your command line input. Please add one (not both) of these switches to your command line or use --help for further assistance.

No OneDrive sync will be performed without one of these two arguments being present.

“Which onedrive “ shows the follwing location:

/usr/bin/onedrive

Also: Rclone is not an option. I haven’t dealt with the synchronization of one drive yet I am primarily interested why one drive does not appear in my home directory. I am very new to ubuntu 21.04.


There are only 5 reliable ways to access OneDrive on Linux:

  • Via the OneDrive for Linux client - https://github.com/abraunegg/onedrive - this 'syncs' your data, bi-directional operation, open source and free
  • Via the 'onedriver' client - https://github.com/jstaf/onedriver - Native file system that only provides 'on-demand' functionality, open source and free
  • Via 'rclone' - https://rclone.org/ - one way sync client, open source and free
  • Via 'insync', 'ExpanDrive' - non-free client
  • Via the web browser of your choice

The URL's that you have referenced contain poor instructions & details to get you started ... please do not follow those incorrect instructions.