Update USAGE.md

Update 'sync_list' section with details on wildcard matching and exclusion handling
This commit is contained in:
abraunegg 2020-09-19 07:07:00 +10:00 committed by GitHub
parent 4809f91655
commit 0c12ed7df4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -442,6 +442,11 @@ Codes
Textbooks
Year 2
```
The following are supported for pattern matching and exclusion rules:
* Use the `*` to wildcard select any characters to match for the item to be included
* Use either `!` or `-` characters at the start of the line to exclude an otherwise included item
**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`
### How to 'skip' directories from syncing?