$ sudo apt install build-essential
$ sudo apt install libcurl4-openssl-dev libsqlite3-dev
$ sudo apt install pkg-config git
$ sudo apt install git
$ sudo wget https://netcologne.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
$ sudo apt update --allow-insecure-repositories
$ sudo apt -y --allow-unauthenticated install --reinstall d-apt-keyring
$ sudo apt update && sudo apt-get install dmd-compiler dub
$ sudo snap install --classic dmd && sudo snap install --classic dub
$ git clone https://github.com/abraunegg/onedrive.git
$ cd onedrive
$ ./configure
$ make
$ sudo make install
$ onedrive
$ mkdir -p ~/OneDrive
$ cp config ~/.config/onedrive/config
$ cd
$ onedrive --display-config
$ cd onedrive
$ sudo nano ~/.config/onedrive/config
아래처럼 upload_only를 활성화 하면서 false를 true로 수정
$ upload_only = "true"
$ onedrive --synchronize
$ onedrive --monitor
설정변경 후 재 동기화
$ onedrive --synchronize --resync
참조 :
https://github.com/abraunegg/onedrive
http://enjoystat.blogspot.com/2020/12/ubuntu-1804-microsoft-onedrive.html