Update USAGE.md (#2331)

* Specifically add reference on how to sync both Personal and Business accounts at the same time
* Specifically add reference on how to sync multiple SharePoint Libraries at the same time
This commit is contained in:
abraunegg 2023-03-11 07:25:35 +11:00 committed by GitHub
parent 537b4338a6
commit 00ba377c30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,8 @@ Before reading this document, please ensure you are running application version
* [How to sync sharePoint / Office 365 Shared Libraries?](#how-to-sync-sharepoint--office-365-shared-libraries)
* [How to run a user systemd service at boot without user login?](#how-to-run-a-user-systemd-service-at-boot-without-user-login)
* [How to create a shareable link?](#how-to-create-a-shareable-link)
* [How to sync both Personal and Business accounts at the same time?](#how-to-sync-both-personal-and-business-accounts-at-the-same-time)
* [How to sync multiple SharePoint Libraries at the same time?](#how-to-sync-multiple-sharepoint-libraries-at-the-same-time)
- [Running 'onedrive' in 'monitor' mode](#running-onedrive-in-monitor-mode)
* [Use webhook to subscribe to remote updates in 'monitor' mode](#use-webhook-to-subscribe-to-remote-updates-in-monitor-mode)
* [More webhook configuration options](#more-webhook-configuration-options)
@ -883,6 +885,16 @@ onedrive --create-share-link <path/to/file> --with-editing-perms
```
**Note:** The ordering of the option file path and option flag is important.
### How to sync both Personal and Business accounts at the same time?
You must configure separate instances of the application configuration for each account.
Refer to [./advanced-usage.md](advanced-usage.md) for configuration assistance.
### How to sync multiple SharePoint Libraries at the same time?
You must configure a separate instances of the application configuration for each SharePoint Library.
Refer to [./advanced-usage.md](advanced-usage.md) for configuration assistance.
## Running 'onedrive' in 'monitor' mode
Monitor mode (`--monitor`) allows the onedrive process to continually monitor your local file system for changes to files.
@ -1161,11 +1173,13 @@ for extra details.
## Additional Configuration
### Advanced Configuration of the OneDrive Free Client
* Configuring the client to use mulitple OneDrive accounts / configurations
* Configuring the client for use in dual-boot (Windows / Linux) situations
* Configuring the client for use when 'sync_dir' is a mounted directory
* Upload data from the local ~/OneDrive folder to a specific location on OneDrive
* Configuring the client to use mulitple OneDrive accounts / configurations, for example:
* Setup to use onedrive with both Personal and Business accounts
* Setup to use onedrive with multiple SharePoint Libraries
* Configuring the client for use in dual-boot (Windows / Linux) situations
* Configuring the client for use when 'sync_dir' is a mounted directory
* Upload data from the local ~/OneDrive folder to a specific location on OneDrive
Refer to [./advanced-usage.md](advanced-usage.md) for configuration assistance.
### Access OneDrive service through a proxy