linux:onedrive
OneDrive on Mint 21
Source: https://linuxhint.com/install-and-use-onedrive-on-linux-mint/
The OneDrive version in the Ubuntu universe repository is version 2.3.13 - do not use, it does not work! Use the PPA instead (current version 2.4.23)
sudo add-apt-repository --remove ppa:yann1ck/onedrive wget -qO - https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /usr/share/keyrings/obs-onedrive.gpg > /dev/null echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/obs-onedrive.gpg] https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_22.04/ ./" | sudo tee /etc/apt/sources.list.d/onedrive.list sudo apt-get update sudo apt install --no-install-recommends --no-install-suggests onedrive
First run:
onedrive
Then open the displayed url in a browser, authenticate, copy the url of blank page into console
Test:
onedrive --synchronize --verbose --dry-run
Sync manually:
onedrive --synchronize
Install Service:
systemctl status --user onedrive systemctl --user enable onedrive systemctl --user start onedrive systemctl status --user onedrive
https://github.com/abraunegg/onedrive
https://build.opensuse.org/project/show/home:npreining:debian-ubuntu-onedrive
After Microsoft Account password change, a reauth is required:
onedrive --reauth
Then open the displayed url in a browser, authenticate, copy the url of blank page into console
linux/onedrive.txt · Last modified: 2024/07/01 11:00 by Wulf Rajek