Skip to content

Instantly share code, notes, and snippets.

@tiagoamaro
Last active April 12, 2020 12:25
Show Gist options
  • Save tiagoamaro/7d94851835d270e563fd0da5181a2ffc to your computer and use it in GitHub Desktop.
Save tiagoamaro/7d94851835d270e563fd0da5181a2ffc to your computer and use it in GitHub Desktop.
abraunegg/onedrive instructions
systemctl --user enable onedrive
systemctl --user start onedrive
# To see the logs run:
journalctl --user-unit onedrive -f
# Check its status
systemctl --user status onedrive
## On Ubuntu 18.04
# Following instructions from https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md
# but enabling notifications and bash/zsh completion
git clone https://github.com/abraunegg/onedrive.git
cd onedrive
source ~/dlang/dmd-2.091.0/activate # current D version
./configure --enable-notifications --enable-completions
make clean; make;
sudo make install
# ~/.config/onedrive/sync_list
# Note: after changing the sync_list, you must perform a full re-synchronization by adding --resync
# to your existing command line - for example: `onedrive --synchronize --resync --verbose`
Freela
Public
# First, dry run
onedrive --synchronize --verbose --dry-run
# Show config
onedrive --display-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment