A free Microsoft OneDrive Client which supports OneDrive Personal, OneDrive for Business, OneDrive for Office365 and SharePoint.
Please note that this is not
an officially maintained package. Use at your own risk.
Only a few features have been tested. If you encounter any issues, please do not
reporting to the official project. Kindly report them here instead.
Due to my limited time and knowledge, problems might not receive fixes.
$ sudo snap install onedrive-cli
see: Official Docs
replace onedrive
with onedrive-cli
Due to the packaging with Snap, the default paths are different.
- Default data directory: /home/$Your_User_Name/snap/onedrive-cli/current/OneDrive
- Default config directory: /home/$Your_User_Name/snap/onedrive-cli/current/.config/onedrive
$ mkdir -p ~/.config/systemd/user/
$ wget https://raw.githubusercontent.com/boukendesho/onedrive-cli-snap/main/onedrive-cli.service -O ~/.config/systemd/user/onedrive-cli.service
$ systemctl --user daemon-reload
$ systemctl --user enable --now onedrive-cli.service
# check service status
$ systemctl --user status onedrive-cli.service
# check service log
$ journalctl --user-unit onedrive-cli.service