Up to Ubuntu 14.04 Trusty Thar I have used onedrive-d to sync my files on Microsoft’s OneDrive with my GNU/Linux box.
Both the latest and the older releases are not working for me on Ubuntu 16.04 Xenial Xerus.
I’ve not understood why, but googling I find out an alternative solution.
OneDrive for Linux
The sw is not packaged but need to be compiled.
Instruction are quite clear but I have few suggestion to add.
DMD deb package can be downloaded from the above link, so download and install.
sudo apt sqlite3-dev libcurl-dev
Now you are ready to start, download OneDrive from github, unzip and compile with as per software instructions:
Now you should copy the default config.
sudo make install
There is a typo in README.md file, you have to type:
The config file allows you to tell what you do not want to sync.
mkdir -p ~/.config/onedrive<!--mep-nl-->cp /usr/local/etc/onedrive.conf ~/.config/onedrive/config
With onedrive-d I had an issue of “OLDER” file generation, practically I it was generating copy of my files in OneDrive.
With this onedrive you can avoid it skipping the sync of “OLDER” setting in config:
skip_file = ".*|~*|*OLDER*"You are ready for the first sync.
In the terminal just type:
without any option.
Wait till sync complete.
To start it automatically and run as demon checking updates on both sides you can add a startup application with this in the “command” field
That’s all folks.
Have a nice OneDrive sync!