Onedrive

From Applied Optics Wiki
Revision as of 11:38, 20 June 2018 by Rikesh Patel (talk | contribs) (Created page with "We need to start saving data on Onedrive (or at least use as a backup) as the university moves towards cloud saving. I've tried a few Linux solutions, the best is a fork of On...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

We need to start saving data on Onedrive (or at least use as a backup) as the university moves towards cloud saving. I've tried a few Linux solutions, the best is a fork of Onedrive Free Client (original - https://github.com/skilion/onedrive/, working fork - https://github.com/abraunegg/onedrive). Here are a set of instructions I used to get it working;

  • sudo apt install libcurl4-openssl-dev
  • sudo apt install libsqlite3-dev
  • Find and install curl if not installed
  • curl -fsS https://dlang.org/install.sh | bash -s dmd
  • ~/dlang/install.sh
  • source ~/dlang/dmd-2.080.1/activate
  • mkdir ~/tmp (if a ~/tmp folder doesn't exist)
  • cd ~/tmp
  • git clone https://github.com/abraunegg/onedrive.git
  • cd onedrive
  • make
  • sudo make install
  • onedrive --synchronize
  • Copy the web address it gives you to a web browser, login to your account and copy the web link when a blank page pops up.
  • Enter the copied url into the terminal - it will start syncing your files into ~/Onedrive
  • Once that's done, run onedrive -m and leave it running

There is a way of running a onedrive service using systemctl