273 lines
6.8 KiB
HTML
273 lines
6.8 KiB
HTML
<!DOCTYPE html>
|
|
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Minio Client Documentation</title>
|
|
|
|
|
|
|
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
|
|
|
<link rel="stylesheet" href="./css/theme.css" type="text/css" />
|
|
<link rel="stylesheet" href="./css/theme_extra.css" type="text/css" />
|
|
<link rel="stylesheet" href="./css/highlight.css">
|
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
|
|
<script type="text/javascript" src="./js/highlight.pack.js"></script>
|
|
<script src="./js/theme.js"></script>
|
|
<script src="./sdks/js/example-bucket-policy.js"></script>
|
|
<script src="./sdks/js/example-list.js"></script>
|
|
|
|
<style>
|
|
body {font-size: 90%;}
|
|
pre, code {font-size: 100%;}
|
|
h3, h4, h5, h6 {color: #2980b9; font-weight: 300}
|
|
</style>
|
|
</head>
|
|
|
|
<body class="wy-body-for-nav" role="document">
|
|
|
|
<div class="wy-grid-for-nav">
|
|
|
|
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
|
|
<div class="wy-side-nav-search">
|
|
<a href="." class="icon icon-home"> Minio Client Documentation</a>
|
|
|
|
</div>
|
|
|
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
|
<ul class="current">
|
|
|
|
|
|
<span>Commands</span>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="commands/config/">config</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="commands/ls/">ls</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="commands/cp/">cp</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="commands/mb/">mb</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
<span>SDKs</span>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="sdks/js/javascript/">Js</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="sdks/python/python/">Python</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="sdks/ruby/ruby/">Ruby</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="contributing/">Contributing</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="debugging/">Debugging</a>
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
|
|
|
|
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
|
|
<i data-toggle="wy-nav-top" class="icon icon-reorder"></i>
|
|
<a href="."></a>
|
|
</nav>
|
|
|
|
|
|
<div class="wy-nav-content">
|
|
<div class="rst-content">
|
|
<div role="navigation" aria-label="breadcrumbs navigation">
|
|
<ul class="wy-breadcrumbs">
|
|
<li><a href=".">Docs</a> »</li>
|
|
<li>Index</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main">
|
|
<div class="section">
|
|
<h1 id="minio-client">Minio Client</h1>
|
|
<p>mc - Minio Client for S3 Compatible Object Storage released under <a href="././LICENSE">Apache license v2</a>.</p>
|
|
<h2 id="install">Install</h2>
|
|
<pre><code># go get github.com/minio-io/mc
|
|
</code></pre>
|
|
|
|
<h2 id="usage">Usage</h2>
|
|
<h3 id="commands">Commands</h3>
|
|
<pre><code>$ mc help
|
|
|
|
NAME:
|
|
mc - Minio Client for S3 Compatible Object Storage
|
|
|
|
USAGE:
|
|
mc [global options] command [command options] [arguments...]
|
|
|
|
VERSION:
|
|
<---- GIT COMMIT ID ---->
|
|
|
|
BUILD:
|
|
<---- BUILD TIME ---->
|
|
|
|
COMMANDS:
|
|
cp copy objects and files
|
|
ls list files and objects
|
|
mb makes a bucket
|
|
config Generate configuration "/home/alexa/.mc/config.json" file.
|
|
|
|
GLOBAL OPTIONS:
|
|
--debug enable HTTP tracing
|
|
--quiet, -q disable chatty output, such as the progress bar
|
|
--version, -v print the version
|
|
|
|
</code></pre>
|
|
|
|
<h2 id="contribute">Contribute</h2>
|
|
<p><a href="contributing/">Contribute to mc</a></p>
|
|
<h3 id="supported-platforms">Supported platforms</h3>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Supported</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>Linux</td>
|
|
<td>Yes</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Windows</td>
|
|
<td>Yes</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Mac OSX</td>
|
|
<td>Yes</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="supported-architectures">Supported architectures</h3>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Arch</th>
|
|
<th>Supported</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>x86-64</td>
|
|
<td>Yes</td>
|
|
</tr>
|
|
<tr>
|
|
<td>arm64</td>
|
|
<td>Not yet</td>
|
|
</tr>
|
|
<tr>
|
|
<td>i386</td>
|
|
<td>Not yet</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h3 id="enable-bash-completion">Enable bash completion</h3>
|
|
<p>To generate bash completion for <code>mc</code> all you have to do is</p>
|
|
<pre><code>$ mc config --completion
|
|
|
|
Configuration written to /home/user/.mc/mc.bash_completion
|
|
|
|
$ source ${HOME}/.mc/mc.bash_completion
|
|
$ echo 'source ${HOME}/.mc/mc.bash_completion' >> ${HOME}/.bashrc
|
|
|
|
</code></pre>
|
|
|
|
<pre><code>$ mc <TAB><TAB>
|
|
config cp h help ls mb
|
|
</code></pre>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<footer>
|
|
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
|
|
|
<a href="commands/config/" class="btn btn-neutral float-right" title="config"/>Next <span class="icon icon-circle-arrow-right"></span></a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<p>
|
|
<!-- Copyright etc -->
|
|
</p>
|
|
</div>
|
|
|
|
Built with <a href="http://www.mkdocs.org">MkDocs</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
</footer>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="rst-versions" role="note" style="cursor: pointer">
|
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
|
|
|
<span><a href="" style="color: #fcfcfc;">« Previous</a></span>
|
|
<span style="margin-left: 15px"><a href="commands/config/" style="color: #fcfcfc">Next »</a></span>
|
|
</span>
|
|
</div>
|
|
</body>
|
|
</html> |