doc: Add missing '--watch' example for 'mirror' command.
This commit is contained in:
@@ -623,9 +623,10 @@ USAGE:
|
||||
mc mirror [FLAGS] SOURCE TARGET
|
||||
|
||||
FLAGS:
|
||||
--help, -h Help of mirror.
|
||||
--force Force overwrite of an existing target(s).
|
||||
--fake Perform a fake mirror operation.
|
||||
--help, -h Help of mirror.
|
||||
--force Force overwrite of an existing target(s).
|
||||
--fake Perform a fake mirror operation.
|
||||
--watch, -w Watch and mirror for changes.
|
||||
|
||||
```
|
||||
|
||||
@@ -638,6 +639,15 @@ localdir/b.txt: 40 B / 40 B ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
|
||||
|
||||
```
|
||||
|
||||
*Example: Continuously watch for changes on a local directory and mirror the changes to 'mybucket' on https://play.minio.io:9000*
|
||||
|
||||
```sh
|
||||
|
||||
$ mc mirror -w localdir play/mybucket
|
||||
localdir/new.txt: 10 MB / 10 MB ┃▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓┃ 100.00 % 1 MB/s 15s
|
||||
|
||||
```
|
||||
|
||||
<a name="diff"></a>
|
||||
### Command `diff` - Show Difference
|
||||
|
||||
|
||||
Reference in New Issue
Block a user