Install latest/stable of onedrive-cli
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install onedrive-cli
Don't have snapd? Get set up for snaps.
A free Microsoft OneDrive Client which supports OneDrive Personal, OneDrive for Business, OneDrive for Office365 and SharePoint.
Please note that this is not an officially maintained package. Use at your own risk.
Due to the strict confinement of Snap, the default paths are different.
- Default data directory: /home/$Your_User_Name/snap/onedrive-cli/current/OneDrive
- Default config directory: /home/$Your_User_Name/snap/onedrive-cli/current/.config/onedrive
You can change the default data directory to a dir under your home dirctory, by modify the config file.
```$ echo 'sync_dir = "/home/$change_to_your_username/onedrive"' >> /home/$USER/snap/onedrive-cli/current/.config/onedrive/config```
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.