Ciao, i giorni scorsi ho un po' litigato con Ubuntu per ri-avere il sync con OneDrive. Alla fine ho "vinto" usando un sw che non conoscevo.
Spiegazione qui sotto o nel mio blog. Quello sotto e` il copia e incolla, non vi serve andare nel blog a meno che non vogliate aumentarmi il contatore delle visite. ;-) While I’m a GNU/Linux fan I use Microsoft’s OneDrive cloud storage service as it works great on my Windows Phone. Well… if in MS would add support to other cloud storage service as they did on Android apps it would be even greater, but this is another story. Up to Ubuntu 14.04 Trusty Thar I have used onedrive-d <https://github.com/xybu/onedrive-d>to sync my files on Microsoft’s OneDrive with my GNU/Linux box. Both the latest <https://github.com/xybu/onedrive-d>and the older <https://github.com/xybu/onedrive-d-old>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 <http://skilion.github.io/onedrive/> The sw is not packaged but need to be compiled. Instruction are quite clear but I have few suggestion to add. *Dependencies* - libcurl <http://curl.haxx.se/libcurl/> - SQLite3 <https://www.sqlite.org/> - Didital Mars D Compiler (DMD) <http://dlang.org/download.html> Both libcurl and SQLite3 needs the -dev package so one the terminal and install them with sudo apt sqlite3-dev libcurl-dev DMD deb package can be downloaded from the above link, so download and install. Now you are ready to start, download OneDrive from github, <https://github.com/skilion/onedrive> unzip and compile with as per software instructions: make sudo make install Now you should copy the default config. There is a typo in README.md file, you have to type: mkdir -p ~/.config/onedrive<!--mep-nl-->cp /usr/local/etc/onedrive.conf ~/.config/onedrive/config The config file allows you to tell what you do not want to sync. 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: onedrive 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 <http://www.howtogeek.com/189995/how-to-manage-startup-applications-in-ubuntu-14.04/>application with this in the “command” field onedrive -m That’s all folks. Have a nice OneDrive sync! ciao matteo matteo marchesi e-Mail <[email protected]>[email protected] PEC [email protected] web http://matteomarchesi.altervista.org LinkedIn it.linkedin.com/in/matteomarchesi/ Phone +39 349 0535802
_______________________________________________ BrigX Linux Users Group [email protected] http://brigx.it/mailman/listinfo/ml_brigx.it
