-
Notifications
You must be signed in to change notification settings - Fork 347
Configuring onedrive
Ely Lizaire edited this page Apr 28, 2016
·
4 revisions
Currently there are 5 options configurable options for onedrive:
-
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
Edit the config file located at ~/.config/onedrive/config
to change them. After changing the filters (skip_file or skip_dir in your configs) you must execute onedrive --resync
.
Below shows what a the default config file would look like (client_id
& client_secret
excluded):
sync_dir = "~/OneDrive"
skip_file = ".*|~*"
skip_dir = ".*"
By default, onedrive skips dot-files, dot-folders, and files starting with a tilde (~).