by

OneDrive on Ubuntu

Onedrive is a CLI-based client that syncs quickly and easily with OneDrive. To install it, please follow the next steps:

1. Open Ubuntu terminal and update all existing packages:

sudo apt update

2. add PPA repository run the command mentioned below:

sudo add-apt-repository ppa:yann1ck/onedrive

3. install onedrive

sudo apt install onedrive

After doing this, you now need to authorize onedrive with Microsoft so it can access your account. Simply enter the following in the Terminal:

onedrive

And it will prompt you to visit the URL to get authorization.

Log in to your OneDrive account, and grant the app permission to access your account.

Once this is done, you will be presented with a blank white page. Copy the URL and paste it into the Terminal at the prompt.

This will complete the setting up. To start synchronizing OneDrive to your local folder, run

onedrive --synchronize
or 
onedrive --monitor

Write a Comment

Comment