Merge pull request #1081 from harshavardhana/documentation
Update documentation for mb, cp, mirror for files and folders with sp…
This commit is contained in:
+4
-1
@@ -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
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+1
-3
@@ -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
|
||||
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user