Friday, November 13, 2015

[OneDrive]: How to Sync Microsoft OneDrive in Linux

How to Sync Microsoft OneDrive in Linux


Install onedrive-d on Linux

1. Open the terminal window and install git using this command:
sudo apt-get install git
2. Clone the source code from git using the following command:
git clone https://github.com/xybu92/onedrive-d.git
3. Now change directory to the onedrive-d folder:
cd onedrive-d
4. Here run the install script to download and install the required dependencies. Accept all packages to install.
./install.sh install
Once the installation has completed, you’ll be prompted to enter the “onedrive-pref”command in the terminal. From there on you would need to follow the on-screen instruction.
Copy the URL provided and paste it on the browser address bar. Enter your OneDrive username and password on the “Sign in” page.
Sync-Microsoft-OneDrive-in-Linux-picture-7
Then grant onedrive-d read/write access to your OneDrive.
Sync-Microsoft-OneDrive-in-Linux-picture-5
Now Copy the URL provided after you have click on Yes button and and paste it on the terminal:
Sync-Microsoft-OneDrive-in-Linux-picture-4
Sync-Microsoft-OneDrive-in-Linux-picture-3
Now create a local folder inside the Home folder to be used to sync OneDrive.
Once created, paste the path in the terminal on step 2/4.
Sync-Microsoft-OneDrive-in-Linux-picture-2
On step 3/4 and 4/4 select no.
Sync-Microsoft-OneDrive-in-Linux-picture-1
Then run the following command to start syncing.
onedrive-d start
Sync-Microsoft-OneDrive-in-Linux-picture-31
That is it!!
If you find yourself  having  problems with onedrive-d, there is an issue tracker where you can find help.

No comments: