Fix typos in complete and README.md (#2616)
This commit is contained in:
committed by
kannappanr
parent
5117f74fce
commit
c627a15aef
@@ -4,24 +4,26 @@
|
||||
Minio Client (mc) provides a modern alternative to UNIX commands like ls, cat, cp, mirror, diff, find etc. It supports filesystems and Amazon S3 compatible cloud storage service (AWS Signature v2 and v4).
|
||||
|
||||
```
|
||||
ls List files and folders.
|
||||
mb Make a bucket or a folder.
|
||||
cat Display file and object contents.
|
||||
pipe Redirect STDIN to an object or file or STDOUT.
|
||||
share Generate URL for sharing.
|
||||
cp Copy files and objects.
|
||||
mirror Mirror buckets and folders.
|
||||
find Finds files which match the given set of parameters.
|
||||
stat Stat contents of objects and folders.
|
||||
diff List objects with size difference or missing between two folders or buckets.
|
||||
rm Remove files and objects.
|
||||
events Manage object notifications.
|
||||
watch Watch for file and object events.
|
||||
policy Manage anonymous access to objects.
|
||||
session Manage saved sessions for cp command.
|
||||
config Manage mc configuration file.
|
||||
update Check for a new software update.
|
||||
version Print version info.
|
||||
ls list buckets and objects
|
||||
mb make a bucket
|
||||
cat display object contents
|
||||
pipe stream STDIN to an object
|
||||
share generate URL for temporary access to an object
|
||||
cp copy objects
|
||||
mirror synchronize objects to a remote site
|
||||
find search for objects
|
||||
sql run sql queries on objects
|
||||
stat stat contents of objects
|
||||
diff list differences in object name, size, and date between buckets
|
||||
rm remove objects
|
||||
event manage object notifications
|
||||
watch watch for object events
|
||||
policy manage anonymous access to objects
|
||||
admin manage minio servers
|
||||
session manage saved sessions for cp command
|
||||
config manage mc configuration file
|
||||
update check for a new software update
|
||||
version print version info
|
||||
```
|
||||
|
||||
## Docker Container
|
||||
@@ -185,7 +187,7 @@ source /etc/bash_completion.d/mc
|
||||
```sh
|
||||
mc <TAB>
|
||||
admin config diff ls mirror policy session update watch
|
||||
cat cp events mb pipe rm share version
|
||||
cat cp event mb pipe rm share version
|
||||
```
|
||||
|
||||
## Explore Further
|
||||
|
||||
@@ -252,7 +252,7 @@ Skip SSL certificate verification.
|
||||
|[**cp** - Copy objects](#cp) | [**rm** - Remove objects](#rm) | [**pipe** - Pipe to an object](#pipe) |
|
||||
| [**share** - Share access](#share) |[**mirror** - Mirror buckets](#mirror) | [**find** - Find files and objects](#find) |
|
||||
| [**diff** - Diff buckets](#diff) |[**policy** - Set public policy on bucket or prefix](#policy) |[**session** - Manage saved sessions](#session) |
|
||||
| [**config** - Manage config file](#config) | [**watch** - Watch for events](#watch) | [**events** - Manage events on your buckets](#events) |
|
||||
| [**config** - Manage config file](#config) | [**watch** - Watch for events](#watch) | [**event** - Manage events on your buckets](#event) |
|
||||
| [**update** - Manage software updates](#update) | [**version** - Show version](#version) | [**stat** - Stat contents of objects and folders](#stat) |
|
||||
|
||||
|
||||
@@ -662,13 +662,13 @@ mc watch ~/Photos
|
||||
[2016-08-17T17:54:19.565Z] 7.5MiB ObjectCreated /home/minio/Downloads/tmp/8771468997_89b762d104_o.jpg
|
||||
```
|
||||
|
||||
<a name="events"></a>
|
||||
### Command `events` - Manage bucket event notification.
|
||||
``events`` provides a convenient way to configure various types of event notifications on a bucket. Minio event notification can be configured to use AMQP, Redis, ElasticSearch, NATS and PostgreSQL services. Minio configuration provides more details on how these services can be configured.
|
||||
<a name="event"></a>
|
||||
### Command `event` - Manage bucket event notification.
|
||||
``event`` provides a convenient way to configure various types of event notifications on a bucket. Minio event notification can be configured to use AMQP, Redis, ElasticSearch, NATS and PostgreSQL services. Minio configuration provides more details on how these services can be configured.
|
||||
|
||||
```sh
|
||||
USAGE:
|
||||
mc events COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...]
|
||||
mc event COMMAND [COMMAND FLAGS | -h] [ARGUMENTS...]
|
||||
|
||||
COMMANDS:
|
||||
add Add a new bucket notification.
|
||||
@@ -682,14 +682,14 @@ FLAGS:
|
||||
*Example: List all configured bucket notifications*
|
||||
|
||||
```sh
|
||||
mc events list play/andoria
|
||||
mc event list play/andoria
|
||||
MyTopic arn:minio:sns:us-east-1:1:TestTopic s3:ObjectCreated:*,s3:ObjectRemoved:* suffix:.jpg
|
||||
```
|
||||
|
||||
*Example: Add a new 'sqs' notification resource only to notify on ObjectCreated event*
|
||||
|
||||
```sh
|
||||
mc events add play/andoria arn:minio:sqs:us-east-1:1:your-queue --events put
|
||||
mc event add play/andoria arn:minio:sqs:us-east-1:1:your-queue --events put
|
||||
```
|
||||
|
||||
*Example: Add a new 'sqs' notification resource with filters*
|
||||
@@ -697,13 +697,13 @@ mc events add play/andoria arn:minio:sqs:us-east-1:1:your-queue --events put
|
||||
Add `prefix` and `suffix` filtering rules for `sqs` notification resource.
|
||||
|
||||
```sh
|
||||
mc events add play/andoria arn:minio:sqs:us-east-1:1:your-queue --prefix photos/ --suffix .jpg
|
||||
mc event add play/andoria arn:minio:sqs:us-east-1:1:your-queue --prefix photos/ --suffix .jpg
|
||||
```
|
||||
|
||||
*Example: Remove a 'sqs' notification resource*
|
||||
|
||||
```sh
|
||||
mc events remove play/andoria arn:minio:sqs:us-east-1:1:your-queue
|
||||
mc event remove play/andoria arn:minio:sqs:us-east-1:1:your-queue
|
||||
```
|
||||
|
||||
<a name="policy"></a>
|
||||
|
||||
Reference in New Issue
Block a user