📂
Ubuntu20.04でOneDriveを使う
abraunegg/onedriveに従うだけなのですが、ドキュメントが長いので自分用にまとめます。
INSTALL.md
- Install the platform dependancies for your Linux OS
Dependencies: Ubuntu 18.x, Ubuntu 19.x, Ubuntu 20.x / Debian 9, Debian 10 - x86_64に従います。
sudo apt install build-essential
sudo apt install libcurl4-openssl-dev
sudo apt install libsqlite3-dev
sudo apt install pkg-config
sudo apt install git
sudo apt install curl
curl -fsS https://dlang.org/install.sh | bash -s dmd
- Activate your DMD or LDC compiler
source ~/dlang/dmd-x.xxx.x/activate
- Clone the GitHub repository, run configure and make, then install
git clone https://github.com/abraunegg/onedrive.git
cd onedrive
./configure
make clean; make;
sudo make install
- Deactivate your DMD or LDC compiler
deactivate
USAGE.md
アカウントの認証
onedrive
コマンドを実行して認証する
Testing your configuration
-
onedrive -h
でヘルプを表示 -
onedrive --dry-run
で同期テスト -
onedrive --synchronize
で一回同期 -
onedrive --monitor
でプロセスが終了するまで同期し続ける
Running 'onedrive' as a system service
if you need
systemctl --user enable onedrive
systemctl --user start onedrive
Discussion