If you are migrating from Windows and you used OneDrive to sync your files, like I did, a wise step is to install OneDrive-D which is a Microsoft OneDrive desktop client / daemon on Linux, written in Python 3.
Install OneDrive on Ubuntu
First you need to download the zip file from github. Extract the zip file and run the install.sh script inside onedrive-d folder. Run the following command in a Terminal:
sudo ./inst install
I am using Elementary Freya and I got an error:
In case you get the same error (./inst: command not found) drag and drop install.sh in your terminal and type sudo ./install.sh
'/home/nicu/Downloads/onedrive-d-future/install.sh' sudo ./install.sh
After OneDrive-D is successfully installed run command onedrive-pref to setup the application.
There are 4 steps in the configuration process, but the most import is the first one, to authorize sign in with your OneDrive account. You need to click on the URL provided and after you authenticate with your OneDrive credentials you will end up at an empty page – just copy the URL and paste it in your Terminal.
For next steps you can select n and use default settings
After finishing the OneDrive configuration run command onedrive-d start to start syncing your OneDrive files.
- Files and folders deleted locally can be found in Trash and files and folders deleted remotely can be found in OneDrive recycle bin.
- Files that are overwritten remotely may not be synced, because OneDrive-D performs overwriting only when it is 100% sure that one file is older than its counterpart.
- Copying and moving files are treated as uploading and when you copy/ or move a folder OneDrive-D will upload the entire folder.
I still need to figure out how to enable it in top panel. On Elementary Freya I have the same issue with Dropbox, even though both apps work and sync as they should.