diff --git a/cat-main.go b/cat-main.go index a0b754a7..e1c21a99 100644 --- a/cat-main.go +++ b/cat-main.go @@ -51,8 +51,11 @@ EXAMPLES: $ mc {{.Name}} s3/andoria/本語 > /tmp/本語 5. Behave like operating system tool ‘cat’, used for shell aliases. - $ echo "Hello, World!" | mc --mimic cat + $ echo "Hello, World!" | mc --mimic {{.Name}} Hello, World! + + 6. Concantenate an object with space characters from Amazon S3 cloud storage. + $ mc {{.Name}} 's3/miniocloud/Readme First.txt' | head -1 `, } diff --git a/ls-main.go b/ls-main.go index 86389e84..05f0801e 100644 --- a/ls-main.go +++ b/ls-main.go @@ -54,20 +54,18 @@ EXAMPLES: 4. List files with non english characters on Amazon S3 cloud storage. $ mc ls s3/andoria/本... - [2015-05-19 17:21:49 PDT] 41B 本語.pdf [2015-05-19 17:24:19 PDT] 41B 本語.txt [2015-05-19 17:28:22 PDT] 41B 本語.md 5. List files with space characters on Amazon S3 cloud storage. $ mc ls 's3/miniocloud/Community Files/' - [2015-05-19 17:21:49 PDT] 41B 本語.pdf [2015-05-19 17:24:19 PDT] 41B 本語.txt [2015-05-19 17:28:22 PDT] 41B 本語.md 6. Behave like operating system tool ‘ls’, used for shell aliases. $ mc --mimic ls - ... [2015-05-19 17:28:22 PDT] 41B 本語.md + `, } diff --git a/mb-main.go b/mb-main.go index b0132717..81ad9bac 100644 --- a/mb-main.go +++ b/mb-main.go @@ -41,8 +41,8 @@ EXAMPLES: 1. Create a bucket on Amazon S3 cloud storage. $ mc {{.Name}} https://s3.amazonaws.com/public-document-store - 3. Make a folder on local filesystem, including its parent folders as needed. - $ mc {{.Name}} "My Documents" + 3. Make a folder on local filesystem with space characters + $ mc {{.Name}} 'My Documents' 3. Create a bucket on Minio cloud storage. $ mc {{.Name}} https://play.minio.io:9000/mongodb-backup diff --git a/share-main.go b/share-main.go index 911ba71b..7b121e1b 100644 --- a/share-main.go +++ b/share-main.go @@ -52,6 +52,9 @@ EXAMPLES: 3. Generate list of URLs for sharing a folder recursively, with expiration of 5 days each. $ mc {{.Name}} https://s3.amazonaws.com/backup... 120h + 4. Generate URL with space characters for sharing, with an expiry of 5 seconds. + $ mc {{.Name}} s3/miniocloud/nothing-like-anything 5s + `, }