onedrive client linux code example

Example 1: one drive linux

*BETTER AND MORE CLEAR EXPLANATION THAN THE OTHER ONE*

sudo apt-get install onedrive (USE AUR IF ON ARCH BASED)

// run this command its gonna give you a link open it and paste
it in your browser
onedrive
// Its gonna ask you to log in with your microsoft account and then 
be an empty page. Take the url of that empty page and paste it in 
the terminal where it asks you

onedrive -m // To sync in real time

onedrive // To sync

Example 2: one drive linux

Easiest way use insync