mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-15 20:25:18 +02:00
1.6 KiB
1.6 KiB
OneDrive Free Client
Features:
- State caching
- Real-Time file monitoring with Inotify
- Resumable uploads
What's missing:
- 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:
/etc/onedrive.conf
/usr/local/etc/onedrive.conf
$XDG_CONFIG_HOME/onedrive/config
~/.config/onedrive/config
Available options:
client_id
&client_secret
: application identifiers necessary during the authenticationsync_dir
: directory where the files will be syncedskip_file
: any files that match this pattern will be skipped during syncskip_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
orskip_dir
in your configs) you must executeonedrive --resync
- Windows naming conventions apply