-
Notifications
You must be signed in to change notification settings - Fork 598
Closed
Description
Expected behaviour
mirror command with --watch should honor --exclude option
Actual behaviour
mirror command with --watch doesn't honor --exclude option
Steps to reproduce the behaviour
- Create 2 minio instance on different node, and make a test bucket on both instance
- Config the mc host, let's say local and target
- ./mc mirror --force --remove --watch --exclude ".*" --exclude "*.temp" local/test target/test
- Create another shell, execute: ./mc cp test.temp local/test
- You can see mirror command sync the test.temp to target incorrectly
- ./mc ls target/test/ can see the test.temp file
mc version
Version: 2017-10-14T00:51:16Z
Release-tag: RELEASE.2017-10-14T00-51-16Z
Commit-id: 785e14a
System information
Ubuntu 16.04