Doc: Replaced HTML table to Markdown in minio-client-complete-guide.md (#1801)

This commit is contained in:
koolhead17
2016-08-19 13:46:13 -07:00
committed by Harshavardhana
parent 6e943832d5
commit e25f1ee72f
2 changed files with 89 additions and 179 deletions
+9 -99
View File
@@ -246,105 +246,15 @@ Use this option to set a custom config path.
## 7. Commands
<table>
<tbody>
<tr>
<td align="left">
<a href="#ls">
<strong>ls</strong> - List buckets and objects
</a>
</td>
<td align="left">
<a href="#mb">
<strong>mb</strong> - Make a bucket
</a>
</td>
<td align="left">
<a href="#cat">
<strong>cat</strong> - Concatenate an object
</a>
</td>
</tr>
<tr>
<td align="left">
<a href="#cp">
<strong>cp</strong> - Copy objects
</a>
</td>
<td align="left">
<a href="#rm">
<strong>rm</strong> - Remove objects
</a>
</td>
<td align="left">
<a href="#pipe">
<strong>pipe</strong> - Pipe to an object
</a>
</td>
</tr>
<tr>
<td align="left">
<a href="#share">
<strong>share</strong> - Share access
</a>
</td>
<td align="left">
<a href="#mirror">
<strong>mirror</strong> - Mirror buckets
</a>
</td>
<td align="left">
<a href="#diff">
<strong>diff</strong> - Diff buckets
</a>
</td>
</tr>
<tr>
<td align="left">
<a href="#policy">
<strong>policy</strong> - Set public policy on bucket or prefix
</a>
</td>
<td align="left">
<a href="#session">
<strong>session</strong> - Manage saved sessions
</a>
</td>
<td align="left">
<a href="#config">
<strong>config</strong> - Manage config file
</a>
</td>
</tr>
<tr>
<td align="left">
<a href="#watch">
<strong>watch</strong> - Watch for events
</a>
</td>
<td align="left">
<a href="#events">
<strong>events</strong> - Manage events on your buckets.
</a>
</td>
</tr>
<tr>
<td align="left">
<a href="#update">
<strong>update</strong> - Manage software updates
</a>
</td>
<td align="left">
<a href="#version">
<strong>version</strong> - Show version
</a>
</td>
<td>
</td>
</tr>
</tbody>
</table>
<a name="ls"> </a>
| | | |
|:---|:---|:---|
|[**ls** - List buckets and objects](#ls) |[**mb** - Make a bucket](#mb) | [**cat** - Concatenate an object](#cat) |
|[**cp** - Copy objects](#cp) | [**rm** - Remove objects](#rm) | [**pipe** - Pipe to an object](#pipe) |
| [**share** - Share access](#share) |[**mirror** - Mirror buckets](#mirror) |[**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) | |
| [**update** - Manage software updates](#update) | [**version** - Show version](#version) | |
### Command `ls` - List Objects
+80 -80
View File
@@ -1,80 +1,80 @@
# Minio Client configuration files Guide [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/minio/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
In this document we will walk you through the configuration files of Minio Client.
## Minio Client configuration directory
Minio Client configurations are stored in file name ``.mc``. It is a hidden file which resides on user's home directory.
**This how the structure of the directory looks like:**
```sh
$ tree ~/.mc
/home/supernova/.mc
├── config.json
├── session
└── share
2 directories, 5 files
```
### Files and directories
#### ``session`` directory
``session`` directory keeps metadata information of all incomplete upload or mirror. You can run ``$ mc session list`` to list the same.
#### ``config.json``
config.json is the configuration file for Minio Client, it gets generated after you install and start Minio. All the credentials, endpoint information we add via ``$ mc config host`` are stored/modified here.
```sh
$ cat config.json
{
"version": "8",
"hosts": {
"XL": {
"url": "http://127.0.0.1:9000",
"accessKey": "YI7S1CKXB76RGOGT6R8W",
"secretKey": "FJ9PWUVNXGPfiI72WMRFepN3LsFgW3MjsxSALroV",
"api": "S3v4"
},
"fs": {
"url": "http://127.0.0.1:9000",
"accessKey": "YI7S1CKXB76RGOGT6R8W",
"secretKey": "FJ9PWUVNXGPfiI72WMRFepN3LsFgW3MjsxSALroV",
"api": "S3v4"
},
"gcs": {
"url": "https://storage.googleapis.com",
"accessKey": "YOUR-ACCESS-KEY-HERE",
"secretKey": "YOUR-SECRET-KEY-HERE",
"api": "S3v2"
},
"play": {
"url": "https://play.minio.io:9000",
"accessKey": "Q3AM3UQ867SPQQA43P2F",
"secretKey": "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG",
"api": "S3v4"
},
"s3": {
"url": "https://s3.amazonaws.com",
"accessKey": "YOUR-ACCESS-KEY-HERE",
"secretKey": "YOUR-SECRET-KEY-HERE",
"api": "S3v4"
}
}
}
```
``version`` tells the version of the file.
``hosts`` stores authenctication credentials which will be used by Minio Client.
#### ``config.json.old``
This file keeps previous config file version details.
#### ``share`` directory
``share`` directory keeps metadata information of all upload and download URL for objects which is used by Minio client ``$ mc share`` command.
## Explore Further
* [Minio Client Complete Guide](https://docs.minio.io/docs/minio-client-complete-guide)
# Minio Client configuration files Guide [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/minio/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
In this document we will walk you through the configuration files of Minio Client.
## Minio Client configuration directory
Minio Client configurations are stored in file name ``.mc``. It is a hidden file which resides on user's home directory.
**This how the structure of the directory looks like:**
```sh
$ tree ~/.mc
/home/supernova/.mc
├── config.json
├── session
└── share
2 directories, 5 files
```
### Files and directories
#### ``session`` directory
``session`` directory keeps metadata information of all incomplete upload or mirror. You can run ``$ mc session list`` to list the same.
#### ``config.json``
config.json is the configuration file for Minio Client, it gets generated after you install and start Minio. All the credentials, endpoint information we add via ``$ mc config host`` are stored/modified here.
```sh
$ cat config.json
{
"version": "8",
"hosts": {
"XL": {
"url": "http://127.0.0.1:9000",
"accessKey": "YI7S1CKXB76RGOGT6R8W",
"secretKey": "FJ9PWUVNXGPfiI72WMRFepN3LsFgW3MjsxSALroV",
"api": "S3v4"
},
"fs": {
"url": "http://127.0.0.1:9000",
"accessKey": "YI7S1CKXB76RGOGT6R8W",
"secretKey": "FJ9PWUVNXGPfiI72WMRFepN3LsFgW3MjsxSALroV",
"api": "S3v4"
},
"gcs": {
"url": "https://storage.googleapis.com",
"accessKey": "YOUR-ACCESS-KEY-HERE",
"secretKey": "YOUR-SECRET-KEY-HERE",
"api": "S3v2"
},
"play": {
"url": "https://play.minio.io:9000",
"accessKey": "Q3AM3UQ867SPQQA43P2F",
"secretKey": "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG",
"api": "S3v4"
},
"s3": {
"url": "https://s3.amazonaws.com",
"accessKey": "YOUR-ACCESS-KEY-HERE",
"secretKey": "YOUR-SECRET-KEY-HERE",
"api": "S3v4"
}
}
}
```
``version`` tells the version of the file.
``hosts`` stores authenctication credentials which will be used by Minio Client.
#### ``config.json.old``
This file keeps previous config file version details.
#### ``share`` directory
``share`` directory keeps metadata information of all upload and download URL for objects which is used by Minio client ``$ mc share`` command.
## Explore Further
* [Minio Client Complete Guide](https://docs.minio.io/docs/minio-client-complete-guide)