mc watch command watches for events on the specified S3-compatible
service bucket or local filesystem path. For S3 services, use
mc event to
configure bucket event notifications on S3-compatible services.
watch has the following syntax:
mc watch [FLAGS] TARGET
watch supports the following arguments:
Required The S3 service
aliasand bucket or the local filesystem directory to watch for event notifications. Specify the
aliasof a configured S3 service as the prefix to the
TARGETpath. For example:mc event add play/mybucket
The event(s) to watch for. Specify multiple events using a comma
,delimiter. See Supported Bucket Events for supported events.
The bucket prefix in which to watch for the specified
The bucket suffix in which to watch for the specified
Recursively watch for events in the specified
TARGETbucket path or local directory.