Go to file
2015-09-22 18:31:10 +02:00
patch included curl with support for patch 2015-09-22 10:55:54 +02:00
src fixed acces to json nested objects 2015-09-22 16:14:16 +02:00
.gitignore .gitignore 2015-09-22 14:48:46 +02:00
INSTALL.md added readme and license 2015-09-22 18:31:10 +02:00
LICENSE added readme and license 2015-09-22 18:31:10 +02:00
Makefile updated makefile 2015-09-22 14:49:20 +02:00
onedrive.conf changed how config files works 2015-09-22 14:48:18 +02:00
README.md added readme and license 2015-09-22 18:31:10 +02:00

OneDrive Free Client

Features:

What's missing:

  • Files bigger than 100 MB are not supported
  • OneDrive for business is not supported
  • While local changes are uploaded right away, remote changes are delayed.
  • No GUI

Config:

Config files are loaded in the following order:

  1. /etc/onedrive.conf
  2. /usr/local/etc/onedrive.conf
  3. $XDG_CONFIG_HOME/onedrive/config
  4. ~/.config/onedrive/config

Available options:

  • client_id & client_secret: application identifiers necessary during the authentication
  • sync_dir: directory where the files will be synced
  • skip_file: any files that match this pattern will be skipped during sync
  • skip_dir: any directories that match this pattern will be skipped during sync

Pattern are case insensitive. * and ? wildcards characters are supported. Use | to separate multiple patterns.

First run

The first time you run the program you will be asked to sign in. The procedure require a web browser.

Usage:

onedrive [OPTION]...

no option    Sync and exit.
-m --monitor Keep monitoring for local and remote changes.
	--resync Forget the last saved state, perform a full sync.
-v --verbose Print more details, useful for debugging.
-h    --help This help information.

Notes:

  • After changing the filters (skip_file or skip_dir in your configs) you must execute onedrive --resync
  • Windows naming conventions apply