I am using Ubuntu 14.04. How can I sync my OneDrive account on Ubuntu 14.04?
I know that OneDrive is a Microsoft cloud storage service and that Linux is not supported.
But there is a a tool called "OneDrive-D". How can install and use "OneDrive-D"?
As @terdon said Onedrive-D is still under development.
Alternatively you can use other cloud storage services.
Here is the instruction on how to install "OneDrive-D":
Step1: Download the program from GitHub.
Step2: Extract the contents of the
.zip
file and run the installer from “onedrive-d-master.”For that Press Ctrl+Alt+T and execute:
Note 1: I used
ls
command to list files in that folder and to avoid mistakes in file names.SInce there is another new project for same purpose.Note 2: onedrive-d need python-3. Refer here for prerequisites,but all necessary softwares will be installed ,during installation process.So no need to worry about prerequisites.
Step 3: After installation you will see message like this:
Now open terminal and run:
onedrive-pref
Open the link in browser and enter your user id and password.
you will see prompt like this :
Click on YES. Then copy the link and paste it in terminal.You will see message like this:
Next,you need to adjust settings,if you want to keep default settings just press n .If you want to change press y and adjust.
Example:
Finally ,
onedrive-d --help
for commands.onedrive-d [command]
I've just found more suitaible way of accessing and mounting OneDrive in Ubuntu (16.04 in my case) with Rclone-Browser
Download the Rclone application here and install it on your system: (the version in the standard Ubuntu repository only works for OneDrive personal edition.) https://rclone.org/downloads/ or directly from this for Ubuntu 64-bit systems: https://downloads.rclone.org/rclone-current-linux-amd64.deb
Rclone-browser
Download the rclonebrowser from here: https://github.com/mmozeiko/RcloneBrowser/releases or install via a PPA (not yet for Ubuntu 18.04)
After installing both packages, start rclone-browser from the Dash.
Select 18 Onedrive (number can change)
leave blank twice
select personal or business
select Y if you are running a normal desktop system.
Now the browser should open and you can login in your onedrive account
now return to the terminal and conform with Y
press Q to exit and return to the rclone-browser and press the refresh button.
You are now able to mount it and see it in Nautilus. It is NOT a locally available filesystem. It is still remote. Some programs can read and write to this remote drive, and some don't. A workaround is to open a secon TAB in Nautilus, copy the files you need to the second TAB. Use them from there and copy them back afterwards.
Source: Rclone and Rclone-Browser