Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Version v1.57.0

Nick Craig-Wood169990e270b2
diff --git a/MANUAL.html b/MANUAL.html
index db69f2569..51a73d999 100644
--- a/MANUAL.html
+++ b/MANUAL.html
@@ -12,12 +12,75 @@
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
</style>
+ <style type="text/css">
+a.sourceLine { display: inline-block; line-height: 1.25; }
+a.sourceLine { pointer-events: none; color: inherit; text-decoration: inherit; }
+a.sourceLine:empty { height: 1.2em; }
+.sourceCode { overflow: visible; }
+code.sourceCode { white-space: pre; position: relative; }
+div.sourceCode { margin: 1em 0; }
+pre.sourceCode { margin: 0; }
+@media screen {
+div.sourceCode { overflow: auto; }
+}
+@media print {
+code.sourceCode { white-space: pre-wrap; }
+a.sourceLine { text-indent: -1em; padding-left: 1em; }
+}
+pre.numberSource a.sourceLine
+ { position: relative; left: -4em; }
+pre.numberSource a.sourceLine::before
+ { content: attr(title);
+ position: relative; left: -1em; text-align: right; vertical-align: baseline;
+ border: none; pointer-events: all; display: inline-block;
+ -webkit-touch-callout: none; -webkit-user-select: none;
+ -khtml-user-select: none; -moz-user-select: none;
+ -ms-user-select: none; user-select: none;
+ padding: 0 4px; width: 4em;
+ color: #aaaaaa;
+ }
+pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
+div.sourceCode
+ { }
+@media screen {
+a.sourceLine::before { text-decoration: underline; }
+}
+code span.al { color: #ff0000; font-weight: bold; } /* Alert */
+code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
+code span.at { color: #7d9029; } /* Attribute */
+code span.bn { color: #40a070; } /* BaseN */
+code span.bu { } /* BuiltIn */
+code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
+code span.ch { color: #4070a0; } /* Char */
+code span.cn { color: #880000; } /* Constant */
+code span.co { color: #60a0b0; font-style: italic; } /* Comment */
+code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
+code span.do { color: #ba2121; font-style: italic; } /* Documentation */
+code span.dt { color: #902000; } /* DataType */
+code span.dv { color: #40a070; } /* DecVal */
+code span.er { color: #ff0000; font-weight: bold; } /* Error */
+code span.ex { } /* Extension */
+code span.fl { color: #40a070; } /* Float */
+code span.fu { color: #06287e; } /* Function */
+code span.im { } /* Import */
+code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
+code span.kw { color: #007020; font-weight: bold; } /* Keyword */
+code span.op { color: #666666; } /* Operator */
+code span.ot { color: #007020; } /* Other */
+code span.pp { color: #bc7a00; } /* Preprocessor */
+code span.sc { color: #4070a0; } /* SpecialChar */
+code span.ss { color: #bb6688; } /* SpecialString */
+code span.st { color: #4070a0; } /* String */
+code span.va { color: #19177c; } /* Variable */
+code span.vs { color: #4070a0; } /* VerbatimString */
+code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
+ </style>
</head>
<body>
<header id="title-block-header">
<h1 class="title">rclone(1) User Manual</h1>
<p class="author">Nick Craig-Wood</p>
-<p class="date">Jul 20, 2021</p>
+<p class="date">Nov 01, 2021</p>
</header>
<h1 id="rclone-syncs-your-files-to-cloud-storage">Rclone syncs your files to cloud storage</h1>
<p><img width="50%" src="https://rclone.org/img/logo_on_light__horizontal_color.svg" alt="rclone logo" style="float:right; padding: 5px;" ></p>
@@ -35,7 +98,7 @@
<p>Rclone has powerful cloud equivalents to the unix commands rsync, cp, mv, mount, ls, ncdu, tree, rm, and cat. Rclone's familiar syntax includes shell pipeline support, and <code>--dry-run</code> protection. It is used at the command line, in scripts or via its <a href="/rc">API</a>.</p>
<p>Users call rclone <em>"The Swiss army knife of cloud storage"</em>, and <em>"Technology indistinguishable from magic"</em>.</p>
<p>Rclone really looks after your data. It preserves timestamps and verifies checksums at all times. Transfers over limited bandwidth; intermittent connections, or subject to quota can be restarted, from the last good file transferred. You can <a href="https://rclone.org/commands/rclone_check/">check</a> the integrity of your files. Where possible, rclone employs server-side transfers to minimise local bandwidth use and transfers from one provider to another without using local disk.</p>
-<p>Virtual backends wrap local and cloud file systems to apply <a href="https://rclone.org/crypt/">encryption</a>, <a href="https://rclone.org/compress/">compression</a> <a href="https://rclone.org/chunker/">chunking</a> and <a href="https://rclone.org/union/">joining</a>.</p>
+<p>Virtual backends wrap local and cloud file systems to apply <a href="https://rclone.org/crypt/">encryption</a>, <a href="https://rclone.org/compress/">compression</a>, <a href="https://rclone.org/chunker/">chunking</a>, <a href="https://rclone.org/hasher/">hashing</a> and <a href="https://rclone.org/union/">joining</a>.</p>
<p>Rclone <a href="https://rclone.org/commands/rclone_mount/">mounts</a> any local, cloud or virtual filesystem as a disk on Windows, macOS, linux and FreeBSD, and also serves these over <a href="https://rclone.org/commands/rclone_serve_sftp/">SFTP</a>, <a href="https://rclone.org/commands/rclone_serve_http/">HTTP</a>, <a href="https://rclone.org/commands/rclone_serve_webdav/">WebDAV</a>, <a href="https://rclone.org/commands/rclone_serve_ftp/">FTP</a> and <a href="https://rclone.org/commands/rclone_serve_dlna/">DLNA</a>.</p>
<p>Rclone is mature, open source software originally inspired by rsync and written in <a href="https://golang.org">Go</a>. The friendly support community are familiar with varied use cases. Official Ubuntu, Debian, Fedora, Brew and Chocolatey repos. include rclone. For the latest version <a href="https://rclone.org/downloads/">downloading from rclone.org</a> is recommended.</p>
<p>Rclone is widely used on Linux, Windows and Mac. Third party developers create innovative backup, restore, GUI and business process solutions using the rclone command line or API.</p>
@@ -118,6 +181,7 @@
<li>Seafile</li>
<li>SeaweedFS</li>
<li>SFTP</li>
+<li>Sia</li>
<li>StackPath</li>
<li>SugarSync</li>
<li>Tardigrade</li>
@@ -141,12 +205,12 @@
<h2 id="quickstart">Quickstart</h2>
<ul>
<li><a href="https://rclone.org/downloads/">Download</a> the relevant binary.</li>
-<li>Extract the <code>rclone</code> or <code>rclone.exe</code> binary from the archive</li>
+<li>Extract the <code>rclone</code> executable, <code>rclone.exe</code> on Windows, from the archive.</li>
<li>Run <code>rclone config</code> to setup. See <a href="https://rclone.org/docs/">rclone config docs</a> for more details.</li>
<li>Optionally configure <a href="#autostart">automatic execution</a>.</li>
</ul>
<p>See below for some expanded Linux / macOS instructions.</p>
-<p>See the <a href="https://rclone.org/docs/#usage">Usage section</a> of the docs for how to use rclone, or run <code>rclone -h</code>.</p>
+<p>See the <a href="https://rclone.org/docs/">usage</a> docs for how to use rclone, or run <code>rclone -h</code>.</p>
<p>Already installed rclone can be easily updated to the latest version using the <a href="https://rclone.org/commands/rclone_selfupdate/">rclone selfupdate</a> command.</p>
<h2 id="script-installation">Script installation</h2>
<p>To install rclone on Linux/macOS/BSD systems, run:</p>
@@ -171,6 +235,7 @@ sudo mandb </code></pre>
<pre><code>rclone config</code></pre>
<h2 id="macos-installation-with-brew">macOS installation with brew</h2>
<pre><code>brew install rclone</code></pre>
+<p>NOTE: This version of rclone will not support <code>mount</code> any more (see <a href="https://github.com/rclone/rclone/issues/5373">#5373</a>). If mounting is wanted on macOS, either install a precompiled binary or enable the relevant option when <a href="#install-from-source">installing from source</a>.</p>
<h2 id="macos-installation-from-precompiled-binary-using-curl">macOS installation from precompiled binary, using curl</h2>
<p>To avoid problems with macOS gatekeeper enforcing the binary to be signed and notarized it is enough to download with <code>curl</code>.</p>
<p>Download the latest version of rclone.</p>
@@ -239,11 +304,12 @@ docker run --rm \
ls ~/data/mount
kill %1</code></pre>
<h2 id="install-from-source">Install from source</h2>
-<p>Make sure you have at least <a href="https://golang.org/">Go</a> go1.13 installed. <a href="https://golang.org/dl/">Download go</a> if necessary. The latest release is recommended. Then</p>
-<pre><code>git clone https://github.com/rclone/rclone.git
-cd rclone
-go build
-./rclone version</code></pre>
+<p>Make sure you have at least <a href="https://golang.org/">Go</a> go1.14 installed. <a href="https://golang.org/dl/">Download go</a> if necessary. The latest release is recommended. Then</p>
+<div class="sourceCode" id="cb17"><pre class="sourceCode sh"><code class="sourceCode bash"><a class="sourceLine" id="cb17-1" title="1"><span class="fu">git</span> clone https://github.com/rclone/rclone.git</a>
+<a class="sourceLine" id="cb17-2" title="2"><span class="bu">cd</span> rclone</a>
+<a class="sourceLine" id="cb17-3" title="3"><span class="ex">go</span> build</a>
+<a class="sourceLine" id="cb17-4" title="4"><span class="co"># If on macOS and mount is wanted, instead run: make GOTAGS=cmount</span></a>
+<a class="sourceLine" id="cb17-5" title="5"><span class="ex">./rclone</span> version</a></code></pre></div>
<p>This will leave you a checked out version of rclone you can modify and send pull requests with. If you use <code>make</code> instead of <code>go build</code> then the rclone build will have the correct version information in it.</p>
<p>You can also build the latest stable rclone with:</p>
<pre><code>go get github.com/rclone/rclone</code></pre>
@@ -260,38 +326,44 @@ go build
<pre><code> - hosts: rclone-hosts
roles:
- rclone</code></pre>
-<h1 id="autostart">Autostart</h1>
+<h2 id="portable-installation">Portable installation</h2>
+<p>As mentioned <a href="https://rclone.org/install/#quickstart">above</a>, rclone is single executable (<code>rclone</code>, or <code>rclone.exe</code> on Windows) that you can download as a zip archive and extract into a location of your choosing. When executing different commands, it may create files in different locations, such as a configuration file and various temporary files. By default the locations for these are according to your operating system, e.g. configuration file in your user profile directory and temporary files in the standard temporary directory, but you can customize all of them, e.g. to make a completely self-contained, portable installation.</p>
+<p>Run the <a href="https://rclone.org/commands/rclone_config_paths/">config paths</a> command to see the locations that rclone will use.</p>
+<p>To override them set the corresponding options (as command-line arguments, or as <a href="https://rclone.org/docs/#environment-variables">environment variables</a>): - <a href="https://rclone.org/docs/#config-config-file">--config</a> - <a href="https://rclone.org/docs/#cache-dir-dir">--cache-dir</a> - <a href="https://rclone.org/docs/#temp-dir-dir">--temp-dir</a></p>
+<h2 id="autostart">Autostart</h2>
<p>After installing and configuring rclone, as described above, you are ready to use rclone as an interactive command line utility. If your goal is to perform <em>periodic</em> operations, such as a regular <a href="https://rclone.org/commands/rclone_sync/">sync</a>, you will probably want to configure your rclone command in your operating system's scheduler. If you need to expose <em>service</em>-like features, such as <a href="https://rclone.org/rc/">remote control</a>, <a href="https://rclone.org/gui/">GUI</a>, <a href="https://rclone.org/commands/rclone_serve/">serve</a> or <a href="https://rclone.org/commands/rclone_move/">mount</a>, you will often want an rclone command always running in the background, and configuring it to run in a service infrastructure may be a better option. Below are some alternatives on how to achieve this on different operating systems.</p>
<p>NOTE: Before setting up autorun it is highly recommended that you have tested your command manually from a Command Prompt first.</p>
-<h2 id="autostart-on-windows">Autostart on Windows</h2>
+<h3 id="autostart-on-windows">Autostart on Windows</h3>
<p>The most relevant alternatives for autostart on Windows are: - Run at user log on using the Startup folder - Run at user log on, at system startup or at schedule using Task Scheduler - Run at system startup using Windows service</p>
-<h3 id="running-in-background">Running in background</h3>
+<h4 id="running-in-background">Running in background</h4>
<p>Rclone is a console application, so if not starting from an existing Command Prompt, e.g. when starting rclone.exe from a shortcut, it will open a Command Prompt window. When configuring rclone to run from task scheduler and windows service you are able to set it to run hidden in background. From rclone version 1.54 you can also make it run hidden from anywhere by adding option <code>--no-console</code> (it may still flash briefly when the program starts). Since rclone normally writes information and any error messages to the console, you must redirect this to a file to be able to see it. Rclone has a built-in option <code>--log-file</code> for that.</p>
<p>Example command to run a sync in background:</p>
<pre><code>c:\rclone\rclone.exe sync c:\files remote:/files --no-console --log-file c:\rclone\logs\sync_files.txt</code></pre>
-<h3 id="user-account">User account</h3>
+<h4 id="user-account">User account</h4>
<p>As mentioned in the <a href="https://rclone.org/commands/rclone_move/">mount</a> documentation, mounted drives created as Administrator are not visible to other accounts, not even the account that was elevated as Administrator. By running the mount command as the built-in <code>SYSTEM</code> user account, it will create drives accessible for everyone on the system. Both scheduled task and Windows service can be used to achieve this.</p>
<p>NOTE: Remember that when rclone runs as the <code>SYSTEM</code> user, the user profile that it sees will not be yours. This means that if you normally run rclone with configuration file in the default location, to be able to use the same configuration when running as the system user you must explicitely tell rclone where to find it with the <a href="https://rclone.org/docs/#config-config-file"><code>--config</code></a> option, or else it will look in the system users profile path (<code>C:\Windows\System32\config\systemprofile</code>). To test your command manually from a Command Prompt, you can run it with the <a href="https://docs.microsoft.com/en-us/sysinternals/downloads/psexec">PsExec</a> utility from Microsoft's Sysinternals suite, which takes option <code>-s</code> to execute commands as the <code>SYSTEM</code> user.</p>
-<h3 id="start-from-startup-folder">Start from Startup folder</h3>
+<h4 id="start-from-startup-folder">Start from Startup folder</h4>
<p>To quickly execute an rclone command you can simply create a standard Windows Explorer shortcut for the complete rclone command you want to run. If you store this shortcut in the special "Startup" start-menu folder, Windows will automatically run it at login. To open this folder in Windows Explorer, enter path <code>%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup</code>, or <code>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp</code> if you want the command to start for <em>every</em> user that logs in.</p>
<p>This is the easiest approach to autostarting of rclone, but it offers no functionality to set it to run as different user, or to set conditions or actions on certain events. Setting up a scheduled task as described below will often give you better results.</p>
-<h3 id="start-from-task-scheduler">Start from Task Scheduler</h3>
+<h4 id="start-from-task-scheduler">Start from Task Scheduler</h4>
<p>Task Scheduler is an administrative tool built into Windows, and it can be used to configure rclone to be started automatically in a highly configurable way, e.g. periodically on a schedule, on user log on, or at system startup. It can run be configured to run as the current user, or for a mount command that needs to be available to all users it can run as the <code>SYSTEM</code> user. For technical information, see https://docs.microsoft.com/windows/win32/taskschd/task-scheduler-start-page.</p>
-<h3 id="run-as-service">Run as service</h3>
+<h4 id="run-as-service">Run as service</h4>
<p>For running rclone at system startup, you can create a Windows service that executes your rclone command, as an alternative to scheduled task configured to run at startup.</p>
-<h4 id="mount-command-built-in-service-integration">Mount command built-in service integration</h4>
+<h5 id="mount-command-built-in-service-integration">Mount command built-in service integration</h5>
<p>For mount commands, Rclone has a built-in Windows service integration via the third party WinFsp library it uses. Registering as a regular Windows service easy, as you just have to execute the built-in PowerShell command <code>New-Service</code> (requires administrative privileges).</p>
<p>Example of a PowerShell command that creates a Windows service for mounting some <code>remote:/files</code> as drive letter <code>X:</code>, for <em>all</em> users (service will be running as the local system account):</p>
<pre><code>New-Service -Name Rclone -BinaryPathName &#39;c:\rclone\rclone.exe mount remote:/files X: --config c:\rclone\config\rclone.conf --log-file c:\rclone\logs\mount.txt&#39;</code></pre>
<p>The <a href="https://github.com/billziss-gh/winfsp/wiki/WinFsp-Service-Architecture">WinFsp service infrastructure</a> supports incorporating services for file system implementations, such as rclone, into its own launcher service, as kind of "child services". This has the additional advantage that it also implements a network provider that integrates into Windows standard methods for managing network drives. This is currently not officially supported by Rclone, but with WinFsp version 2019.3 B2 / v1.5B2 or later it should be possible through path rewriting as described <a href="https://github.com/rclone/rclone/issues/3340">here</a>.</p>
-<h4 id="third-party-service-integration">Third party service integration</h4>
+<h5 id="third-party-service-integration">Third party service integration</h5>
<p>To Windows service running any rclone command, the excellent third party utility <a href="http://nssm.cc">NSSM</a>, the "Non-Sucking Service Manager", can be used. It includes some advanced features such as adjusting process periority, defining process environment variables, redirect to file anything written to stdout, and customized response to different exit codes, with a GUI to configure everything from (although it can also be used from command line ).</p>
<p>There are also several other alternatives. To mention one more, <a href="https://github.com/winsw/winsw">WinSW</a>, "Windows Service Wrapper", is worth checking out. It requires .NET Framework, but it is preinstalled on newer versions of Windows, and it also provides alternative standalone distributions which includes necessary runtime (.NET 5). WinSW is a command-line only utility, where you have to manually create an XML file with service configuration. This may be a drawback for some, but it can also be an advantage as it is easy to back up and re-use the configuration settings, without having go through manual steps in a GUI. One thing to note is that by default it does not restart the service on error, one have to explicit enable this in the configuration file (via the "onfailure" parameter).</p>
-<h2 id="autostart-on-linux">Autostart on Linux</h2>
-<h3 id="start-as-a-service">Start as a service</h3>
+<h3 id="autostart-on-linux">Autostart on Linux</h3>
+<h4 id="start-as-a-service">Start as a service</h4>
<p>To always run rclone in background, relevant for mount commands etc, you can use systemd to set up rclone as a system or user service. Running as a system service ensures that it is run at startup even if the user it is running as has no active session. Running rclone as a user service ensures that it only starts after the configured user has logged into the system.</p>
-<h3 id="run-periodically-from-cron">Run periodically from cron</h3>
+<h4 id="run-periodically-from-cron">Run periodically from cron</h4>
<p>To run a periodic command, such as a copy/sync, you can set up a cron job.</p>
+<h1 id="usage">Usage</h1>
+<p>Rclone is a command line program to manage files on cloud storage. After <a href="https://rclone.org/downloads/">download</a> and <a href="/install">install</a>, continue here to learn how to use it: Initial <a href="#configure">configuration</a>, what the <a href="#basic-syntax">basic syntax</a> looks like, describes the various <a href="#subcommands">subcommands</a>, the various <a href="#options">options</a>, and more.</p>
<h2 id="configure">Configure</h2>
<p>First, you'll need to configure rclone. As the object storage systems have quite complicated authentication these are kept in a config file. (See the <a href="#config-config-file"><code>--config</code></a> entry for how to find the config file and choose its location.)</p>
<p>The easiest way to make the config is to run rclone with the config option:</p>
@@ -315,10 +387,11 @@ go build
<li><a href="https://rclone.org/googlecloudstorage/">Google Cloud Storage</a></li>
<li><a href="https://rclone.org/drive/">Google Drive</a></li>
<li><a href="https://rclone.org/googlephotos/">Google Photos</a></li>
+<li><a href="https://rclone.org/hasher/">Hasher</a> - to handle checksums for other remotes</li>
<li><a href="https://rclone.org/hdfs/">HDFS</a></li>
<li><a href="https://rclone.org/http/">HTTP</a></li>
<li><a href="https://rclone.org/hubic/">Hubic</a></li>
-<li><a href="https://rclone.org/jottacloud/">Jottacloud / GetSky.no</a></li>
+<li><a href="https://rclone.org/jottacloud/">Jottacloud</a></li>
<li><a href="https://rclone.org/koofr/">Koofr</a></li>
<li><a href="https://rclone.org/mailru/">Mail.ru Cloud</a></li>
<li><a href="https://rclone.org/mega/">Mega</a></li>
@@ -333,6 +406,7 @@ go build
<li><a href="https://rclone.org/qingstor/">QingStor</a></li>
<li><a href="https://rclone.org/seafile/">Seafile</a></li>
<li><a href="https://rclone.org/sftp/">SFTP</a></li>
+<li><a href="https://rclone.org/sia/">Sia</a></li>
<li><a href="https://rclone.org/sugarsync/">SugarSync</a></li>
<li><a href="https://rclone.org/tardigrade/">Tardigrade</a></li>
<li><a href="https://rclone.org/union/">Union</a></li>
@@ -342,7 +416,7 @@ go build
<li><a href="https://rclone.org/zoho/">Zoho WorkDrive</a></li>
<li><a href="https://rclone.org/local/">The local filesystem</a></li>
</ul>
-<h2 id="usage">Usage</h2>
+<h2 id="basic-syntax">Basic syntax</h2>
<p>Rclone syncs a directory tree from one storage system to another.</p>
<p>Its syntax is like this</p>
<pre><code>Syntax: [options] subcommand &lt;parameters&gt; &lt;parameters...&gt;</code></pre>
@@ -366,11 +440,12 @@ rclone sync -i /local/path remote:path # syncs /local/path to the remote</code><
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
<li><a href="https://rclone.org/commands/rclone_config_create/">rclone config create</a> - Create a new remote with name, type and options.</li>
-<li><a href="https://rclone.org/commands/rclone_config_delete/">rclone config delete</a> - Delete an existing remote <code>name</code>.</li>
+<li><a href="https://rclone.org/commands/rclone_config_delete/">rclone config delete</a> - Delete an existing remote.</li>
<li><a href="https://rclone.org/commands/rclone_config_disconnect/">rclone config disconnect</a> - Disconnects user from remote</li>
<li><a href="https://rclone.org/commands/rclone_config_dump/">rclone config dump</a> - Dump the config file as JSON.</li>
<li><a href="https://rclone.org/commands/rclone_config_file/">rclone config file</a> - Show path of configuration file in use.</li>
<li><a href="https://rclone.org/commands/rclone_config_password/">rclone config password</a> - Update password in an existing remote.</li>
+<li><a href="https://rclone.org/commands/rclone_config_paths/">rclone config paths</a> - Show paths used for configuration, cache, temp etc.</li>
<li><a href="https://rclone.org/commands/rclone_config_providers/">rclone config providers</a> - List in JSON format all the providers and options.</li>
<li><a href="https://rclone.org/commands/rclone_config_reconnect/">rclone config reconnect</a> - Re-authenticates user with remote.</li>
<li><a href="https://rclone.org/commands/rclone_config_show/">rclone config show</a> - Print (decrypted) config file, or the config for a single remote.</li>
@@ -379,9 +454,9 @@ rclone sync -i /local/path remote:path # syncs /local/path to the remote</code><
<li><a href="https://rclone.org/commands/rclone_config_userinfo/">rclone config userinfo</a> - Prints info about logged in user of remote.</li>
</ul>
<h1 id="rclone-copy">rclone copy</h1>
-<p>Copy files from source to dest, skipping already copied.</p>
+<p>Copy files from source to dest, skipping identical files.</p>
<h2 id="synopsis-1">Synopsis</h2>
-<p>Copy the source to the destination. Doesn't transfer unchanged files, testing by size and modification time or MD5SUM. Doesn't delete files from the destination.</p>
+<p>Copy the source to the destination. Does not transfer files that are identical on source and destination, testing by size and modification time or MD5SUM. Doesn't delete files from the destination.</p>
<p>Note that it is always the contents of the directory that is synced, not the directory so when source:path is a directory, it's the contents of source:path that are copied, not the directory name and contents.</p>
<p>If dest:path doesn't exist, it is created and the source:path contents go there.</p>
<p>For example</p>
@@ -413,7 +488,7 @@ destpath/sourcepath/two.txt</code></pre>
<h1 id="rclone-sync">rclone sync</h1>
<p>Make source and dest identical, modifying destination only.</p>
<h2 id="synopsis-2">Synopsis</h2>
-<p>Sync the source to the destination, changing the destination only. Doesn't transfer unchanged files, testing by size and modification time or MD5SUM. Destination is updated to match source, including deleting files if necessary (except duplicate objects, see below).</p>
+<p>Sync the source to the destination, changing the destination only. Doesn't transfer files that are identical on source and destination, testing by size and modification time or MD5SUM. Destination is updated to match source, including deleting files if necessary (except duplicate objects, see below).</p>
<p><strong>Important</strong>: Since this can cause data loss, test first with the <code>--dry-run</code> or the <code>--interactive</code>/<code>-i</code> flag.</p>
<pre><code>rclone sync -i SOURCE remote:DESTINATION</code></pre>
<p>Note that files in the destination won't be deleted if there were any errors at any point. Duplicate objects (files with the same name, on those providers that support it) are also not yet handled.</p>
@@ -530,7 +605,7 @@ rclone --dry-run --min-size 100M delete remote:path</code></pre>
<pre><code> -C, --checkfile string Treat source:path as a SUM file with hashes of given type
--combined string Make a combined report of changes to this file
--differ string Report all non-matching files to this file
- --download Check by downloading rather than with hash.
+ --download Check by downloading rather than with hash
--error string Report all files with errors (hashing or reading) to this file
-h, --help help for check
--match string Report all matching files to this file
@@ -603,7 +678,7 @@ rclone --dry-run --min-size 100M delete remote:path</code></pre>
<pre><code>rclone lsd remote:path [flags]</code></pre>
<h2 id="options-10">Options</h2>
<pre><code> -h, --help help for lsd
- -R, --recursive Recurse into the listing.</code></pre>
+ -R, --recursive Recurse into the listing</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
<h2 id="see-also-10">SEE ALSO</h2>
<ul>
@@ -679,7 +754,7 @@ rclone --dry-run --min-size 100M delete remote:path</code></pre>
<pre><code>rclone size remote:path [flags]</code></pre>
<h2 id="options-14">Options</h2>
<pre><code> -h, --help help for size
- --json format output as JSON</code></pre>
+ --json Format output as JSON</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
<h2 id="see-also-14">SEE ALSO</h2>
<ul>
@@ -714,7 +789,7 @@ beta: 1.42.0.5 (released 2018-06-17)
upgrade: https://beta.rclone.org/v1.42-005-g56e1e820</code></pre>
<pre><code>rclone version [flags]</code></pre>
<h2 id="options-15">Options</h2>
-<pre><code> --check Check for new version.
+<pre><code> --check Check for new version
-h, --help help for version</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
<h2 id="see-also-15">SEE ALSO</h2>
@@ -805,7 +880,7 @@ two-3.txt: renamed from: two.txt</code></pre>
<pre><code>rclone dedupe [mode] remote:path [flags]</code></pre>
<h2 id="options-17">Options</h2>
<pre><code> --by-hash Find indentical hashes rather than names
- --dedupe-mode string Dedupe mode interactive|skip|first|newest|oldest|largest|smallest|rename. (default &quot;interactive&quot;)
+ --dedupe-mode string Dedupe mode interactive|skip|first|newest|oldest|largest|smallest|rename (default &quot;interactive&quot;)
-h, --help help for dedupe</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
<h2 id="see-also-17">SEE ALSO</h2>
@@ -817,21 +892,21 @@ two-3.txt: renamed from: two.txt</code></pre>
<h2 id="synopsis-16">Synopsis</h2>
<p><code>rclone about</code> prints quota information about a remote to standard output. The output is typically used, free, quota and trash contents.</p>
<p>E.g. Typical output from <code>rclone about remote:</code> is:</p>
-<pre><code>Total: 17G
-Used: 7.444G
-Free: 1.315G
-Trashed: 100.000M
-Other: 8.241G</code></pre>
+<pre><code>Total: 17 GiB
+Used: 7.444 GiB
+Free: 1.315 GiB
+Trashed: 100.000 MiB
+Other: 8.241 GiB</code></pre>
<p>Where the fields are:</p>
<ul>
-<li>Total: total size available.</li>
-<li>Used: total size used</li>
-<li>Free: total space available to this user.</li>
-<li>Trashed: total space used by trash</li>
-<li>Other: total amount in other storage (e.g. Gmail, Google Photos)</li>
-<li>Objects: total number of objects in the storage</li>
+<li>Total: Total size available.</li>
+<li>Used: Total size used.</li>
+<li>Free: Total space available to this user.</li>
+<li>Trashed: Total space used by trash.</li>
+<li>Other: Total amount in other storage (e.g. Gmail, Google Photos).</li>
+<li>Objects: Total number of objects in the storage.</li>
</ul>
-<p>Not all backends print all fields. Information is not included if it is not provided by a backend. Where the value is unlimited it is omitted.</p>
+<p>All sizes are in number of bytes.</p>
<p>Applying a <code>--full</code> flag to the command prints the bytes in full, e.g.</p>
<pre><code>Total: 18253611008
Used: 7993453766
@@ -846,11 +921,11 @@ Other: 8849156022</code></pre>
&quot;other&quot;: 8849156022,
&quot;free&quot;: 1411001220
}</code></pre>
-<p>Not all backends support the <code>rclone about</code> command.</p>
-<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support about</a></p>
+<p>Not all backends print all fields. Information is not included if it is not provided by a backend. Where the value is unlimited it is omitted.</p>
+<p>Some backends does not support the <code>rclone about</code> command at all, see complete list in <a href="https://rclone.org/overview/#optional-features">documentation</a>.</p>
<pre><code>rclone about remote: [flags]</code></pre>
<h2 id="options-18">Options</h2>
-<pre><code> --full Full numbers instead of SI units
+<pre><code> --full Full numbers instead of human-readable
-h, --help help for about
--json Format output as JSON</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
@@ -889,8 +964,8 @@ rclone backend help &lt;backendname&gt;</code></pre>
<pre><code>rclone backend &lt;command&gt; remote:path [opts] &lt;args&gt; [flags]</code></pre>
<h2 id="options-20">Options</h2>
<pre><code> -h, --help help for backend
- --json Always output in JSON format.
- -o, --option stringArray Option in the form name=value or name.</code></pre>
+ --json Always output in JSON format
+ -o, --option stringArray Option in the form name=value or name</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
<h2 id="see-also-20">SEE ALSO</h2>
<ul>
@@ -909,12 +984,12 @@ rclone backend help &lt;backendname&gt;</code></pre>
<p>Use the <code>--head</code> flag to print characters only at the start, <code>--tail</code> for the end and <code>--offset</code> and <code>--count</code> to print a section in the middle. Note that if offset is negative it will count from the end, so <code>--offset -1 --count 1</code> is equivalent to <code>--tail 1</code>.</p>
<pre><code>rclone cat remote:path [flags]</code></pre>
<h2 id="options-21">Options</h2>
-<pre><code> --count int Only print N characters. (default -1)
- --discard Discard the output instead of printing.
- --head int Only print the first N characters.
+<pre><code> --count int Only print N characters (default -1)
+ --discard Discard the output instead of printing
+ --head int Only print the first N characters
-h, --help help for cat
- --offset int Start printing at offset N (or from end if -ve).
- --tail int Only print the last N characters.</code></pre>
+ --offset int Start printing at offset N (or from end if -ve)
+ --tail int Only print the last N characters</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
<h2 id="see-also-21">SEE ALSO</h2>
<ul>
@@ -925,6 +1000,7 @@ rclone backend help &lt;backendname&gt;</code></pre>
<h2 id="synopsis-20">Synopsis</h2>
<p>Checks that hashsums of source files match the SUM file. It compares hashes (MD5, SHA1, etc) and logs a report of files which don't match. It doesn't alter the file system.</p>
<p>If you supply the <code>--download</code> flag, it will download the data from remote and calculate the contents hash on the fly. This can be useful for remotes that don't support hashes or if you really want to check all the data.</p>
+<p>Note that hash values in the SUM file are treated as case insensitive.</p>
<p>If you supply the <code>--one-way</code> flag, it will only check that files in the source match the files in the destination, not the other way around. This means that extra files in the destination that are not in the source will not be detected.</p>
<p>The <code>--differ</code>, <code>--missing-on-dst</code>, <code>--missing-on-src</code>, <code>--match</code> and <code>--error</code> flags write paths, one per line, to the file name (or stdout if it is <code>-</code>) supplied. What they write is described in the help below. For example <code>--differ</code> will write all paths which are present on both the source and destination but different.</p>
<p>The <code>--combined</code> flag will write a file (or stdout) which contains all file paths with a symbol and then a space and then the path to tell you what happened to it. These are reminiscent of diff files.</p>
@@ -939,7 +1015,7 @@ rclone backend help &lt;backendname&gt;</code></pre>
<h2 id="options-22">Options</h2>
<pre><code> --combined string Make a combined report of changes to this file
--differ string Report all non-matching files to this file
- --download Check by hashing the contents.
+ --download Check by hashing the contents
--error string Report all files with errors (hashing or reading) to this file
-h, --help help for checksum
--match string Report all matching files to this file
@@ -951,9 +1027,89 @@ rclone backend help &lt;backendname&gt;</code></pre>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
+<h1 id="rclone-completion">rclone completion</h1>
+<p>generate the autocompletion script for the specified shell</p>
+<h2 id="synopsis-21">Synopsis</h2>
+<p>Generate the autocompletion script for rclone for the specified shell. See each sub-command's help for details on how to use the generated script.</p>
+<h2 id="options-23">Options</h2>
+<pre><code> -h, --help help for completion</code></pre>
+<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
+<h2 id="see-also-23">SEE ALSO</h2>
+<ul>
+<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
+<li><a href="https://rclone.org/commands/rclone_completion_bash/">rclone completion bash</a> - generate the autocompletion script for bash</li>
+<li><a href="https://rclone.org/commands/rclone_completion_fish/">rclone completion fish</a> - generate the autocompletion script for fish</li>
+<li><a href="https://rclone.org/commands/rclone_completion_powershell/">rclone completion powershell</a> - generate the autocompletion script for powershell</li>
+<li><a href="https://rclone.org/commands/rclone_completion_zsh/">rclone completion zsh</a> - generate the autocompletion script for zsh</li>
+</ul>
+<h1 id="rclone-completion-bash">rclone completion bash</h1>
+<p>generate the autocompletion script for bash</p>
+<h2 id="synopsis-22">Synopsis</h2>
+<p>Generate the autocompletion script for the bash shell.</p>
+<p>This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.</p>
+<p>To load completions in your current shell session: $ source &lt;(rclone completion bash)</p>
+<p>To load completions for every new session, execute once: Linux: $ rclone completion bash &gt; /etc/bash_completion.d/rclone MacOS: $ rclone completion bash &gt; /usr/local/etc/bash_completion.d/rclone</p>
+<p>You will need to start a new shell for this setup to take effect.</p>
+<pre><code>rclone completion bash</code></pre>
+<h2 id="options-24">Options</h2>
+<pre><code> -h, --help help for bash
+ --no-descriptions disable completion descriptions</code></pre>
+<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
+<h2 id="see-also-24">SEE ALSO</h2>
+<ul>
+<li><a href="https://rclone.org/commands/rclone_completion/">rclone completion</a> - generate the autocompletion script for the specified shell</li>
+</ul>
+<h1 id="rclone-completion-fish">rclone completion fish</h1>
+<p>generate the autocompletion script for fish</p>
+<h2 id="synopsis-23">Synopsis</h2>
+<p>Generate the autocompletion script for the fish shell.</p>
+<p>To load completions in your current shell session: $ rclone completion fish | source</p>
+<p>To load completions for every new session, execute once: $ rclone completion fish &gt; ~/.config/fish/completions/rclone.fish</p>
+<p>You will need to start a new shell for this setup to take effect.</p>
+<pre><code>rclone completion fish [flags]</code></pre>
+<h2 id="options-25">Options</h2>
+<pre><code> -h, --help help for fish
+ --no-descriptions disable completion descriptions</code></pre>
+<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
+<h2 id="see-also-25">SEE ALSO</h2>
+<ul>
+<li><a href="https://rclone.org/commands/rclone_completion/">rclone completion</a> - generate the autocompletion script for the specified shell</li>
+</ul>
+<h1 id="rclone-completion-powershell">rclone completion powershell</h1>
+<p>generate the autocompletion script for powershell</p>
+<h2 id="synopsis-24">Synopsis</h2>
+<p>Generate the autocompletion script for powershell.</p>
+<p>To load completions in your current shell session: PS C:&gt; rclone completion powershell | Out-String | Invoke-Expression</p>
+<p>To load completions for every new session, add the output of the above command to your powershell profile.</p>
+<pre><code>rclone completion powershell [flags]</code></pre>
+<h2 id="options-26">Options</h2>
+<pre><code> -h, --help help for powershell
+ --no-descriptions disable completion descriptions</code></pre>
+<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
+<h2 id="see-also-26">SEE ALSO</h2>
+<ul>
+<li><a href="https://rclone.org/commands/rclone_completion/">rclone completion</a> - generate the autocompletion script for the specified shell</li>
+</ul>
+<h1 id="rclone-completion-zsh">rclone completion zsh</h1>
+<p>generate the autocompletion script for zsh</p>
+<h2 id="synopsis-25">Synopsis</h2>
+<p>Generate the autocompletion script for the zsh shell.</p>
+<p>If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:</p>
+<p>$ echo "autoload -U compinit; compinit" &gt;&gt; ~/.zshrc</p>
+<p>To load completions for every new session, execute once: # Linux: $ rclone completion zsh &gt; "${fpath[1]}/_rclone" # macOS: $ rclone completion zsh &gt; /usr/local/share/zsh/site-functions/_rclone</p>
+<p>You will need to start a new shell for this setup to take effect.</p>
+<pre><code>rclone completion zsh [flags]</code></pre>
+<h2 id="options-27">Options</h2>
+<pre><code> -h, --help help for zsh
+ --no-descriptions disable completion descriptions</code></pre>
+<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
+<h2 id="see-also-27">SEE ALSO</h2>
+<ul>
+<li><a href="https://rclone.org/commands/rclone_completion/">rclone completion</a> - generate the autocompletion script for the specified shell</li>
+</ul>
<h1 id="rclone-config-create">rclone config create</h1>
<p>Create a new remote with name, type and options.</p>
-<h2 id="synopsis-21">Synopsis</h2>
+<h2 id="synopsis-26">Synopsis</h2>
<p>Create a new remote of <code>name</code> with <code>type</code> and options. The options should be passed in pairs of <code>key</code> <code>value</code> or as <code>key=value</code>.</p>
<p>For example to make a swift remote of name myremote using auto config you would do:</p>
<pre><code>rclone config create myremote swift env_auth true
@@ -1007,140 +1163,150 @@ rclone config create myremote swift env_auth=true</code></pre>
<p>At the end of the non interactive process, rclone will return a result with <code>State</code> as empty string.</p>
<p>If <code>--all</code> is passed then rclone will ask all the config questions, not just the post config questions. Any parameters are used as defaults for questions as usual.</p>
<p>Note that <code>bin/config.py</code> in the rclone source implements this protocol as a readable demonstration.</p>
-<pre><code>rclone config create `name` `type` [`key` `value`]* [flags]</code></pre>
-<h2 id="options-23">Options</h2>
-<pre><code> --all Ask the full set of config questions.
- --continue Continue the configuration process with an answer.
+<pre><code>rclone config create name type [key value]* [flags]</code></pre>
+<h2 id="options-28">Options</h2>
+<pre><code> --all Ask the full set of config questions
+ --continue Continue the configuration process with an answer
-h, --help help for create
- --no-obscure Force any passwords not to be obscured.
- --non-interactive Don&#39;t interact with user and return questions.
- --obscure Force any passwords to be obscured.
- --result string Result - use with --continue.
- --state string State - use with --continue.</code></pre>
+ --no-obscure Force any passwords not to be obscured
+ --non-interactive Don&#39;t interact with user and return questions
+ --obscure Force any passwords to be obscured
+ --result string Result - use with --continue
+ --state string State - use with --continue</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-23">SEE ALSO</h2>
+<h2 id="see-also-28">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-delete">rclone config delete</h1>
-<p>Delete an existing remote <code>name</code>.</p>
-<pre><code>rclone config delete `name` [flags]</code></pre>
-<h2 id="options-24">Options</h2>
+<p>Delete an existing remote.</p>
+<pre><code>rclone config delete name [flags]</code></pre>
+<h2 id="options-29">Options</h2>
<pre><code> -h, --help help for delete</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-24">SEE ALSO</h2>
+<h2 id="see-also-29">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-disconnect">rclone config disconnect</h1>
<p>Disconnects user from remote</p>
-<h2 id="synopsis-22">Synopsis</h2>
+<h2 id="synopsis-27">Synopsis</h2>
<p>This disconnects the remote: passed in to the cloud storage system.</p>
<p>This normally means revoking the oauth token.</p>
<p>To reconnect use "rclone config reconnect".</p>
<pre><code>rclone config disconnect remote: [flags]</code></pre>
-<h2 id="options-25">Options</h2>
+<h2 id="options-30">Options</h2>
<pre><code> -h, --help help for disconnect</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-25">SEE ALSO</h2>
+<h2 id="see-also-30">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-dump">rclone config dump</h1>
<p>Dump the config file as JSON.</p>
<pre><code>rclone config dump [flags]</code></pre>
-<h2 id="options-26">Options</h2>
+<h2 id="options-31">Options</h2>
<pre><code> -h, --help help for dump</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-26">SEE ALSO</h2>
+<h2 id="see-also-31">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-edit">rclone config edit</h1>
<p>Enter an interactive configuration session.</p>
-<h1 id="synopsis-23">Synopsis</h1>
+<h1 id="synopsis-28">Synopsis</h1>
<p>Enter an interactive configuration session where you can setup new remotes and manage existing ones. You may also set or remove a password to protect your configuration.</p>
<pre><code>rclone config edit [flags]</code></pre>
-<h1 id="options-27">Options</h1>
+<h1 id="options-32">Options</h1>
<pre><code> -h, --help help for edit</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h1 id="see-also-27">SEE ALSO</h1>
+<h1 id="see-also-32">SEE ALSO</h1>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-file">rclone config file</h1>
<p>Show path of configuration file in use.</p>
<pre><code>rclone config file [flags]</code></pre>
-<h2 id="options-28">Options</h2>
+<h2 id="options-33">Options</h2>
<pre><code> -h, --help help for file</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-28">SEE ALSO</h2>
+<h2 id="see-also-33">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-password">rclone config password</h1>
<p>Update password in an existing remote.</p>
-<h2 id="synopsis-24">Synopsis</h2>
+<h2 id="synopsis-29">Synopsis</h2>
<p>Update an existing remote's password. The password should be passed in pairs of <code>key</code> <code>password</code> or as <code>key=password</code>. The <code>password</code> should be passed in in clear (unobscured).</p>
<p>For example to set password of a remote of name myremote you would do:</p>
<pre><code>rclone config password myremote fieldname mypassword
rclone config password myremote fieldname=mypassword</code></pre>
<p>This command is obsolete now that "config update" and "config create" both support obscuring passwords directly.</p>
-<pre><code>rclone config password `name` [`key` `value`]+ [flags]</code></pre>
-<h2 id="options-29">Options</h2>
+<pre><code>rclone config password name [key value]+ [flags]</code></pre>
+<h2 id="options-34">Options</h2>
<pre><code> -h, --help help for password</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-29">SEE ALSO</h2>
+<h2 id="see-also-34">SEE ALSO</h2>
+<ul>
+<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
+</ul>
+<h1 id="rclone-config-paths">rclone config paths</h1>
+<p>Show paths used for configuration, cache, temp etc.</p>
+<pre><code>rclone config paths [flags]</code></pre>
+<h2 id="options-35">Options</h2>
+<pre><code> -h, --help help for paths</code></pre>
+<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
+<h2 id="see-also-35">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-providers">rclone config providers</h1>
<p>List in JSON format all the providers and options.</p>
<pre><code>rclone config providers [flags]</code></pre>
-<h2 id="options-30">Options</h2>
+<h2 id="options-36">Options</h2>
<pre><code> -h, --help help for providers</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-30">SEE ALSO</h2>
+<h2 id="see-also-36">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-reconnect">rclone config reconnect</h1>
<p>Re-authenticates user with remote.</p>
-<h2 id="synopsis-25">Synopsis</h2>
+<h2 id="synopsis-30">Synopsis</h2>
<p>This reconnects remote: passed in to the cloud storage system.</p>
<p>To disconnect the remote use "rclone config disconnect".</p>
<p>This normally means going through the interactive oauth flow again.</p>
<pre><code>rclone config reconnect remote: [flags]</code></pre>
-<h2 id="options-31">Options</h2>
+<h2 id="options-37">Options</h2>
<pre><code> -h, --help help for reconnect</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-31">SEE ALSO</h2>
+<h2 id="see-also-37">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-show">rclone config show</h1>
<p>Print (decrypted) config file, or the config for a single remote.</p>
<pre><code>rclone config show [&lt;remote&gt;] [flags]</code></pre>
-<h2 id="options-32">Options</h2>
+<h2 id="options-38">Options</h2>
<pre><code> -h, --help help for show</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-32">SEE ALSO</h2>
+<h2 id="see-also-38">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-touch">rclone config touch</h1>
<p>Ensure configuration file exists.</p>
<pre><code>rclone config touch [flags]</code></pre>
-<h2 id="options-33">Options</h2>
+<h2 id="options-39">Options</h2>
<pre><code> -h, --help help for touch</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-33">SEE ALSO</h2>
+<h2 id="see-also-39">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-update">rclone config update</h1>
<p>Update options in an existing remote.</p>
-<h2 id="synopsis-26">Synopsis</h2>
+<h2 id="synopsis-31">Synopsis</h2>
<p>Update an existing remote's options. The options should be passed in pairs of <code>key</code> <code>value</code> or as <code>key=value</code>.</p>
<p>For example to update the env_auth field of a remote of name myremote you would do:</p>
<pre><code>rclone config update myremote env_auth true
@@ -1194,37 +1360,37 @@ rclone config update myremote env_auth=true</code></pre>
<p>At the end of the non interactive process, rclone will return a result with <code>State</code> as empty string.</p>
<p>If <code>--all</code> is passed then rclone will ask all the config questions, not just the post config questions. Any parameters are used as defaults for questions as usual.</p>
<p>Note that <code>bin/config.py</code> in the rclone source implements this protocol as a readable demonstration.</p>
-<pre><code>rclone config update `name` [`key` `value`]+ [flags]</code></pre>
-<h2 id="options-34">Options</h2>
-<pre><code> --all Ask the full set of config questions.
- --continue Continue the configuration process with an answer.
+<pre><code>rclone config update name [key value]+ [flags]</code></pre>
+<h2 id="options-40">Options</h2>
+<pre><code> --all Ask the full set of config questions
+ --continue Continue the configuration process with an answer
-h, --help help for update
- --no-obscure Force any passwords not to be obscured.
- --non-interactive Don&#39;t interact with user and return questions.
- --obscure Force any passwords to be obscured.
- --result string Result - use with --continue.
- --state string State - use with --continue.</code></pre>
+ --no-obscure Force any passwords not to be obscured
+ --non-interactive Don&#39;t interact with user and return questions
+ --obscure Force any passwords to be obscured
+ --result string Result - use with --continue
+ --state string State - use with --continue</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-34">SEE ALSO</h2>
+<h2 id="see-also-40">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-config-userinfo">rclone config userinfo</h1>
<p>Prints info about logged in user of remote.</p>
-<h2 id="synopsis-27">Synopsis</h2>
+<h2 id="synopsis-32">Synopsis</h2>
<p>This prints the details of the person logged in to the cloud storage system.</p>
<pre><code>rclone config userinfo remote: [flags]</code></pre>
-<h2 id="options-35">Options</h2>
+<h2 id="options-41">Options</h2>
<pre><code> -h, --help help for userinfo
--json Format output as JSON</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-35">SEE ALSO</h2>
+<h2 id="see-also-41">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_config/">rclone config</a> - Enter an interactive configuration session.</li>
</ul>
<h1 id="rclone-copyto">rclone copyto</h1>
-<p>Copy files from source to dest, skipping already copied.</p>
-<h2 id="synopsis-28">Synopsis</h2>
+<p>Copy files from source to dest, skipping identical files.</p>
+<h2 id="synopsis-33">Synopsis</h2>
<p>If source:path is a file or directory then it copies it to a file or directory named dest:path.</p>
<p>This can be used to upload single files to other than their current name. If the source is a directory then it acts exactly like the copy command.</p>
<p>So</p>
@@ -1236,38 +1402,38 @@ rclone config update myremote env_auth=true</code></pre>
if src is directory
copy it to dst, overwriting existing files if they exist
see copy command for full details</code></pre>
-<p>This doesn't transfer unchanged files, testing by size and modification time or MD5SUM. It doesn't delete files from the destination.</p>
+<p>This doesn't transfer files that are identical on src and dst, testing by size and modification time or MD5SUM. It doesn't delete files from the destination.</p>
<p><strong>Note</strong>: Use the <code>-P</code>/<code>--progress</code> flag to view real-time transfer statistics</p>
<pre><code>rclone copyto source:path dest:path [flags]</code></pre>
-<h2 id="options-36">Options</h2>
+<h2 id="options-42">Options</h2>
<pre><code> -h, --help help for copyto</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-36">SEE ALSO</h2>
+<h2 id="see-also-42">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-copyurl">rclone copyurl</h1>
<p>Copy url content to dest.</p>
-<h2 id="synopsis-29">Synopsis</h2>
+<h2 id="synopsis-34">Synopsis</h2>
<p>Download a URL's content and copy it to the destination without saving it in temporary storage.</p>
<p>Setting <code>--auto-filename</code> will cause the file name to be retrieved from the URL (after any redirections) and used in the destination path. With <code>--print-filename</code> in addition, the resulting file name will be printed.</p>
<p>Setting <code>--no-clobber</code> will prevent overwriting file on the destination if there is one with the same name.</p>
<p>Setting <code>--stdout</code> or making the output file name <code>-</code> will cause the output to be written to standard output.</p>
<pre><code>rclone copyurl https://example.com dest:path [flags]</code></pre>
-<h2 id="options-37">Options</h2>
+<h2 id="options-43">Options</h2>
<pre><code> -a, --auto-filename Get the file name from the URL and use it for destination file path
-h, --help help for copyurl
--no-clobber Prevent overwriting file with same name
-p, --print-filename Print the resulting name from --auto-filename
--stdout Write the output to stdout rather than a file</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-37">SEE ALSO</h2>
+<h2 id="see-also-43">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-cryptcheck">rclone cryptcheck</h1>
<p>Cryptcheck checks the integrity of a crypted remote.</p>
-<h2 id="synopsis-30">Synopsis</h2>
+<h2 id="synopsis-35">Synopsis</h2>
<p>rclone cryptcheck checks a remote against a crypted remote. This is the equivalent of running rclone check, but able to check the checksums of the crypted remote.</p>
<p>For it to work the underlying remote of the cryptedremote must support some kind of checksum.</p>
<p>It works by reading the nonce from each file on the cryptedremote: and using that to encrypt each file on the remote:. It then checks the checksum of the underlying file on the cryptedremote: against the checksum of the file it has just encrypted.</p>
@@ -1287,7 +1453,7 @@ if src is directory
<li><code>! path</code> means there was an error reading or hashing the source or dest.</li>
</ul>
<pre><code>rclone cryptcheck remote:path cryptedremote:path [flags]</code></pre>
-<h2 id="options-38">Options</h2>
+<h2 id="options-44">Options</h2>
<pre><code> --combined string Make a combined report of changes to this file
--differ string Report all non-matching files to this file
--error string Report all files with errors (hashing or reading) to this file
@@ -1297,13 +1463,13 @@ if src is directory
--missing-on-src string Report all files missing from the source to this file
--one-way Check one way only, source files must exist on remote</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-38">SEE ALSO</h2>
+<h2 id="see-also-44">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-cryptdecode">rclone cryptdecode</h1>
<p>Cryptdecode returns unencrypted file names.</p>
-<h2 id="synopsis-31">Synopsis</h2>
+<h2 id="synopsis-36">Synopsis</h2>
<p>rclone cryptdecode returns unencrypted file names when provided with a list of encrypted file names. List limit is 10 items.</p>
<p>If you supply the --reverse flag, it will return encrypted file names.</p>
<p>use it like this</p>
@@ -1312,34 +1478,34 @@ if src is directory
rclone cryptdecode --reverse encryptedremote: filename1 filename2</code></pre>
<p>Another way to accomplish this is by using the <code>rclone backend encode</code> (or <code>decode</code>)command. See the documentation on the <code>crypt</code> overlay for more info.</p>
<pre><code>rclone cryptdecode encryptedremote: encryptedfilename [flags]</code></pre>
-<h2 id="options-39">Options</h2>
+<h2 id="options-45">Options</h2>
<pre><code> -h, --help help for cryptdecode
--reverse Reverse cryptdecode, encrypts filenames</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-39">SEE ALSO</h2>
+<h2 id="see-also-45">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-deletefile">rclone deletefile</h1>
<p>Remove a single file from remote.</p>
-<h2 id="synopsis-32">Synopsis</h2>
+<h2 id="synopsis-37">Synopsis</h2>
<p>Remove a single file from remote. Unlike <code>delete</code> it cannot be used to remove a directory and it doesn't obey include/exclude filters - if the specified file exists, it will always be removed.</p>
<pre><code>rclone deletefile remote:path [flags]</code></pre>
-<h2 id="options-40">Options</h2>
+<h2 id="options-46">Options</h2>
<pre><code> -h, --help help for deletefile</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-40">SEE ALSO</h2>
+<h2 id="see-also-46">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-genautocomplete">rclone genautocomplete</h1>
<p>Output completion script for a given shell.</p>
-<h2 id="synopsis-33">Synopsis</h2>
+<h2 id="synopsis-38">Synopsis</h2>
<p>Generates a shell completion script for rclone. Run with --help to list the supported shells.</p>
-<h2 id="options-41">Options</h2>
+<h2 id="options-47">Options</h2>
<pre><code> -h, --help help for genautocomplete</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-41">SEE ALSO</h2>
+<h2 id="see-also-47">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
<li><a href="https://rclone.org/commands/rclone_genautocomplete_bash/">rclone genautocomplete bash</a> - Output bash completion script for rclone.</li>
@@ -1348,7 +1514,7 @@ rclone cryptdecode --reverse encryptedremote: filename1 filename2</code></pre>
</ul>
<h1 id="rclone-genautocomplete-bash">rclone genautocomplete bash</h1>
<p>Output bash completion script for rclone.</p>
-<h2 id="synopsis-34">Synopsis</h2>
+<h2 id="synopsis-39">Synopsis</h2>
<p>Generates a bash shell autocompletion script for rclone.</p>
<p>This writes to /etc/bash_completion.d/rclone by default so will probably need to be run with sudo or as root, e.g.</p>
<pre><code>sudo rclone genautocomplete bash</code></pre>
@@ -1357,16 +1523,16 @@ rclone cryptdecode --reverse encryptedremote: filename1 filename2</code></pre>
<p>If you supply a command line argument the script will be written there.</p>
<p>If output_file is "-", then the output will be written to stdout.</p>
<pre><code>rclone genautocomplete bash [output_file] [flags]</code></pre>
-<h2 id="options-42">Options</h2>
+<h2 id="options-48">Options</h2>
<pre><code> -h, --help help for bash</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-42">SEE ALSO</h2>
+<h2 id="see-also-48">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_genautocomplete/">rclone genautocomplete</a> - Output completion script for a given shell.</li>
</ul>
<h1 id="rclone-genautocomplete-fish">rclone genautocomplete fish</h1>
<p>Output fish completion script for rclone.</p>
-<h2 id="synopsis-35">Synopsis</h2>
+<h2 id="synopsis-40">Synopsis</h2>
<p>Generates a fish autocompletion script for rclone.</p>
<p>This writes to /etc/fish/completions/rclone.fish by default so will probably need to be run with sudo or as root, e.g.</p>
<pre><code>sudo rclone genautocomplete fish</code></pre>
@@ -1375,16 +1541,16 @@ rclone cryptdecode --reverse encryptedremote: filename1 filename2</code></pre>
<p>If you supply a command line argument the script will be written there.</p>
<p>If output_file is "-", then the output will be written to stdout.</p>
<pre><code>rclone genautocomplete fish [output_file] [flags]</code></pre>
-<h2 id="options-43">Options</h2>
+<h2 id="options-49">Options</h2>
<pre><code> -h, --help help for fish</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-43">SEE ALSO</h2>
+<h2 id="see-also-49">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_genautocomplete/">rclone genautocomplete</a> - Output completion script for a given shell.</li>
</ul>
<h1 id="rclone-genautocomplete-zsh">rclone genautocomplete zsh</h1>
<p>Output zsh completion script for rclone.</p>
-<h2 id="synopsis-36">Synopsis</h2>
+<h2 id="synopsis-41">Synopsis</h2>
<p>Generates a zsh autocompletion script for rclone.</p>
<p>This writes to /usr/share/zsh/vendor-completions/_rclone by default so will probably need to be run with sudo or as root, e.g.</p>
<pre><code>sudo rclone genautocomplete zsh</code></pre>
@@ -1393,28 +1559,28 @@ rclone cryptdecode --reverse encryptedremote: filename1 filename2</code></pre>
<p>If you supply a command line argument the script will be written there.</p>
<p>If output_file is "-", then the output will be written to stdout.</p>
<pre><code>rclone genautocomplete zsh [output_file] [flags]</code></pre>
-<h2 id="options-44">Options</h2>
+<h2 id="options-50">Options</h2>
<pre><code> -h, --help help for zsh</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-44">SEE ALSO</h2>
+<h2 id="see-also-50">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_genautocomplete/">rclone genautocomplete</a> - Output completion script for a given shell.</li>
</ul>
<h1 id="rclone-gendocs">rclone gendocs</h1>
<p>Output markdown docs for rclone to the directory supplied.</p>
-<h2 id="synopsis-37">Synopsis</h2>
+<h2 id="synopsis-42">Synopsis</h2>
<p>This produces markdown docs for the rclone commands to the directory supplied. These are in a format suitable for hugo to render into the rclone.org website.</p>
<pre><code>rclone gendocs output_directory [flags]</code></pre>
-<h2 id="options-45">Options</h2>
+<h2 id="options-51">Options</h2>
<pre><code> -h, --help help for gendocs</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-45">SEE ALSO</h2>
+<h2 id="see-also-51">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-hashsum">rclone hashsum</h1>
<p>Produces a hashsum file for all the objects in the path.</p>
-<h2 id="synopsis-38">Synopsis</h2>
+<h2 id="synopsis-43">Synopsis</h2>
<p>Produces a hash file for all the objects in the path using the hash named. The output is in the same format as the standard md5sum/sha1sum tool.</p>
<p>By default, the hash is requested from the remote. If the hash is not supported by the remote, no hash will be returned. With the download flag, the file will be downloaded from the remote and hashed locally enabling any hash for any remote.</p>
<p>Run without a hash to see the list of all supported hashes, e.g.</p>
@@ -1424,27 +1590,28 @@ Supported hashes are:
* sha1
* whirlpool
* crc32
+ * sha256
* dropbox
* mailru
* quickxor</code></pre>
<p>Then</p>
<pre><code>$ rclone hashsum MD5 remote:path</code></pre>
-<p>Note that hash names are case insensitive.</p>
+<p>Note that hash names are case insensitive and values are output in lower case.</p>
<pre><code>rclone hashsum &lt;hash&gt; remote:path [flags]</code></pre>
-<h2 id="options-46">Options</h2>
+<h2 id="options-52">Options</h2>
<pre><code> --base64 Output base64 encoded hashsum
-C, --checkfile string Validate hashes against a given SUM file instead of printing them
--download Download the file and hash it locally; if this flag is not specified, the hash is requested from the remote
-h, --help help for hashsum
--output-file string Output hashsums to a file rather than the terminal</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-46">SEE ALSO</h2>
+<h2 id="see-also-52">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-link">rclone link</h1>
<p>Generate public link to file/folder.</p>
-<h2 id="synopsis-39">Synopsis</h2>
+<h2 id="synopsis-44">Synopsis</h2>
<p>rclone link will create, retrieve or remove a public link to the given file or folder.</p>
<pre><code>rclone link remote:path/to/file
rclone link remote:path/to/folder/
@@ -1454,32 +1621,32 @@ rclone link --expire 1d remote:path/to/file</code></pre>
<p>Use the --unlink flag to remove existing public links to the file or folder. <strong>Note</strong> not all backends support "--unlink" flag - those that don't will just ignore it.</p>
<p>If successful, the last line of the output will contain the link. Exact capabilities depend on the remote, but the link will always by default be created with the least constraints – e.g. no expiry, no password protection, accessible without account.</p>
<pre><code>rclone link remote:path [flags]</code></pre>
-<h2 id="options-47">Options</h2>
+<h2 id="options-53">Options</h2>
<pre><code> --expire Duration The amount of time that the link will be valid (default off)
-h, --help help for link
--unlink Remove existing public link to file/folder</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-47">SEE ALSO</h2>
+<h2 id="see-also-53">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-listremotes">rclone listremotes</h1>
<p>List all the remotes in the config file.</p>
-<h2 id="synopsis-40">Synopsis</h2>
+<h2 id="synopsis-45">Synopsis</h2>
<p>rclone listremotes lists all the available remotes from the config file.</p>
<p>When uses with the -l flag it lists the types too.</p>
<pre><code>rclone listremotes [flags]</code></pre>
-<h2 id="options-48">Options</h2>
+<h2 id="options-54">Options</h2>
<pre><code> -h, --help help for listremotes
- --long Show the type as well as names.</code></pre>
+ --long Show the type as well as names</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-48">SEE ALSO</h2>
+<h2 id="see-also-54">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-lsf">rclone lsf</h1>
<p>List directories and objects in remote:path formatted for parsing.</p>
-<h2 id="synopsis-41">Synopsis</h2>
+<h2 id="synopsis-46">Synopsis</h2>
<p>List the contents of the source path (directories and objects) to standard output in a form which is easy to parse by scripts. By default this will just be the names of the objects and directories, one per line. The directories will have a / suffix.</p>
<p>Eg</p>
<pre><code>$ rclone lsf swift:bucket
@@ -1549,25 +1716,25 @@ rclone copy --files-from-raw new_files /path/to/local remote:path</code></pre>
<p>The other list commands <code>lsd</code>,<code>lsf</code>,<code>lsjson</code> do not recurse by default - use <code>-R</code> to make them recurse.</p>
<p>Listing a non existent directory will produce an error except for remotes which can't have empty directories (e.g. s3, swift, or gcs - the bucket based remotes).</p>
<pre><code>rclone lsf remote:path [flags]</code></pre>
-<h2 id="options-49">Options</h2>
-<pre><code> --absolute Put a leading / in front of path names.
- --csv Output in CSV format.
- -d, --dir-slash Append a slash to directory names. (default true)
- --dirs-only Only list directories.
- --files-only Only list files.
+<h2 id="options-55">Options</h2>
+<pre><code> --absolute Put a leading / in front of path names
+ --csv Output in CSV format
+ -d, --dir-slash Append a slash to directory names (default true)
+ --dirs-only Only list directories
+ --files-only Only list files
-F, --format string Output format - see help for details (default &quot;p&quot;)
--hash h Use this hash when h is used in the format MD5|SHA-1|DropboxHash (default &quot;md5&quot;)
-h, --help help for lsf
- -R, --recursive Recurse into the listing.
- -s, --separator string Separator for the items in the format. (default &quot;;&quot;)</code></pre>
+ -R, --recursive Recurse into the listing
+ -s, --separator string Separator for the items in the format (default &quot;;&quot;)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-49">SEE ALSO</h2>
+<h2 id="see-also-55">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-lsjson">rclone lsjson</h1>
<p>List directories and objects in the path in JSON format.</p>
-<h2 id="synopsis-42">Synopsis</h2>
+<h2 id="synopsis-47">Synopsis</h2>
<p>List directories and objects in the path in JSON format.</p>
<p>The output is an array of Items, where each Item looks like this</p>
<p>{ "Hashes" : { "SHA-1" : "f572d396fae9206628714fb2ce00f72e94f2258f", "MD5" : "b1946ac92492d2347c6235b4d2611184", "DropboxHash" : "ecb65bb98f9d905b70458986c39fcbad7715e5f2fcc3b1f07767d7c83e2438cc" }, "ID": "y2djkhiujf83u33", "OrigID": "UYOJVTUW00Q1RzTDA", "IsBucket" : false, "IsDir" : false, "MimeType" : "application/octet-stream", "ModTime" : "2017-05-31T16:15:57.034468261+01:00", "Name" : "file.txt", "Encrypted" : "v0qpsdq8anpci8n929v3uu9338", "EncryptedPath" : "kja9098349023498/v0qpsdq8anpci8n929v3uu9338", "Path" : "full/path/goes/here/file.txt", "Size" : 6, "Tier" : "hot", }</p>
@@ -1577,6 +1744,7 @@ rclone copy --files-from-raw new_files /path/to/local remote:path</code></pre>
<p>If --encrypted is not specified the Encrypted won't be emitted.</p>
<p>If --dirs-only is not specified files in addition to directories are returned</p>
<p>If --files-only is not specified directories in addition to the files will be returned.</p>
+<p>if --stat is set then a single JSON blob will be returned about the item pointed to. This will return an error if the item isn't found. However on bucket based backends (like s3, gcs, b2, azureblob etc) if the item isn't found it will return an empty directory as it isn't possible to tell empty directories from missing directories there.</p>
<p>The Path field will only show folders below the remote path being listed. If "remote:path" contains the file "subfolder/file.txt", the Path for "file.txt" will be "subfolder/file.txt", not "remote:path/subfolder/file.txt". When used without --recursive the Path will always be the same as Name.</p>
<p>If the directory is a bucket in a bucket based backend, then "IsBucket" will be set to true. This key won't be present unless it is "true".</p>
<p>The time is in RFC3339 format with up to nanosecond precision. The number of decimal digits in the seconds will depend on the precision that the remote can hold the times, so if times are accurate to the nearest millisecond (e.g. Google Drive) then 3 digits will always be shown ("2017-05-31T16:15:57.034+01:00") whereas if the times are accurate to the nearest second (Dropbox, Box, WebDav, etc.) no digits will be shown ("2017-05-31T16:15:57+01:00").</p>
@@ -1595,31 +1763,34 @@ rclone copy --files-from-raw new_files /path/to/local remote:path</code></pre>
<p>The other list commands <code>lsd</code>,<code>lsf</code>,<code>lsjson</code> do not recurse by default - use <code>-R</code> to make them recurse.</p>
<p>Listing a non existent directory will produce an error except for remotes which can't have empty directories (e.g. s3, swift, or gcs - the bucket based remotes).</p>
<pre><code>rclone lsjson remote:path [flags]</code></pre>
-<h2 id="options-50">Options</h2>
-<pre><code> --dirs-only Show only directories in the listing.
- -M, --encrypted Show the encrypted names.
- --files-only Show only files in the listing.
- --hash Include hashes in the output (may take longer).
- --hash-type stringArray Show only this hash type (may be repeated).
+<h2 id="options-56">Options</h2>
+<pre><code> --dirs-only Show only directories in the listing
+ -M, --encrypted Show the encrypted names
+ --files-only Show only files in the listing
+ --hash Include hashes in the output (may take longer)
+ --hash-type stringArray Show only this hash type (may be repeated)
-h, --help help for lsjson
- --no-mimetype Don&#39;t read the mime type (can speed things up).
- --no-modtime Don&#39;t read the modification time (can speed things up).
- --original Show the ID of the underlying Object.
- -R, --recursive Recurse into the listing.</code></pre>
+ --no-mimetype Don&#39;t read the mime type (can speed things up)
+ --no-modtime Don&#39;t read the modification time (can speed things up)
+ --original Show the ID of the underlying Object
+ -R, --recursive Recurse into the listing
+ --stat Just return the info for the pointed to file</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-50">SEE ALSO</h2>
+<h2 id="see-also-56">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-mount">rclone mount</h1>
<p>Mount the remote as file system on a mountpoint.</p>
-<h2 id="synopsis-43">Synopsis</h2>
+<h2 id="synopsis-48">Synopsis</h2>
<p>rclone mount allows Linux, FreeBSD, macOS and Windows to mount any of Rclone's cloud storage systems as a file system with FUSE.</p>
<p>First set up your remote using <code>rclone config</code>. Check it works with <code>rclone ls</code> etc.</p>
-<p>On Linux and OSX, you can either run mount in foreground mode or background (daemon) mode. Mount runs in foreground mode by default, use the <code>--daemon</code> flag to specify background mode. You can only run mount in foreground mode on Windows.</p>
+<p>On Linux and macOS, you can run mount in either foreground or background (aka daemon) mode. Mount runs in foreground mode by default. Use the <code>--daemon</code> flag to force background mode. On Windows you can run mount in foreground only, the flag is ignored.</p>
+<p>In background mode rclone acts as a generic Unix mount program: the main program starts, spawns background rclone process to setup and maintain the mount, waits until success or timeout and exits with appropriate code (killing the child process if it fails).</p>
<p>On Linux/macOS/FreeBSD start the mount like this, where <code>/path/to/local/mount</code> is an <strong>empty</strong> <strong>existing</strong> directory:</p>
<pre><code>rclone mount remote:path/to/files /path/to/local/mount</code></pre>
-<p>On Windows you can start a mount in different ways. See <a href="#mounting-modes-on-windows">below</a> for details. The following examples will mount to an automatically assigned drive, to specific drive letter <code>X:</code>, to path <code>C:\path\parent\mount</code> (where parent directory or drive must exist, and mount must <strong>not</strong> exist, and is not supported when <a href="#mounting-modes-on-windows">mounting as a network drive</a>), and the last example will mount as network share <code>\\cloud\remote</code> and map it to an automatically assigned drive:</p>
+<p>On Windows you can start a mount in different ways. See <a href="#mounting-modes-on-windows">below</a> for details. If foreground mount is used interactively from a console window, rclone will serve the mount and occupy the console so another window should be used to work with the mount until rclone is interrupted e.g. by pressing Ctrl-C.</p>
+<p>The following examples will mount to an automatically assigned drive, to specific drive letter <code>X:</code>, to path <code>C:\path\parent\mount</code> (where parent directory or drive must exist, and mount must <strong>not</strong> exist, and is not supported when <a href="#mounting-modes-on-windows">mounting as a network drive</a>), and the last example will mount as network share <code>\\cloud\remote</code> and map it to an automatically assigned drive:</p>
<pre><code>rclone mount remote:path/to/files *
rclone mount remote:path/to/files X:
rclone mount remote:path/to/files C:\path\parent\mount
@@ -1632,7 +1803,6 @@ fusermount -u /path/to/local/mount
umount /path/to/local/mount</code></pre>
<p>The umount operation can fail, for example when the mountpoint is busy. When that happens, it is the user's responsibility to stop the mount manually.</p>
<p>The size of the mounted file system will be set according to information retrieved from the remote, the same as returned by the <a href="https://rclone.org/commands/rclone_about/">rclone about</a> command. Remotes with unlimited storage may report the used size only, then an additional 1 PiB of free space is assumed. If the remote does not <a href="https://rclone.org/overview/#optional-features">support</a> the about feature at all, then 1 PiB is set as both the total and the free size.</p>
-<p><strong>Note</strong>: As of <code>rclone</code> 1.52.2, <code>rclone mount</code> now requires Go version 1.13 or newer on some platforms depending on the underlying FUSE library in use.</p>
<h2 id="installing-on-windows">Installing on Windows</h2>
<p>To run rclone mount on Windows, you will need to download and install <a href="http://www.secfs.net/winfsp/">WinFsp</a>.</p>
<p><a href="https://github.com/billziss-gh/winfsp">WinFsp</a> is an open source Windows File System Proxy which makes it easy to write user space file systems for Windows. It provides a FUSE emulation layer which rclone uses combination with <a href="https://github.com/billziss-gh/cgofuse">cgofuse</a>. Both of these packages are by Bill Zissimopoulos who was very helpful during the implementation of rclone mount for Windows.</p>
@@ -1660,8 +1830,8 @@ rclone mount remote:path/to/files * --volname \\cloud\remote</code></pre>
<p>See also <a href="#limitations">Limitations</a> section below.</p>
<h3 id="windows-filesystem-permissions">Windows filesystem permissions</h3>
<p>The FUSE emulation layer on Windows must convert between the POSIX-based permission model used in FUSE, and the permission model used in Windows, based on access-control lists (ACL).</p>
-<p>The mounted filesystem will normally get three entries in its access-control list (ACL), representing permissions for the POSIX permission scopes: Owner, group and others. By default, the owner and group will be taken from the current user, and the built-in group "Everyone" will be used to represent others. The user/group can be customized with FUSE options "UserName" and "GroupName", e.g. <code>-o UserName=user123 -o GroupName="Authenticated Users"</code>.</p>
-<p>The permissions on each entry will be set according to <a href="#options">options</a> <code>--dir-perms</code> and <code>--file-perms</code>, which takes a value in traditional <a href="https://en.wikipedia.org/wiki/File-system_permissions#Numeric_notation">numeric notation</a>, where the default corresponds to <code>--file-perms 0666 --dir-perms 0777</code>.</p>
+<p>The mounted filesystem will normally get three entries in its access-control list (ACL), representing permissions for the POSIX permission scopes: Owner, group and others. By default, the owner and group will be taken from the current user, and the built-in group "Everyone" will be used to represent others. The user/group can be customized with FUSE options "UserName" and "GroupName", e.g. <code>-o UserName=user123 -o GroupName="Authenticated Users"</code>. The permissions on each entry will be set according to <a href="#options">options</a> <code>--dir-perms</code> and <code>--file-perms</code>, which takes a value in traditional <a href="https://en.wikipedia.org/wiki/File-system_permissions#Numeric_notation">numeric notation</a>.</p>
+<p>The default permissions corresponds to <code>--file-perms 0666 --dir-perms 0777</code>, i.e. read and write permissions to everyone. This means you will not be able to start any programs from the the mount. To be able to do that you must add execute permissions, e.g. <code>--file-perms 0777 --dir-perms 0777</code> to add it to everyone. If the program needs to write files, chances are you will have to enable <a href="#vfs-file-caching">VFS File Caching</a> as well (see also <a href="#limitations">limitations</a>).</p>
<p>Note that the mapping of permissions is not always trivial, and the result you see in Windows Explorer may not be exactly like you expected. For example, when setting a value that includes write access, this will be mapped to individual permissions "write attributes", "write data" and "append data", but not "write extended attributes". Windows will then show this as basic permission "Special" instead of "Write", because "Write" includes the "write extended attributes" permission.</p>
<p>If you set POSIX permissions for only allowing access to the owner, using <code>--file-perms 0600 --dir-perms 0700</code>, the user group and the built-in "Everyone" group will still be given some special permissions, such as "read attributes" and "read permissions", in Windows. This is done for compatibility reasons, e.g. to allow users without additional permissions to be able to read basic metadata about files like in UNIX. One case that may arise is that other programs (incorrectly) interprets this as the file being accessible by everyone. For example an SSH client may warn about "unprotected private key file".</p>
<p>WinFsp 2021 (version 1.9) introduces a new FUSE option "FileSecurity", that allows the complete specification of file security descriptors using <a href="https://docs.microsoft.com/en-us/windows/win32/secauthz/security-descriptor-string-format">SDDL</a>. With this you can work around issues such as the mentioned "unprotected private key file" by specifying <code>-o FileSecurity="D:P(A;;FA;;;OW)"</code>, for file all access (FA) to the owner (OW).</p>
@@ -1674,6 +1844,7 @@ rclone mount remote:path/to/files * --volname \\cloud\remote</code></pre>
<h2 id="limitations">Limitations</h2>
<p>Without the use of <code>--vfs-cache-mode</code> this can only write files sequentially, it can only seek when reading. This means that many applications won't work with their files on an rclone mount without <code>--vfs-cache-mode writes</code> or <code>--vfs-cache-mode full</code>. See the <a href="#vfs-file-caching">VFS File Caching</a> section for more info.</p>
<p>The bucket based remotes (e.g. Swift, S3, Google Compute Storage, B2, Hubic) do not support the concept of empty directories, so empty directories will have a tendency to disappear once they fall out of the directory cache.</p>
+<p>When <code>rclone mount</code> is invoked on Unix with <code>--daemon</code> flag, the main rclone program will wait for the background mount to become ready or until the timeout specified by the <code>--daemon-wait</code> flag. On Linux it can check mount status using ProcFS so the flag in fact sets <strong>maximum</strong> time to wait, while the real wait can be less. On macOS / BSD the time to wait is constant and the check is performed only at the end. We advise you to set wait time on macOS reasonably.</p>
<p>Only supported on Linux, FreeBSD, OS X and Windows at the moment.</p>
<h2 id="rclone-mount-vs-rclone-synccopy">rclone mount vs rclone sync/copy</h2>
<p>File systems expect things to be 100% reliable, whereas cloud storage systems are a long way from 100% reliable. The rclone sync/copy commands cope with this with lots of retries. However rclone mount can't use retries in the same way without making local copies of the uploads. Look at the <a href="#vfs-file-caching">VFS File Caching</a> for solutions to make mount more reliable.</p>
@@ -1689,18 +1860,51 @@ rclone mount remote:path/to/files * --volname \\cloud\remote</code></pre>
<p>Note that all the rclone filters can be used to select a subset of the files to be visible in the mount.</p>
<h2 id="systemd">systemd</h2>
<p>When running rclone mount as a systemd service, it is possible to use Type=notify. In this case the service will enter the started state after the mountpoint has been successfully set up. Units having the rclone mount service specified as a requirement will see all files and folders immediately in this mode.</p>
-<h2 id="chunked-reading">chunked reading</h2>
-<p><code>--vfs-read-chunk-size</code> will enable reading the source objects in parts. This can reduce the used download quota for some remotes by requesting only chunks from the remote that are actually read at the cost of an increased number of requests.</p>
-<p>When <code>--vfs-read-chunk-size-limit</code> is also specified and greater than <code>--vfs-read-chunk-size</code>, the chunk size for each open file will get doubled for each chunk read, until the specified value is reached. A value of <code>-1</code> will disable the limit and the chunk size will grow indefinitely.</p>
-<p>With <code>--vfs-read-chunk-size 100M</code> and <code>--vfs-read-chunk-size-limit 0</code> the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on. When <code>--vfs-read-chunk-size-limit 500M</code> is specified, the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.</p>
+<p>Note that systemd runs mount units without any environment variables including <code>PATH</code> or <code>HOME</code>. This means that tilde (<code>~</code>) expansion will not work and you should provide <code>--config</code> and <code>--cache-dir</code> explicitly as absolute paths via rclone arguments. Since mounting requires the <code>fusermount</code> program, rclone will use the fallback PATH of <code>/bin:/usr/bin</code> in this scenario. Please ensure that <code>fusermount</code> is present on this PATH.</p>
+<h2 id="rclone-as-unix-mount-helper">Rclone as Unix mount helper</h2>
+<p>The core Unix program <code>/bin/mount</code> normally takes the <code>-t FSTYPE</code> argument then runs the <code>/sbin/mount.FSTYPE</code> helper program passing it mount options as <code>-o key=val,...</code> or <code>--opt=...</code>. Automount (classic or systemd) behaves in a similar way.</p>
+<p>rclone by default expects GNU-style flags <code>--key val</code>. To run it as a mount helper you should symlink rclone binary to <code>/sbin/mount.rclone</code> and optionally <code>/usr/bin/rclonefs</code>, e.g. <code>ln -s /usr/bin/rclone /sbin/mount.rclone</code>. rclone will detect it and translate command-line arguments appropriately.</p>
+<p>Now you can run classic mounts like this:</p>
+<pre><code>mount sftp1:subdir /mnt/data -t rclone -o vfs_cache_mode=writes,sftp_key_file=/path/to/pem</code></pre>
+<p>or create systemd mount units:</p>
+<pre><code># /etc/systemd/system/mnt-data.mount
+[Unit]
+After=network-online.target
+[Mount]
+Type=rclone
+What=sftp1:subdir
+Where=/mnt/data
+Options=rw,allow_other,args2env,vfs-cache-mode=writes,config=/etc/rclone.conf,cache-dir=/var/rclone</code></pre>
+<p>optionally accompanied by systemd automount unit</p>
+<pre><code># /etc/systemd/system/mnt-data.automount
+[Unit]
+After=network-online.target
+Before=remote-fs.target
+[Automount]
+Where=/mnt/data
+TimeoutIdleSec=600
+[Install]
+WantedBy=multi-user.target</code></pre>
+<p>or add in <code>/etc/fstab</code> a line like</p>
+<pre><code>sftp1:subdir /mnt/data rclone rw,noauto,nofail,_netdev,x-systemd.automount,args2env,vfs_cache_mode=writes,config=/etc/rclone.conf,cache_dir=/var/cache/rclone 0 0</code></pre>
+<p>or use classic Automountd. Remember to provide explicit <code>config=...,cache-dir=...</code> as a workaround for mount units being run without <code>HOME</code>.</p>
+<p>Rclone in the mount helper mode will split <code>-o</code> argument(s) by comma, replace <code>_</code> by <code>-</code> and prepend <code>--</code> to get the command-line flags. Options containing commas or spaces can be wrapped in single or double quotes. Any inner quotes inside outer quotes of the same type should be doubled.</p>
+<p>Mount option syntax includes a few extra options treated specially:</p>
+<ul>
+<li><code>env.NAME=VALUE</code> will set an environment variable for the mount process. This helps with Automountd and Systemd.mount which don't allow setting custom environment for mount helpers. Typically you will use <code>env.HTTPS_PROXY=proxy.host:3128</code> or <code>env.HOME=/root</code></li>
+<li><code>command=cmount</code> can be used to run <code>cmount</code> or any other rclone command rather than the default <code>mount</code>.</li>
+<li><code>args2env</code> will pass mount options to the mount helper running in background via environment variables instead of command line arguments. This allows to hide secrets from such commands as <code>ps</code> or <code>pgrep</code>.</li>
+<li><code>vv...</code> will be transformed into appropriate <code>--verbose=N</code></li>
+<li>standard mount options like <code>x-systemd.automount</code>, <code>_netdev</code>, <code>nosuid</code> and alike are intended only for Automountd and ignored by rclone.</li>
+</ul>
<h2 id="vfs---virtual-file-system">VFS - Virtual File System</h2>
<p>This command uses the VFS layer. This adapts the cloud storage objects that rclone uses into something which looks much more like a disk filing system.</p>
<p>Cloud storage objects have lots of properties which aren't like disk files - you can't extend them or write to the middle of them, so the VFS layer has to deal with that. Because there is no one right way of doing this there are various options explained below.</p>
<p>The VFS layer also implements a directory cache - this caches info about files and directories (but not the data) in memory.</p>
<h2 id="vfs-directory-cache">VFS Directory Cache</h2>
<p>Using the <code>--dir-cache-time</code> flag, you can control how long a directory should be considered up to date and not refreshed from the backend. Changes made through the mount will appear immediately or invalidate the cache.</p>
-<pre><code>--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
---poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)</code></pre>
+<pre><code>--dir-cache-time duration Time to cache directory entries for (default 5m0s)
+--poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)</code></pre>
<p>However, changes made directly on the cloud storage by the web interface or a different copy of rclone will only be picked up once the directory cache expires if the backend configured does not support polling for changes. If the backend supports polling, changes will be picked up within the polling interval.</p>
<p>You can send a <code>SIGHUP</code> signal to rclone for it to flush all directory caches, regardless of how old they are. Assuming only one rclone instance is running, you can reset the cache like this:</p>
<pre><code>kill -SIGHUP $(pidof rclone)</code></pre>
@@ -1719,13 +1923,13 @@ rclone mount remote:path/to/files * --volname \\cloud\remote</code></pre>
<p>Note that the VFS cache is separate from the cache backend and you may find that you need one or the other or both.</p>
<pre><code>--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
---vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
---vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
---vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
---vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)</code></pre>
+--vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+--vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+--vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+--vfs-write-back duration Time to writeback files after last use when using cache (default 5s)</code></pre>
<p>If run with <code>-vv</code> rclone will print the location of the file cache. The files are stored in the user cache file area which is OS dependent but can be controlled with <code>--cache-dir</code> or setting the appropriate environment variable.</p>
<p>The cache has 4 different modes selected by <code>--vfs-cache-mode</code>. The higher the cache mode the more compatible rclone becomes at the cost of using disk space.</p>
-<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for --vfs-write-back second. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
+<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for <code>--vfs-write-back</code> seconds. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
<p>If using <code>--vfs-cache-max-size</code> note that the cache may exceed this size for two reasons. Firstly because it is only checked every <code>--vfs-cache-poll-interval</code>. Secondly because open files cannot be evicted from the cache.</p>
<p>You <strong>should not</strong> run two copies of rclone using the same VFS cache with the same or overlapping remotes if using <code>--vfs-cache-mode &gt; off</code>. This can potentially cause data corruption if you do. You can work around this by giving each rclone its own cache hierarchy with <code>--cache-dir</code>. You don't need to worry about this if the remotes in use don't overlap.</p>
<h3 id="vfs-cache-mode-off">--vfs-cache-mode off</h3>
@@ -1757,30 +1961,34 @@ rclone mount remote:path/to/files * --volname \\cloud\remote</code></pre>
<p>In this mode all reads and writes are buffered to and from disk. When data is read from the remote this is buffered to disk as well.</p>
<p>In this mode the files in the cache will be sparse files and rclone will keep track of which bits of the files it has downloaded.</p>
<p>So if an application only reads the starts of each file, then rclone will only buffer the start of the file. These files will appear to be their full size in the cache, but they will be sparse files with only the data that has been downloaded present in them.</p>
-<p>This mode should support all normal file system operations and is otherwise identical to --vfs-cache-mode writes.</p>
-<p>When reading a file rclone will read --buffer-size plus --vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory whereas the --vfs-read-ahead is buffered on disk.</p>
-<p>When using this mode it is recommended that --buffer-size is not set too big and --vfs-read-ahead is set large if required.</p>
+<p>This mode should support all normal file system operations and is otherwise identical to <code>--vfs-cache-mode</code> writes.</p>
+<p>When reading a file rclone will read <code>--buffer-size</code> plus <code>--vfs-read-ahead</code> bytes ahead. The <code>--buffer-size</code> is buffered in memory whereas the <code>--vfs-read-ahead</code> is buffered on disk.</p>
+<p>When using this mode it is recommended that <code>--buffer-size</code> is not set too large and <code>--vfs-read-ahead</code> is set large if required.</p>
<p><strong>IMPORTANT</strong> not all file systems support sparse files. In particular FAT/exFAT do not. Rclone will perform very badly if the cache directory is on a filesystem which doesn't support sparse files and it will log an ERROR message if one is detected.</p>
+<h2 id="vfs-chunked-reading">VFS Chunked Reading</h2>
+<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This can reduce the used download quota for some remotes by requesting only chunks from the remote that are actually read, at the cost of an increased number of requests.</p>
+<p>These flags control the chunking:</p>
+<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+--vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)</code></pre>
+<p>Rclone will start reading a chunk of size <code>--vfs-read-chunk-size</code>, and then double the size for each read. When <code>--vfs-read-chunk-size-limit</code> is specified, and greater than <code>--vfs-read-chunk-size</code>, the chunk size for each open file will get doubled only until the specified value is reached. If the value is "off", which is the default, the limit is disabled and the chunk size will grow indefinitely.</p>
+<p>With <code>--vfs-read-chunk-size 100M</code> and <code>--vfs-read-chunk-size-limit 0</code> the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on. When <code>--vfs-read-chunk-size-limit 500M</code> is specified, the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.</p>
+<p>Setting <code>--vfs-read-chunk-size</code> to <code>0</code> or "off" disables chunked reading.</p>
<h2 id="vfs-performance">VFS Performance</h2>
-<p>These flags may be used to enable/disable features of the VFS for performance or other reasons.</p>
-<p>In particular S3 and Swift benefit hugely from the --no-modtime flag (or use --use-server-modtime for a slightly different effect) as each read of the modification time takes a transaction.</p>
+<p>These flags may be used to enable/disable features of the VFS for performance or other reasons. See also the <a href="#vfs-chunked-reading">chunked reading</a> feature.</p>
+<p>In particular S3 and Swift benefit hugely from the <code>--no-modtime</code> flag (or use <code>--use-server-modtime</code> for a slightly different effect) as each read of the modification time takes a transaction.</p>
<pre><code>--no-checksum Don&#39;t compare checksums on up/download.
--no-modtime Don&#39;t read/write the modification time (can speed things up).
--no-seek Don&#39;t allow seeking in files.
--read-only Mount read-only.</code></pre>
-<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This is advantageous because some cloud providers account for reads being all the data requested, not all the data delivered.</p>
-<p>Rclone will keep doubling the chunk size requested starting at --vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit unless it is set to "off" in which case there will be no limit.</p>
-<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
---vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default &quot;off&quot;)</code></pre>
<p>Sometimes rclone is delivered reads or writes out of order. Rather than seeking rclone will wait a short time for the in sequence read or write to come in. These flags only come into effect when not using an on disk cache file.</p>
-<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
---vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
-<p>When using VFS write caching (--vfs-cache-mode with value writes or full), the global flag --transfers can be set to adjust the number of parallel uploads of modified files from cache (the related global flag --checkers have no effect on mount).</p>
-<pre><code>--transfers int Number of file transfers to run in parallel. (default 4)</code></pre>
+<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+--vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
+<p>When using VFS write caching (<code>--vfs-cache-mode</code> with value writes or full), the global flag <code>--transfers</code> can be set to adjust the number of parallel uploads of modified files from cache (the related global flag <code>--checkers</code> have no effect on mount).</p>
+<pre><code>--transfers int Number of file transfers to run in parallel (default 4)</code></pre>
<h2 id="vfs-case-sensitivity">VFS Case Sensitivity</h2>
<p>Linux file systems are case-sensitive: two files can differ only by case, and the exact case must be used when opening a file.</p>
<p>File systems in modern Windows are case-insensitive but case-preserving: although existing files can be opened using any case, the exact case used to create the file is preserved and available for programs to query. It is not allowed for two files in the same directory to differ only by case.</p>
-<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default</p>
+<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default.</p>
<p>The <code>--vfs-case-insensitive</code> mount flag controls how rclone handles these two cases. If its value is "false", rclone passes file names to the mounted file system as-is. If the flag is "true" (or appears without a value on command line), rclone may perform a "fixup" as explained below.</p>
<p>The user may specify a file name to open/delete/rename/etc with a case different than what is stored on mounted file system. If an argument refers to an existing file with exactly the same name, then the case of the existing file on the disk will be used. However, if a file name with exactly the same name is not found but a name differing only by case exists, rclone will transparently fixup the name. This fixup happens only when an existing file is requested. Case sensitivity of file names created anew by rclone is controlled by an underlying mounted file system.</p>
<p>Note that case sensitivity of the operating system running rclone (the target) may differ from case sensitivity of a file system mounted by rclone (the source). The flag controls whether "fixup" is performed to satisfy the target.</p>
@@ -1789,56 +1997,57 @@ rclone mount remote:path/to/files * --volname \\cloud\remote</code></pre>
<p>Some backends, most notably S3, do not report the amount of bytes used. If you need this information to be available when running <code>df</code> on the filesystem, then pass the flag <code>--vfs-used-is-size</code> to rclone. With this flag set, instead of relying on the backend to report this information, rclone will scan the whole remote similar to <code>rclone size</code> and compute the total used space itself.</p>
<p><em>WARNING.</em> Contrary to <code>rclone size</code>, this flag ignores filters so that the result is accurate. However, this is very inefficient and may cost lots of API calls resulting in extra charges. Use it as a last resort and only with caching.</p>
<pre><code>rclone mount remote:path /path/to/mountpoint [flags]</code></pre>
-<h2 id="options-51">Options</h2>
-<pre><code> --allow-non-empty Allow mounting over a non-empty directory. Not supported on Windows.
- --allow-other Allow access to other users. Not supported on Windows.
- --allow-root Allow access to root user. Not supported on Windows.
- --async-read Use asynchronous reads. Not supported on Windows. (default true)
- --attr-timeout duration Time for which file/directory attributes are cached. (default 1s)
- --daemon Run mount as a daemon (background mode). Not supported on Windows.
- --daemon-timeout duration Time limit for rclone to respond to kernel. Not supported on Windows.
- --debug-fuse Debug the FUSE internals - needs -v.
- --default-permissions Makes kernel enforce access control based on the file mode. Not supported on Windows.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+<h2 id="options-57">Options</h2>
+<pre><code> --allow-non-empty Allow mounting over a non-empty directory (not supported on Windows)
+ --allow-other Allow access to other users (not supported on Windows)
+ --allow-root Allow access to root user (not supported on Windows)
+ --async-read Use asynchronous reads (not supported on Windows) (default true)
+ --attr-timeout duration Time for which file/directory attributes are cached (default 1s)
+ --daemon Run mount in background and exit parent process (as background output is suppressed, use --log-file with --log-format=pid,... to monitor) (not supported on Windows)
+ --daemon-timeout duration Time limit for rclone to respond to kernel (not supported on Windows)
+ --daemon-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD) (not supported on Windows) (default 1m0s)
+ --debug-fuse Debug the FUSE internals - needs -v
+ --default-permissions Makes kernel enforce access control based on the file mode (not supported on Windows)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp. Repeat if required.
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp (repeat if required)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for mount
- --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads. Not supported on Windows. (default 128Ki)
- --network-mode Mount as remote network drive, instead of fixed disk drive. Supported on Windows only
- --no-checksum Don&#39;t compare checksums on up/download.
- --no-modtime Don&#39;t read/write the modification time (can speed things up).
- --no-seek Don&#39;t allow seeking in files.
- --noappledouble Ignore Apple Double (._) and .DS_Store files. Supported on OSX only. (default true)
- --noapplexattr Ignore all &quot;com.apple.*&quot; extended attributes. Supported on OSX only.
- -o, --option stringArray Option for libfuse/WinFsp. Repeat if required.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads (not supported on Windows) (default 128Ki)
+ --network-mode Mount as remote network drive, instead of fixed disk drive (supported on Windows only)
+ --no-checksum Don&#39;t compare checksums on up/download
+ --no-modtime Don&#39;t read/write the modification time (can speed things up)
+ --no-seek Don&#39;t allow seeking in files
+ --noappledouble Ignore Apple Double (._) and .DS_Store files (supported on OSX only) (default true)
+ --noapplexattr Ignore all &quot;com.apple.*&quot; extended attributes (supported on OSX only)
+ -o, --option stringArray Option for libfuse/WinFsp (repeat if required)
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. &#39;off&#39; is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
- --volname string Set the volume name. Supported on Windows and OSX only.
- --write-back-cache Makes kernel buffer writes before sending them to rclone. Without this, writethrough caching is used. Not supported on Windows.</code></pre>
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached (&#39;off&#39; is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
+ --volname string Set the volume name (supported on Windows and OSX only)
+ --write-back-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on Windows)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-51">SEE ALSO</h2>
+<h2 id="see-also-57">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-moveto">rclone moveto</h1>
<p>Move file or directory from source to dest.</p>
-<h2 id="synopsis-44">Synopsis</h2>
+<h2 id="synopsis-49">Synopsis</h2>
<p>If source:path is a file or directory then it moves it to a file or directory named dest:path.</p>
<p>This can be used to rename files or upload single files to other than their existing name. If the source is a directory then it acts exactly like the move command.</p>
<p>So</p>
@@ -1850,20 +2059,20 @@ rclone mount remote:path/to/files * --volname \\cloud\remote</code></pre>
if src is directory
move it to dst, overwriting existing files if they exist
see move command for full details</code></pre>
-<p>This doesn't transfer unchanged files, testing by size and modification time or MD5SUM. src will be deleted on successful transfer.</p>
+<p>This doesn't transfer files that are identical on src and dst, testing by size and modification time or MD5SUM. src will be deleted on successful transfer.</p>
<p><strong>Important</strong>: Since this can cause data loss, test first with the <code>--dry-run</code> or the <code>--interactive</code>/<code>-i</code> flag.</p>
<p><strong>Note</strong>: Use the <code>-P</code>/<code>--progress</code> flag to view real-time transfer statistics.</p>
<pre><code>rclone moveto source:path dest:path [flags]</code></pre>
-<h2 id="options-52">Options</h2>
+<h2 id="options-58">Options</h2>
<pre><code> -h, --help help for moveto</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-52">SEE ALSO</h2>
+<h2 id="see-also-58">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-ncdu">rclone ncdu</h1>
<p>Explore a remote with a text based user interface.</p>
-<h2 id="synopsis-45">Synopsis</h2>
+<h2 id="synopsis-50">Synopsis</h2>
<p>This displays a text based user interface allowing the navigation of a remote. It is most useful for answering the question - "What is using all my disk space?".</p>
<p>To make the user interface it first scans the entire remote given and builds an in memory representation. rclone ncdu can be used during this scanning phase and you will see it building up the directory structure as it goes along.</p>
<p>Here are the keys - press '?' to toggle the help on and off</p>
@@ -1873,6 +2082,7 @@ if src is directory
c toggle counts
g toggle graph
a toggle average size in directory
+ u toggle human-readable format
n,s,C,A sort by name,size,count,average size
d delete file/directory
y copy current path to clipboard
@@ -1883,16 +2093,16 @@ if src is directory
<p>This an homage to the <a href="https://dev.yorhel.nl/ncdu">ncdu tool</a> but for rclone remotes. It is missing lots of features at the moment but is useful as it stands.</p>
<p>Note that it might take some time to delete big files/folders. The UI won't respond in the meantime since the deletion is done synchronously.</p>
<pre><code>rclone ncdu remote:path [flags]</code></pre>
-<h2 id="options-53">Options</h2>
+<h2 id="options-59">Options</h2>
<pre><code> -h, --help help for ncdu</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-53">SEE ALSO</h2>
+<h2 id="see-also-59">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-obscure">rclone obscure</h1>
<p>Obscure password for use in the rclone config file.</p>
-<h2 id="synopsis-46">Synopsis</h2>
+<h2 id="synopsis-51">Synopsis</h2>
<p>In the rclone config file, human readable passwords are obscured. Obscuring them is done by encrypting them and writing them out in base64. This is <strong>not</strong> a secure way of encrypting these passwords as rclone can decrypt them - it is to prevent "eyedropping" - namely someone seeing a password in the rclone config file by accident.</p>
<p>Many equally important things (like access tokens) are not obscured in the config file. However it is very hard to shoulder surf a 64 character hex token.</p>
<p>This command can also accept a password through STDIN instead of an argument by passing a hyphen as an argument. This will use the first line of STDIN as the password not including the trailing newline.</p>
@@ -1900,16 +2110,16 @@ if src is directory
<p>If there is no data on STDIN to read, rclone obscure will default to obfuscating the hyphen itself.</p>
<p>If you want to encrypt the config file then please use config file encryption - see <a href="https://rclone.org/commands/rclone_config/">rclone config</a> for more info.</p>
<pre><code>rclone obscure password [flags]</code></pre>
-<h2 id="options-54">Options</h2>
+<h2 id="options-60">Options</h2>
<pre><code> -h, --help help for obscure</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-54">SEE ALSO</h2>
+<h2 id="see-also-60">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-rc">rclone rc</h1>
<p>Run a command against a running rclone.</p>
-<h2 id="synopsis-47">Synopsis</h2>
+<h2 id="synopsis-52">Synopsis</h2>
<p>This runs a command against a running rclone. Use the --url flag to specify an non default URL to connect on. This can be either a ":port" which is taken to mean "http://localhost:port" or a "host:port" which is taken to mean "http://host:port"</p>
<p>A username and password can be passed in with --user and --pass.</p>
<p>Note that --rc-addr, --rc-user, --rc-pass will be read also for --url, --user, --pass.</p>
@@ -1928,24 +2138,24 @@ if src is directory
<pre><code>rclone rc --loopback operations/about fs=/</code></pre>
<p>Use "rclone rc" to see a list of all possible commands.</p>
<pre><code>rclone rc commands parameter [flags]</code></pre>
-<h2 id="options-55">Options</h2>
-<pre><code> -a, --arg stringArray Argument placed in the &quot;arg&quot; array.
+<h2 id="options-61">Options</h2>
+<pre><code> -a, --arg stringArray Argument placed in the &quot;arg&quot; array
-h, --help help for rc
- --json string Input JSON - use instead of key=value args.
- --loopback If set connect to this rclone instance not via HTTP.
- --no-output If set, don&#39;t output the JSON result.
- -o, --opt stringArray Option in the form name=value or name placed in the &quot;opt&quot; array.
- --pass string Password to use to connect to rclone remote control.
- --url string URL to connect to rclone remote control. (default &quot;http://localhost:5572/&quot;)
- --user string Username to use to rclone remote control.</code></pre>
+ --json string Input JSON - use instead of key=value args
+ --loopback If set connect to this rclone instance not via HTTP
+ --no-output If set, don&#39;t output the JSON result
+ -o, --opt stringArray Option in the form name=value or name placed in the &quot;opt&quot; array
+ --pass string Password to use to connect to rclone remote control
+ --url string URL to connect to rclone remote control (default &quot;http://localhost:5572/&quot;)
+ --user string Username to use to rclone remote control</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-55">SEE ALSO</h2>
+<h2 id="see-also-61">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-rcat">rclone rcat</h1>
<p>Copies standard input to file on remote.</p>
-<h2 id="synopsis-48">Synopsis</h2>
+<h2 id="synopsis-53">Synopsis</h2>
<p>rclone rcat reads from standard input (stdin) and copies it to a single remote file.</p>
<pre><code>echo &quot;hello world&quot; | rclone rcat remote:path/to/file
ffmpeg - | rclone rcat remote:path/to/file</code></pre>
@@ -1955,48 +2165,48 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>|--size| should be the exact size of the input stream in bytes. If the size of the stream is different in length to the |--size| passed in then the transfer will likely fail.</p>
<p>Note that the upload can also not be retried because the data is not kept around until the upload succeeds. If you need to transfer a lot of data, you're better off caching locally and then <code>rclone move</code> it to the destination.</p>
<pre><code>rclone rcat remote:path [flags]</code></pre>
-<h2 id="options-56">Options</h2>
+<h2 id="options-62">Options</h2>
<pre><code> -h, --help help for rcat
--size int File size hint to preallocate (default -1)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-56">SEE ALSO</h2>
+<h2 id="see-also-62">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-rcd">rclone rcd</h1>
<p>Run rclone listening to remote control commands only.</p>
-<h2 id="synopsis-49">Synopsis</h2>
+<h2 id="synopsis-54">Synopsis</h2>
<p>This runs rclone so that it only listens to remote control commands.</p>
<p>This is useful if you are controlling rclone via the rc API.</p>
<p>If you pass in a path to a directory, rclone will serve that directory for GET requests on the URL passed in. It will also open the URL in the browser when rclone is run.</p>
<p>See the <a href="https://rclone.org/rc/">rc documentation</a> for more info on the rc flags.</p>
<pre><code>rclone rcd &lt;path to files to serve&gt;* [flags]</code></pre>
-<h2 id="options-57">Options</h2>
+<h2 id="options-63">Options</h2>
<pre><code> -h, --help help for rcd</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-57">SEE ALSO</h2>
+<h2 id="see-also-63">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-rmdirs">rclone rmdirs</h1>
<p>Remove empty directories under the path.</p>
-<h2 id="synopsis-50">Synopsis</h2>
+<h2 id="synopsis-55">Synopsis</h2>
<p>This recursively removes any empty directories (including directories that only contain empty directories), that it finds under the path. The root path itself will also be removed if it is empty, unless you supply the <code>--leave-root</code> flag.</p>
<p>Use command <code>rmdir</code> to delete just the empty directory given by path, not recurse.</p>
<p>This is useful for tidying up remotes that rclone has left a lot of empty directories in. For example the <code>delete</code> command will delete files but leave the directory structure (unless used with option <code>--rmdirs</code>).</p>
<p>To delete a path and any objects in it, use <code>purge</code> command.</p>
<pre><code>rclone rmdirs remote:path [flags]</code></pre>
-<h2 id="options-58">Options</h2>
+<h2 id="options-64">Options</h2>
<pre><code> -h, --help help for rmdirs
--leave-root Do not remove root directory if empty</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-58">SEE ALSO</h2>
+<h2 id="see-also-64">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-selfupdate">rclone selfupdate</h1>
<p>Update the rclone binary.</p>
-<h2 id="synopsis-51">Synopsis</h2>
+<h2 id="synopsis-56">Synopsis</h2>
<p>This command downloads the latest release of rclone and replaces the currently running binary. The download is verified with a hashsum and cryptographically signed signature.</p>
<p>If used without flags (or with implied <code>--stable</code> flag), this command will install the latest stable release. However, some issues may be fixed (or features added) only in the latest beta release. In such cases you should run the command with the <code>--beta</code> flag, i.e. <code>rclone selfupdate --beta</code>. You can check in advance what version would be installed by adding the <code>--check</code> flag, then repeat the command without it when you are satisfied.</p>
<p>Sometimes the rclone team may recommend you a concrete beta or stable rclone release to troubleshoot your issue or add a bleeding edge feature. The <code>--version VER</code> flag, if given, will update to the concrete version instead of the latest one. If you omit micro version from <code>VER</code> (for example <code>1.53</code>), the latest matching micro version will be used.</p>
@@ -2006,30 +2216,30 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>Note: Windows forbids deletion of a currently running executable so this command will rename the old executable to 'rclone.old.exe' upon success.</p>
<p>Please note that this command was not available before rclone version 1.55. If it fails for you with the message <code>unknown command "selfupdate"</code> then you will need to update manually following the install instructions located at https://rclone.org/install/</p>
<pre><code>rclone selfupdate [flags]</code></pre>
-<h2 id="options-59">Options</h2>
-<pre><code> --beta Install beta release.
- --check Check for latest release, do not download.
+<h2 id="options-65">Options</h2>
+<pre><code> --beta Install beta release
+ --check Check for latest release, do not download
-h, --help help for selfupdate
--output string Save the downloaded binary at a given path (default: replace running binary)
--package string Package format: zip|deb|rpm (default: zip)
--stable Install stable release (this is the default)
--version string Install the given rclone version (default: latest)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-59">SEE ALSO</h2>
+<h2 id="see-also-65">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-serve">rclone serve</h1>
<p>Serve a remote over a protocol.</p>
-<h2 id="synopsis-52">Synopsis</h2>
+<h2 id="synopsis-57">Synopsis</h2>
<p>rclone serve is used to serve a remote over a given protocol. This command requires the use of a subcommand to specify the protocol, e.g.</p>
<pre><code>rclone serve http remote:</code></pre>
<p>Each subcommand has its own options which you can see in their help.</p>
<pre><code>rclone serve &lt;protocol&gt; [opts] &lt;remote&gt; [flags]</code></pre>
-<h2 id="options-60">Options</h2>
+<h2 id="options-66">Options</h2>
<pre><code> -h, --help help for serve</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-60">SEE ALSO</h2>
+<h2 id="see-also-66">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
<li><a href="https://rclone.org/commands/rclone_serve_dlna/">rclone serve dlna</a> - Serve remote:path over DLNA</li>
@@ -2042,7 +2252,7 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
</ul>
<h1 id="rclone-serve-dlna">rclone serve dlna</h1>
<p>Serve remote:path over DLNA</p>
-<h2 id="synopsis-53">Synopsis</h2>
+<h2 id="synopsis-58">Synopsis</h2>
<p>rclone serve dlna is a DLNA media server for media stored in an rclone remote. Many devices, such as the Xbox and PlayStation, can automatically discover this server in the LAN and play audio/video from it. VLC is also supported. Service discovery uses UDP multicast packets (SSDP) and will thus only work on LANs.</p>
<p>Rclone will list all files present in the remote, without filtering based on media formats or file extensions. Additionally, there is no media transcoding support. This means that some players might show files that they are not able to play back correctly.</p>
<h2 id="server-options">Server options</h2>
@@ -2055,8 +2265,8 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>The VFS layer also implements a directory cache - this caches info about files and directories (but not the data) in memory.</p>
<h2 id="vfs-directory-cache-1">VFS Directory Cache</h2>
<p>Using the <code>--dir-cache-time</code> flag, you can control how long a directory should be considered up to date and not refreshed from the backend. Changes made through the mount will appear immediately or invalidate the cache.</p>
-<pre><code>--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
---poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)</code></pre>
+<pre><code>--dir-cache-time duration Time to cache directory entries for (default 5m0s)
+--poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)</code></pre>
<p>However, changes made directly on the cloud storage by the web interface or a different copy of rclone will only be picked up once the directory cache expires if the backend configured does not support polling for changes. If the backend supports polling, changes will be picked up within the polling interval.</p>
<p>You can send a <code>SIGHUP</code> signal to rclone for it to flush all directory caches, regardless of how old they are. Assuming only one rclone instance is running, you can reset the cache like this:</p>
<pre><code>kill -SIGHUP $(pidof rclone)</code></pre>
@@ -2075,13 +2285,13 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>Note that the VFS cache is separate from the cache backend and you may find that you need one or the other or both.</p>
<pre><code>--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
---vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
---vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
---vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
---vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)</code></pre>
+--vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+--vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+--vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+--vfs-write-back duration Time to writeback files after last use when using cache (default 5s)</code></pre>
<p>If run with <code>-vv</code> rclone will print the location of the file cache. The files are stored in the user cache file area which is OS dependent but can be controlled with <code>--cache-dir</code> or setting the appropriate environment variable.</p>
<p>The cache has 4 different modes selected by <code>--vfs-cache-mode</code>. The higher the cache mode the more compatible rclone becomes at the cost of using disk space.</p>
-<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for --vfs-write-back second. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
+<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for <code>--vfs-write-back</code> seconds. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
<p>If using <code>--vfs-cache-max-size</code> note that the cache may exceed this size for two reasons. Firstly because it is only checked every <code>--vfs-cache-poll-interval</code>. Secondly because open files cannot be evicted from the cache.</p>
<p>You <strong>should not</strong> run two copies of rclone using the same VFS cache with the same or overlapping remotes if using <code>--vfs-cache-mode &gt; off</code>. This can potentially cause data corruption if you do. You can work around this by giving each rclone its own cache hierarchy with <code>--cache-dir</code>. You don't need to worry about this if the remotes in use don't overlap.</p>
<h3 id="vfs-cache-mode-off-1">--vfs-cache-mode off</h3>
@@ -2113,30 +2323,34 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>In this mode all reads and writes are buffered to and from disk. When data is read from the remote this is buffered to disk as well.</p>
<p>In this mode the files in the cache will be sparse files and rclone will keep track of which bits of the files it has downloaded.</p>
<p>So if an application only reads the starts of each file, then rclone will only buffer the start of the file. These files will appear to be their full size in the cache, but they will be sparse files with only the data that has been downloaded present in them.</p>
-<p>This mode should support all normal file system operations and is otherwise identical to --vfs-cache-mode writes.</p>
-<p>When reading a file rclone will read --buffer-size plus --vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory whereas the --vfs-read-ahead is buffered on disk.</p>
-<p>When using this mode it is recommended that --buffer-size is not set too big and --vfs-read-ahead is set large if required.</p>
+<p>This mode should support all normal file system operations and is otherwise identical to <code>--vfs-cache-mode</code> writes.</p>
+<p>When reading a file rclone will read <code>--buffer-size</code> plus <code>--vfs-read-ahead</code> bytes ahead. The <code>--buffer-size</code> is buffered in memory whereas the <code>--vfs-read-ahead</code> is buffered on disk.</p>
+<p>When using this mode it is recommended that <code>--buffer-size</code> is not set too large and <code>--vfs-read-ahead</code> is set large if required.</p>
<p><strong>IMPORTANT</strong> not all file systems support sparse files. In particular FAT/exFAT do not. Rclone will perform very badly if the cache directory is on a filesystem which doesn't support sparse files and it will log an ERROR message if one is detected.</p>
+<h2 id="vfs-chunked-reading-1">VFS Chunked Reading</h2>
+<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This can reduce the used download quota for some remotes by requesting only chunks from the remote that are actually read, at the cost of an increased number of requests.</p>
+<p>These flags control the chunking:</p>
+<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+--vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)</code></pre>
+<p>Rclone will start reading a chunk of size <code>--vfs-read-chunk-size</code>, and then double the size for each read. When <code>--vfs-read-chunk-size-limit</code> is specified, and greater than <code>--vfs-read-chunk-size</code>, the chunk size for each open file will get doubled only until the specified value is reached. If the value is "off", which is the default, the limit is disabled and the chunk size will grow indefinitely.</p>
+<p>With <code>--vfs-read-chunk-size 100M</code> and <code>--vfs-read-chunk-size-limit 0</code> the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on. When <code>--vfs-read-chunk-size-limit 500M</code> is specified, the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.</p>
+<p>Setting <code>--vfs-read-chunk-size</code> to <code>0</code> or "off" disables chunked reading.</p>
<h2 id="vfs-performance-1">VFS Performance</h2>
-<p>These flags may be used to enable/disable features of the VFS for performance or other reasons.</p>
-<p>In particular S3 and Swift benefit hugely from the --no-modtime flag (or use --use-server-modtime for a slightly different effect) as each read of the modification time takes a transaction.</p>
+<p>These flags may be used to enable/disable features of the VFS for performance or other reasons. See also the <a href="#vfs-chunked-reading">chunked reading</a> feature.</p>
+<p>In particular S3 and Swift benefit hugely from the <code>--no-modtime</code> flag (or use <code>--use-server-modtime</code> for a slightly different effect) as each read of the modification time takes a transaction.</p>
<pre><code>--no-checksum Don&#39;t compare checksums on up/download.
--no-modtime Don&#39;t read/write the modification time (can speed things up).
--no-seek Don&#39;t allow seeking in files.
--read-only Mount read-only.</code></pre>
-<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This is advantageous because some cloud providers account for reads being all the data requested, not all the data delivered.</p>
-<p>Rclone will keep doubling the chunk size requested starting at --vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit unless it is set to "off" in which case there will be no limit.</p>
-<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
---vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default &quot;off&quot;)</code></pre>
<p>Sometimes rclone is delivered reads or writes out of order. Rather than seeking rclone will wait a short time for the in sequence read or write to come in. These flags only come into effect when not using an on disk cache file.</p>
-<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
---vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
-<p>When using VFS write caching (--vfs-cache-mode with value writes or full), the global flag --transfers can be set to adjust the number of parallel uploads of modified files from cache (the related global flag --checkers have no effect on mount).</p>
-<pre><code>--transfers int Number of file transfers to run in parallel. (default 4)</code></pre>
+<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+--vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
+<p>When using VFS write caching (<code>--vfs-cache-mode</code> with value writes or full), the global flag <code>--transfers</code> can be set to adjust the number of parallel uploads of modified files from cache (the related global flag <code>--checkers</code> have no effect on mount).</p>
+<pre><code>--transfers int Number of file transfers to run in parallel (default 4)</code></pre>
<h2 id="vfs-case-sensitivity-1">VFS Case Sensitivity</h2>
<p>Linux file systems are case-sensitive: two files can differ only by case, and the exact case must be used when opening a file.</p>
<p>File systems in modern Windows are case-insensitive but case-preserving: although existing files can be opened using any case, the exact case used to create the file is preserved and available for programs to query. It is not allowed for two files in the same directory to differ only by case.</p>
-<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default</p>
+<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default.</p>
<p>The <code>--vfs-case-insensitive</code> mount flag controls how rclone handles these two cases. If its value is "false", rclone passes file names to the mounted file system as-is. If the flag is "true" (or appears without a value on command line), rclone may perform a "fixup" as explained below.</p>
<p>The user may specify a file name to open/delete/rename/etc with a case different than what is stored on mounted file system. If an argument refers to an existing file with exactly the same name, then the case of the existing file on the disk will be used. However, if a file name with exactly the same name is not found but a name differing only by case exists, rclone will transparently fixup the name. This fixup happens only when an existing file is requested. Case sensitivity of file names created anew by rclone is controlled by an underlying mounted file system.</p>
<p>Note that case sensitivity of the operating system running rclone (the target) may differ from case sensitivity of a file system mounted by rclone (the source). The flag controls whether "fixup" is performed to satisfy the target.</p>
@@ -2145,42 +2359,42 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>Some backends, most notably S3, do not report the amount of bytes used. If you need this information to be available when running <code>df</code> on the filesystem, then pass the flag <code>--vfs-used-is-size</code> to rclone. With this flag set, instead of relying on the backend to report this information, rclone will scan the whole remote similar to <code>rclone size</code> and compute the total used space itself.</p>
<p><em>WARNING.</em> Contrary to <code>rclone size</code>, this flag ignores filters so that the result is accurate. However, this is very inefficient and may cost lots of API calls resulting in extra charges. Use it as a last resort and only with caching.</p>
<pre><code>rclone serve dlna remote:path [flags]</code></pre>
-<h2 id="options-61">Options</h2>
-<pre><code> --addr string ip:port or :port to bind the DLNA http server to. (default &quot;:7879&quot;)
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+<h2 id="options-67">Options</h2>
+<pre><code> --addr string The ip:port or :port to bind the DLNA http server to (default &quot;:7879&quot;)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for dlna
- --log-trace enable trace logging of SOAP traffic
- --name string name of DLNA server
- --no-checksum Don&#39;t compare checksums on up/download.
- --no-modtime Don&#39;t read/write the modification time (can speed things up).
- --no-seek Don&#39;t allow seeking in files.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --log-trace Enable trace logging of SOAP traffic
+ --name string Name of DLNA server
+ --no-checksum Don&#39;t compare checksums on up/download
+ --no-modtime Don&#39;t read/write the modification time (can speed things up)
+ --no-seek Don&#39;t allow seeking in files
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. &#39;off&#39; is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached (&#39;off&#39; is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-61">SEE ALSO</h2>
+<h2 id="see-also-67">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_serve/">rclone serve</a> - Serve a remote over a protocol.</li>
</ul>
<h1 id="rclone-serve-docker">rclone serve docker</h1>
<p>Serve any remote on docker's volume plugin API.</p>
-<h2 id="synopsis-54">Synopsis</h2>
+<h2 id="synopsis-59">Synopsis</h2>
<p>This command implements the Docker volume plugin API allowing docker to use rclone as a data storage mechanism for various cloud providers. rclone provides <a href="/docker">docker volume plugin</a> based on it.</p>
<p>To create a docker plugin, one must create a Unix or TCP socket that Docker will look for when you use the plugin and then it listens for commands from docker daemon and runs the corresponding code when necessary. Docker plugins can run as a managed plugin under control of the docker daemon or as an independent native service. For testing, you can just run it directly from the command line, for example:</p>
<pre><code>sudo rclone serve docker --base-dir /tmp/rclone-volumes --socket-addr localhost:8787 -vv</code></pre>
@@ -2194,8 +2408,8 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>The VFS layer also implements a directory cache - this caches info about files and directories (but not the data) in memory.</p>
<h2 id="vfs-directory-cache-2">VFS Directory Cache</h2>
<p>Using the <code>--dir-cache-time</code> flag, you can control how long a directory should be considered up to date and not refreshed from the backend. Changes made through the mount will appear immediately or invalidate the cache.</p>
-<pre><code>--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
---poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)</code></pre>
+<pre><code>--dir-cache-time duration Time to cache directory entries for (default 5m0s)
+--poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)</code></pre>
<p>However, changes made directly on the cloud storage by the web interface or a different copy of rclone will only be picked up once the directory cache expires if the backend configured does not support polling for changes. If the backend supports polling, changes will be picked up within the polling interval.</p>
<p>You can send a <code>SIGHUP</code> signal to rclone for it to flush all directory caches, regardless of how old they are. Assuming only one rclone instance is running, you can reset the cache like this:</p>
<pre><code>kill -SIGHUP $(pidof rclone)</code></pre>
@@ -2214,13 +2428,13 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>Note that the VFS cache is separate from the cache backend and you may find that you need one or the other or both.</p>
<pre><code>--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
---vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
---vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
---vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
---vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)</code></pre>
+--vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+--vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+--vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+--vfs-write-back duration Time to writeback files after last use when using cache (default 5s)</code></pre>
<p>If run with <code>-vv</code> rclone will print the location of the file cache. The files are stored in the user cache file area which is OS dependent but can be controlled with <code>--cache-dir</code> or setting the appropriate environment variable.</p>
<p>The cache has 4 different modes selected by <code>--vfs-cache-mode</code>. The higher the cache mode the more compatible rclone becomes at the cost of using disk space.</p>
-<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for --vfs-write-back second. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
+<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for <code>--vfs-write-back</code> seconds. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
<p>If using <code>--vfs-cache-max-size</code> note that the cache may exceed this size for two reasons. Firstly because it is only checked every <code>--vfs-cache-poll-interval</code>. Secondly because open files cannot be evicted from the cache.</p>
<p>You <strong>should not</strong> run two copies of rclone using the same VFS cache with the same or overlapping remotes if using <code>--vfs-cache-mode &gt; off</code>. This can potentially cause data corruption if you do. You can work around this by giving each rclone its own cache hierarchy with <code>--cache-dir</code>. You don't need to worry about this if the remotes in use don't overlap.</p>
<h3 id="vfs-cache-mode-off-2">--vfs-cache-mode off</h3>
@@ -2252,30 +2466,34 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>In this mode all reads and writes are buffered to and from disk. When data is read from the remote this is buffered to disk as well.</p>
<p>In this mode the files in the cache will be sparse files and rclone will keep track of which bits of the files it has downloaded.</p>
<p>So if an application only reads the starts of each file, then rclone will only buffer the start of the file. These files will appear to be their full size in the cache, but they will be sparse files with only the data that has been downloaded present in them.</p>
-<p>This mode should support all normal file system operations and is otherwise identical to --vfs-cache-mode writes.</p>
-<p>When reading a file rclone will read --buffer-size plus --vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory whereas the --vfs-read-ahead is buffered on disk.</p>
-<p>When using this mode it is recommended that --buffer-size is not set too big and --vfs-read-ahead is set large if required.</p>
+<p>This mode should support all normal file system operations and is otherwise identical to <code>--vfs-cache-mode</code> writes.</p>
+<p>When reading a file rclone will read <code>--buffer-size</code> plus <code>--vfs-read-ahead</code> bytes ahead. The <code>--buffer-size</code> is buffered in memory whereas the <code>--vfs-read-ahead</code> is buffered on disk.</p>
+<p>When using this mode it is recommended that <code>--buffer-size</code> is not set too large and <code>--vfs-read-ahead</code> is set large if required.</p>
<p><strong>IMPORTANT</strong> not all file systems support sparse files. In particular FAT/exFAT do not. Rclone will perform very badly if the cache directory is on a filesystem which doesn't support sparse files and it will log an ERROR message if one is detected.</p>
+<h2 id="vfs-chunked-reading-2">VFS Chunked Reading</h2>
+<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This can reduce the used download quota for some remotes by requesting only chunks from the remote that are actually read, at the cost of an increased number of requests.</p>
+<p>These flags control the chunking:</p>
+<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+--vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)</code></pre>
+<p>Rclone will start reading a chunk of size <code>--vfs-read-chunk-size</code>, and then double the size for each read. When <code>--vfs-read-chunk-size-limit</code> is specified, and greater than <code>--vfs-read-chunk-size</code>, the chunk size for each open file will get doubled only until the specified value is reached. If the value is "off", which is the default, the limit is disabled and the chunk size will grow indefinitely.</p>
+<p>With <code>--vfs-read-chunk-size 100M</code> and <code>--vfs-read-chunk-size-limit 0</code> the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on. When <code>--vfs-read-chunk-size-limit 500M</code> is specified, the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.</p>
+<p>Setting <code>--vfs-read-chunk-size</code> to <code>0</code> or "off" disables chunked reading.</p>
<h2 id="vfs-performance-2">VFS Performance</h2>
-<p>These flags may be used to enable/disable features of the VFS for performance or other reasons.</p>
-<p>In particular S3 and Swift benefit hugely from the --no-modtime flag (or use --use-server-modtime for a slightly different effect) as each read of the modification time takes a transaction.</p>
+<p>These flags may be used to enable/disable features of the VFS for performance or other reasons. See also the <a href="#vfs-chunked-reading">chunked reading</a> feature.</p>
+<p>In particular S3 and Swift benefit hugely from the <code>--no-modtime</code> flag (or use <code>--use-server-modtime</code> for a slightly different effect) as each read of the modification time takes a transaction.</p>
<pre><code>--no-checksum Don&#39;t compare checksums on up/download.
--no-modtime Don&#39;t read/write the modification time (can speed things up).
--no-seek Don&#39;t allow seeking in files.
--read-only Mount read-only.</code></pre>
-<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This is advantageous because some cloud providers account for reads being all the data requested, not all the data delivered.</p>
-<p>Rclone will keep doubling the chunk size requested starting at --vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit unless it is set to "off" in which case there will be no limit.</p>
-<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
---vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default &quot;off&quot;)</code></pre>
<p>Sometimes rclone is delivered reads or writes out of order. Rather than seeking rclone will wait a short time for the in sequence read or write to come in. These flags only come into effect when not using an on disk cache file.</p>
-<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
---vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
-<p>When using VFS write caching (--vfs-cache-mode with value writes or full), the global flag --transfers can be set to adjust the number of parallel uploads of modified files from cache (the related global flag --checkers have no effect on mount).</p>
-<pre><code>--transfers int Number of file transfers to run in parallel. (default 4)</code></pre>
+<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+--vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
+<p>When using VFS write caching (<code>--vfs-cache-mode</code> with value writes or full), the global flag <code>--transfers</code> can be set to adjust the number of parallel uploads of modified files from cache (the related global flag <code>--checkers</code> have no effect on mount).</p>
+<pre><code>--transfers int Number of file transfers to run in parallel (default 4)</code></pre>
<h2 id="vfs-case-sensitivity-2">VFS Case Sensitivity</h2>
<p>Linux file systems are case-sensitive: two files can differ only by case, and the exact case must be used when opening a file.</p>
<p>File systems in modern Windows are case-insensitive but case-preserving: although existing files can be opened using any case, the exact case used to create the file is preserved and available for programs to query. It is not allowed for two files in the same directory to differ only by case.</p>
-<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default</p>
+<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default.</p>
<p>The <code>--vfs-case-insensitive</code> mount flag controls how rclone handles these two cases. If its value is "false", rclone passes file names to the mounted file system as-is. If the flag is "true" (or appears without a value on command line), rclone may perform a "fixup" as explained below.</p>
<p>The user may specify a file name to open/delete/rename/etc with a case different than what is stored on mounted file system. If an argument refers to an existing file with exactly the same name, then the case of the existing file on the disk will be used. However, if a file name with exactly the same name is not found but a name differing only by case exists, rclone will transparently fixup the name. This fixup happens only when an existing file is requested. Case sensitivity of file names created anew by rclone is controlled by an underlying mounted file system.</p>
<p>Note that case sensitivity of the operating system running rclone (the target) may differ from case sensitivity of a file system mounted by rclone (the source). The flag controls whether "fixup" is performed to satisfy the target.</p>
@@ -2284,61 +2502,62 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>Some backends, most notably S3, do not report the amount of bytes used. If you need this information to be available when running <code>df</code> on the filesystem, then pass the flag <code>--vfs-used-is-size</code> to rclone. With this flag set, instead of relying on the backend to report this information, rclone will scan the whole remote similar to <code>rclone size</code> and compute the total used space itself.</p>
<p><em>WARNING.</em> Contrary to <code>rclone size</code>, this flag ignores filters so that the result is accurate. However, this is very inefficient and may cost lots of API calls resulting in extra charges. Use it as a last resort and only with caching.</p>
<pre><code>rclone serve docker [flags]</code></pre>
-<h2 id="options-62">Options</h2>
-<pre><code> --allow-non-empty Allow mounting over a non-empty directory. Not supported on Windows.
- --allow-other Allow access to other users. Not supported on Windows.
- --allow-root Allow access to root user. Not supported on Windows.
- --async-read Use asynchronous reads. Not supported on Windows. (default true)
- --attr-timeout duration Time for which file/directory attributes are cached. (default 1s)
- --base-dir string base directory for volumes (default &quot;/var/lib/docker-volumes/rclone&quot;)
- --daemon Run mount as a daemon (background mode). Not supported on Windows.
- --daemon-timeout duration Time limit for rclone to respond to kernel. Not supported on Windows.
- --debug-fuse Debug the FUSE internals - needs -v.
- --default-permissions Makes kernel enforce access control based on the file mode. Not supported on Windows.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+<h2 id="options-68">Options</h2>
+<pre><code> --allow-non-empty Allow mounting over a non-empty directory (not supported on Windows)
+ --allow-other Allow access to other users (not supported on Windows)
+ --allow-root Allow access to root user (not supported on Windows)
+ --async-read Use asynchronous reads (not supported on Windows) (default true)
+ --attr-timeout duration Time for which file/directory attributes are cached (default 1s)
+ --base-dir string Base directory for volumes (default &quot;/var/lib/docker-volumes/rclone&quot;)
+ --daemon Run mount in background and exit parent process (as background output is suppressed, use --log-file with --log-format=pid,... to monitor) (not supported on Windows)
+ --daemon-timeout duration Time limit for rclone to respond to kernel (not supported on Windows)
+ --daemon-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD) (not supported on Windows) (default 1m0s)
+ --debug-fuse Debug the FUSE internals - needs -v
+ --default-permissions Makes kernel enforce access control based on the file mode (not supported on Windows)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --forget-state skip restoring previous state
- --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp. Repeat if required.
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --forget-state Skip restoring previous state
+ --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp (repeat if required)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for docker
- --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads. Not supported on Windows. (default 128Ki)
- --network-mode Mount as remote network drive, instead of fixed disk drive. Supported on Windows only
- --no-checksum Don&#39;t compare checksums on up/download.
- --no-modtime Don&#39;t read/write the modification time (can speed things up).
- --no-seek Don&#39;t allow seeking in files.
- --no-spec do not write spec file
- --noappledouble Ignore Apple Double (._) and .DS_Store files. Supported on OSX only. (default true)
- --noapplexattr Ignore all &quot;com.apple.*&quot; extended attributes. Supported on OSX only.
- -o, --option stringArray Option for libfuse/WinFsp. Repeat if required.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --socket-addr string &lt;host:port&gt; or absolute path (default: /run/docker/plugins/rclone.sock)
+ --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads (not supported on Windows) (default 128Ki)
+ --network-mode Mount as remote network drive, instead of fixed disk drive (supported on Windows only)
+ --no-checksum Don&#39;t compare checksums on up/download
+ --no-modtime Don&#39;t read/write the modification time (can speed things up)
+ --no-seek Don&#39;t allow seeking in files
+ --no-spec Do not write spec file
+ --noappledouble Ignore Apple Double (._) and .DS_Store files (supported on OSX only) (default true)
+ --noapplexattr Ignore all &quot;com.apple.*&quot; extended attributes (supported on OSX only)
+ -o, --option stringArray Option for libfuse/WinFsp (repeat if required)
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --socket-addr string Address &lt;host:port&gt; or absolute path (default: /run/docker/plugins/rclone.sock)
--socket-gid int GID for unix socket (default: current process GID) (default 1000)
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. &#39;off&#39; is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
- --volname string Set the volume name. Supported on Windows and OSX only.
- --write-back-cache Makes kernel buffer writes before sending them to rclone. Without this, writethrough caching is used. Not supported on Windows.</code></pre>
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached (&#39;off&#39; is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
+ --volname string Set the volume name (supported on Windows and OSX only)
+ --write-back-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on Windows)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-62">SEE ALSO</h2>
+<h2 id="see-also-68">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_serve/">rclone serve</a> - Serve a remote over a protocol.</li>
</ul>
<h1 id="rclone-serve-ftp">rclone serve ftp</h1>
<p>Serve remote:path over FTP.</p>
-<h2 id="synopsis-55">Synopsis</h2>
+<h2 id="synopsis-60">Synopsis</h2>
<p>rclone serve ftp implements a basic ftp server to serve the remote over FTP protocol. This can be viewed with a ftp client or you can make a remote of type ftp to read and write it.</p>
<h2 id="server-options-1">Server options</h2>
<p>Use --addr to specify which IP address and port the server should listen on, e.g. --addr 1.2.3.4:8000 or --addr :8080 to listen to all IPs. By default it only listens on localhost. You can use port :0 to let the OS choose an available port.</p>
@@ -2352,8 +2571,8 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>The VFS layer also implements a directory cache - this caches info about files and directories (but not the data) in memory.</p>
<h2 id="vfs-directory-cache-3">VFS Directory Cache</h2>
<p>Using the <code>--dir-cache-time</code> flag, you can control how long a directory should be considered up to date and not refreshed from the backend. Changes made through the mount will appear immediately or invalidate the cache.</p>
-<pre><code>--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
---poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)</code></pre>
+<pre><code>--dir-cache-time duration Time to cache directory entries for (default 5m0s)
+--poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)</code></pre>
<p>However, changes made directly on the cloud storage by the web interface or a different copy of rclone will only be picked up once the directory cache expires if the backend configured does not support polling for changes. If the backend supports polling, changes will be picked up within the polling interval.</p>
<p>You can send a <code>SIGHUP</code> signal to rclone for it to flush all directory caches, regardless of how old they are. Assuming only one rclone instance is running, you can reset the cache like this:</p>
<pre><code>kill -SIGHUP $(pidof rclone)</code></pre>
@@ -2372,13 +2591,13 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>Note that the VFS cache is separate from the cache backend and you may find that you need one or the other or both.</p>
<pre><code>--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
---vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
---vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
---vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
---vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)</code></pre>
+--vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+--vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+--vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+--vfs-write-back duration Time to writeback files after last use when using cache (default 5s)</code></pre>
<p>If run with <code>-vv</code> rclone will print the location of the file cache. The files are stored in the user cache file area which is OS dependent but can be controlled with <code>--cache-dir</code> or setting the appropriate environment variable.</p>
<p>The cache has 4 different modes selected by <code>--vfs-cache-mode</code>. The higher the cache mode the more compatible rclone becomes at the cost of using disk space.</p>
-<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for --vfs-write-back second. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
+<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for <code>--vfs-write-back</code> seconds. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
<p>If using <code>--vfs-cache-max-size</code> note that the cache may exceed this size for two reasons. Firstly because it is only checked every <code>--vfs-cache-poll-interval</code>. Secondly because open files cannot be evicted from the cache.</p>
<p>You <strong>should not</strong> run two copies of rclone using the same VFS cache with the same or overlapping remotes if using <code>--vfs-cache-mode &gt; off</code>. This can potentially cause data corruption if you do. You can work around this by giving each rclone its own cache hierarchy with <code>--cache-dir</code>. You don't need to worry about this if the remotes in use don't overlap.</p>
<h3 id="vfs-cache-mode-off-3">--vfs-cache-mode off</h3>
@@ -2410,30 +2629,34 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>In this mode all reads and writes are buffered to and from disk. When data is read from the remote this is buffered to disk as well.</p>
<p>In this mode the files in the cache will be sparse files and rclone will keep track of which bits of the files it has downloaded.</p>
<p>So if an application only reads the starts of each file, then rclone will only buffer the start of the file. These files will appear to be their full size in the cache, but they will be sparse files with only the data that has been downloaded present in them.</p>
-<p>This mode should support all normal file system operations and is otherwise identical to --vfs-cache-mode writes.</p>
-<p>When reading a file rclone will read --buffer-size plus --vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory whereas the --vfs-read-ahead is buffered on disk.</p>
-<p>When using this mode it is recommended that --buffer-size is not set too big and --vfs-read-ahead is set large if required.</p>
+<p>This mode should support all normal file system operations and is otherwise identical to <code>--vfs-cache-mode</code> writes.</p>
+<p>When reading a file rclone will read <code>--buffer-size</code> plus <code>--vfs-read-ahead</code> bytes ahead. The <code>--buffer-size</code> is buffered in memory whereas the <code>--vfs-read-ahead</code> is buffered on disk.</p>
+<p>When using this mode it is recommended that <code>--buffer-size</code> is not set too large and <code>--vfs-read-ahead</code> is set large if required.</p>
<p><strong>IMPORTANT</strong> not all file systems support sparse files. In particular FAT/exFAT do not. Rclone will perform very badly if the cache directory is on a filesystem which doesn't support sparse files and it will log an ERROR message if one is detected.</p>
+<h2 id="vfs-chunked-reading-3">VFS Chunked Reading</h2>
+<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This can reduce the used download quota for some remotes by requesting only chunks from the remote that are actually read, at the cost of an increased number of requests.</p>
+<p>These flags control the chunking:</p>
+<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+--vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)</code></pre>
+<p>Rclone will start reading a chunk of size <code>--vfs-read-chunk-size</code>, and then double the size for each read. When <code>--vfs-read-chunk-size-limit</code> is specified, and greater than <code>--vfs-read-chunk-size</code>, the chunk size for each open file will get doubled only until the specified value is reached. If the value is "off", which is the default, the limit is disabled and the chunk size will grow indefinitely.</p>
+<p>With <code>--vfs-read-chunk-size 100M</code> and <code>--vfs-read-chunk-size-limit 0</code> the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on. When <code>--vfs-read-chunk-size-limit 500M</code> is specified, the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.</p>
+<p>Setting <code>--vfs-read-chunk-size</code> to <code>0</code> or "off" disables chunked reading.</p>
<h2 id="vfs-performance-3">VFS Performance</h2>
-<p>These flags may be used to enable/disable features of the VFS for performance or other reasons.</p>
-<p>In particular S3 and Swift benefit hugely from the --no-modtime flag (or use --use-server-modtime for a slightly different effect) as each read of the modification time takes a transaction.</p>
+<p>These flags may be used to enable/disable features of the VFS for performance or other reasons. See also the <a href="#vfs-chunked-reading">chunked reading</a> feature.</p>
+<p>In particular S3 and Swift benefit hugely from the <code>--no-modtime</code> flag (or use <code>--use-server-modtime</code> for a slightly different effect) as each read of the modification time takes a transaction.</p>
<pre><code>--no-checksum Don&#39;t compare checksums on up/download.
--no-modtime Don&#39;t read/write the modification time (can speed things up).
--no-seek Don&#39;t allow seeking in files.
--read-only Mount read-only.</code></pre>
-<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This is advantageous because some cloud providers account for reads being all the data requested, not all the data delivered.</p>
-<p>Rclone will keep doubling the chunk size requested starting at --vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit unless it is set to "off" in which case there will be no limit.</p>
-<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
---vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default &quot;off&quot;)</code></pre>
<p>Sometimes rclone is delivered reads or writes out of order. Rather than seeking rclone will wait a short time for the in sequence read or write to come in. These flags only come into effect when not using an on disk cache file.</p>
-<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
---vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
-<p>When using VFS write caching (--vfs-cache-mode with value writes or full), the global flag --transfers can be set to adjust the number of parallel uploads of modified files from cache (the related global flag --checkers have no effect on mount).</p>
-<pre><code>--transfers int Number of file transfers to run in parallel. (default 4)</code></pre>
+<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+--vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
+<p>When using VFS write caching (<code>--vfs-cache-mode</code> with value writes or full), the global flag <code>--transfers</code> can be set to adjust the number of parallel uploads of modified files from cache (the related global flag <code>--checkers</code> have no effect on mount).</p>
+<pre><code>--transfers int Number of file transfers to run in parallel (default 4)</code></pre>
<h2 id="vfs-case-sensitivity-3">VFS Case Sensitivity</h2>
<p>Linux file systems are case-sensitive: two files can differ only by case, and the exact case must be used when opening a file.</p>
<p>File systems in modern Windows are case-insensitive but case-preserving: although existing files can be opened using any case, the exact case used to create the file is preserved and available for programs to query. It is not allowed for two files in the same directory to differ only by case.</p>
-<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default</p>
+<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default.</p>
<p>The <code>--vfs-case-insensitive</code> mount flag controls how rclone handles these two cases. If its value is "false", rclone passes file names to the mounted file system as-is. If the flag is "true" (or appears without a value on command line), rclone may perform a "fixup" as explained below.</p>
<p>The user may specify a file name to open/delete/rename/etc with a case different than what is stored on mounted file system. If an argument refers to an existing file with exactly the same name, then the case of the existing file on the disk will be used. However, if a file name with exactly the same name is not found but a name differing only by case exists, rclone will transparently fixup the name. This fixup happens only when an existing file is requested. Case sensitivity of file names created anew by rclone is controlled by an underlying mounted file system.</p>
<p>Note that case sensitivity of the operating system running rclone (the target) may differ from case sensitivity of a file system mounted by rclone (the source). The flag controls whether "fixup" is performed to satisfy the target.</p>
@@ -2472,47 +2695,47 @@ ffmpeg - | rclone rcat remote:path/to/file</code></pre>
<p>Note that an internal cache is keyed on <code>user</code> so only use that for configuration, don't use <code>pass</code> or <code>public_key</code>. This also means that if a user's password or public-key is changed the cache will need to expire (which takes 5 mins) before it takes effect.</p>
<p>This can be used to build general purpose proxies to any kind of backend that rclone supports.</p>
<pre><code>rclone serve ftp remote:path [flags]</code></pre>
-<h2 id="options-63">Options</h2>
-<pre><code> --addr string IPaddress:Port or :Port to bind server to. (default &quot;localhost:2121&quot;)
- --auth-proxy string A program to use to create the backend from the auth.
+<h2 id="options-69">Options</h2>
+<pre><code> --addr string IPaddress:Port or :Port to bind server to (default &quot;localhost:2121&quot;)
+ --auth-proxy string A program to use to create the backend from the auth
--cert string TLS PEM key (concatenation of certificate and CA certificate)
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for ftp
--key string TLS PEM Private key
- --no-checksum Don&#39;t compare checksums on up/download.
- --no-modtime Don&#39;t read/write the modification time (can speed things up).
- --no-seek Don&#39;t allow seeking in files.
- --pass string Password for authentication. (empty value allow every password)
- --passive-port string Passive port range to use. (default &quot;30000-32000&quot;)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --public-ip string Public IP address to advertise for passive connections.
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication. (default &quot;anonymous&quot;)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --no-checksum Don&#39;t compare checksums on up/download
+ --no-modtime Don&#39;t read/write the modification time (can speed things up)
+ --no-seek Don&#39;t allow seeking in files
+ --pass string Password for authentication (empty value allow every password)
+ --passive-port string Passive port range to use (default &quot;30000-32000&quot;)
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --public-ip string Public IP address to advertise for passive connections
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication (default &quot;anonymous&quot;)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. &#39;off&#39; is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached (&#39;off&#39; is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-63">SEE ALSO</h2>
+<h2 id="see-also-69">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_serve/">rclone serve</a> - Serve a remote over a protocol.</li>
</ul>
<h1 id="rclone-serve-http">rclone serve http</h1>
<p>Serve the remote over HTTP.</p>
-<h2 id="synopsis-56">Synopsis</h2>
+<h2 id="synopsis-61">Synopsis</h2>
<p>rclone serve http implements a basic web server to serve the remote over HTTP. This can be viewed in a web browser or you can make a remote of type http read from it.</p>
<p>You can use the filter flags (e.g. --include, --exclude) to control what is served.</p>
<p>The server will log errors. Use -v to see access logs.</p>
@@ -2614,14 +2837,15 @@ htpasswd -B htpasswd user
htpasswd -B htpasswd anotherUser</code></pre>
<p>The password file can be updated while rclone is running.</p>
<p>Use --realm to set the authentication realm.</p>
+<p>Use --salt to change the password hashing salt from the default.</p>
<h2 id="vfs---virtual-file-system-4">VFS - Virtual File System</h2>
<p>This command uses the VFS layer. This adapts the cloud storage objects that rclone uses into something which looks much more like a disk filing system.</p>
<p>Cloud storage objects have lots of properties which aren't like disk files - you can't extend them or write to the middle of them, so the VFS layer has to deal with that. Because there is no one right way of doing this there are various options explained below.</p>
<p>The VFS layer also implements a directory cache - this caches info about files and directories (but not the data) in memory.</p>
<h2 id="vfs-directory-cache-4">VFS Directory Cache</h2>
<p>Using the <code>--dir-cache-time</code> flag, you can control how long a directory should be considered up to date and not refreshed from the backend. Changes made through the mount will appear immediately or invalidate the cache.</p>
-<pre><code>--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
---poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)</code></pre>
+<pre><code>--dir-cache-time duration Time to cache directory entries for (default 5m0s)
+--poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)</code></pre>
<p>However, changes made directly on the cloud storage by the web interface or a different copy of rclone will only be picked up once the directory cache expires if the backend configured does not support polling for changes. If the backend supports polling, changes will be picked up within the polling interval.</p>
<p>You can send a <code>SIGHUP</code> signal to rclone for it to flush all directory caches, regardless of how old they are. Assuming only one rclone instance is running, you can reset the cache like this:</p>
<pre><code>kill -SIGHUP $(pidof rclone)</code></pre>
@@ -2640,13 +2864,13 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>Note that the VFS cache is separate from the cache backend and you may find that you need one or the other or both.</p>
<pre><code>--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
---vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
---vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
---vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
---vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)</code></pre>
+--vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+--vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+--vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+--vfs-write-back duration Time to writeback files after last use when using cache (default 5s)</code></pre>
<p>If run with <code>-vv</code> rclone will print the location of the file cache. The files are stored in the user cache file area which is OS dependent but can be controlled with <code>--cache-dir</code> or setting the appropriate environment variable.</p>
<p>The cache has 4 different modes selected by <code>--vfs-cache-mode</code>. The higher the cache mode the more compatible rclone becomes at the cost of using disk space.</p>
-<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for --vfs-write-back second. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
+<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for <code>--vfs-write-back</code> seconds. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
<p>If using <code>--vfs-cache-max-size</code> note that the cache may exceed this size for two reasons. Firstly because it is only checked every <code>--vfs-cache-poll-interval</code>. Secondly because open files cannot be evicted from the cache.</p>
<p>You <strong>should not</strong> run two copies of rclone using the same VFS cache with the same or overlapping remotes if using <code>--vfs-cache-mode &gt; off</code>. This can potentially cause data corruption if you do. You can work around this by giving each rclone its own cache hierarchy with <code>--cache-dir</code>. You don't need to worry about this if the remotes in use don't overlap.</p>
<h3 id="vfs-cache-mode-off-4">--vfs-cache-mode off</h3>
@@ -2678,30 +2902,34 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>In this mode all reads and writes are buffered to and from disk. When data is read from the remote this is buffered to disk as well.</p>
<p>In this mode the files in the cache will be sparse files and rclone will keep track of which bits of the files it has downloaded.</p>
<p>So if an application only reads the starts of each file, then rclone will only buffer the start of the file. These files will appear to be their full size in the cache, but they will be sparse files with only the data that has been downloaded present in them.</p>
-<p>This mode should support all normal file system operations and is otherwise identical to --vfs-cache-mode writes.</p>
-<p>When reading a file rclone will read --buffer-size plus --vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory whereas the --vfs-read-ahead is buffered on disk.</p>
-<p>When using this mode it is recommended that --buffer-size is not set too big and --vfs-read-ahead is set large if required.</p>
+<p>This mode should support all normal file system operations and is otherwise identical to <code>--vfs-cache-mode</code> writes.</p>
+<p>When reading a file rclone will read <code>--buffer-size</code> plus <code>--vfs-read-ahead</code> bytes ahead. The <code>--buffer-size</code> is buffered in memory whereas the <code>--vfs-read-ahead</code> is buffered on disk.</p>
+<p>When using this mode it is recommended that <code>--buffer-size</code> is not set too large and <code>--vfs-read-ahead</code> is set large if required.</p>
<p><strong>IMPORTANT</strong> not all file systems support sparse files. In particular FAT/exFAT do not. Rclone will perform very badly if the cache directory is on a filesystem which doesn't support sparse files and it will log an ERROR message if one is detected.</p>
+<h2 id="vfs-chunked-reading-4">VFS Chunked Reading</h2>
+<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This can reduce the used download quota for some remotes by requesting only chunks from the remote that are actually read, at the cost of an increased number of requests.</p>
+<p>These flags control the chunking:</p>
+<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+--vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)</code></pre>
+<p>Rclone will start reading a chunk of size <code>--vfs-read-chunk-size</code>, and then double the size for each read. When <code>--vfs-read-chunk-size-limit</code> is specified, and greater than <code>--vfs-read-chunk-size</code>, the chunk size for each open file will get doubled only until the specified value is reached. If the value is "off", which is the default, the limit is disabled and the chunk size will grow indefinitely.</p>
+<p>With <code>--vfs-read-chunk-size 100M</code> and <code>--vfs-read-chunk-size-limit 0</code> the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on. When <code>--vfs-read-chunk-size-limit 500M</code> is specified, the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.</p>
+<p>Setting <code>--vfs-read-chunk-size</code> to <code>0</code> or "off" disables chunked reading.</p>
<h2 id="vfs-performance-4">VFS Performance</h2>
-<p>These flags may be used to enable/disable features of the VFS for performance or other reasons.</p>
-<p>In particular S3 and Swift benefit hugely from the --no-modtime flag (or use --use-server-modtime for a slightly different effect) as each read of the modification time takes a transaction.</p>
+<p>These flags may be used to enable/disable features of the VFS for performance or other reasons. See also the <a href="#vfs-chunked-reading">chunked reading</a> feature.</p>
+<p>In particular S3 and Swift benefit hugely from the <code>--no-modtime</code> flag (or use <code>--use-server-modtime</code> for a slightly different effect) as each read of the modification time takes a transaction.</p>
<pre><code>--no-checksum Don&#39;t compare checksums on up/download.
--no-modtime Don&#39;t read/write the modification time (can speed things up).
--no-seek Don&#39;t allow seeking in files.
--read-only Mount read-only.</code></pre>
-<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This is advantageous because some cloud providers account for reads being all the data requested, not all the data delivered.</p>
-<p>Rclone will keep doubling the chunk size requested starting at --vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit unless it is set to "off" in which case there will be no limit.</p>
-<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
---vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default &quot;off&quot;)</code></pre>
<p>Sometimes rclone is delivered reads or writes out of order. Rather than seeking rclone will wait a short time for the in sequence read or write to come in. These flags only come into effect when not using an on disk cache file.</p>
-<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
---vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
-<p>When using VFS write caching (--vfs-cache-mode with value writes or full), the global flag --transfers can be set to adjust the number of parallel uploads of modified files from cache (the related global flag --checkers have no effect on mount).</p>
-<pre><code>--transfers int Number of file transfers to run in parallel. (default 4)</code></pre>
+<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+--vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
+<p>When using VFS write caching (<code>--vfs-cache-mode</code> with value writes or full), the global flag <code>--transfers</code> can be set to adjust the number of parallel uploads of modified files from cache (the related global flag <code>--checkers</code> have no effect on mount).</p>
+<pre><code>--transfers int Number of file transfers to run in parallel (default 4)</code></pre>
<h2 id="vfs-case-sensitivity-4">VFS Case Sensitivity</h2>
<p>Linux file systems are case-sensitive: two files can differ only by case, and the exact case must be used when opening a file.</p>
<p>File systems in modern Windows are case-insensitive but case-preserving: although existing files can be opened using any case, the exact case used to create the file is preserved and available for programs to query. It is not allowed for two files in the same directory to differ only by case.</p>
-<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default</p>
+<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default.</p>
<p>The <code>--vfs-case-insensitive</code> mount flag controls how rclone handles these two cases. If its value is "false", rclone passes file names to the mounted file system as-is. If the flag is "true" (or appears without a value on command line), rclone may perform a "fixup" as explained below.</p>
<p>The user may specify a file name to open/delete/rename/etc with a case different than what is stored on mounted file system. If an argument refers to an existing file with exactly the same name, then the case of the existing file on the disk will be used. However, if a file name with exactly the same name is not found but a name differing only by case exists, rclone will transparently fixup the name. This fixup happens only when an existing file is requested. Case sensitivity of file names created anew by rclone is controlled by an underlying mounted file system.</p>
<p>Note that case sensitivity of the operating system running rclone (the target) may differ from case sensitivity of a file system mounted by rclone (the source). The flag controls whether "fixup" is performed to satisfy the target.</p>
@@ -2710,52 +2938,53 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>Some backends, most notably S3, do not report the amount of bytes used. If you need this information to be available when running <code>df</code> on the filesystem, then pass the flag <code>--vfs-used-is-size</code> to rclone. With this flag set, instead of relying on the backend to report this information, rclone will scan the whole remote similar to <code>rclone size</code> and compute the total used space itself.</p>
<p><em>WARNING.</em> Contrary to <code>rclone size</code>, this flag ignores filters so that the result is accurate. However, this is very inefficient and may cost lots of API calls resulting in extra charges. Use it as a last resort and only with caching.</p>
<pre><code>rclone serve http remote:path [flags]</code></pre>
-<h2 id="options-64">Options</h2>
-<pre><code> --addr string IPaddress:Port or :Port to bind server to. (default &quot;127.0.0.1:8080&quot;)
- --baseurl string Prefix for URLs - leave blank for root.
+<h2 id="options-70">Options</h2>
+<pre><code> --addr string IPaddress:Port or :Port to bind server to (default &quot;127.0.0.1:8080&quot;)
+ --baseurl string Prefix for URLs - leave blank for root
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for http
- --htpasswd string htpasswd file - if not provided no authentication is done
+ --htpasswd string A htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --no-checksum Don&#39;t compare checksums on up/download.
- --no-modtime Don&#39;t read/write the modification time (can speed things up).
- --no-seek Don&#39;t allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --realm string realm for authentication
+ --no-checksum Don&#39;t compare checksums on up/download
+ --no-modtime Don&#39;t read/write the modification time (can speed things up)
+ --no-seek Don&#39;t allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --realm string Realm for authentication
+ --salt string Password hashing salt (default &quot;dlPL2MqE&quot;)
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --template string User Specified Template.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --template string User-specified template
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. &#39;off&#39; is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached (&#39;off&#39; is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-64">SEE ALSO</h2>
+<h2 id="see-also-70">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_serve/">rclone serve</a> - Serve a remote over a protocol.</li>
</ul>
<h1 id="rclone-serve-restic">rclone serve restic</h1>
<p>Serve the remote for restic's REST API.</p>
-<h2 id="synopsis-57">Synopsis</h2>
+<h2 id="synopsis-62">Synopsis</h2>
<p>rclone serve restic implements restic's REST backend API over HTTP. This allows restic to use rclone as a data storage mechanism for cloud providers that restic does not support directly.</p>
<p><a href="https://restic.net/">Restic</a> is a command line program for doing backups.</p>
<p>The server will log errors. Use -v to see access logs.</p>
@@ -2895,40 +3124,40 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>By default this will serve over http. If you want you can serve over https. You will need to supply the --cert and --key flags. If you wish to do client side certificate validation then you will need to supply --client-ca also.</p>
<p>--cert should be either a PEM encoded certificate or a concatenation of that with the CA certificate. --key should be the PEM encoded private key and --client-ca should be the PEM encoded client certificate authority certificate.</p>
<pre><code>rclone serve restic remote:path [flags]</code></pre>
-<h2 id="options-65">Options</h2>
-<pre><code> --addr string IPaddress:Port or :Port to bind server to. (default &quot;localhost:8080&quot;)
- --append-only disallow deletion of repository data
- --baseurl string Prefix for URLs - leave blank for root.
- --cache-objects cache listed objects (default true)
+<h2 id="options-71">Options</h2>
+<pre><code> --addr string IPaddress:Port or :Port to bind server to (default &quot;localhost:8080&quot;)
+ --append-only Disallow deletion of repository data
+ --baseurl string Prefix for URLs - leave blank for root
+ --cache-objects Cache listed objects (default true)
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
-h, --help help for restic
--htpasswd string htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --pass string Password for authentication.
- --private-repos users can only access their private repo
+ --pass string Password for authentication
+ --private-repos Users can only access their private repo
--realm string realm for authentication (default &quot;rclone&quot;)
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --stdio run an HTTP2 server on stdin/stdout
- --template string User Specified Template.
- --user string User name for authentication.</code></pre>
+ --stdio Run an HTTP2 server on stdin/stdout
+ --template string User-specified template
+ --user string User name for authentication</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-65">SEE ALSO</h2>
+<h2 id="see-also-71">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_serve/">rclone serve</a> - Serve a remote over a protocol.</li>
</ul>
<h1 id="rclone-serve-sftp">rclone serve sftp</h1>
<p>Serve the remote over SFTP.</p>
-<h2 id="synopsis-58">Synopsis</h2>
+<h2 id="synopsis-63">Synopsis</h2>
<p>rclone serve sftp implements an SFTP server to serve the remote over SFTP. This can be used with an SFTP client or you can make a remote of type sftp to use with it.</p>
<p>You can use the filter flags (e.g. --include, --exclude) to control what is served.</p>
<p>The server will log errors. Use -v to see access logs.</p>
<p>--bwlimit will be respected for file transfers. Use --stats to control the stats printing.</p>
<p>You must provide some means of authentication, either with --user/--pass, an authorized keys file (specify location with --authorized-keys - the default is the same as ssh), an --auth-proxy, or set the --no-auth flag for no authentication when logging in.</p>
<p>Note that this also implements a small number of shell commands so that it can provide md5sum/sha1sum/df information for the rclone sftp backend. This means that is can support SHA1SUMs, MD5SUMs and the about command when paired with the rclone sftp backend.</p>
-<p>If you don't supply a --key then rclone will generate one and cache it for later use.</p>
+<p>If you don't supply a host --key then rclone will generate rsa, ecdsa and ed25519 variants, and cache them for later use in rclone's cache directory (see "rclone help flags cache-dir") in the "serve-sftp" directory.</p>
<p>By default the server binds to localhost:2022 - if you want it to be reachable externally then supply "--addr :2022" for example.</p>
<p>Note that the default of "--vfs-cache-mode off" is fine for the rclone sftp backend, but it may not be with other SFTP clients.</p>
<p>If --stdio is specified, rclone will serve SFTP over stdio, which can be used with sshd via ~/.ssh/authorized_keys, for example:</p>
@@ -2939,8 +3168,8 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>The VFS layer also implements a directory cache - this caches info about files and directories (but not the data) in memory.</p>
<h2 id="vfs-directory-cache-5">VFS Directory Cache</h2>
<p>Using the <code>--dir-cache-time</code> flag, you can control how long a directory should be considered up to date and not refreshed from the backend. Changes made through the mount will appear immediately or invalidate the cache.</p>
-<pre><code>--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
---poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)</code></pre>
+<pre><code>--dir-cache-time duration Time to cache directory entries for (default 5m0s)
+--poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)</code></pre>
<p>However, changes made directly on the cloud storage by the web interface or a different copy of rclone will only be picked up once the directory cache expires if the backend configured does not support polling for changes. If the backend supports polling, changes will be picked up within the polling interval.</p>
<p>You can send a <code>SIGHUP</code> signal to rclone for it to flush all directory caches, regardless of how old they are. Assuming only one rclone instance is running, you can reset the cache like this:</p>
<pre><code>kill -SIGHUP $(pidof rclone)</code></pre>
@@ -2959,13 +3188,13 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>Note that the VFS cache is separate from the cache backend and you may find that you need one or the other or both.</p>
<pre><code>--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
---vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
---vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
---vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
---vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)</code></pre>
+--vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+--vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+--vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+--vfs-write-back duration Time to writeback files after last use when using cache (default 5s)</code></pre>
<p>If run with <code>-vv</code> rclone will print the location of the file cache. The files are stored in the user cache file area which is OS dependent but can be controlled with <code>--cache-dir</code> or setting the appropriate environment variable.</p>
<p>The cache has 4 different modes selected by <code>--vfs-cache-mode</code>. The higher the cache mode the more compatible rclone becomes at the cost of using disk space.</p>
-<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for --vfs-write-back second. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
+<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for <code>--vfs-write-back</code> seconds. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
<p>If using <code>--vfs-cache-max-size</code> note that the cache may exceed this size for two reasons. Firstly because it is only checked every <code>--vfs-cache-poll-interval</code>. Secondly because open files cannot be evicted from the cache.</p>
<p>You <strong>should not</strong> run two copies of rclone using the same VFS cache with the same or overlapping remotes if using <code>--vfs-cache-mode &gt; off</code>. This can potentially cause data corruption if you do. You can work around this by giving each rclone its own cache hierarchy with <code>--cache-dir</code>. You don't need to worry about this if the remotes in use don't overlap.</p>
<h3 id="vfs-cache-mode-off-5">--vfs-cache-mode off</h3>
@@ -2997,30 +3226,34 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>In this mode all reads and writes are buffered to and from disk. When data is read from the remote this is buffered to disk as well.</p>
<p>In this mode the files in the cache will be sparse files and rclone will keep track of which bits of the files it has downloaded.</p>
<p>So if an application only reads the starts of each file, then rclone will only buffer the start of the file. These files will appear to be their full size in the cache, but they will be sparse files with only the data that has been downloaded present in them.</p>
-<p>This mode should support all normal file system operations and is otherwise identical to --vfs-cache-mode writes.</p>
-<p>When reading a file rclone will read --buffer-size plus --vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory whereas the --vfs-read-ahead is buffered on disk.</p>
-<p>When using this mode it is recommended that --buffer-size is not set too big and --vfs-read-ahead is set large if required.</p>
+<p>This mode should support all normal file system operations and is otherwise identical to <code>--vfs-cache-mode</code> writes.</p>
+<p>When reading a file rclone will read <code>--buffer-size</code> plus <code>--vfs-read-ahead</code> bytes ahead. The <code>--buffer-size</code> is buffered in memory whereas the <code>--vfs-read-ahead</code> is buffered on disk.</p>
+<p>When using this mode it is recommended that <code>--buffer-size</code> is not set too large and <code>--vfs-read-ahead</code> is set large if required.</p>
<p><strong>IMPORTANT</strong> not all file systems support sparse files. In particular FAT/exFAT do not. Rclone will perform very badly if the cache directory is on a filesystem which doesn't support sparse files and it will log an ERROR message if one is detected.</p>
+<h2 id="vfs-chunked-reading-5">VFS Chunked Reading</h2>
+<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This can reduce the used download quota for some remotes by requesting only chunks from the remote that are actually read, at the cost of an increased number of requests.</p>
+<p>These flags control the chunking:</p>
+<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+--vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)</code></pre>
+<p>Rclone will start reading a chunk of size <code>--vfs-read-chunk-size</code>, and then double the size for each read. When <code>--vfs-read-chunk-size-limit</code> is specified, and greater than <code>--vfs-read-chunk-size</code>, the chunk size for each open file will get doubled only until the specified value is reached. If the value is "off", which is the default, the limit is disabled and the chunk size will grow indefinitely.</p>
+<p>With <code>--vfs-read-chunk-size 100M</code> and <code>--vfs-read-chunk-size-limit 0</code> the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on. When <code>--vfs-read-chunk-size-limit 500M</code> is specified, the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.</p>
+<p>Setting <code>--vfs-read-chunk-size</code> to <code>0</code> or "off" disables chunked reading.</p>
<h2 id="vfs-performance-5">VFS Performance</h2>
-<p>These flags may be used to enable/disable features of the VFS for performance or other reasons.</p>
-<p>In particular S3 and Swift benefit hugely from the --no-modtime flag (or use --use-server-modtime for a slightly different effect) as each read of the modification time takes a transaction.</p>
+<p>These flags may be used to enable/disable features of the VFS for performance or other reasons. See also the <a href="#vfs-chunked-reading">chunked reading</a> feature.</p>
+<p>In particular S3 and Swift benefit hugely from the <code>--no-modtime</code> flag (or use <code>--use-server-modtime</code> for a slightly different effect) as each read of the modification time takes a transaction.</p>
<pre><code>--no-checksum Don&#39;t compare checksums on up/download.
--no-modtime Don&#39;t read/write the modification time (can speed things up).
--no-seek Don&#39;t allow seeking in files.
--read-only Mount read-only.</code></pre>
-<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This is advantageous because some cloud providers account for reads being all the data requested, not all the data delivered.</p>
-<p>Rclone will keep doubling the chunk size requested starting at --vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit unless it is set to "off" in which case there will be no limit.</p>
-<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
---vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default &quot;off&quot;)</code></pre>
<p>Sometimes rclone is delivered reads or writes out of order. Rather than seeking rclone will wait a short time for the in sequence read or write to come in. These flags only come into effect when not using an on disk cache file.</p>
-<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
---vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
-<p>When using VFS write caching (--vfs-cache-mode with value writes or full), the global flag --transfers can be set to adjust the number of parallel uploads of modified files from cache (the related global flag --checkers have no effect on mount).</p>
-<pre><code>--transfers int Number of file transfers to run in parallel. (default 4)</code></pre>
+<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+--vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
+<p>When using VFS write caching (<code>--vfs-cache-mode</code> with value writes or full), the global flag <code>--transfers</code> can be set to adjust the number of parallel uploads of modified files from cache (the related global flag <code>--checkers</code> have no effect on mount).</p>
+<pre><code>--transfers int Number of file transfers to run in parallel (default 4)</code></pre>
<h2 id="vfs-case-sensitivity-5">VFS Case Sensitivity</h2>
<p>Linux file systems are case-sensitive: two files can differ only by case, and the exact case must be used when opening a file.</p>
<p>File systems in modern Windows are case-insensitive but case-preserving: although existing files can be opened using any case, the exact case used to create the file is preserved and available for programs to query. It is not allowed for two files in the same directory to differ only by case.</p>
-<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default</p>
+<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default.</p>
<p>The <code>--vfs-case-insensitive</code> mount flag controls how rclone handles these two cases. If its value is "false", rclone passes file names to the mounted file system as-is. If the flag is "true" (or appears without a value on command line), rclone may perform a "fixup" as explained below.</p>
<p>The user may specify a file name to open/delete/rename/etc with a case different than what is stored on mounted file system. If an argument refers to an existing file with exactly the same name, then the case of the existing file on the disk will be used. However, if a file name with exactly the same name is not found but a name differing only by case exists, rclone will transparently fixup the name. This fixup happens only when an existing file is requested. Case sensitivity of file names created anew by rclone is controlled by an underlying mounted file system.</p>
<p>Note that case sensitivity of the operating system running rclone (the target) may differ from case sensitivity of a file system mounted by rclone (the source). The flag controls whether "fixup" is performed to satisfy the target.</p>
@@ -3059,47 +3292,47 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>Note that an internal cache is keyed on <code>user</code> so only use that for configuration, don't use <code>pass</code> or <code>public_key</code>. This also means that if a user's password or public-key is changed the cache will need to expire (which takes 5 mins) before it takes effect.</p>
<p>This can be used to build general purpose proxies to any kind of backend that rclone supports.</p>
<pre><code>rclone serve sftp remote:path [flags]</code></pre>
-<h2 id="options-66">Options</h2>
-<pre><code> --addr string IPaddress:Port or :Port to bind server to. (default &quot;localhost:2022&quot;)
- --auth-proxy string A program to use to create the backend from the auth.
+<h2 id="options-72">Options</h2>
+<pre><code> --addr string IPaddress:Port or :Port to bind server to (default &quot;localhost:2022&quot;)
+ --auth-proxy string A program to use to create the backend from the auth
--authorized-keys string Authorized keys file (default &quot;~/.ssh/authorized_keys&quot;)
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for sftp
--key stringArray SSH private host key file (Can be multi-valued, leave blank to auto generate)
- --no-auth Allow connections with no authentication if set.
- --no-checksum Don&#39;t compare checksums on up/download.
- --no-modtime Don&#39;t read/write the modification time (can speed things up).
- --no-seek Don&#39;t allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
+ --no-auth Allow connections with no authentication if set
+ --no-checksum Don&#39;t compare checksums on up/download
+ --no-modtime Don&#39;t read/write the modification time (can speed things up)
+ --no-seek Don&#39;t allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
--stdio Run an sftp server on run stdin/stdout
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. &#39;off&#39; is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached (&#39;off&#39; is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-66">SEE ALSO</h2>
+<h2 id="see-also-72">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_serve/">rclone serve</a> - Serve a remote over a protocol.</li>
</ul>
<h1 id="rclone-serve-webdav">rclone serve webdav</h1>
<p>Serve remote:path over webdav.</p>
-<h2 id="synopsis-59">Synopsis</h2>
+<h2 id="synopsis-64">Synopsis</h2>
<p>rclone serve webdav implements a basic webdav server to serve the remote over HTTP via the webdav protocol. This can be viewed with a webdav client, through a web browser, or you can make a remote of type webdav to read and write it.</p>
<h2 id="webdav-options">Webdav options</h2>
<h3 id="etag-hash">--etag-hash</h3>
@@ -3210,8 +3443,8 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>The VFS layer also implements a directory cache - this caches info about files and directories (but not the data) in memory.</p>
<h2 id="vfs-directory-cache-6">VFS Directory Cache</h2>
<p>Using the <code>--dir-cache-time</code> flag, you can control how long a directory should be considered up to date and not refreshed from the backend. Changes made through the mount will appear immediately or invalidate the cache.</p>
-<pre><code>--dir-cache-time duration Time to cache directory entries for. (default 5m0s)
---poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)</code></pre>
+<pre><code>--dir-cache-time duration Time to cache directory entries for (default 5m0s)
+--poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)</code></pre>
<p>However, changes made directly on the cloud storage by the web interface or a different copy of rclone will only be picked up once the directory cache expires if the backend configured does not support polling for changes. If the backend supports polling, changes will be picked up within the polling interval.</p>
<p>You can send a <code>SIGHUP</code> signal to rclone for it to flush all directory caches, regardless of how old they are. Assuming only one rclone instance is running, you can reset the cache like this:</p>
<pre><code>kill -SIGHUP $(pidof rclone)</code></pre>
@@ -3230,13 +3463,13 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>Note that the VFS cache is separate from the cache backend and you may find that you need one or the other or both.</p>
<pre><code>--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
---vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
---vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
---vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
---vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)</code></pre>
+--vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+--vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+--vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+--vfs-write-back duration Time to writeback files after last use when using cache (default 5s)</code></pre>
<p>If run with <code>-vv</code> rclone will print the location of the file cache. The files are stored in the user cache file area which is OS dependent but can be controlled with <code>--cache-dir</code> or setting the appropriate environment variable.</p>
<p>The cache has 4 different modes selected by <code>--vfs-cache-mode</code>. The higher the cache mode the more compatible rclone becomes at the cost of using disk space.</p>
-<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for --vfs-write-back second. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
+<p>Note that files are written back to the remote only when they are closed and if they haven't been accessed for <code>--vfs-write-back</code> seconds. If rclone is quit or dies with files that haven't been uploaded, these will be uploaded next time rclone is run with the same flags.</p>
<p>If using <code>--vfs-cache-max-size</code> note that the cache may exceed this size for two reasons. Firstly because it is only checked every <code>--vfs-cache-poll-interval</code>. Secondly because open files cannot be evicted from the cache.</p>
<p>You <strong>should not</strong> run two copies of rclone using the same VFS cache with the same or overlapping remotes if using <code>--vfs-cache-mode &gt; off</code>. This can potentially cause data corruption if you do. You can work around this by giving each rclone its own cache hierarchy with <code>--cache-dir</code>. You don't need to worry about this if the remotes in use don't overlap.</p>
<h3 id="vfs-cache-mode-off-6">--vfs-cache-mode off</h3>
@@ -3268,30 +3501,34 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>In this mode all reads and writes are buffered to and from disk. When data is read from the remote this is buffered to disk as well.</p>
<p>In this mode the files in the cache will be sparse files and rclone will keep track of which bits of the files it has downloaded.</p>
<p>So if an application only reads the starts of each file, then rclone will only buffer the start of the file. These files will appear to be their full size in the cache, but they will be sparse files with only the data that has been downloaded present in them.</p>
-<p>This mode should support all normal file system operations and is otherwise identical to --vfs-cache-mode writes.</p>
-<p>When reading a file rclone will read --buffer-size plus --vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory whereas the --vfs-read-ahead is buffered on disk.</p>
-<p>When using this mode it is recommended that --buffer-size is not set too big and --vfs-read-ahead is set large if required.</p>
+<p>This mode should support all normal file system operations and is otherwise identical to <code>--vfs-cache-mode</code> writes.</p>
+<p>When reading a file rclone will read <code>--buffer-size</code> plus <code>--vfs-read-ahead</code> bytes ahead. The <code>--buffer-size</code> is buffered in memory whereas the <code>--vfs-read-ahead</code> is buffered on disk.</p>
+<p>When using this mode it is recommended that <code>--buffer-size</code> is not set too large and <code>--vfs-read-ahead</code> is set large if required.</p>
<p><strong>IMPORTANT</strong> not all file systems support sparse files. In particular FAT/exFAT do not. Rclone will perform very badly if the cache directory is on a filesystem which doesn't support sparse files and it will log an ERROR message if one is detected.</p>
+<h2 id="vfs-chunked-reading-6">VFS Chunked Reading</h2>
+<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This can reduce the used download quota for some remotes by requesting only chunks from the remote that are actually read, at the cost of an increased number of requests.</p>
+<p>These flags control the chunking:</p>
+<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+--vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)</code></pre>
+<p>Rclone will start reading a chunk of size <code>--vfs-read-chunk-size</code>, and then double the size for each read. When <code>--vfs-read-chunk-size-limit</code> is specified, and greater than <code>--vfs-read-chunk-size</code>, the chunk size for each open file will get doubled only until the specified value is reached. If the value is "off", which is the default, the limit is disabled and the chunk size will grow indefinitely.</p>
+<p>With <code>--vfs-read-chunk-size 100M</code> and <code>--vfs-read-chunk-size-limit 0</code> the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on. When <code>--vfs-read-chunk-size-limit 500M</code> is specified, the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.</p>
+<p>Setting <code>--vfs-read-chunk-size</code> to <code>0</code> or "off" disables chunked reading.</p>
<h2 id="vfs-performance-6">VFS Performance</h2>
-<p>These flags may be used to enable/disable features of the VFS for performance or other reasons.</p>
-<p>In particular S3 and Swift benefit hugely from the --no-modtime flag (or use --use-server-modtime for a slightly different effect) as each read of the modification time takes a transaction.</p>
+<p>These flags may be used to enable/disable features of the VFS for performance or other reasons. See also the <a href="#vfs-chunked-reading">chunked reading</a> feature.</p>
+<p>In particular S3 and Swift benefit hugely from the <code>--no-modtime</code> flag (or use <code>--use-server-modtime</code> for a slightly different effect) as each read of the modification time takes a transaction.</p>
<pre><code>--no-checksum Don&#39;t compare checksums on up/download.
--no-modtime Don&#39;t read/write the modification time (can speed things up).
--no-seek Don&#39;t allow seeking in files.
--read-only Mount read-only.</code></pre>
-<p>When rclone reads files from a remote it reads them in chunks. This means that rather than requesting the whole file rclone reads the chunk specified. This is advantageous because some cloud providers account for reads being all the data requested, not all the data delivered.</p>
-<p>Rclone will keep doubling the chunk size requested starting at --vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit unless it is set to "off" in which case there will be no limit.</p>
-<pre><code>--vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
---vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default &quot;off&quot;)</code></pre>
<p>Sometimes rclone is delivered reads or writes out of order. Rather than seeking rclone will wait a short time for the in sequence read or write to come in. These flags only come into effect when not using an on disk cache file.</p>
-<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
---vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
-<p>When using VFS write caching (--vfs-cache-mode with value writes or full), the global flag --transfers can be set to adjust the number of parallel uploads of modified files from cache (the related global flag --checkers have no effect on mount).</p>
-<pre><code>--transfers int Number of file transfers to run in parallel. (default 4)</code></pre>
+<pre><code>--vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+--vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
+<p>When using VFS write caching (<code>--vfs-cache-mode</code> with value writes or full), the global flag <code>--transfers</code> can be set to adjust the number of parallel uploads of modified files from cache (the related global flag <code>--checkers</code> have no effect on mount).</p>
+<pre><code>--transfers int Number of file transfers to run in parallel (default 4)</code></pre>
<h2 id="vfs-case-sensitivity-6">VFS Case Sensitivity</h2>
<p>Linux file systems are case-sensitive: two files can differ only by case, and the exact case must be used when opening a file.</p>
<p>File systems in modern Windows are case-insensitive but case-preserving: although existing files can be opened using any case, the exact case used to create the file is preserved and available for programs to query. It is not allowed for two files in the same directory to differ only by case.</p>
-<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default</p>
+<p>Usually file systems on macOS are case-insensitive. It is possible to make macOS file systems case-sensitive but that is not the default.</p>
<p>The <code>--vfs-case-insensitive</code> mount flag controls how rclone handles these two cases. If its value is "false", rclone passes file names to the mounted file system as-is. If the flag is "true" (or appears without a value on command line), rclone may perform a "fixup" as explained below.</p>
<p>The user may specify a file name to open/delete/rename/etc with a case different than what is stored on mounted file system. If an argument refers to an existing file with exactly the same name, then the case of the existing file on the disk will be used. However, if a file name with exactly the same name is not found but a name differing only by case exists, rclone will transparently fixup the name. This fixup happens only when an existing file is requested. Case sensitivity of file names created anew by rclone is controlled by an underlying mounted file system.</p>
<p>Note that case sensitivity of the operating system running rclone (the target) may differ from case sensitivity of a file system mounted by rclone (the source). The flag controls whether "fixup" is performed to satisfy the target.</p>
@@ -3330,55 +3567,55 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>Note that an internal cache is keyed on <code>user</code> so only use that for configuration, don't use <code>pass</code> or <code>public_key</code>. This also means that if a user's password or public-key is changed the cache will need to expire (which takes 5 mins) before it takes effect.</p>
<p>This can be used to build general purpose proxies to any kind of backend that rclone supports.</p>
<pre><code>rclone serve webdav remote:path [flags]</code></pre>
-<h2 id="options-67">Options</h2>
-<pre><code> --addr string IPaddress:Port or :Port to bind server to. (default &quot;localhost:8080&quot;)
- --auth-proxy string A program to use to create the backend from the auth.
- --baseurl string Prefix for URLs - leave blank for root.
+<h2 id="options-73">Options</h2>
+<pre><code> --addr string IPaddress:Port or :Port to bind server to (default &quot;localhost:8080&quot;)
+ --auth-proxy string A program to use to create the backend from the auth
+ --baseurl string Prefix for URLs - leave blank for root
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--disable-dir-list Disable HTML directory list on GET request for a directory
--etag-hash string Which hash to use for the ETag, or auto or blank for off
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for webdav
--htpasswd string htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --no-checksum Don&#39;t compare checksums on up/download.
- --no-modtime Don&#39;t read/write the modification time (can speed things up).
- --no-seek Don&#39;t allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
+ --no-checksum Don&#39;t compare checksums on up/download
+ --no-modtime Don&#39;t read/write the modification time (can speed things up)
+ --no-seek Don&#39;t allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
--realm string realm for authentication (default &quot;rclone&quot;)
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --template string User Specified Template.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --template string User-specified template
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. &#39;off&#39; is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)</code></pre>
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached (&#39;off&#39; is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-67">SEE ALSO</h2>
+<h2 id="see-also-73">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_serve/">rclone serve</a> - Serve a remote over a protocol.</li>
</ul>
<h1 id="rclone-settier">rclone settier</h1>
<p>Changes storage class/tier of objects in remote.</p>
-<h2 id="synopsis-60">Synopsis</h2>
+<h2 id="synopsis-65">Synopsis</h2>
<p>rclone settier changes storage tier or class at remote if supported. Few cloud storage services provides different storage classes on objects, for example AWS S3 and Glacier, Azure Blob storage - Hot, Cool and Archive, Google Cloud Storage, Regional Storage, Nearline, Coldline etc.</p>
<p>Note that, certain tier changes make objects not available to access immediately. For example tiering to archive in azure blob storage makes objects in frozen state, user can restore by setting tier to Hot/Cool, similarly S3 to Glacier makes object inaccessible.true</p>
<p>You can use it to tier single object</p>
@@ -3388,25 +3625,25 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>Or just provide remote directory and all files in directory will be tiered</p>
<pre><code>rclone settier tier remote:path/dir</code></pre>
<pre><code>rclone settier tier remote:path [flags]</code></pre>
-<h2 id="options-68">Options</h2>
+<h2 id="options-74">Options</h2>
<pre><code> -h, --help help for settier</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-68">SEE ALSO</h2>
+<h2 id="see-also-74">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-test">rclone test</h1>
<p>Run a test command</p>
-<h2 id="synopsis-61">Synopsis</h2>
+<h2 id="synopsis-66">Synopsis</h2>
<p>Rclone test is used to run test commands.</p>
<p>Select which test comand you want with the subcommand, eg</p>
<pre><code>rclone test memory remote:</code></pre>
<p>Each subcommand has its own options which you can see in their help.</p>
<p><strong>NB</strong> Be careful running these commands, they may do strange things so reading their documentation first is recommended.</p>
-<h2 id="options-69">Options</h2>
+<h2 id="options-75">Options</h2>
<pre><code> -h, --help help for test</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-69">SEE ALSO</h2>
+<h2 id="see-also-75">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
<li><a href="https://rclone.org/commands/rclone_test_changenotify/">rclone test changenotify</a> - Log any change notify requests for the remote passed in.</li>
@@ -3418,51 +3655,51 @@ htpasswd -B htpasswd anotherUser</code></pre>
<h1 id="rclone-test-changenotify">rclone test changenotify</h1>
<p>Log any change notify requests for the remote passed in.</p>
<pre><code>rclone test changenotify remote: [flags]</code></pre>
-<h2 id="options-70">Options</h2>
+<h2 id="options-76">Options</h2>
<pre><code> -h, --help help for changenotify
- --poll-interval duration Time to wait between polling for changes. (default 10s)</code></pre>
+ --poll-interval duration Time to wait between polling for changes (default 10s)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-70">SEE ALSO</h2>
+<h2 id="see-also-76">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_test/">rclone test</a> - Run a test command</li>
</ul>
<h1 id="rclone-test-histogram">rclone test histogram</h1>
<p>Makes a histogram of file name characters.</p>
-<h2 id="synopsis-62">Synopsis</h2>
+<h2 id="synopsis-67">Synopsis</h2>
<p>This command outputs JSON which shows the histogram of characters used in filenames in the remote:path specified.</p>
<p>The data doesn't contain any identifying information but is useful for the rclone developers when developing filename compression.</p>
<pre><code>rclone test histogram [remote:path] [flags]</code></pre>
-<h2 id="options-71">Options</h2>
+<h2 id="options-77">Options</h2>
<pre><code> -h, --help help for histogram</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-71">SEE ALSO</h2>
+<h2 id="see-also-77">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_test/">rclone test</a> - Run a test command</li>
</ul>
<h1 id="rclone-test-info">rclone test info</h1>
<p>Discovers file name or other limitations for paths.</p>
-<h2 id="synopsis-63">Synopsis</h2>
+<h2 id="synopsis-68">Synopsis</h2>
<p>rclone info discovers what filenames and upload methods are possible to write to the paths passed in and how long they can be. It can take some time. It will write test files into the remote:path passed in. It outputs a bit of go code for each one.</p>
<p><strong>NB</strong> this can create undeletable files and other hazards - use with care</p>
<pre><code>rclone test info [remote:path]+ [flags]</code></pre>
-<h2 id="options-72">Options</h2>
-<pre><code> --all Run all tests.
- --check-control Check control characters.
- --check-length Check max filename length.
- --check-normalization Check UTF-8 Normalization.
- --check-streaming Check uploads with indeterminate file size.
+<h2 id="options-78">Options</h2>
+<pre><code> --all Run all tests
+ --check-control Check control characters
+ --check-length Check max filename length
+ --check-normalization Check UTF-8 Normalization
+ --check-streaming Check uploads with indeterminate file size
-h, --help help for info
- --upload-wait duration Wait after writing a file.
- --write-json string Write results to file.</code></pre>
+ --upload-wait duration Wait after writing a file
+ --write-json string Write results to file</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-72">SEE ALSO</h2>
+<h2 id="see-also-78">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_test/">rclone test</a> - Run a test command</li>
</ul>
<h1 id="rclone-test-makefiles">rclone test makefiles</h1>
<p>Make a random file hierarchy in a directory</p>
<pre><code>rclone test makefiles &lt;dir&gt; [flags]</code></pre>
-<h2 id="options-73">Options</h2>
+<h2 id="options-79">Options</h2>
<pre><code> --files int Number of files to create (default 1000)
--files-per-directory int Average number of files per directory (default 10)
-h, --help help for makefiles
@@ -3472,46 +3709,48 @@ htpasswd -B htpasswd anotherUser</code></pre>
--min-name-length int Minimum size of file names (default 4)
--seed int Seed for the random number generator (0 for random) (default 1)</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-73">SEE ALSO</h2>
+<h2 id="see-also-79">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_test/">rclone test</a> - Run a test command</li>
</ul>
<h1 id="rclone-test-memory">rclone test memory</h1>
<p>Load all the objects at remote:path into memory and report memory stats.</p>
<pre><code>rclone test memory remote:path [flags]</code></pre>
-<h2 id="options-74">Options</h2>
+<h2 id="options-80">Options</h2>
<pre><code> -h, --help help for memory</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-74">SEE ALSO</h2>
+<h2 id="see-also-80">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_test/">rclone test</a> - Run a test command</li>
</ul>
<h1 id="rclone-touch">rclone touch</h1>
<p>Create new file or change file modification time.</p>
-<h2 id="synopsis-64">Synopsis</h2>
-<p>Set the modification time on object(s) as specified by remote:path to have the current time.</p>
-<p>If remote:path does not exist then a zero sized object will be created unless the --no-create flag is provided.</p>
-<p>If --timestamp is used then it will set the modification time to that time instead of the current time. Times may be specified as one of:</p>
+<h2 id="synopsis-69">Synopsis</h2>
+<p>Set the modification time on file(s) as specified by remote:path to have the current time.</p>
+<p>If remote:path does not exist then a zero sized file will be created, unless <code>--no-create</code> or <code>--recursive</code> is provided.</p>
+<p>If <code>--recursive</code> is used then recursively sets the modification time on all existing files that is found under the path. Filters are supported, and you can test with the <code>--dry-run</code> or the <code>--interactive</code> flag.</p>
+<p>If <code>--timestamp</code> is used then sets the modification time to that time instead of the current time. Times may be specified as one of:</p>
<ul>
<li>'YYMMDD' - e.g. 17.10.30</li>
<li>'YYYY-MM-DDTHH:MM:SS' - e.g. 2006-01-02T15:04:05</li>
<li>'YYYY-MM-DDTHH:MM:SS.SSS' - e.g. 2006-01-02T15:04:05.123456789</li>
</ul>
-<p>Note that --timestamp is in UTC if you want local time then add the --localtime flag.</p>
+<p>Note that value of <code>--timestamp</code> is in UTC. If you want local time then add the <code>--localtime</code> flag.</p>
<pre><code>rclone touch remote:path [flags]</code></pre>
-<h2 id="options-75">Options</h2>
+<h2 id="options-81">Options</h2>
<pre><code> -h, --help help for touch
- --localtime Use localtime for timestamp, not UTC.
- -C, --no-create Do not create the file if it does not exist.
- -t, --timestamp string Use specified time instead of the current time of day.</code></pre>
+ --localtime Use localtime for timestamp, not UTC
+ -C, --no-create Do not create the file if it does not exist (implied with --recursive)
+ -R, --recursive Recursively touch all files
+ -t, --timestamp string Use specified time instead of the current time of day</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-75">SEE ALSO</h2>
+<h2 id="see-also-81">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
<h1 id="rclone-tree">rclone tree</h1>
<p>List the contents of the remote in a tree like fashion.</p>
-<h2 id="synopsis-65">Synopsis</h2>
+<h2 id="synopsis-70">Synopsis</h2>
<p>rclone tree lists the contents of a remote in a similar way to the unix tree command.</p>
<p>For example</p>
<pre><code>$ rclone tree remote:path
@@ -3527,30 +3766,30 @@ htpasswd -B htpasswd anotherUser</code></pre>
<p>You can use any of the filtering options with the tree command (e.g. --include and --exclude). You can also use --fast-list.</p>
<p>The tree command has many options for controlling the listing which are compatible with the tree command. Note that not all of them have short options as they conflict with rclone's short options.</p>
<pre><code>rclone tree remote:path [flags]</code></pre>
-<h2 id="options-76">Options</h2>
-<pre><code> -a, --all All files are listed (list . files too).
- -C, --color Turn colorization on always.
- -d, --dirs-only List directories only.
- --dirsfirst List directories before files (-U disables).
- --full-path Print the full path prefix for each file.
+<h2 id="options-82">Options</h2>
+<pre><code> -a, --all All files are listed (list . files too)
+ -C, --color Turn colorization on always
+ -d, --dirs-only List directories only
+ --dirsfirst List directories before files (-U disables)
+ --full-path Print the full path prefix for each file
-h, --help help for tree
--human Print the size in a more human readable way.
- --level int Descend only level directories deep.
+ --level int Descend only level directories deep
-D, --modtime Print the date of last modification.
- --noindent Don&#39;t print indentation lines.
- --noreport Turn off file/directory count at end of tree listing.
- -o, --output string Output to file instead of stdout.
+ --noindent Don&#39;t print indentation lines
+ --noreport Turn off file/directory count at end of tree listing
+ -o, --output string Output to file instead of stdout
-p, --protections Print the protections for each file.
-Q, --quote Quote filenames with double quotes.
-s, --size Print the size in bytes of each file.
- --sort string Select sort: name,version,size,mtime,ctime.
- --sort-ctime Sort files by last status change time.
- -t, --sort-modtime Sort files by last modification time.
- -r, --sort-reverse Reverse the order of the sort.
- -U, --unsorted Leave files unsorted.
- --version Sort files alphanumerically by version.</code></pre>
+ --sort string Select sort: name,version,size,mtime,ctime
+ --sort-ctime Sort files by last status change time
+ -t, --sort-modtime Sort files by last modification time
+ -r, --sort-reverse Reverse the order of the sort
+ -U, --unsorted Leave files unsorted
+ --version Sort files alphanumerically by version</code></pre>
<p>See the <a href="https://rclone.org/flags/">global flags page</a> for global options not listed here.</p>
-<h2 id="see-also-76">SEE ALSO</h2>
+<h2 id="see-also-82">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone/">rclone</a> - Show help for rclone commands, flags and backends.</li>
</ul>
@@ -3629,10 +3868,7 @@ rclone copy :sftp,host=example.com:path/to/dir /tmp/dir</code></pre>
<p>Will get their own names</p>
<pre><code>DEBUG : :s3: detected overridden config - adding &quot;{YTu53}&quot; suffix to name</code></pre>
<h3 id="valid-remote-names">Valid remote names</h3>
-<ul>
-<li>Remote names may only contain 0-9, A-Z ,a-z ,_ , - and space.</li>
-<li>Remote names may not start with -.</li>
-</ul>
+<p>Remote names are case sensitive, and must adhere to the following rules: - May only contain <code>0</code>-<code>9</code>, <code>A</code>-<code>Z</code>, <code>a</code>-<code>z</code>, <code>_</code>, <code>-</code> and space. - May not start with <code>-</code> or space.</p>
<h2 id="quoting-and-the-shell">Quoting and the shell</h2>
<p>When you are typing commands to your computer you are using something called the command line shell. This interprets various characters in an OS specific way.</p>
<p>Here are some gotchas which may help users unfamiliar with the shell rules</p>
@@ -3665,11 +3901,11 @@ rclone copy :sftp,host=example.com:path/to/dir /tmp/dir</code></pre>
<p>This can be used when scripting to make aged backups efficiently, e.g.</p>
<pre><code>rclone sync -i remote:current-backup remote:previous-backup
rclone sync -i /path/to/files remote:current-backup</code></pre>
-<h2 id="options-77">Options</h2>
+<h2 id="options-83">Options</h2>
<p>Rclone has a number of options to control its behaviour.</p>
<p>Options that take parameters can have the values passed in two ways, <code>--option=value</code> or <code>--option value</code>. However boolean (true/false) options behave slightly differently to the other options in that <code>--boolean</code> sets the option to <code>true</code> and the absence of the flag sets it to <code>false</code>. It is also possible to specify <code>--boolean=false</code> or <code>--boolean=true</code>. Note that <code>--boolean false</code> is not valid - this is parsed as <code>--boolean</code> and the <code>false</code> is parsed as an extra command line argument for rclone.</p>
<p>Options which use TIME use the go time parser. A duration string is a possibly signed sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".</p>
-<p>Options which use SIZE use KiByte (multiples of 1024 bytes) by default. However, a suffix of <code>B</code> for Byte, <code>K</code> for KiByte, <code>M</code> for MiByte, <code>G</code> for GiByte, <code>T</code> for TiByte and <code>P</code> for PiByte may be used. These are the binary units, e.g. 1, 2**10, 2**20, 2**30 respectively.</p>
+<p>Options which use SIZE use KiB (multiples of 1024 bytes) by default. However, a suffix of <code>B</code> for Byte, <code>K</code> for KiB, <code>M</code> for MiB, <code>G</code> for GiB, <code>T</code> for TiB and <code>P</code> for PiB may be used. These are the binary units, e.g. 1, 2**10, 2**20, 2**30 respectively.</p>
<h3 id="backup-dirdir">--backup-dir=DIR</h3>
<p>When using <code>sync</code>, <code>copy</code> or <code>move</code> any files which would have been overwritten or deleted are moved in their original hierarchy into this directory.</p>
<p>If <code>--suffix</code> is set, then the moved files will have the suffix added to them. If there is a file with the same path (after the suffix has been added) in DIR, then it will be overwritten.</p>
@@ -3684,12 +3920,12 @@ rclone sync -i /path/to/files remote:current-backup</code></pre>
<h3 id="bwlimitbandwidth_spec">--bwlimit=BANDWIDTH_SPEC</h3>
<p>This option controls the bandwidth limit. For example</p>
<pre><code>--bwlimit 10M</code></pre>
-<p>would mean limit the upload and download bandwidth to 10 MiByte/s. <strong>NB</strong> this is <strong>bytes</strong> per second not <strong>bits</strong> per second. To use a single limit, specify the desired bandwidth in KiByte/s, or use a suffix B|K|M|G|T|P. The default is <code>0</code> which means to not limit bandwidth.</p>
+<p>would mean limit the upload and download bandwidth to 10 MiB/s. <strong>NB</strong> this is <strong>bytes</strong> per second not <strong>bits</strong> per second. To use a single limit, specify the desired bandwidth in KiB/s, or use a suffix B|K|M|G|T|P. The default is <code>0</code> which means to not limit bandwidth.</p>
<p>The upload and download bandwidth can be specified seperately, as <code>--bwlimit UP:DOWN</code>, so</p>
<pre><code>--bwlimit 10M:100k</code></pre>
-<p>would mean limit the upload bandwidth to 10 MiByte/s and the download bandwidth to 100 KiByte/s. Either limit can be "off" meaning no limit, so to just limit the upload bandwidth you would use</p>
+<p>would mean limit the upload bandwidth to 10 MiB/s and the download bandwidth to 100 KiB/s. Either limit can be "off" meaning no limit, so to just limit the upload bandwidth you would use</p>
<pre><code>--bwlimit 10M:off</code></pre>
-<p>this would limit the upload bandwidth to 10 MiByte/s but the download bandwidth would be unlimited.</p>
+<p>this would limit the upload bandwidth to 10 MiB/s but the download bandwidth would be unlimited.</p>
<p>When specified as above the bandwidth limits last for the duration of run of the rclone binary.</p>
<p>It is also possible to specify a "timetable" of limits, which will cause certain limits to be applied at certain times. To specify a timetable, format your entries as <code>WEEKDAY-HH:MM,BANDWIDTH WEEKDAY-HH:MM,BANDWIDTH...</code> where: <code>WEEKDAY</code> is optional element.</p>
<ul>
@@ -3699,23 +3935,23 @@ rclone sync -i /path/to/files remote:current-backup</code></pre>
</ul>
<p>An example of a typical timetable to avoid link saturation during daytime working hours could be:</p>
<p><code>--bwlimit "08:00,512k 12:00,10M 13:00,512k 18:00,30M 23:00,off"</code></p>
-<p>In this example, the transfer bandwidth will be set to 512 KiByte/s at 8am every day. At noon, it will rise to 10 MiByte/s, and drop back to 512 KiByte/sec at 1pm. At 6pm, the bandwidth limit will be set to 30 MiByte/s, and at 11pm it will be completely disabled (full speed). Anything between 11pm and 8am will remain unlimited.</p>
+<p>In this example, the transfer bandwidth will be set to 512 KiB/s at 8am every day. At noon, it will rise to 10 MiB/s, and drop back to 512 KiB/sec at 1pm. At 6pm, the bandwidth limit will be set to 30 MiB/s, and at 11pm it will be completely disabled (full speed). Anything between 11pm and 8am will remain unlimited.</p>
<p>An example of timetable with <code>WEEKDAY</code> could be:</p>
<p><code>--bwlimit "Mon-00:00,512 Fri-23:59,10M Sat-10:00,1M Sun-20:00,off"</code></p>
-<p>It means that, the transfer bandwidth will be set to 512 KiByte/s on Monday. It will rise to 10 MiByte/s before the end of Friday. At 10:00 on Saturday it will be set to 1 MiByte/s. From 20:00 on Sunday it will be unlimited.</p>
+<p>It means that, the transfer bandwidth will be set to 512 KiB/s on Monday. It will rise to 10 MiB/s before the end of Friday. At 10:00 on Saturday it will be set to 1 MiB/s. From 20:00 on Sunday it will be unlimited.</p>
<p>Timeslots without <code>WEEKDAY</code> are extended to the whole week. So this example:</p>
<p><code>--bwlimit "Mon-00:00,512 12:00,1M Sun-20:00,off"</code></p>
<p>Is equivalent to this:</p>
<p><code>--bwlimit "Mon-00:00,512Mon-12:00,1M Tue-12:00,1M Wed-12:00,1M Thu-12:00,1M Fri-12:00,1M Sat-12:00,1M Sun-12:00,1M Sun-20:00,off"</code></p>
<p>Bandwidth limit apply to the data transfer for all backends. For most backends the directory listing bandwidth is also included (exceptions being the non HTTP backends, <code>ftp</code>, <code>sftp</code> and <code>tardigrade</code>).</p>
-<p>Note that the units are <strong>Byte/s</strong>, not <strong>bit/s</strong>. Typically connections are measured in bit/s - to convert divide by 8. For example, let's say you have a 10 Mbit/s connection and you wish rclone to use half of it - 5 Mbit/s. This is 5/8 = 0.625 MiByte/s so you would use a <code>--bwlimit 0.625M</code> parameter for rclone.</p>
+<p>Note that the units are <strong>Byte/s</strong>, not <strong>bit/s</strong>. Typically connections are measured in bit/s - to convert divide by 8. For example, let's say you have a 10 Mbit/s connection and you wish rclone to use half of it - 5 Mbit/s. This is 5/8 = 0.625 MiB/s so you would use a <code>--bwlimit 0.625M</code> parameter for rclone.</p>
<p>On Unix systems (Linux, macOS, …) the bandwidth limiter can be toggled by sending a <code>SIGUSR2</code> signal to rclone. This allows to remove the limitations of a long running rclone transfer and to restore it back to the value specified with <code>--bwlimit</code> quickly when needed. Assuming there is only one rclone instance running, you can toggle the limiter like this:</p>
<pre><code>kill -SIGUSR2 $(pidof rclone)</code></pre>
<p>If you configure rclone with a <a href="/rc">remote control</a> then you can use change the bwlimit dynamically:</p>
<pre><code>rclone rc core/bwlimit rate=1M</code></pre>
<h3 id="bwlimit-filebandwidth_spec">--bwlimit-file=BANDWIDTH_SPEC</h3>
<p>This option controls per file bandwidth limit. For the options see the <code>--bwlimit</code> flag.</p>
-<p>For example use this to allow no transfers to be faster than 1 MiByte/s</p>
+<p>For example use this to allow no transfers to be faster than 1 MiB/s</p>
<pre><code>--bwlimit-file 1M</code></pre>
<p>This can be used in conjunction with <code>--bwlimit</code>.</p>
<p>Note that if a schedule is provided the file will use the schedule in effect at the start of the transfer.</p>
@@ -3724,6 +3960,11 @@ rclone sync -i /path/to/files remote:current-backup</code></pre>
<p>When using <code>mount</code> or <code>cmount</code> each open file descriptor will use this much memory for buffering. See the <a href="https://rclone.org/commands/rclone_mount/#file-buffering">mount</a> documentation for more details.</p>
<p>Set to <code>0</code> to disable the buffering for the minimum memory usage.</p>
<p>Note that the memory allocation of the buffers is influenced by the <a href="#use-mmap">--use-mmap</a> flag.</p>
+<h3 id="cache-dirdir">--cache-dir=DIR</h3>
+<p>Specify the directory rclone will use for caching, to override the default.</p>
+<p>Default value is depending on operating system: - Windows <code>%LocalAppData%\rclone</code>, if <code>LocalAppData</code> is defined. - macOS <code>$HOME/Library/Caches/rclone</code> if <code>HOME</code> is defined. - Unix <code>$XDG_CACHE_HOME/rclone</code> if <code>XDG_CACHE_HOME</code> is defined, else <code>$HOME/.cache/rclone</code> if <code>HOME</code> is defined. - Fallback (on all OS) to <code>$TMPDIR/rclone</code>, where <code>TMPDIR</code> is the value from <a href="#temp-dir-dir">--temp-dir</a>.</p>
+<p>You can use the <a href="https://rclone.org/commands/rclone_config_paths/">config paths</a> command to see the current value.</p>
+<p>Cache directory is heavily used by the <a href="https://rclone.org/commands/rclone_mount/#vfs-file-caching">VFS File Caching</a> mount feature, but also by <a href="https://rclone.org/commands/rclone_serve/">serve</a>, <a href="/gui">GUI</a> and other parts of rclone.</p>
<h3 id="check-first">--check-first</h3>
<p>If this flag is set then in a <code>sync</code>, <code>copy</code> or <code>move</code>, rclone will do all the checks to see whether files need to be transferred before doing any of the transfers. Normally rclone would start running transfers as soon as possible.</p>
<p>This flag can be useful on IO limited systems where transfers interfere with checking.</p>
@@ -3833,6 +4074,14 @@ pass = PDPcQVVjVtzFY-GTdDFozqBhTdsPg3qH</code></pre>
<p>Add an HTTP header for all upload transactions. The flag can be repeated to add multiple headers.</p>
<pre><code>rclone sync -i ~/src s3:test/dst --header-upload &quot;Content-Disposition: attachment; filename=&#39;cool.html&#39;&quot; --header-upload &quot;X-Amz-Meta-Test: FooBar&quot;</code></pre>
<p>See the GitHub issue <a href="https://github.com/rclone/rclone/issues/59">here</a> for currently supported backends.</p>
+<h3 id="human-readable">--human-readable</h3>
+<p>Rclone commands output values for sizes (e.g. number of bytes) and counts (e.g. number of files) either as <em>raw</em> numbers, or in <em>human-readable</em> format.</p>
+<p>In human-readable format the values are scaled to larger units, indicated with a suffix shown after the value, and rounded to three decimals. Rclone consistently uses binary units (powers of 2) for sizes and decimal units (powers of 10) for counts. The unit prefix for size is according to IEC standard notation, e.g. <code>Ki</code> for kibi. Used with byte unit, <code>1 KiB</code> means 1024 Byte. In list type of output, only the unit prefix appended to the value (e.g. <code>9.762Ki</code>), while in more textual output the full unit is shown (e.g. <code>9.762 KiB</code>). For counts the SI standard notation is used, e.g. prefix <code>k</code> for kilo. Used with file counts, <code>1k</code> means 1000 files.</p>
+<p>The various <a href="commands/rclone_ls/">list</a> commands output raw numbers by default. Option <code>--human-readable</code> will make them output values in human-readable format instead (with the short unit prefix).</p>
+<p>The <a href="commands/rclone_about/">about</a> command outputs human-readable by default, with a command-specific option <code>--full</code> to output the raw numbers instead.</p>
+<p>Command <a href="commands/rclone_size/">size</a> outputs both human-readable and raw numbers in the same output.</p>
+<p>The <a href="commands/rclone_tree/">tree</a> command also considers <code>--human-readable</code>, but it will not use the exact same notation as the other commands: It rounds to one decimal, and uses single letter suffix, e.g. <code>K</code> instead of <code>Ki</code>. The reason for this is that it relies on an external library.</p>
+<p>The interactive command <a href="commands/rclone_ncdu/">ncdu</a> shows human-readable by default, and responds to key <code>u</code> for toggling human-readable format.</p>
<h3 id="ignore-case-sync">--ignore-case-sync</h3>
<p>Using this option will cause rclone to ignore the case of the files when synchronizing so files will not be copied/synced when the existing filenames are the same, even if the casing is different.</p>
<h3 id="ignore-checksum">--ignore-checksum</h3>
@@ -3841,6 +4090,7 @@ pass = PDPcQVVjVtzFY-GTdDFozqBhTdsPg3qH</code></pre>
<h3 id="ignore-existing">--ignore-existing</h3>
<p>Using this option will make rclone unconditionally skip all files that exist on the destination, no matter the content of these files.</p>
<p>While this isn't a generally recommended option, it can be useful in cases where your files change due to encryption. However, it cannot correct partial transfers in case a transfer was interrupted.</p>
+<p>When performing a <code>move</code>/<code>moveto</code> command, this flag will leave skipped files in the source location unchanged when a file with the same name exists on the destination.</p>
<h3 id="ignore-size">--ignore-size</h3>
<p>Normally rclone will look at modification time and size of files to see if they are equal. If you set this flag then rclone will check only the modification time. If <code>--checksum</code> is set then it only checks the checksum.</p>
<p>It will also cause rclone to skip verifying the sizes are the same after transfer.</p>
@@ -3880,7 +4130,7 @@ y/n/s/!/q&gt; n</code></pre>
<p>If FILE exists then rclone will append to it.</p>
<p>Note that if you are using the <code>logrotate</code> program to manage rclone's logs, then you should use the <code>copytruncate</code> option as rclone doesn't have a signal to rotate logs.</p>
<h3 id="log-format-list">--log-format LIST</h3>
-<p>Comma separated list of log format options. <code>date</code>, <code>time</code>, <code>microseconds</code>, <code>longfile</code>, <code>shortfile</code>, <code>UTC</code>. The default is "<code>date</code>,<code>time</code>".</p>
+<p>Comma separated list of log format options. Accepted options are <code>date</code>, <code>time</code>, <code>microseconds</code>, <code>pid</code>, <code>longfile</code>, <code>shortfile</code>, <code>UTC</code>. Any other keywords will be silently ignored. <code>pid</code> will tag log messages with process identifier which useful with <code>rclone mount --daemon</code>. Other accepted options are explained in the <a href="https://pkg.go.dev/log#pkg-constants">go documentation</a>. The default log format is "<code>date</code>,<code>time</code>".</p>
<h3 id="log-level-level">--log-level LEVEL</h3>
<p>This sets the log level for rclone. The default log level is <code>NOTICE</code>.</p>
<p><code>DEBUG</code> is equivalent to <code>-vv</code>. It outputs lots of debug info - useful for bug reports and really finding out what rclone is doing.</p>
@@ -4080,6 +4330,11 @@ y/n/s/!/q&gt; n</code></pre>
<p>This can be useful for running rclone in a script or <code>rclone mount</code>.</p>
<h3 id="syslog-facility-string">--syslog-facility string</h3>
<p>If using <code>--syslog</code> this sets the syslog facility (e.g. <code>KERN</code>, <code>USER</code>). See <code>man syslog</code> for a list of possible facilities. The default facility is <code>DAEMON</code>.</p>
+<h3 id="temp-dirdir">--temp-dir=DIR</h3>
+<p>Specify the directory rclone will use for temporary files, to override the default. Make sure the directory exists and have accessible permissions.</p>
+<p>By default the operating system's temp directory will be used: - On Unix systems, <code>$TMPDIR</code> if non-empty, else <code>/tmp</code>. - On Windows, the first non-empty value from <code>%TMP%</code>, <code>%TEMP%</code>, <code>%USERPROFILE%</code>, or the Windows directory.</p>
+<p>When overriding the default with this option, the specified path will be set as value of environment variable <code>TMPDIR</code> on Unix systems and <code>TMP</code> and <code>TEMP</code> on Windows.</p>
+<p>You can use the <a href="https://rclone.org/commands/rclone_config_paths/">config paths</a> command to see the current value.</p>
<h3 id="tpslimit-float">--tpslimit float</h3>
<p>Limit transactions per second to this number. Default is 0 which is used to mean unlimited transactions per second.</p>
<p>A transaction is roughly defined as an API call; its exact meaning will depend on the backend. For HTTP based backends it is an HTTP PUT/GET/POST/etc and its response. For FTP/SFTP it is a round trip transaction over TCP.</p>
@@ -4303,7 +4558,7 @@ export RCLONE_CONFIG_PASS</code></pre>
</ul>
<h2 id="environment-variables">Environment Variables</h2>
<p>Rclone can be configured entirely using environment variables. These can be used to set defaults for options or config file entries.</p>
-<h3 id="options-78">Options</h3>
+<h3 id="options-84">Options</h3>
<p>Every option in rclone can have its default set by environment variable.</p>
<p>To find the name of the environment variable, first, take the long option name, strip the leading <code>--</code>, change <code>-</code> to <code>_</code>, make upper case and prepend <code>RCLONE_</code>.</p>
<p>For example, to always set <code>--stats 5s</code>, set the environment variable <code>RCLONE_STATS=5s</code>. If you set stats on the command line this will override the environment variable setting.</p>
@@ -4317,11 +4572,16 @@ export RCLONE_CONFIG_PASS</code></pre>
<pre><code>$ export RCLONE_CONFIG_MYS3_TYPE=s3
$ export RCLONE_CONFIG_MYS3_ACCESS_KEY_ID=XXX
$ export RCLONE_CONFIG_MYS3_SECRET_ACCESS_KEY=XXX
-$ rclone lsd MYS3:
+$ rclone lsd mys3:
-1 2016-09-21 12:54:21 -1 my-bucket
$ rclone listremotes | grep mys3
mys3:</code></pre>
<p>Note that if you want to create a remote using environment variables you must create the <code>..._TYPE</code> variable as above.</p>
+<p>Note that the name of a remote created using environment variable is case insensitive, in contrast to regular remotes stored in config file as documented <a href="#valid-remote-names">above</a>. You must write the name in uppercase in the environment variable, but as seen from example above it will be listed and can be accessed in lowercase, while you can also refer to the same remote in uppercase:</p>
+<pre><code>$ rclone lsd mys3:
+ -1 2016-09-21 12:54:21 -1 my-bucket
+$ rclone lsd MYS3:
+ -1 2016-09-21 12:54:21 -1 my-bucket</code></pre>
<p>Note that you can only set the options of the immediate backend, so RCLONE_CONFIG_MYS3CRYPT_ACCESS_KEY_ID has no effect, if myS3Crypt is a crypt remote based on an S3 remote. However RCLONE_S3_ACCESS_KEY_ID will set the access key of all remotes using S3, including myS3Crypt.</p>
<p>Note also that now rclone has <a href="#connection-strings">connection strings</a>, it is probably easier to use those instead which makes the above example</p>
<pre><code>rclone lsd :s3,access_key_id=XXX,secret_access_key=XXX:</code></pre>
@@ -4660,11 +4920,11 @@ user2/prefect</code></pre>
<p>If the rclone error <code>Command .... needs .... arguments maximum: you provided .... non flag arguments:</code> is encountered, the cause is commonly spaces within the name of a remote or flag value. The fix then is to quote values containing spaces.</p>
<h2 id="other-filters">Other filters</h2>
<h3 id="min-size---dont-transfer-any-file-smaller-than-this"><code>--min-size</code> - Don't transfer any file smaller than this</h3>
-<p>Controls the minimum size file within the scope of an rclone command. Default units are <code>KiByte</code> but abbreviations <code>K</code>, <code>M</code>, <code>G</code>, <code>T</code> or <code>P</code> are valid.</p>
-<p>E.g. <code>rclone ls remote: --min-size 50k</code> lists files on <code>remote:</code> of 50 KiByte size or larger.</p>
+<p>Controls the minimum size file within the scope of an rclone command. Default units are <code>KiB</code> but abbreviations <code>K</code>, <code>M</code>, <code>G</code>, <code>T</code> or <code>P</code> are valid.</p>
+<p>E.g. <code>rclone ls remote: --min-size 50k</code> lists files on <code>remote:</code> of 50 KiB size or larger.</p>
<h3 id="max-size---dont-transfer-any-file-larger-than-this"><code>--max-size</code> - Don't transfer any file larger than this</h3>
-<p>Controls the maximum size file within the scope of an rclone command. Default units are <code>KiByte</code> but abbreviations <code>K</code>, <code>M</code>, <code>G</code>, <code>T</code> or <code>P</code> are valid.</p>
-<p>E.g. <code>rclone ls remote: --max-size 1G</code> lists files on <code>remote:</code> of 1 GiByte size or smaller.</p>
+<p>Controls the maximum size file within the scope of an rclone command. Default units are <code>KiB</code> but abbreviations <code>K</code>, <code>M</code>, <code>G</code>, <code>T</code> or <code>P</code> are valid.</p>
+<p>E.g. <code>rclone ls remote: --max-size 1G</code> lists files on <code>remote:</code> of 1 GiB size or smaller.</p>
<h3 id="max-age---dont-transfer-any-file-older-than-this"><code>--max-age</code> - Don't transfer any file older than this</h3>
<p>Controls the maximum age of files within the scope of an rclone command. Default units are seconds or the following abbreviations are valid:</p>
<ul>
@@ -4696,7 +4956,7 @@ user2/prefect</code></pre>
<p>In conjunction with <code>rclone sync</code>, <code>--delete-excluded</code> deletes any files on the destination which are excluded from the command.</p>
<p>E.g. the scope of <code>rclone sync -i A: B:</code> can be restricted:</p>
<pre><code>rclone --min-size 50k --delete-excluded sync A: B:</code></pre>
-<p>All files on <code>B:</code> which are less than 50 KiByte are deleted because they are excluded from the rclone sync command.</p>
+<p>All files on <code>B:</code> which are less than 50 KiB are deleted because they are excluded from the rclone sync command.</p>
<h3 id="dump-filters---dump-the-filters-to-the-output"><code>--dump filters</code> - dump the filters to the output</h3>
<p>Dumps the defined filters to standard output in regular expression format.</p>
<p>Useful for debugging.</p>
@@ -4996,18 +5256,18 @@ dir1/dir2/dir3/.ignore</code></pre>
}</code></pre>
<h2 id="supported-commands">Supported commands</h2>
<h3 id="backend-command">backend/command: Runs a backend command.</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>command - a string with the command name</li>
<li>fs - a remote name string e.g. "drive:"</li>
<li>arg - a list of arguments for the backend command</li>
<li>opt - a map of string to string of options</li>
</ul>
-<p>Returns</p>
+<p>Returns:</p>
<ul>
<li>result - result from the backend command</li>
</ul>
-<p>For example</p>
+<p>Example:</p>
<pre><code>rclone rc backend/command command=noop fs=. -o echo=yes -o blue -a path1 -a path2</code></pre>
<p>Returns</p>
<pre><code>{
@@ -5044,7 +5304,7 @@ rclone rc cache/expire remote=/ withData=true</code></pre>
<h3 id="cache-stats">cache/stats: Get cache stats</h3>
<p>Show statistics for the cache remote.</p>
<h3 id="config-create">config/create: create the config for a remote.</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>name - name of remote</li>
<li>parameters - a map of { "key": "value" } pairs</li>
@@ -5086,7 +5346,7 @@ rclone rc cache/expire remote=/ withData=true</code></pre>
<p>See the <a href="https://rclone.org/commands/rclone_listremotes/">listremotes command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="config-password">config/password: password the config for a remote.</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>name - name of remote</li>
<li>parameters - a map of { "key": "value" } pairs</li>
@@ -5098,7 +5358,7 @@ rclone rc cache/expire remote=/ withData=true</code></pre>
<p>See the <a href="https://rclone.org/commands/rclone_config_providers/">config providers command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="config-update">config/update: update the config for a remote.</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>name - name of remote</li>
<li>parameters - a map of { "key": "value" } pairs</li>
@@ -5150,31 +5410,31 @@ rclone rc core/bwlimit rate=1M:100k
<p>The format of the parameter is exactly the same as passed to --bwlimit except only one bandwidth may be specified.</p>
<p>In either case "rate" is returned as a human readable string, and "bytesPerSecond" is returned as a number.</p>
<h3 id="core-command">core/command: Run a rclone terminal command over rc.</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
-<li>command - a string with the command name</li>
-<li>arg - a list of arguments for the backend command</li>
-<li>opt - a map of string to string of options</li>
-<li>returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR")
+<li>command - a string with the command name.</li>
+<li>arg - a list of arguments for the backend command.</li>
+<li>opt - a map of string to string of options.</li>
+<li>returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR").
<ul>
-<li>defaults to "COMBINED_OUTPUT" if not set</li>
-<li>the STREAM returnTypes will write the output to the body of the HTTP message</li>
-<li>the COMBINED_OUTPUT will write the output to the "result" parameter</li>
+<li>Defaults to "COMBINED_OUTPUT" if not set.</li>
+<li>The STREAM returnTypes will write the output to the body of the HTTP message.</li>
+<li>The COMBINED_OUTPUT will write the output to the "result" parameter.</li>
</ul></li>
</ul>
-<p>Returns</p>
+<p>Returns:</p>
<ul>
-<li>result - result from the backend command
+<li>result - result from the backend command.
<ul>
-<li>only set when using returnType "COMBINED_OUTPUT"</li>
+<li>Only set when using returnType "COMBINED_OUTPUT".</li>
</ul></li>
-<li>error - set if rclone exits with an error code</li>
-<li>returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR")</li>
+<li>error - set if rclone exits with an error code.</li>
+<li>returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR").</li>
</ul>
-<p>For example</p>
+<p>Example:</p>
<pre><code>rclone rc core/command command=ls -a mydrive:/ -o max-depth=1
rclone rc core/command -a ls -a mydrive:/ -o max-depth=1</code></pre>
-<p>Returns</p>
+<p>Returns:</p>
<pre><code>{
&quot;error&quot;: false,
&quot;result&quot;: &quot;&lt;Raw command line output&gt;&quot;
@@ -5204,20 +5464,20 @@ OR
<p>This returns the memory statistics of the running program. What the values mean are explained in the go docs: https://golang.org/pkg/runtime/#MemStats</p>
<p>The most interesting values for most people are:</p>
<ul>
-<li>HeapAlloc: This is the amount of memory rclone is actually using</li>
-<li>HeapSys: This is the amount of memory rclone has obtained from the OS</li>
-<li>Sys: this is the total amount of memory requested from the OS
+<li>HeapAlloc - this is the amount of memory rclone is actually using</li>
+<li>HeapSys - this is the amount of memory rclone has obtained from the OS</li>
+<li>Sys - this is the total amount of memory requested from the OS
<ul>
<li>It is virtual memory so may include unused memory</li>
</ul></li>
</ul>
<h3 id="core-obscure">core/obscure: Obscures a string passed in.</h3>
<p>Pass a clear string and rclone will obscure it for the config file: - clear - string</p>
-<p>Returns - obscured - string</p>
+<p>Returns: - obscured - string</p>
<h3 id="core-pid">core/pid: Return PID of current process</h3>
<p>This returns PID of current process. Useful for stopping rclone process.</p>
<h3 id="core-quit">core/quit: Terminates the app.</h3>
-<p>(optional) Pass an exit code to be used for terminating the app: - exitCode - int</p>
+<p>(Optional) Pass an exit code to be used for terminating the app: - exitCode - int</p>
<h3 id="core-stats">core/stats: Returns stats about current transfers.</h3>
<p>This returns all available stats:</p>
<pre><code>rclone rc core/stats</code></pre>
@@ -5261,7 +5521,7 @@ OR
}</code></pre>
<p>Values for "transferring", "checking" and "lastError" are only assigned if data is available. The value for "eta" is null if an eta cannot be determined.</p>
<h3 id="core-stats-delete">core/stats-delete: Delete stats group.</h3>
-<p>This deletes entire stats group</p>
+<p>This deletes entire stats group.</p>
<p>Parameters</p>
<ul>
<li>group - name of the stats group (string)</li>
@@ -5297,7 +5557,7 @@ OR
]
}</code></pre>
<h3 id="core-version">core/version: Shows the current version of rclone and the go runtime.</h3>
-<p>This shows the current version of go and the go runtime</p>
+<p>This shows the current version of go and the go runtime:</p>
<ul>
<li>version - rclone version, e.g. "v1.53.0"</li>
<li>decomposed - version number as [major, minor, patch]</li>
@@ -5314,7 +5574,7 @@ OR
<p>To include every blocking event in the profile, pass rate = 1. To turn off profiling entirely, pass rate &lt;= 0.</p>
<p>After calling this you can use this to see the blocking profile:</p>
<pre><code>go tool pprof http://localhost:5572/debug/pprof/block</code></pre>
-<p>Parameters</p>
+<p>Parameters:</p>
<ul>
<li>rate - int</li>
</ul>
@@ -5323,11 +5583,11 @@ OR
<p>To turn off profiling entirely, pass rate 0. To just read the current rate, pass rate &lt; 0. (For n&gt;1 the details of sampling may change.)</p>
<p>Once this is set you can look use this to profile the mutex contention:</p>
<pre><code>go tool pprof http://localhost:5572/debug/pprof/mutex</code></pre>
-<p>Parameters</p>
+<p>Parameters:</p>
<ul>
<li>rate - int</li>
</ul>
-<p>Results</p>
+<p>Results:</p>
<ul>
<li>previousRate - int</li>
</ul>
@@ -5340,17 +5600,17 @@ OR
<p>Returns - entries - number of items in the cache</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="job-list">job/list: Lists the IDs of the running jobs</h3>
-<p>Parameters - None</p>
-<p>Results</p>
+<p>Parameters: None.</p>
+<p>Results:</p>
<ul>
-<li>jobids - array of integer job ids</li>
+<li>jobids - array of integer job ids.</li>
</ul>
<h3 id="job-status">job/status: Reads the status of the job ID</h3>
-<p>Parameters</p>
+<p>Parameters:</p>
<ul>
-<li>jobid - id of the job (integer)</li>
+<li>jobid - id of the job (integer).</li>
</ul>
-<p>Results</p>
+<p>Results:</p>
<ul>
<li>finished - boolean</li>
<li>duration - time in seconds that the job ran for</li>
@@ -5364,12 +5624,12 @@ OR
<li>progress - output of the progress related to the underlying job</li>
</ul>
<h3 id="job-stop">job/stop: Stop the running job</h3>
-<p>Parameters</p>
+<p>Parameters:</p>
<ul>
-<li>jobid - id of the job (integer)</li>
+<li>jobid - id of the job (integer).</li>
</ul>
<h3 id="mount-listmounts">mount/listmounts: Show current mount points</h3>
-<p>This shows currently mounted points, which can be used for performing an unmount</p>
+<p>This shows currently mounted points, which can be used for performing an unmount.</p>
<p>This takes no parameters and returns</p>
<ul>
<li>mountPoints: list of current mount points</li>
@@ -5380,19 +5640,19 @@ OR
<h3 id="mount-mount">mount/mount: Create a new mount point</h3>
<p>rclone allows Linux, FreeBSD, macOS and Windows to mount any of Rclone's cloud storage systems as a file system with FUSE.</p>
<p>If no mountType is provided, the priority is given as follows: 1. mount 2.cmount 3.mount2</p>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote path to be mounted (required)</li>
<li>mountPoint: valid path on the local machine (required)</li>
-<li>mountType: One of the values (mount, cmount, mount2) specifies the mount implementation to use</li>
+<li>mountType: one of the values (mount, cmount, mount2) specifies the mount implementation to use</li>
<li>mountOpt: a JSON object with Mount options in.</li>
<li>vfsOpt: a JSON object with VFS options in.</li>
</ul>
-<p>Eg</p>
+<p>Example:</p>
<pre><code>rclone rc mount/mount fs=mydrive: mountPoint=/home/&lt;user&gt;/mountPoint
rclone rc mount/mount fs=mydrive: mountPoint=/home/&lt;user&gt;/mountPoint mountType=mount
rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;CacheMode&quot;: 2}&#39; mountOpt=&#39;{&quot;AllowOther&quot;: true}&#39;</code></pre>
-<p>The vfsOpt are as described in options/get and can be seen in the the "vfs" section when running and the mountOpt can be seen in the "mount" section.</p>
+<p>The vfsOpt are as described in options/get and can be seen in the the "vfs" section when running and the mountOpt can be seen in the "mount" section:</p>
<pre><code>rclone rc options/get</code></pre>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="mount-types">mount/types: Show all possible mount types</h3>
@@ -5407,21 +5667,21 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="mount-unmount">mount/unmount: Unmount selected active mount</h3>
<p>rclone allows Linux, FreeBSD, macOS and Windows to mount any of Rclone's cloud storage systems as a file system with FUSE.</p>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>mountPoint: valid path on the local machine where the mount was created (required)</li>
</ul>
-<p>Eg</p>
+<p>Example:</p>
<pre><code>rclone rc mount/unmount mountPoint=/home/&lt;user&gt;/mountPoint</code></pre>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="mount-unmountall">mount/unmountall: Show current mount points</h3>
-<p>This shows currently mounted points, which can be used for performing an unmount</p>
+<p>This shows currently mounted points, which can be used for performing an unmount.</p>
<p>This takes no parameters and returns error if unmount does not succeed.</p>
<p>Eg</p>
<pre><code>rclone rc mount/unmountall</code></pre>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-about">operations/about: Return the space used on the remote</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
</ul>
@@ -5429,14 +5689,14 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
<p>See the <a href="https://rclone.org/commands/rclone_size/">about command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-cleanup">operations/cleanup: Remove trashed files in the remote or path</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
</ul>
<p>See the <a href="https://rclone.org/commands/rclone_cleanup/">cleanup command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-copyfile">operations/copyfile: Copy a file from source remote to destination remote</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>srcFs - a remote name string e.g. "drive:" for the source</li>
<li>srcRemote - a path within that remote e.g. "file.txt" for the source</li>
@@ -5445,7 +5705,7 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
</ul>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-copyurl">operations/copyurl: Copy the URL to the object</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
<li>remote - a path within that remote e.g. "dir"</li>
@@ -5454,14 +5714,14 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
</ul>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-delete">operations/delete: Remove files in the path</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
</ul>
<p>See the <a href="https://rclone.org/commands/rclone_delete/">delete command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-deletefile">operations/deletefile: Remove the single file pointed to</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
<li>remote - a path within that remote e.g. "dir"</li>
@@ -5469,7 +5729,7 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
<p>See the <a href="https://rclone.org/commands/rclone_deletefile/">deletefile command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-fsinfo">operations/fsinfo: Return information about the remote</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
</ul>
@@ -5519,7 +5779,7 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
<p>This command does not have a command line equivalent so use this instead:</p>
<pre><code>rclone rc --loopback operations/fsinfo fs=remote:</code></pre>
<h3 id="operations-list">operations/list: List the given remote and path in JSON format</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
<li>remote - a path within that remote e.g. "dir"</li>
@@ -5530,9 +5790,13 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
<li>showEncrypted - If set show decrypted names</li>
<li>showOrigIDs - If set show the IDs for each item if known</li>
<li>showHash - If set return a dictionary of hashes</li>
+<li>noMimeType - If set don't show mime types</li>
+<li>dirsOnly - If set only show directories</li>
+<li>filesOnly - If set only show files</li>
+<li>hashTypes - array of strings of hash types to show if showHash set</li>
</ul></li>
</ul>
-<p>The result is</p>
+<p>Returns:</p>
<ul>
<li>list
<ul>
@@ -5542,7 +5806,7 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
<p>See the <a href="https://rclone.org/commands/rclone_lsjson/">lsjson command</a> for more information on the above and examples.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-mkdir">operations/mkdir: Make a destination directory or container</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
<li>remote - a path within that remote e.g. "dir"</li>
@@ -5550,7 +5814,7 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
<p>See the <a href="https://rclone.org/commands/rclone_mkdir/">mkdir command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-movefile">operations/movefile: Move a file from source remote to destination remote</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>srcFs - a remote name string e.g. "drive:" for the source</li>
<li>srcRemote - a path within that remote e.g. "file.txt" for the source</li>
@@ -5559,21 +5823,21 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
</ul>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-publiclink">operations/publiclink: Create or retrieve a public link to the given file or folder.</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
<li>remote - a path within that remote e.g. "dir"</li>
<li>unlink - boolean - if set removes the link rather than adding it (optional)</li>
<li>expire - string - the expiry time of the link e.g. "1d" (optional)</li>
</ul>
-<p>Returns</p>
+<p>Returns:</p>
<ul>
<li>url - URL of the resource</li>
</ul>
<p>See the <a href="https://rclone.org/commands/rclone_link/">link command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-purge">operations/purge: Remove a directory or container and all of its contents</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
<li>remote - a path within that remote e.g. "dir"</li>
@@ -5581,7 +5845,7 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
<p>See the <a href="https://rclone.org/commands/rclone_purge/">purge command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-rmdir">operations/rmdir: Remove an empty directory or container</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
<li>remote - a path within that remote e.g. "dir"</li>
@@ -5589,36 +5853,52 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
<p>See the <a href="https://rclone.org/commands/rclone_rmdir/">rmdir command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-rmdirs">operations/rmdirs: Remove all the empty directories in the path</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:"</li>
<li>remote - a path within that remote e.g. "dir"</li>
-<li>leaveRoot - boolean, set to true not to delete the root</li>
+<li>leaveRoot - boolean, set to true not to delete the root See the <a href="https://rclone.org/commands/rclone_rmdirs/">rmdirs command</a> command for more information on the above.</li>
</ul>
-<p>See the <a href="https://rclone.org/commands/rclone_rmdirs/">rmdirs command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="operations-size">operations/size: Count the number of bytes and files in remote</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>fs - a remote name string e.g. "drive:path/to/dir"</li>
</ul>
-<p>Returns</p>
+<p>Returns:</p>
<ul>
<li>count - number of files</li>
<li>bytes - number of bytes in those files</li>
</ul>
<p>See the <a href="https://rclone.org/commands/rclone_size/">size command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
-<h3 id="operations-uploadfile">operations/uploadfile: Upload file using multiform/form-data</h3>
+<h3 id="operations-stat">operations/stat: Give information about the supplied file or directory</h3>
<p>This takes the following parameters</p>
<ul>
+<li>fs - a remote name string eg "drive:"</li>
+<li>remote - a path within that remote eg "dir"</li>
+<li>opt - a dictionary of options to control the listing (optional)
+<ul>
+<li>see operations/list for the options</li>
+</ul></li>
+</ul>
+<p>The result is</p>
+<ul>
+<li>item - an object as described in the lsjson command. Will be null if not found.</li>
+</ul>
+<p>Note that if you are only interested in files then it is much more efficient to set the filesOnly flag in the options.</p>
+<p>See the <a href="https://rclone.org/commands/rclone_lsjson/">lsjson command</a> for more information on the above and examples.</p>
+<p><strong>Authentication is required for this call.</strong></p>
+<h3 id="operations-uploadfile">operations/uploadfile: Upload file using multiform/form-data</h3>
+<p>This takes the following parameters:</p>
+<ul>
<li>fs - a remote name string e.g. "drive:"</li>
<li>remote - a path within that remote e.g. "dir"</li>
<li>each part in body represents a file to be uploaded See the <a href="https://rclone.org/commands/rclone_uploadfile/">uploadfile command</a> command for more information on the above.</li>
</ul>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="options-blocks">options/blocks: List all the option blocks</h3>
-<p>Returns - options - a list of the options block names</p>
+<p>Returns: - options - a list of the options block names</p>
<h3 id="options-get">options/get: Get all the global options</h3>
<p>Returns an object where keys are option block names and values are an object with the current option values in.</p>
<p>Note that these are the global options which are unaffected by use of the _config and _filter parameters. If you wish to read the parameters set in _config then use options/config and for _filter use options/filter.</p>
@@ -5629,7 +5909,7 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=&#39;{&quot;Cache
<p>This call is mostly useful for seeing if _config and _filter passing is working.</p>
<p>This shows the internal names of the option within rclone which should map to the external options very easily with a few exceptions.</p>
<h3 id="options-set">options/set: Set an option</h3>
-<p>Parameters</p>
+<p>Parameters:</p>
<ul>
<li>option block name containing an object with
<ul>
@@ -5647,64 +5927,64 @@ rclone rc options/set --json &#39;{&quot;main&quot;: {&quot;LogLevel&quot;: 8}}&
<p>And this sets NOTICE level logs (normal without -v)</p>
<pre><code>rclone rc options/set --json &#39;{&quot;main&quot;: {&quot;LogLevel&quot;: &quot;NOTICE&quot;}}&#39;</code></pre>
<h3 id="pluginsctl-addPlugin">pluginsctl/addPlugin: Add a plugin using url</h3>
-<p>used for adding a plugin to the webgui</p>
-<p>This takes the following parameters</p>
+<p>Used for adding a plugin to the webgui.</p>
+<p>This takes the following parameters:</p>
<ul>
-<li>url: http url of the github repo where the plugin is hosted (http://github.com/rclone/rclone-webui-react)</li>
+<li>url - http url of the github repo where the plugin is hosted (http://github.com/rclone/rclone-webui-react).</li>
</ul>
-<p>Eg</p>
+<p>Example:</p>
<p>rclone rc pluginsctl/addPlugin</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="pluginsctl-getPluginsForType">pluginsctl/getPluginsForType: Get plugins with type criteria</h3>
-<p>This shows all possible plugins by a mime type</p>
-<p>This takes the following parameters</p>
+<p>This shows all possible plugins by a mime type.</p>
+<p>This takes the following parameters:</p>
<ul>
-<li>type: supported mime type by a loaded plugin e.g. (video/mp4, audio/mp3)</li>
-<li>pluginType: filter plugins based on their type e.g. (DASHBOARD, FILE_HANDLER, TERMINAL)</li>
+<li>type - supported mime type by a loaded plugin e.g. (video/mp4, audio/mp3).</li>
+<li>pluginType - filter plugins based on their type e.g. (DASHBOARD, FILE_HANDLER, TERMINAL).</li>
</ul>
-<p>and returns</p>
+<p>Returns:</p>
<ul>
-<li>loadedPlugins: list of current production plugins</li>
-<li>testPlugins: list of temporarily loaded development plugins, usually running on a different server.</li>
+<li>loadedPlugins - list of current production plugins.</li>
+<li>testPlugins - list of temporarily loaded development plugins, usually running on a different server.</li>
</ul>
-<p>Eg</p>
+<p>Example:</p>
<p>rclone rc pluginsctl/getPluginsForType type=video/mp4</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="pluginsctl-listPlugins">pluginsctl/listPlugins: Get the list of currently loaded plugins</h3>
<p>This allows you to get the currently enabled plugins and their details.</p>
-<p>This takes no parameters and returns</p>
+<p>This takes no parameters and returns:</p>
<ul>
-<li>loadedPlugins: list of current production plugins</li>
-<li>testPlugins: list of temporarily loaded development plugins, usually running on a different server.</li>
+<li>loadedPlugins - list of current production plugins.</li>
+<li>testPlugins - list of temporarily loaded development plugins, usually running on a different server.</li>
</ul>
-<p>Eg</p>
+<p>E.g.</p>
<p>rclone rc pluginsctl/listPlugins</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="pluginsctl-listTestPlugins">pluginsctl/listTestPlugins: Show currently loaded test plugins</h3>
-<p>allows listing of test plugins with the rclone.test set to true in package.json of the plugin</p>
-<p>This takes no parameters and returns</p>
+<p>Allows listing of test plugins with the rclone.test set to true in package.json of the plugin.</p>
+<p>This takes no parameters and returns:</p>
<ul>
-<li>loadedTestPlugins: list of currently available test plugins</li>
+<li>loadedTestPlugins - list of currently available test plugins.</li>
</ul>
-<p>Eg</p>
+<p>E.g.</p>
<pre><code>rclone rc pluginsctl/listTestPlugins</code></pre>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="pluginsctl-removePlugin">pluginsctl/removePlugin: Remove a loaded plugin</h3>
-<p>This allows you to remove a plugin using it's name</p>
-<p>This takes parameters</p>
+<p>This allows you to remove a plugin using it's name.</p>
+<p>This takes parameters:</p>
<ul>
-<li>name: name of the plugin in the format <code>author</code>/<code>plugin_name</code></li>
+<li>name - name of the plugin in the format <code>author</code>/<code>plugin_name</code>.</li>
</ul>
-<p>Eg</p>
+<p>E.g.</p>
<p>rclone rc pluginsctl/removePlugin name=rclone/video-plugin</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="pluginsctl-removeTestPlugin">pluginsctl/removeTestPlugin: Remove a test plugin</h3>
-<p>This allows you to remove a plugin using it's name</p>
-<p>This takes the following parameters</p>
+<p>This allows you to remove a plugin using it's name.</p>
+<p>This takes the following parameters:</p>
<ul>
-<li>name: name of the plugin in the format <code>author</code>/<code>plugin_name</code></li>
+<li>name - name of the plugin in the format <code>author</code>/<code>plugin_name</code>.</li>
</ul>
-<p>Eg</p>
+<p>Example:</p>
<pre><code>rclone rc pluginsctl/removeTestPlugin name=rclone/rclone-webui-react</code></pre>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="rc-error">rc/error: This returns an error</h3>
@@ -5717,7 +5997,7 @@ rclone rc options/set --json &#39;{&quot;main&quot;: {&quot;LogLevel&quot;: 8}}&
<p>This echoes the input parameters to the output parameters for testing purposes. It can be used to check that rclone is still alive and to check that parameter passing is working properly.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="sync-copy">sync/copy: copy a directory from source remote to destination remote</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>srcFs - a remote name string e.g. "drive:src" for the source</li>
<li>dstFs - a remote name string e.g. "drive:dst" for the destination</li>
@@ -5726,7 +6006,7 @@ rclone rc options/set --json &#39;{&quot;main&quot;: {&quot;LogLevel&quot;: 8}}&
<p>See the <a href="https://rclone.org/commands/rclone_copy/">copy command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="sync-move">sync/move: move a directory from source remote to destination remote</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>srcFs - a remote name string e.g. "drive:src" for the source</li>
<li>dstFs - a remote name string e.g. "drive:dst" for the destination</li>
@@ -5736,7 +6016,7 @@ rclone rc options/set --json &#39;{&quot;main&quot;: {&quot;LogLevel&quot;: 8}}&
<p>See the <a href="https://rclone.org/commands/rclone_move/">move command</a> command for more information on the above.</p>
<p><strong>Authentication is required for this call.</strong></p>
<h3 id="sync-sync">sync/sync: sync a directory from source remote to destination remote</h3>
-<p>This takes the following parameters</p>
+<p>This takes the following parameters:</p>
<ul>
<li>srcFs - a remote name string e.g. "drive:src" for the source</li>
<li>dstFs - a remote name string e.g. "drive:dst" for the destination</li>
@@ -5923,7 +6203,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<td style="text-align: center;">R</td>
</tr>
<tr class="odd">
-<td>Amazon S3</td>
+<td>Amazon S3 (or S3 compatible)</td>
<td style="text-align: center;">MD5</td>
<td style="text-align: center;">Yes</td>
<td style="text-align: center;">No</td>
@@ -6147,7 +6427,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<td style="text-align: center;">-</td>
</tr>
<tr class="odd">
-<td>SugarSync</td>
+<td>Sia</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">No</td>
<td style="text-align: center;">No</td>
@@ -6155,6 +6435,14 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<td style="text-align: center;">-</td>
</tr>
<tr class="even">
+<td>SugarSync</td>
+<td style="text-align: center;">-</td>
+<td style="text-align: center;">No</td>
+<td style="text-align: center;">No</td>
+<td style="text-align: center;">No</td>
+<td style="text-align: center;">-</td>
+</tr>
+<tr class="odd">
<td>Tardigrade</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">Yes</td>
@@ -6162,7 +6450,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<td style="text-align: center;">No</td>
<td style="text-align: center;">-</td>
</tr>
-<tr class="odd">
+<tr class="even">
<td>Uptobox</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">No</td>
@@ -6170,7 +6458,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<td style="text-align: center;">Yes</td>
<td style="text-align: center;">-</td>
</tr>
-<tr class="even">
+<tr class="odd">
<td>WebDAV</td>
<td style="text-align: center;">MD5, SHA1 ³</td>
<td style="text-align: center;">Yes ⁴</td>
@@ -6178,7 +6466,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<td style="text-align: center;">No</td>
<td style="text-align: center;">-</td>
</tr>
-<tr class="odd">
+<tr class="even">
<td>Yandex Disk</td>
<td style="text-align: center;">MD5</td>
<td style="text-align: center;">Yes</td>
@@ -6186,7 +6474,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<td style="text-align: center;">No</td>
<td style="text-align: center;">R</td>
</tr>
-<tr class="even">
+<tr class="odd">
<td>Zoho WorkDrive</td>
<td style="text-align: center;">-</td>
<td style="text-align: center;">No</td>
@@ -6194,7 +6482,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<td style="text-align: center;">No</td>
<td style="text-align: center;">-</td>
</tr>
-<tr class="odd">
+<tr class="even">
<td>The local filesystem</td>
<td style="text-align: center;">All</td>
<td style="text-align: center;">Yes</td>
@@ -6233,10 +6521,17 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<p>If a cloud storage system allows duplicate files then it can have two objects with the same name.</p>
<p>This confuses rclone greatly when syncing - use the <code>rclone dedupe</code> command to rename or remove duplicates.</p>
<h3 id="restricted-filenames">Restricted filenames</h3>
-<p>Some cloud storage systems might have restrictions on the characters that are usable in file or directory names. When <code>rclone</code> detects such a name during a file upload, it will transparently replace the restricted characters with similar looking Unicode characters.</p>
+<p>Some cloud storage systems might have restrictions on the characters that are usable in file or directory names. When <code>rclone</code> detects such a name during a file upload, it will transparently replace the restricted characters with similar looking Unicode characters. To handle the different sets of restricted characters for different backends, rclone uses something it calls <a href="#encoding">encoding</a>.</p>
<p>This process is designed to avoid ambiguous file names as much as possible and allow to move files between many cloud storage systems transparently.</p>
<p>The name shown by <code>rclone</code> to the user or during log output will only contain a minimal set of <a href="#restricted-characters">replaced characters</a> to ensure correct formatting and not necessarily the actual name used on the cloud storage.</p>
-<p>This transformation is reversed when downloading a file or parsing <code>rclone</code> arguments. For example, when uploading a file named <code>my file?.txt</code> to Onedrive will be displayed as <code>my file?.txt</code> on the console, but stored as <code>my file?.txt</code> (the <code>?</code> gets replaced by the similar looking <code>?</code> character) to Onedrive. The reverse transformation allows to read a file<code>unusual/name.txt</code> from Google Drive, by passing the name <code>unusual/name.txt</code> (the <code>/</code> needs to be replaced by the similar looking <code>/</code> character) on the command line.</p>
+<p>This transformation is reversed when downloading a file or parsing <code>rclone</code> arguments. For example, when uploading a file named <code>my file?.txt</code> to Onedrive, it will be displayed as <code>my file?.txt</code> on the console, but stored as <code>my file?.txt</code> to Onedrive (the <code>?</code> gets replaced by the similar looking <code>?</code> character, the so-called "fullwidth question mark"). The reverse transformation allows to read a file <code>unusual/name.txt</code> from Google Drive, by passing the name <code>unusual/name.txt</code> on the command line (the <code>/</code> needs to be replaced by the similar looking <code>/</code> character).</p>
+<h4 id="restricted-filenames-caveats">Caveats</h4>
+<p>The filename encoding system works well in most cases, at least where file names are written in English or similar languages. You might not even notice it: It just works. In some cases it may lead to issues, though. E.g. when file names are written in Chinese, or Japanese, where it is always the Unicode fullwidth variants of the punctuation marks that are used.</p>
+<p>On Windows, the characters <code>:</code>, <code>*</code> and <code>?</code> are examples of restricted characters. If these are used in filenames on a remote that supports it, Rclone will transparently convert them to their fullwidth Unicode variants <code>*</code>, <code>?</code> and <code>:</code> when downloading to Windows, and back again when uploading. This way files with names that are not allowed on Windows can still be stored.</p>
+<p>However, if you have files on your Windows system originally with these same Unicode characters in their names, they will be included in the same conversion process. E.g. if you create a file in your Windows filesystem with name <code>Test:1.jpg</code>, where <code>:</code> is the Unicode fullwidth colon symbol, and use rclone to upload it to Google Drive, which supports regular <code>:</code> (halfwidth question mark), rclone will replace the fullwidth <code>:</code> with the halfwidth <code>:</code> and store the file as <code>Test:1.jpg</code> in Google Drive. Since both Windows and Google Drive allows the name <code>Test:1.jpg</code>, it would probably be better if rclone just kept the name as is in this case.</p>
+<p>With the opposite situation; if you have a file named <code>Test:1.jpg</code>, in your Google Drive, e.g. uploaded from a Linux system where <code>:</code> is valid in file names. Then later use rclone to copy this file to your Windows computer you will notice that on your local disk it gets renamed to <code>Test:1.jpg</code>. The original filename is not legal on Windows, due to the <code>:</code>, and rclone therefore renames it to make the copy possible. That is all good. However, this can also lead to an issue: If you already had a <em>different</em> file named <code>Test:1.jpg</code> on Windows, and then use rclone to copy either way. Rclone will then treat the file originally named <code>Test:1.jpg</code> on Google Drive and the file originally named <code>Test:1.jpg</code> on Windows as the same file, and replace the contents from one with the other.</p>
+<p>Its virtually impossible to handle all cases like these correctly in all situations, but by customizing the <a href="#encoding">encoding option</a>, changing the set of characters that rclone should convert, you should be able to create a configuration that works well for your specific situation. See also the <a href="https://rclone.org/overview/#encoding-example-windows">example</a> below.</p>
+<p>(Windows was used as an example of a file system with many restricted characters, and Google drive a storage system with few.)</p>
<h4 id="restricted-characters">Default restricted characters</h4>
<p>The table below shows the characters that are replaced by default.</p>
<p>When a replacement character is found in a filename, this character will be escaped with the <code>‛</code> character to avoid ambiguous file names. (e.g. a file named <code>␀.txt</code> would shown as <code>‛␀.txt</code>)</p>
@@ -6446,11 +6741,11 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<p>In this case all invalid UTF-8 bytes will be replaced with a quoted representation of the byte value to allow uploading a file to such a backend. For example, the invalid byte <code>0xFE</code> will be encoded as <code>‛FE</code>.</p>
<p>A common source of invalid UTF-8 bytes are local filesystems, that store names in a different encoding than UTF-8 or UTF-16, like latin1. See the <a href="https://rclone.org/local/#filenames">local filenames</a> section for details.</p>
<h4 id="encoding">Encoding option</h4>
-<p>Most backends have an encoding options, specified as a flag <code>--backend-encoding</code> where <code>backend</code> is the name of the backend, or as a config parameter <code>encoding</code> (you'll need to select the Advanced config in <code>rclone config</code> to see it).</p>
+<p>Most backends have an encoding option, specified as a flag <code>--backend-encoding</code> where <code>backend</code> is the name of the backend, or as a config parameter <code>encoding</code> (you'll need to select the Advanced config in <code>rclone config</code> to see it).</p>
<p>This will have default value which encodes and decodes characters in such a way as to preserve the maximum number of characters (see above).</p>
-<p>However this can be incorrect in some scenarios, for example if you have a Windows file system with characters such as <code>*</code> and <code>?</code> that you want to remain as those characters on the remote rather than being translated to <code>*</code> and <code>?</code>.</p>
+<p>However this can be incorrect in some scenarios, for example if you have a Windows file system with Unicode fullwidth characters <code>*</code>, <code>?</code> or <code>:</code>, that you want to remain as those characters on the remote rather than being translated to regular (halfwidth) <code>*</code>, <code>?</code> and <code>:</code>.</p>
<p>The <code>--backend-encoding</code> flags allow you to change that. You can disable the encoding completely with <code>--backend-encoding None</code> or set <code>encoding = None</code> in the config file.</p>
-<p>Encoding takes a comma separated list of encodings. You can see the list of all available characters by passing an invalid value to this flag, e.g. <code>--local-encoding "help"</code> and <code>rclone help flags encoding</code> will show you the defaults for the backends.</p>
+<p>Encoding takes a comma separated list of encodings. You can see the list of all possible values by passing an invalid value to this flag, e.g. <code>--local-encoding "help"</code>. The command <code>rclone help flags encoding</code> will show you the defaults for the backends.</p>
<table>
<thead>
<tr class="header">
@@ -6493,7 +6788,7 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
</tr>
<tr class="odd">
<td>Dot</td>
-<td><code>.</code></td>
+<td><code>.</code> or <code>..</code> as entire string</td>
</tr>
<tr class="even">
<td>DoubleQuote</td>
@@ -6563,8 +6858,13 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<td>Slash</td>
<td><code>/</code></td>
</tr>
+<tr class="odd">
+<td>SquareBracket</td>
+<td><code>[</code>, <code>]</code></td>
+</tr>
</tbody>
</table>
+<h5 id="encoding-example-ftp">Encoding example: FTP</h5>
<p>To take a specific example, the FTP backend's default encoding is</p>
<pre><code>--ftp-encoding &quot;Slash,Del,Ctl,RightSpace,Dot&quot;</code></pre>
<p>However, let's say the FTP server is running on Windows and can't have any of the invalid Windows characters in file names. You are backing up Linux servers to this FTP server which do have those characters in file names. So you would add the Windows set which are</p>
@@ -6572,9 +6872,15 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<p>to the existing ones, giving:</p>
<pre><code>Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot,Del,RightSpace</code></pre>
<p>This can be specified using the <code>--ftp-encoding</code> flag or using an <code>encoding</code> parameter in the config file.</p>
-<p>Or let's say you have a Windows server but you want to preserve <code>*</code> and <code>?</code>, you would then have this as the encoding (the Windows encoding minus <code>Asterisk</code> and <code>Question</code>).</p>
-<pre><code>Slash,LtGt,DoubleQuote,Colon,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot</code></pre>
-<p>This can be specified using the <code>--local-encoding</code> flag or using an <code>encoding</code> parameter in the config file.</p>
+<h5 id="encoding-example-windows">Encoding example: Windows</h5>
+<p>As a nother example, take a Windows system where there is a file with name <code>Test:1.jpg</code>, where <code>:</code> is the Unicode fullwidth colon symbol. When using rclone to copy this to a remote which supports <code>:</code>, the regular (halfwidth) colon (such as Google Drive), you will notice that the file gets renamed to <code>Test:1.jpg</code>.</p>
+<p>To avoid this you can change the set of characters rclone should convert for the local filesystem, using command-line argument <code>--local-encoding</code>. Rclone's default behavior on Windows corresponds to</p>
+<pre><code>--local-encoding &quot;Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot&quot;</code></pre>
+<p>If you want to use fullwidth characters <code>:</code>, <code>*</code> and <code>?</code> in your filenames without rclone changing them when uploading to a remote, then set the same as the default value but without <code>Colon,Question,Asterisk</code>:</p>
+<pre><code>--local-encoding &quot;Slash,LtGt,DoubleQuote,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot&quot;</code></pre>
+<p>Alternatively, you can disable the conversion of any characters with <code>--local-encoding None</code>.</p>
+<p>Instead of using command-line argument <code>--local-encoding</code>, you may also set it as <a href="https://rclone.org/docs/#environment-variables">environment variable</a> <code>RCLONE_LOCAL_ENCODING</code>, or <a href="https://rclone.org/docs/#configure">configure</a> a remote of type <code>local</code> in your config, and set the <code>encoding</code> option there.</p>
+<p>The risk by doing this is that if you have a filename with the regular (halfwidth) <code>:</code>, <code>*</code> and <code>?</code> in your cloud storage, and you try to download it to your Windows filesystem, this will fail. These characters are not valid in filenames on Windows, and you have told rclone not to work around this by converting them to valid fullwidth variants.</p>
<h3 id="mime-type">MIME Type</h3>
<p>MIME types (also known as media types) classify types of documents using a simple text classification, e.g. <code>text/html</code> or <code>application/pdf</code>.</p>
<p>Some cloud storage systems support reading (<code>R</code>) the MIME type of objects and some support writing (<code>W</code>) the MIME type of objects.</p>
@@ -7102,34 +7408,34 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<p>This describes the global flags available to every rclone command split into two groups, non backend and backend flags.</p>
<h2 id="non-backend-flags">Non Backend Flags</h2>
<p>These flags are available for every command.</p>
-<pre><code> --ask-password Allow prompt for password for encrypted configuration. (default true)
- --auto-confirm If enabled, do not request console confirmation.
- --backup-dir string Make backups into hierarchy based in DIR.
- --bind string Local address to bind to for outgoing connections, IPv4, IPv6 or name.
- --buffer-size SizeSuffix In memory buffer size when reading files for each --transfer. (default 16Mi)
- --bwlimit BwTimetable Bandwidth limit in KiByte/s, or use suffix B|K|M|G|T|P or a full timetable.
- --bwlimit-file BwTimetable Bandwidth limit per file in KiByte/s, or use suffix B|K|M|G|T|P or a full timetable.
+<pre><code> --ask-password Allow prompt for password for encrypted configuration (default true)
+ --auto-confirm If enabled, do not request console confirmation
+ --backup-dir string Make backups into hierarchy based in DIR
+ --bind string Local address to bind to for outgoing connections, IPv4, IPv6 or name
+ --buffer-size SizeSuffix In memory buffer size when reading files for each --transfer (default 16Mi)
+ --bwlimit BwTimetable Bandwidth limit in KiB/s, or use suffix B|K|M|G|T|P or a full timetable
+ --bwlimit-file BwTimetable Bandwidth limit per file in KiB/s, or use suffix B|K|M|G|T|P or a full timetable
--ca-cert string CA certificate used to verify servers
- --cache-dir string Directory rclone will use for caching. (default &quot;$HOME/.cache/rclone&quot;)
- --check-first Do all the checks before starting transfers.
- --checkers int Number of checkers to run in parallel. (default 8)
+ --cache-dir string Directory rclone will use for caching (default &quot;$HOME/.cache/rclone&quot;)
+ --check-first Do all the checks before starting transfers
+ --checkers int Number of checkers to run in parallel (default 8)
-c, --checksum Skip based on checksum (if available) &amp; size, not mod-time &amp; size
--client-cert string Client SSL certificate (PEM) for mutual TLS auth
--client-key string Client SSL private key (PEM) for mutual TLS auth
- --compare-dest stringArray Include additional comma separated server-side paths during comparison.
- --config string Config file. (default &quot;$HOME/.config/rclone/rclone.conf&quot;)
+ --compare-dest stringArray Include additional comma separated server-side paths during comparison
+ --config string Config file (default &quot;$HOME/.config/rclone/rclone.conf&quot;)
--contimeout duration Connect timeout (default 1m0s)
- --copy-dest stringArray Implies --compare-dest but also copies files from paths into destination.
+ --copy-dest stringArray Implies --compare-dest but also copies files from paths into destination
--cpuprofile string Write cpu profile to file
--cutoff-mode string Mode to stop transfers when reaching the max transfer limit HARD|SOFT|CAUTIOUS (default &quot;HARD&quot;)
--delete-after When synchronizing, delete files on destination after transferring (default)
--delete-before When synchronizing, delete files on destination before transferring
--delete-during When synchronizing, delete files during transfer
--delete-excluded Delete files on dest excluded from sync
- --disable string Disable a comma separated list of features. Use --disable help to see a list.
- --disable-http2 Disable HTTP/2 in the global transport.
+ --disable string Disable a comma separated list of features (use --disable help to see a list)
+ --disable-http2 Disable HTTP/2 in the global transport
-n, --dry-run Do a trial run with no permanent changes
- --dscp string Set DSCP value to connections. Can be value or names, eg. CS1, LE, DF, AF21.
+ --dscp string Set DSCP value to connections, value or name, e.g. CS1, LE, DF, AF21
--dump DumpFlags List of items to dump from: headers,bodies,requests,responses,auth,filters,goroutines,openfiles
--dump-bodies Dump HTTP headers and bodies - may contain sensitive info
--dump-headers Dump HTTP headers - may contain sensitive info
@@ -7138,544 +7444,565 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
--exclude-from stringArray Read exclude patterns from file (use - to read from stdin)
--exclude-if-present string Exclude directories if filename is present
--expect-continue-timeout duration Timeout when using expect / 100-continue in HTTP (default 1s)
- --fast-list Use recursive list if available. Uses more memory but fewer transactions.
+ --fast-list Use recursive list if available; uses more memory but fewer transactions
--files-from stringArray Read list of source-file names from file (use - to read from stdin)
--files-from-raw stringArray Read list of source-file names from file without any processing of lines (use - to read from stdin)
-f, --filter stringArray Add a file-filtering rule
--filter-from stringArray Read filtering patterns from a file (use - to read from stdin)
- --fs-cache-expire-duration duration cache remotes for this long (0 to disable caching) (default 5m0s)
- --fs-cache-expire-interval duration interval to check for expired remotes (default 1m0s)
+ --fs-cache-expire-duration duration Cache remotes for this long (0 to disable caching) (default 5m0s)
+ --fs-cache-expire-interval duration Interval to check for expired remotes (default 1m0s)
--header stringArray Set HTTP header for all transactions
--header-download stringArray Set HTTP header for download transactions
--header-upload stringArray Set HTTP header for upload transactions
+ --human-readable Print numbers in a human-readable format, sizes with suffix Ki|Mi|Gi|Ti|Pi
--ignore-case Ignore case in filters (case insensitive)
--ignore-case-sync Ignore case when synchronizing
- --ignore-checksum Skip post copy check of checksums.
- --ignore-errors delete even if there are I/O errors
+ --ignore-checksum Skip post copy check of checksums
+ --ignore-errors Delete even if there are I/O errors
--ignore-existing Skip all files that exist on destination
- --ignore-size Ignore size when skipping use mod-time or checksum.
+ --ignore-size Ignore size when skipping use mod-time or checksum
-I, --ignore-times Don&#39;t skip files that match size and time - transfer all files
- --immutable Do not modify files. Fail if existing files have been modified.
+ --immutable Do not modify files, fail if existing files have been modified
--include stringArray Include files matching pattern
--include-from stringArray Read include patterns from file (use - to read from stdin)
-i, --interactive Enable interactive mode
+ --kv-lock-time duration Maximum time to keep key-value database locked by process (default 1s)
--log-file string Log everything to this file
--log-format string Comma separated list of log format options (default &quot;date,time&quot;)
--log-level string Log level DEBUG|INFO|NOTICE|ERROR (default &quot;NOTICE&quot;)
- --log-systemd Activate systemd integration for the logger.
- --low-level-retries int Number of low level retries to do. (default 10)
+ --log-systemd Activate systemd integration for the logger
+ --low-level-retries int Number of low level retries to do (default 10)
--max-age Duration Only transfer files younger than this in s or suffix ms|s|m|h|d|w|M|y (default off)
- --max-backlog int Maximum number of objects in sync or check backlog. (default 10000)
+ --max-backlog int Maximum number of objects in sync or check backlog (default 10000)
--max-delete int When synchronizing, limit the number of deletes (default -1)
- --max-depth int If set limits the recursion depth to this. (default -1)
- --max-duration duration Maximum duration rclone will transfer data for.
+ --max-depth int If set limits the recursion depth to this (default -1)
+ --max-duration duration Maximum duration rclone will transfer data for
--max-size SizeSuffix Only transfer files smaller than this in KiB or suffix B|K|M|G|T|P (default off)
- --max-stats-groups int Maximum number of stats groups to keep in memory. On max oldest is discarded. (default 1000)
- --max-transfer SizeSuffix Maximum size of data to transfer. (default off)
+ --max-stats-groups int Maximum number of stats groups to keep in memory, on max oldest is discarded (default 1000)
+ --max-transfer SizeSuffix Maximum size of data to transfer (default off)
--memprofile string Write memory profile to file
--min-age Duration Only transfer files older than this in s or suffix ms|s|m|h|d|w|M|y (default off)
--min-size SizeSuffix Only transfer files bigger than this in KiB or suffix B|K|M|G|T|P (default off)
--modify-window duration Max time diff to be considered the same (default 1ns)
- --multi-thread-cutoff SizeSuffix Use multi-thread downloads for files above this size. (default 250Mi)
- --multi-thread-streams int Max number of streams to use for multi-thread downloads. (default 4)
- --no-check-certificate Do not verify the server SSL certificate. Insecure.
- --no-check-dest Don&#39;t check the destination, copy regardless.
- --no-console Hide console window. Supported on Windows only.
- --no-gzip-encoding Don&#39;t set Accept-Encoding: gzip.
- --no-traverse Don&#39;t traverse destination file system on copy.
- --no-unicode-normalization Don&#39;t normalize unicode characters in filenames.
- --no-update-modtime Don&#39;t update destination mod-time if files identical.
+ --multi-thread-cutoff SizeSuffix Use multi-thread downloads for files above this size (default 250Mi)
+ --multi-thread-streams int Max number of streams to use for multi-thread downloads (default 4)
+ --no-check-certificate Do not verify the server SSL certificate (insecure)
+ --no-check-dest Don&#39;t check the destination, copy regardless
+ --no-console Hide console window (supported on Windows only)
+ --no-gzip-encoding Don&#39;t set Accept-Encoding: gzip
+ --no-traverse Don&#39;t traverse destination file system on copy
+ --no-unicode-normalization Don&#39;t normalize unicode characters in filenames
+ --no-update-modtime Don&#39;t update destination mod-time if files identical
--order-by string Instructions on how to order the transfers, e.g. &#39;size,descending&#39;
- --password-command SpaceSepList Command for supplying password for encrypted configuration.
- -P, --progress Show progress during transfer.
- --progress-terminal-title Show progress on the terminal title. Requires -P/--progress.
+ --password-command SpaceSepList Command for supplying password for encrypted configuration
+ -P, --progress Show progress during transfer
+ --progress-terminal-title Show progress on the terminal title (requires -P/--progress)
-q, --quiet Print as little stuff as possible
- --rc Enable the remote control server.
- --rc-addr string IPaddress:Port or :Port to bind server to. (default &quot;localhost:5572&quot;)
- --rc-allow-origin string Set the allowed origin for CORS.
- --rc-baseurl string Prefix for URLs - leave blank for root.
+ --rc Enable the remote control server
+ --rc-addr string IPaddress:Port or :Port to bind server to (default &quot;localhost:5572&quot;)
+ --rc-allow-origin string Set the allowed origin for CORS
+ --rc-baseurl string Prefix for URLs - leave blank for root
--rc-cert string SSL PEM key (concatenation of certificate and CA certificate)
--rc-client-ca string Client certificate authority to verify clients with
--rc-enable-metrics Enable prometheus metrics on /metrics
- --rc-files string Path to local files to serve on the HTTP server.
+ --rc-files string Path to local files to serve on the HTTP server
--rc-htpasswd string htpasswd file - if not provided no authentication is done
--rc-job-expire-duration duration expire finished async jobs older than this value (default 1m0s)
--rc-job-expire-interval duration interval to check for expired async jobs (default 10s)
--rc-key string SSL PEM Private key
--rc-max-header-bytes int Maximum size of request header (default 4096)
- --rc-no-auth Don&#39;t require auth for certain methods.
- --rc-pass string Password for authentication.
+ --rc-no-auth Don&#39;t require auth for certain methods
+ --rc-pass string Password for authentication
--rc-realm string realm for authentication (default &quot;rclone&quot;)
- --rc-serve Enable the serving of remote objects.
+ --rc-serve Enable the serving of remote objects
--rc-server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--rc-server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --rc-template string User Specified Template.
- --rc-user string User name for authentication.
- --rc-web-fetch-url string URL to fetch the releases for webgui. (default &quot;https://api.github.com/repos/rclone/rclone-webui-react/releases/latest&quot;)
+ --rc-template string User-specified template
+ --rc-user string User name for authentication
+ --rc-web-fetch-url string URL to fetch the releases for webgui (default &quot;https://api.github.com/repos/rclone/rclone-webui-react/releases/latest&quot;)
--rc-web-gui Launch WebGUI on localhost
--rc-web-gui-force-update Force update to latest version of web gui
--rc-web-gui-no-open-browser Don&#39;t open the browser automatically
--rc-web-gui-update Check and update to latest version of web gui
- --refresh-times Refresh the modtime of remote files.
+ --refresh-times Refresh the modtime of remote files
--retries int Retry operations this many times if they fail (default 3)
- --retries-sleep duration Interval between retrying operations if they fail, e.g 500ms, 60s, 5m. (0 to disable)
+ --retries-sleep duration Interval between retrying operations if they fail, e.g. 500ms, 60s, 5m (0 to disable)
--size-only Skip based on size only, not mod-time or checksum
- --stats duration Interval between printing stats, e.g 500ms, 60s, 5m. (0 to disable) (default 1m0s)
- --stats-file-name-length int Max file name length in stats. 0 for no limit (default 45)
+ --stats duration Interval between printing stats, e.g. 500ms, 60s, 5m (0 to disable) (default 1m0s)
+ --stats-file-name-length int Max file name length in stats (0 for no limit) (default 45)
--stats-log-level string Log level to show --stats output DEBUG|INFO|NOTICE|ERROR (default &quot;INFO&quot;)
- --stats-one-line Make the stats fit on one line.
- --stats-one-line-date Enables --stats-one-line and add current date/time prefix.
- --stats-one-line-date-format string Enables --stats-one-line-date and uses custom formatted date. Enclose date string in double quotes (&quot;). See https://golang.org/pkg/time/#Time.Format
+ --stats-one-line Make the stats fit on one line
+ --stats-one-line-date Enable --stats-one-line and add current date/time prefix
+ --stats-one-line-date-format string Enable --stats-one-line-date and use custom formatted date: Enclose date string in double quotes (&quot;), see https://golang.org/pkg/time/#Time.Format
--stats-unit string Show data rate in stats as either &#39;bits&#39; or &#39;bytes&#39; per second (default &quot;bytes&quot;)
- --streaming-upload-cutoff SizeSuffix Cutoff for switching to chunked upload if file size is unknown. Upload starts after reaching cutoff or when file ends. (default 100Ki)
- --suffix string Suffix to add to changed files.
- --suffix-keep-extension Preserve the extension when using --suffix.
+ --streaming-upload-cutoff SizeSuffix Cutoff for switching to chunked upload if file size is unknown, upload starts after reaching cutoff or when file ends (default 100Ki)
+ --suffix string Suffix to add to changed files
+ --suffix-keep-extension Preserve the extension when using --suffix
--syslog Use Syslog for logging
--syslog-facility string Facility for syslog, e.g. KERN,USER,... (default &quot;DAEMON&quot;)
+ --temp-dir string Directory rclone will use for temporary files (default &quot;/tmp&quot;)
--timeout duration IO idle timeout (default 5m0s)
- --tpslimit float Limit HTTP transactions per second to this.
- --tpslimit-burst int Max burst of transactions for --tpslimit. (default 1)
+ --tpslimit float Limit HTTP transactions per second to this
+ --tpslimit-burst int Max burst of transactions for --tpslimit (default 1)
--track-renames When synchronizing, track file renames and do a server-side move if possible
--track-renames-strategy string Strategies to use when synchronizing using track-renames hash|modtime|leaf (default &quot;hash&quot;)
- --transfers int Number of file transfers to run in parallel. (default 4)
- -u, --update Skip files that are newer on the destination.
- --use-cookies Enable session cookiejar.
- --use-json-log Use json log format.
- --use-mmap Use mmap allocator (see docs).
+ --transfers int Number of file transfers to run in parallel (default 4)
+ -u, --update Skip files that are newer on the destination
+ --use-cookies Enable session cookiejar
+ --use-json-log Use json log format
+ --use-mmap Use mmap allocator (see docs)
--use-server-modtime Use server modified time instead of object metadata
- --user-agent string Set the user-agent to a specified string. The default is rclone/ version (default &quot;rclone/v1.56.0&quot;)
+ --user-agent string Set the user-agent to a specified string (default &quot;rclone/v1.57.0&quot;)
-v, --verbose count Print lots more stuff (repeat for more)</code></pre>
<h2 id="backend-flags">Backend Flags</h2>
<p>These flags are available for every command. They control the backends and may be set in the config file.</p>
-<pre><code> --acd-auth-url string Auth server URL.
- --acd-client-id string OAuth Client Id
- --acd-client-secret string OAuth Client Secret
- --acd-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- --acd-templink-threshold SizeSuffix Files &gt;= this size will be downloaded via their tempLink. (default 9Gi)
- --acd-token string OAuth Access Token as a JSON blob.
- --acd-token-url string Token server url.
- --acd-upload-wait-per-gb Duration Additional time per GiB to wait after a failed complete upload to see if it appears. (default 3m0s)
- --alias-remote string Remote or path to alias.
- --azureblob-access-tier string Access tier of blob: hot, cool or archive.
- --azureblob-account string Storage Account Name (leave blank to use SAS URL or Emulator)
- --azureblob-archive-tier-delete Delete archive tier blobs before overwriting.
- --azureblob-chunk-size SizeSuffix Upload chunk size (&lt;= 100 MiB). (default 4Mi)
- --azureblob-disable-checksum Don&#39;t store MD5 checksum with object metadata.
- --azureblob-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8)
- --azureblob-endpoint string Endpoint for the service
- --azureblob-key string Storage Account Key (leave blank to use SAS URL or Emulator)
- --azureblob-list-chunk int Size of blob list. (default 5000)
- --azureblob-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- --azureblob-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool.
- --azureblob-msi-client-id string Object ID of the user-assigned MSI to use, if any. Leave blank if msi_object_id or msi_mi_res_id specified.
- --azureblob-msi-mi-res-id string Azure resource ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_object_id specified.
- --azureblob-msi-object-id string Object ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_mi_res_id specified.
- --azureblob-public-access string Public access level of a container: blob, container.
- --azureblob-sas-url string SAS URL for container level access only
- --azureblob-service-principal-file string Path to file containing credentials for use with a service principal.
- --azureblob-upload-cutoff string Cutoff for switching to chunked upload (&lt;= 256 MiB). (Deprecated)
- --azureblob-use-emulator Uses local storage emulator if provided as &#39;true&#39; (leave blank if using real azure storage endpoint)
- --azureblob-use-msi Use a managed service identity to authenticate (only works in Azure)
- --b2-account string Account ID or Application Key ID
- --b2-chunk-size SizeSuffix Upload chunk size. Must fit in memory. (default 96Mi)
- --b2-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4Gi)
- --b2-disable-checksum Disable checksums for large (&gt; upload cutoff) files
- --b2-download-auth-duration Duration Time before the authorization token will expire in s or suffix ms|s|m|h|d. (default 1w)
- --b2-download-url string Custom endpoint for downloads.
- --b2-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --b2-endpoint string Endpoint for the service.
- --b2-hard-delete Permanently delete files on remote removal, otherwise hide files.
- --b2-key string Application Key
- --b2-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- --b2-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool.
- --b2-test-mode string A flag string for X-Bz-Test-Mode header for debugging.
- --b2-upload-cutoff SizeSuffix Cutoff for switching to chunked upload. (default 200Mi)
- --b2-versions Include old versions in directory listings.
- --box-access-token string Box App Primary Access Token
- --box-auth-url string Auth server URL.
- --box-box-config-file string Box App config.json location
- --box-box-sub-type string (default &quot;user&quot;)
- --box-client-id string OAuth Client Id
- --box-client-secret string OAuth Client Secret
- --box-commit-retries int Max number of times to try committing a multipart file. (default 100)
- --box-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot)
- --box-root-folder-id string Fill in for rclone to use a non root folder as its starting point.
- --box-token string OAuth Access Token as a JSON blob.
- --box-token-url string Token server url.
- --box-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (&gt;= 50 MiB). (default 50Mi)
- --cache-chunk-clean-interval Duration How often should the cache perform cleanups of the chunk storage. (default 1m0s)
- --cache-chunk-no-memory Disable the in-memory cache for storing chunks during streaming.
- --cache-chunk-path string Directory to cache chunk files. (default &quot;$HOME/.cache/rclone/cache-backend&quot;)
- --cache-chunk-size SizeSuffix The size of a chunk (partial file data). (default 5Mi)
- --cache-chunk-total-size SizeSuffix The total size that the chunks can take up on the local disk. (default 10Gi)
- --cache-db-path string Directory to store file structure metadata DB. (default &quot;$HOME/.cache/rclone/cache-backend&quot;)
- --cache-db-purge Clear all the cached data for this remote on start.
- --cache-db-wait-time Duration How long to wait for the DB to be available - 0 is unlimited (default 1s)
- --cache-info-age Duration How long to cache file structure information (directory listings, file size, times, etc.). (default 6h0m0s)
- --cache-plex-insecure string Skip all certificate verification when connecting to the Plex server
- --cache-plex-password string The password of the Plex user (obscured)
- --cache-plex-url string The URL of the Plex server
- --cache-plex-username string The username of the Plex user
- --cache-read-retries int How many times to retry a read from a cache storage. (default 10)
- --cache-remote string Remote to cache.
- --cache-rps int Limits the number of requests per second to the source FS (-1 to disable) (default -1)
- --cache-tmp-upload-path string Directory to keep temporary files until they are uploaded.
- --cache-tmp-wait-time Duration How long should files be stored in local cache before being uploaded (default 15s)
- --cache-workers int How many workers should run in parallel to download chunks. (default 4)
- --cache-writes Cache file data on writes through the FS
- --chunker-chunk-size SizeSuffix Files larger than chunk size will be split in chunks. (default 2Gi)
- --chunker-fail-hard Choose how chunker should handle files with missing or invalid chunks.
- --chunker-hash-type string Choose how chunker handles hash sums. All modes but &quot;none&quot; require metadata. (default &quot;md5&quot;)
- --chunker-remote string Remote to chunk/unchunk.
- --compress-level int GZIP compression level (-2 to 9). (default -1)
- --compress-mode string Compression mode. (default &quot;gzip&quot;)
- --compress-ram-cache-limit SizeSuffix Some remotes don&#39;t allow the upload of files with unknown size. (default 20Mi)
- --compress-remote string Remote to compress.
- -L, --copy-links Follow symlinks and copy the pointed to item.
- --crypt-directory-name-encryption Option to either encrypt directory names or leave them intact. (default true)
- --crypt-filename-encryption string How to encrypt the filenames. (default &quot;standard&quot;)
- --crypt-no-data-encryption Option to either encrypt file data or leave it unencrypted.
- --crypt-password string Password or pass phrase for encryption. (obscured)
- --crypt-password2 string Password or pass phrase for salt. Optional but recommended. (obscured)
- --crypt-remote string Remote to encrypt/decrypt.
- --crypt-server-side-across-configs Allow server-side operations (e.g. copy) to work across different crypt configs.
- --crypt-show-mapping For all files listed show how the names encrypt.
- --drive-acknowledge-abuse Set to allow files which return cannotDownloadAbusiveFile to be downloaded.
- --drive-allow-import-name-change Allow the filetype to change when uploading Google docs (e.g. file.doc to file.docx). This will confuse sync and reupload every time.
- --drive-auth-owner-only Only consider files owned by the authenticated user.
- --drive-auth-url string Auth server URL.
- --drive-chunk-size SizeSuffix Upload chunk size. Must a power of 2 &gt;= 256k. (default 8Mi)
- --drive-client-id string Google Application Client Id
- --drive-client-secret string OAuth Client Secret
- --drive-disable-http2 Disable drive using http2 (default true)
- --drive-encoding MultiEncoder This sets the encoding for the backend. (default InvalidUtf8)
- --drive-export-formats string Comma separated list of preferred formats for downloading Google docs. (default &quot;docx,xlsx,pptx,svg&quot;)
- --drive-formats string Deprecated: see export_formats
- --drive-impersonate string Impersonate this user when using a service account.
- --drive-import-formats string Comma separated list of preferred formats for uploading Google docs.
- --drive-keep-revision-forever Keep new head revision of each file forever.
- --drive-list-chunk int Size of listing chunk 100-1000. 0 to disable. (default 1000)
- --drive-pacer-burst int Number of API calls to allow without sleeping. (default 100)
- --drive-pacer-min-sleep Duration Minimum time to sleep between API calls. (default 100ms)
- --drive-root-folder-id string ID of the root folder
- --drive-scope string Scope that rclone should use when requesting access from drive.
- --drive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different drive configs.
- --drive-service-account-credentials string Service Account Credentials JSON blob
- --drive-service-account-file string Service Account Credentials JSON file path
- --drive-shared-with-me Only show files that are shared with me.
- --drive-size-as-quota Show sizes as storage quota usage, not actual size.
- --drive-skip-checksum-gphotos Skip MD5 checksum on Google photos and videos only.
- --drive-skip-gdocs Skip google documents in all listings.
- --drive-skip-shortcuts If set skip shortcut files
- --drive-starred-only Only show files that are starred.
- --drive-stop-on-download-limit Make download limit errors be fatal
- --drive-stop-on-upload-limit Make upload limit errors be fatal
- --drive-team-drive string ID of the Shared Drive (Team Drive)
- --drive-token string OAuth Access Token as a JSON blob.
- --drive-token-url string Token server url.
- --drive-trashed-only Only show files that are in the trash.
- --drive-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 8Mi)
- --drive-use-created-date Use file created date instead of modified date.,
- --drive-use-shared-date Use date file was shared instead of modified date.
- --drive-use-trash Send files to the trash instead of deleting permanently. (default true)
- --drive-v2-download-min-size SizeSuffix If Object&#39;s are greater, use drive v2 API to download. (default off)
- --dropbox-auth-url string Auth server URL.
- --dropbox-batch-mode string Upload file batching sync|async|off. (default &quot;sync&quot;)
- --dropbox-batch-size int Max number of files in upload batch.
- --dropbox-batch-timeout Duration Max time to allow an idle upload batch before uploading (default 0s)
- --dropbox-chunk-size SizeSuffix Upload chunk size. (&lt; 150Mi). (default 48Mi)
- --dropbox-client-id string OAuth Client Id
- --dropbox-client-secret string OAuth Client Secret
- --dropbox-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot)
- --dropbox-impersonate string Impersonate this user when using a business account.
- --dropbox-shared-files Instructs rclone to work on individual shared files.
- --dropbox-shared-folders Instructs rclone to work on shared folders.
- --dropbox-token string OAuth Access Token as a JSON blob.
- --dropbox-token-url string Token server url.
- --fichier-api-key string Your API Key, get it from https://1fichier.com/console/params.pl
- --fichier-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot)
- --fichier-file-password string If you want to download a shared file that is password protected, add this parameter (obscured)
- --fichier-folder-password string If you want to list the files in a shared folder that is password protected, add this parameter (obscured)
- --fichier-shared-folder string If you want to download a shared folder, add this parameter
- --filefabric-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,InvalidUtf8,Dot)
- --filefabric-permanent-token string Permanent Authentication Token
- --filefabric-root-folder-id string ID of the root folder
- --filefabric-token string Session Token
- --filefabric-token-expiry string Token expiry time
- --filefabric-url string URL of the Enterprise File Fabric to connect to
- --filefabric-version string Version read from the file fabric
- --ftp-close-timeout Duration Maximum time to wait for a response to close. (default 1m0s)
- --ftp-concurrency int Maximum number of FTP simultaneous connections, 0 for unlimited
- --ftp-disable-epsv Disable using EPSV even if server advertises support
- --ftp-disable-mlsd Disable using MLSD even if server advertises support
- --ftp-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,RightSpace,Dot)
- --ftp-explicit-tls Use Explicit FTPS (FTP over TLS)
- --ftp-host string FTP host to connect to
- --ftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
- --ftp-no-check-certificate Do not verify the TLS certificate of the server
- --ftp-pass string FTP password (obscured)
- --ftp-port string FTP port, leave blank to use default (21)
- --ftp-tls Use Implicit FTPS (FTP over TLS)
- --ftp-user string FTP username, leave blank for current username, $USER
- --gcs-anonymous Access public buckets and objects without credentials
- --gcs-auth-url string Auth server URL.
- --gcs-bucket-acl string Access Control List for new buckets.
- --gcs-bucket-policy-only Access checks should use bucket-level IAM policies.
- --gcs-client-id string OAuth Client Id
- --gcs-client-secret string OAuth Client Secret
- --gcs-encoding MultiEncoder This sets the encoding for the backend. (default Slash,CrLf,InvalidUtf8,Dot)
- --gcs-location string Location for the newly created buckets.
- --gcs-object-acl string Access Control List for new objects.
- --gcs-project-number string Project number.
- --gcs-service-account-file string Service Account Credentials JSON file path
- --gcs-storage-class string The storage class to use when storing objects in Google Cloud Storage.
- --gcs-token string OAuth Access Token as a JSON blob.
- --gcs-token-url string Token server url.
- --gphotos-auth-url string Auth server URL.
- --gphotos-client-id string OAuth Client Id
- --gphotos-client-secret string OAuth Client Secret
- --gphotos-include-archived Also view and download archived media.
- --gphotos-read-only Set to make the Google Photos backend read only.
- --gphotos-read-size Set to read the size of media items.
- --gphotos-start-year int Year limits the photos to be downloaded to those which are uploaded after the given year (default 2000)
- --gphotos-token string OAuth Access Token as a JSON blob.
- --gphotos-token-url string Token server url.
- --hdfs-data-transfer-protection string Kerberos data transfer protection: authentication|integrity|privacy
- --hdfs-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Colon,Del,Ctl,InvalidUtf8,Dot)
- --hdfs-namenode string hadoop name node and port
- --hdfs-service-principal-name string Kerberos service principal name for the namenode
- --hdfs-username string hadoop user name
- --http-headers CommaSepList Set HTTP headers for all transactions
- --http-no-head Don&#39;t use HEAD requests to find file sizes in dir listing
- --http-no-slash Set this if the site doesn&#39;t end directories with /
- --http-url string URL of http host to connect to
- --hubic-auth-url string Auth server URL.
- --hubic-chunk-size SizeSuffix Above this size files will be chunked into a _segments container. (default 5Gi)
- --hubic-client-id string OAuth Client Id
- --hubic-client-secret string OAuth Client Secret
- --hubic-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8)
- --hubic-no-chunk Don&#39;t chunk files during streaming upload.
- --hubic-token string OAuth Access Token as a JSON blob.
- --hubic-token-url string Token server url.
- --jottacloud-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
- --jottacloud-hard-delete Delete files permanently rather than putting them into the trash.
- --jottacloud-md5-memory-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required. (default 10Mi)
- --jottacloud-no-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them.
- --jottacloud-trashed-only Only show files that are in the trash.
- --jottacloud-upload-resume-limit SizeSuffix Files bigger than this can be resumed if the upload fail&#39;s. (default 10Mi)
- --koofr-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --koofr-endpoint string The Koofr API endpoint to use (default &quot;https://app.koofr.net&quot;)
- --koofr-mountid string Mount ID of the mount to use. If omitted, the primary mount is used.
- --koofr-password string Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password) (obscured)
- --koofr-setmtime Does the backend support setting modification time. Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend. (default true)
- --koofr-user string Your Koofr user name
- -l, --links Translate symlinks to/from regular files with a &#39;.rclonelink&#39; extension
- --local-case-insensitive Force the filesystem to report itself as case insensitive
- --local-case-sensitive Force the filesystem to report itself as case sensitive.
- --local-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Dot)
- --local-no-check-updated Don&#39;t check to see if the files change during upload
- --local-no-preallocate Disable preallocation of disk space for transferred files
- --local-no-set-modtime Disable setting modtime
- --local-no-sparse Disable sparse files for multi-thread downloads
- --local-nounc string Disable UNC (long path names) conversion on Windows
- --local-unicode-normalization Apply unicode NFC normalization to paths and filenames
- --local-zero-size-links Assume the Stat size of links is zero (and read them instead) (Deprecated)
- --mailru-check-hash What should copy do if file checksum is mismatched or invalid (default true)
- --mailru-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --mailru-pass string Password (obscured)
- --mailru-speedup-enable Skip full upload if there is another file with same data hash. (default true)
- --mailru-speedup-file-patterns string Comma separated list of file name patterns eligible for speedup (put by hash). (default &quot;*.mkv,*.avi,*.mp4,*.mp3,*.zip,*.gz,*.rar,*.pdf&quot;)
- --mailru-speedup-max-disk SizeSuffix This option allows you to disable speedup (put by hash) for large files (default 3Gi)
- --mailru-speedup-max-memory SizeSuffix Files larger than the size given below will always be hashed on disk. (default 32Mi)
- --mailru-user string User name (usually email)
- --mega-debug Output more debug from Mega.
- --mega-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- --mega-hard-delete Delete files permanently rather than putting them into the trash.
- --mega-pass string Password. (obscured)
- --mega-user string User name
- -x, --one-file-system Don&#39;t cross filesystem boundaries (unix/macOS only).
- --onedrive-auth-url string Auth server URL.
- --onedrive-chunk-size SizeSuffix Chunk size to upload files with - must be multiple of 320k (327,680 bytes). (default 10Mi)
- --onedrive-client-id string OAuth Client Id
- --onedrive-client-secret string OAuth Client Secret
- --onedrive-drive-id string The ID of the drive to use
- --onedrive-drive-type string The type of the drive ( personal | business | documentLibrary )
- --onedrive-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
- --onedrive-expose-onenote-files Set to make OneNote files show up in directory listings.
- --onedrive-link-password string Set the password for links created by the link command.
- --onedrive-link-scope string Set the scope of the links created by the link command. (default &quot;anonymous&quot;)
- --onedrive-link-type string Set the type of the links created by the link command. (default &quot;view&quot;)
- --onedrive-list-chunk int Size of listing chunk. (default 1000)
- --onedrive-no-versions Remove all versions on modifying operations
- --onedrive-region string Choose national cloud region for OneDrive. (default &quot;global&quot;)
- --onedrive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different onedrive configs.
- --onedrive-token string OAuth Access Token as a JSON blob.
- --onedrive-token-url string Token server url.
- --opendrive-chunk-size SizeSuffix Files will be uploaded in chunks this size. (default 10Mi)
- --opendrive-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,LeftSpace,LeftCrLfHtVt,RightSpace,RightCrLfHtVt,InvalidUtf8,Dot)
- --opendrive-password string Password. (obscured)
- --opendrive-username string Username
- --pcloud-auth-url string Auth server URL.
- --pcloud-client-id string OAuth Client Id
- --pcloud-client-secret string OAuth Client Secret
- --pcloud-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --pcloud-hostname string Hostname to connect to. (default &quot;api.pcloud.com&quot;)
- --pcloud-root-folder-id string Fill in for rclone to use a non root folder as its starting point. (default &quot;d0&quot;)
- --pcloud-token string OAuth Access Token as a JSON blob.
- --pcloud-token-url string Token server url.
- --premiumizeme-encoding MultiEncoder This sets the encoding for the backend. (default Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --putio-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --qingstor-access-key-id string QingStor Access Key ID
- --qingstor-chunk-size SizeSuffix Chunk size to use for uploading. (default 4Mi)
- --qingstor-connection-retries int Number of connection retries. (default 3)
- --qingstor-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Ctl,InvalidUtf8)
- --qingstor-endpoint string Enter an endpoint URL to connection QingStor API.
- --qingstor-env-auth Get QingStor credentials from runtime. Only applies if access_key_id and secret_access_key is blank.
- --qingstor-secret-access-key string QingStor Secret Access Key (password)
- --qingstor-upload-concurrency int Concurrency for multipart uploads. (default 1)
- --qingstor-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
- --qingstor-zone string Zone to connect to.
- --s3-access-key-id string AWS Access Key ID.
- --s3-acl string Canned ACL used when creating buckets and storing or copying objects.
- --s3-bucket-acl string Canned ACL used when creating buckets.
- --s3-chunk-size SizeSuffix Chunk size to use for uploading. (default 5Mi)
- --s3-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
- --s3-disable-checksum Don&#39;t store MD5 checksum with object metadata
- --s3-disable-http2 Disable usage of http2 for S3 backends
- --s3-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- --s3-endpoint string Endpoint for S3 API.
- --s3-env-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars).
- --s3-force-path-style If true use path style access if false use virtual hosted style. (default true)
- --s3-leave-parts-on-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery.
- --s3-list-chunk int Size of listing chunk (response list for each ListObject S3 request). (default 1000)
- --s3-location-constraint string Location constraint - must be set to match the Region.
- --s3-max-upload-parts int Maximum number of parts in a multipart upload. (default 10000)
- --s3-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- --s3-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool.
- --s3-no-check-bucket If set, don&#39;t attempt to check the bucket exists or create it
- --s3-no-head If set, don&#39;t HEAD uploaded objects to check integrity
- --s3-no-head-object If set, don&#39;t HEAD objects
- --s3-profile string Profile to use in the shared credentials file
- --s3-provider string Choose your S3 provider.
- --s3-region string Region to connect to.
- --s3-requester-pays Enables requester pays option when interacting with S3 bucket.
- --s3-secret-access-key string AWS Secret Access Key (password)
- --s3-server-side-encryption string The server-side encryption algorithm used when storing this object in S3.
- --s3-session-token string An AWS session token
- --s3-shared-credentials-file string Path to the shared credentials file
- --s3-sse-customer-algorithm string If using SSE-C, the server-side encryption algorithm used when storing this object in S3.
- --s3-sse-customer-key string If using SSE-C you must provide the secret encryption key used to encrypt/decrypt your data.
- --s3-sse-customer-key-md5 string If using SSE-C you may provide the secret encryption key MD5 checksum (optional).
- --s3-sse-kms-key-id string If using KMS ID you must provide the ARN of Key.
- --s3-storage-class string The storage class to use when storing new objects in S3.
- --s3-upload-concurrency int Concurrency for multipart uploads. (default 4)
- --s3-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
- --s3-use-accelerate-endpoint If true use the AWS S3 accelerated endpoint.
- --s3-v2-auth If true use v2 authentication.
- --seafile-2fa Two-factor authentication (&#39;true&#39; if the account has 2FA enabled)
- --seafile-create-library Should rclone create a library if it doesn&#39;t exist
- --seafile-encoding MultiEncoder This sets the encoding for the backend. (default Slash,DoubleQuote,BackSlash,Ctl,InvalidUtf8)
- --seafile-library string Name of the library. Leave blank to access all non-encrypted libraries.
- --seafile-library-key string Library password (for encrypted libraries only). Leave blank if you pass it through the command line. (obscured)
- --seafile-pass string Password (obscured)
- --seafile-url string URL of seafile host to connect to
- --seafile-user string User name (usually email address)
- --sftp-ask-password Allow asking for SFTP password when needed.
- --sftp-disable-concurrent-reads If set don&#39;t use concurrent reads
- --sftp-disable-concurrent-writes If set don&#39;t use concurrent writes
- --sftp-disable-hashcheck Disable the execution of SSH commands to determine if remote file hashing is available.
- --sftp-host string SSH host to connect to
- --sftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
- --sftp-key-file string Path to PEM-encoded private key file, leave blank or set key-use-agent to use ssh-agent.
- --sftp-key-file-pass string The passphrase to decrypt the PEM-encoded private key file. (obscured)
- --sftp-key-pem string Raw PEM-encoded private key, If specified, will override key_file parameter.
- --sftp-key-use-agent When set forces the usage of the ssh-agent.
- --sftp-known-hosts-file string Optional path to known_hosts file.
- --sftp-md5sum-command string The command used to read md5 hashes. Leave blank for autodetect.
- --sftp-pass string SSH password, leave blank to use ssh-agent. (obscured)
- --sftp-path-override string Override path used by SSH connection.
- --sftp-port string SSH port, leave blank to use default (22)
- --sftp-pubkey-file string Optional path to public key file.
- --sftp-server-command string Specifies the path or command to run a sftp server on the remote host.
- --sftp-set-modtime Set the modified time on the remote if set. (default true)
- --sftp-sha1sum-command string The command used to read sha1 hashes. Leave blank for autodetect.
- --sftp-skip-links Set to skip any symlinks and any other non regular files.
- --sftp-subsystem string Specifies the SSH2 subsystem on the remote host. (default &quot;sftp&quot;)
- --sftp-use-fstat If set use fstat instead of stat
- --sftp-use-insecure-cipher Enable the use of insecure ciphers and key exchange methods.
- --sftp-user string SSH username, leave blank for current username, $USER
- --sharefile-chunk-size SizeSuffix Upload chunk size. Must a power of 2 &gt;= 256k. (default 64Mi)
- --sharefile-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot)
- --sharefile-endpoint string Endpoint for API calls.
- --sharefile-root-folder-id string ID of the root folder
- --sharefile-upload-cutoff SizeSuffix Cutoff for switching to multipart upload. (default 128Mi)
- --skip-links Don&#39;t warn about skipped symlinks.
- --sugarsync-access-key-id string Sugarsync Access Key ID.
- --sugarsync-app-id string Sugarsync App ID.
- --sugarsync-authorization string Sugarsync authorization
- --sugarsync-authorization-expiry string Sugarsync authorization expiry
- --sugarsync-deleted-id string Sugarsync deleted folder id
- --sugarsync-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Ctl,InvalidUtf8,Dot)
- --sugarsync-hard-delete Permanently delete files if true
- --sugarsync-private-access-key string Sugarsync Private Access Key
- --sugarsync-refresh-token string Sugarsync refresh token
- --sugarsync-root-id string Sugarsync root id
- --sugarsync-user string Sugarsync user
- --swift-application-credential-id string Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
- --swift-application-credential-name string Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
- --swift-application-credential-secret string Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
- --swift-auth string Authentication URL for server (OS_AUTH_URL).
- --swift-auth-token string Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
- --swift-auth-version int AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
- --swift-chunk-size SizeSuffix Above this size files will be chunked into a _segments container. (default 5Gi)
- --swift-domain string User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)
- --swift-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8)
- --swift-endpoint-type string Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE) (default &quot;public&quot;)
- --swift-env-auth Get swift credentials from environment variables in standard OpenStack form.
- --swift-key string API key or password (OS_PASSWORD).
- --swift-leave-parts-on-error If true avoid calling abort upload on a failure. It should be set to true for resuming uploads across different sessions.
- --swift-no-chunk Don&#39;t chunk files during streaming upload.
- --swift-region string Region name - optional (OS_REGION_NAME)
- --swift-storage-policy string The storage policy to use when creating a new container
- --swift-storage-url string Storage URL - optional (OS_STORAGE_URL)
- --swift-tenant string Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
- --swift-tenant-domain string Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
- --swift-tenant-id string Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
- --swift-user string User name to log in (OS_USERNAME).
- --swift-user-id string User ID to log in - optional - most swift systems use user and leave this blank (v3 auth) (OS_USER_ID).
- --tardigrade-access-grant string Access Grant.
- --tardigrade-api-key string API Key.
- --tardigrade-passphrase string Encryption Passphrase. To access existing objects enter passphrase used for uploading.
- --tardigrade-provider string Choose an authentication method. (default &quot;existing&quot;)
- --tardigrade-satellite-address &lt;nodeid&gt;@&lt;address&gt;:&lt;port&gt; Satellite Address. Custom satellite address should match the format: &lt;nodeid&gt;@&lt;address&gt;:&lt;port&gt;. (default &quot;us-central-1.tardigrade.io&quot;)
- --union-action-policy string Policy to choose upstream on ACTION category. (default &quot;epall&quot;)
- --union-cache-time int Cache time of usage and free space (in seconds). This option is only useful when a path preserving policy is used. (default 120)
- --union-create-policy string Policy to choose upstream on CREATE category. (default &quot;epmfs&quot;)
- --union-search-policy string Policy to choose upstream on SEARCH category. (default &quot;ff&quot;)
- --union-upstreams string List of space separated upstreams.
- --uptobox-access-token string Your access Token, get it from https://uptobox.com/my_account
- --uptobox-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot)
- --webdav-bearer-token string Bearer token instead of user/pass (e.g. a Macaroon)
- --webdav-bearer-token-command string Command to run to get a bearer token
- --webdav-encoding string This sets the encoding for the backend.
- --webdav-headers CommaSepList Set HTTP headers for all transactions
- --webdav-pass string Password. (obscured)
- --webdav-url string URL of http host to connect to
- --webdav-user string User name. In case NTLM authentication is used, the username should be in the format &#39;Domain\User&#39;.
- --webdav-vendor string Name of the Webdav site/service/software you are using
- --yandex-auth-url string Auth server URL.
- --yandex-client-id string OAuth Client Id
- --yandex-client-secret string OAuth Client Secret
- --yandex-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,InvalidUtf8,Dot)
- --yandex-token string OAuth Access Token as a JSON blob.
- --yandex-token-url string Token server url.
- --zoho-auth-url string Auth server URL.
- --zoho-client-id string OAuth Client Id
- --zoho-client-secret string OAuth Client Secret
- --zoho-encoding MultiEncoder This sets the encoding for the backend. (default Del,Ctl,InvalidUtf8)
- --zoho-region string Zoho region to connect to.
- --zoho-token string OAuth Access Token as a JSON blob.
- --zoho-token-url string Token server url.</code></pre>
+<pre><code> --acd-auth-url string Auth server URL
+ --acd-client-id string OAuth Client Id
+ --acd-client-secret string OAuth Client Secret
+ --acd-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --acd-templink-threshold SizeSuffix Files &gt;= this size will be downloaded via their tempLink (default 9Gi)
+ --acd-token string OAuth Access Token as a JSON blob
+ --acd-token-url string Token server url
+ --acd-upload-wait-per-gb Duration Additional time per GiB to wait after a failed complete upload to see if it appears (default 3m0s)
+ --alias-remote string Remote or path to alias
+ --azureblob-access-tier string Access tier of blob: hot, cool or archive
+ --azureblob-account string Storage Account Name
+ --azureblob-archive-tier-delete Delete archive tier blobs before overwriting
+ --azureblob-chunk-size SizeSuffix Upload chunk size (&lt;= 100 MiB) (default 4Mi)
+ --azureblob-disable-checksum Don&#39;t store MD5 checksum with object metadata
+ --azureblob-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8)
+ --azureblob-endpoint string Endpoint for the service
+ --azureblob-key string Storage Account Key
+ --azureblob-list-chunk int Size of blob list (default 5000)
+ --azureblob-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --azureblob-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --azureblob-msi-client-id string Object ID of the user-assigned MSI to use, if any
+ --azureblob-msi-mi-res-id string Azure resource ID of the user-assigned MSI to use, if any
+ --azureblob-msi-object-id string Object ID of the user-assigned MSI to use, if any
+ --azureblob-no-head-object If set, do not do HEAD before GET when getting objects
+ --azureblob-public-access string Public access level of a container: blob or container
+ --azureblob-sas-url string SAS URL for container level access only
+ --azureblob-service-principal-file string Path to file containing credentials for use with a service principal
+ --azureblob-upload-cutoff string Cutoff for switching to chunked upload (&lt;= 256 MiB) (deprecated)
+ --azureblob-use-emulator Uses local storage emulator if provided as &#39;true&#39;
+ --azureblob-use-msi Use a managed service identity to authenticate (only works in Azure)
+ --b2-account string Account ID or Application Key ID
+ --b2-chunk-size SizeSuffix Upload chunk size (default 96Mi)
+ --b2-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4Gi)
+ --b2-disable-checksum Disable checksums for large (&gt; upload cutoff) files
+ --b2-download-auth-duration Duration Time before the authorization token will expire in s or suffix ms|s|m|h|d (default 1w)
+ --b2-download-url string Custom endpoint for downloads
+ --b2-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --b2-endpoint string Endpoint for the service
+ --b2-hard-delete Permanently delete files on remote removal, otherwise hide files
+ --b2-key string Application Key
+ --b2-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --b2-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --b2-test-mode string A flag string for X-Bz-Test-Mode header for debugging
+ --b2-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --b2-versions Include old versions in directory listings
+ --box-access-token string Box App Primary Access Token
+ --box-auth-url string Auth server URL
+ --box-box-config-file string Box App config.json location
+ --box-box-sub-type string (default &quot;user&quot;)
+ --box-client-id string OAuth Client Id
+ --box-client-secret string OAuth Client Secret
+ --box-commit-retries int Max number of times to try committing a multipart file (default 100)
+ --box-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot)
+ --box-list-chunk int Size of listing chunk 1-1000 (default 1000)
+ --box-owned-by string Only show items owned by the login (email address) passed in
+ --box-root-folder-id string Fill in for rclone to use a non root folder as its starting point
+ --box-token string OAuth Access Token as a JSON blob
+ --box-token-url string Token server url
+ --box-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (&gt;= 50 MiB) (default 50Mi)
+ --cache-chunk-clean-interval Duration How often should the cache perform cleanups of the chunk storage (default 1m0s)
+ --cache-chunk-no-memory Disable the in-memory cache for storing chunks during streaming
+ --cache-chunk-path string Directory to cache chunk files (default &quot;$HOME/.cache/rclone/cache-backend&quot;)
+ --cache-chunk-size SizeSuffix The size of a chunk (partial file data) (default 5Mi)
+ --cache-chunk-total-size SizeSuffix The total size that the chunks can take up on the local disk (default 10Gi)
+ --cache-db-path string Directory to store file structure metadata DB (default &quot;$HOME/.cache/rclone/cache-backend&quot;)
+ --cache-db-purge Clear all the cached data for this remote on start
+ --cache-db-wait-time Duration How long to wait for the DB to be available - 0 is unlimited (default 1s)
+ --cache-info-age Duration How long to cache file structure information (directory listings, file size, times, etc.) (default 6h0m0s)
+ --cache-plex-insecure string Skip all certificate verification when connecting to the Plex server
+ --cache-plex-password string The password of the Plex user (obscured)
+ --cache-plex-url string The URL of the Plex server
+ --cache-plex-username string The username of the Plex user
+ --cache-read-retries int How many times to retry a read from a cache storage (default 10)
+ --cache-remote string Remote to cache
+ --cache-rps int Limits the number of requests per second to the source FS (-1 to disable) (default -1)
+ --cache-tmp-upload-path string Directory to keep temporary files until they are uploaded
+ --cache-tmp-wait-time Duration How long should files be stored in local cache before being uploaded (default 15s)
+ --cache-workers int How many workers should run in parallel to download chunks (default 4)
+ --cache-writes Cache file data on writes through the FS
+ --chunker-chunk-size SizeSuffix Files larger than chunk size will be split in chunks (default 2Gi)
+ --chunker-fail-hard Choose how chunker should handle files with missing or invalid chunks
+ --chunker-hash-type string Choose how chunker handles hash sums (default &quot;md5&quot;)
+ --chunker-remote string Remote to chunk/unchunk
+ --compress-level int GZIP compression level (-2 to 9) (default -1)
+ --compress-mode string Compression mode (default &quot;gzip&quot;)
+ --compress-ram-cache-limit SizeSuffix Some remotes don&#39;t allow the upload of files with unknown size (default 20Mi)
+ --compress-remote string Remote to compress
+ -L, --copy-links Follow symlinks and copy the pointed to item
+ --crypt-directory-name-encryption Option to either encrypt directory names or leave them intact (default true)
+ --crypt-filename-encryption string How to encrypt the filenames (default &quot;standard&quot;)
+ --crypt-no-data-encryption Option to either encrypt file data or leave it unencrypted
+ --crypt-password string Password or pass phrase for encryption (obscured)
+ --crypt-password2 string Password or pass phrase for salt (obscured)
+ --crypt-remote string Remote to encrypt/decrypt
+ --crypt-server-side-across-configs Allow server-side operations (e.g. copy) to work across different crypt configs
+ --crypt-show-mapping For all files listed show how the names encrypt
+ --drive-acknowledge-abuse Set to allow files which return cannotDownloadAbusiveFile to be downloaded
+ --drive-allow-import-name-change Allow the filetype to change when uploading Google docs
+ --drive-auth-owner-only Only consider files owned by the authenticated user
+ --drive-auth-url string Auth server URL
+ --drive-chunk-size SizeSuffix Upload chunk size (default 8Mi)
+ --drive-client-id string Google Application Client Id
+ --drive-client-secret string OAuth Client Secret
+ --drive-disable-http2 Disable drive using http2 (default true)
+ --drive-encoding MultiEncoder This sets the encoding for the backend (default InvalidUtf8)
+ --drive-export-formats string Comma separated list of preferred formats for downloading Google docs (default &quot;docx,xlsx,pptx,svg&quot;)
+ --drive-formats string Deprecated: See export_formats
+ --drive-impersonate string Impersonate this user when using a service account
+ --drive-import-formats string Comma separated list of preferred formats for uploading Google docs
+ --drive-keep-revision-forever Keep new head revision of each file forever
+ --drive-list-chunk int Size of listing chunk 100-1000, 0 to disable (default 1000)
+ --drive-pacer-burst int Number of API calls to allow without sleeping (default 100)
+ --drive-pacer-min-sleep Duration Minimum time to sleep between API calls (default 100ms)
+ --drive-root-folder-id string ID of the root folder
+ --drive-scope string Scope that rclone should use when requesting access from drive
+ --drive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different drive configs
+ --drive-service-account-credentials string Service Account Credentials JSON blob
+ --drive-service-account-file string Service Account Credentials JSON file path
+ --drive-shared-with-me Only show files that are shared with me
+ --drive-size-as-quota Show sizes as storage quota usage, not actual size
+ --drive-skip-checksum-gphotos Skip MD5 checksum on Google photos and videos only
+ --drive-skip-gdocs Skip google documents in all listings
+ --drive-skip-shortcuts If set skip shortcut files
+ --drive-starred-only Only show files that are starred
+ --drive-stop-on-download-limit Make download limit errors be fatal
+ --drive-stop-on-upload-limit Make upload limit errors be fatal
+ --drive-team-drive string ID of the Shared Drive (Team Drive)
+ --drive-token string OAuth Access Token as a JSON blob
+ --drive-token-url string Token server url
+ --drive-trashed-only Only show files that are in the trash
+ --drive-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 8Mi)
+ --drive-use-created-date Use file created date instead of modified date
+ --drive-use-shared-date Use date file was shared instead of modified date
+ --drive-use-trash Send files to the trash instead of deleting permanently (default true)
+ --drive-v2-download-min-size SizeSuffix If Object&#39;s are greater, use drive v2 API to download (default off)
+ --dropbox-auth-url string Auth server URL
+ --dropbox-batch-commit-timeout Duration Max time to wait for a batch to finish comitting (default 10m0s)
+ --dropbox-batch-mode string Upload file batching sync|async|off (default &quot;sync&quot;)
+ --dropbox-batch-size int Max number of files in upload batch
+ --dropbox-batch-timeout Duration Max time to allow an idle upload batch before uploading (default 0s)
+ --dropbox-chunk-size SizeSuffix Upload chunk size (&lt; 150Mi) (default 48Mi)
+ --dropbox-client-id string OAuth Client Id
+ --dropbox-client-secret string OAuth Client Secret
+ --dropbox-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot)
+ --dropbox-impersonate string Impersonate this user when using a business account
+ --dropbox-shared-files Instructs rclone to work on individual shared files
+ --dropbox-shared-folders Instructs rclone to work on shared folders
+ --dropbox-token string OAuth Access Token as a JSON blob
+ --dropbox-token-url string Token server url
+ --fichier-api-key string Your API Key, get it from https://1fichier.com/console/params.pl
+ --fichier-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot)
+ --fichier-file-password string If you want to download a shared file that is password protected, add this parameter (obscured)
+ --fichier-folder-password string If you want to list the files in a shared folder that is password protected, add this parameter (obscured)
+ --fichier-shared-folder string If you want to download a shared folder, add this parameter
+ --filefabric-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
+ --filefabric-permanent-token string Permanent Authentication Token
+ --filefabric-root-folder-id string ID of the root folder
+ --filefabric-token string Session Token
+ --filefabric-token-expiry string Token expiry time
+ --filefabric-url string URL of the Enterprise File Fabric to connect to
+ --filefabric-version string Version read from the file fabric
+ --ftp-close-timeout Duration Maximum time to wait for a response to close (default 1m0s)
+ --ftp-concurrency int Maximum number of FTP simultaneous connections, 0 for unlimited
+ --ftp-disable-epsv Disable using EPSV even if server advertises support
+ --ftp-disable-mlsd Disable using MLSD even if server advertises support
+ --ftp-disable-tls13 Disable TLS 1.3 (workaround for FTP servers with buggy TLS)
+ --ftp-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,RightSpace,Dot)
+ --ftp-explicit-tls Use Explicit FTPS (FTP over TLS)
+ --ftp-host string FTP host to connect to
+ --ftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
+ --ftp-no-check-certificate Do not verify the TLS certificate of the server
+ --ftp-pass string FTP password (obscured)
+ --ftp-port string FTP port, leave blank to use default (21)
+ --ftp-shut-timeout Duration Maximum time to wait for data connection closing status (default 1m0s)
+ --ftp-tls Use Implicit FTPS (FTP over TLS)
+ --ftp-tls-cache-size int Size of TLS session cache for all control and data connections (default 32)
+ --ftp-user string FTP username, leave blank for current username, $USER
+ --ftp-writing-mdtm Use MDTM to set modification time (VsFtpd quirk)
+ --gcs-anonymous Access public buckets and objects without credentials
+ --gcs-auth-url string Auth server URL
+ --gcs-bucket-acl string Access Control List for new buckets
+ --gcs-bucket-policy-only Access checks should use bucket-level IAM policies
+ --gcs-client-id string OAuth Client Id
+ --gcs-client-secret string OAuth Client Secret
+ --gcs-encoding MultiEncoder This sets the encoding for the backend (default Slash,CrLf,InvalidUtf8,Dot)
+ --gcs-location string Location for the newly created buckets
+ --gcs-object-acl string Access Control List for new objects
+ --gcs-project-number string Project number
+ --gcs-service-account-file string Service Account Credentials JSON file path
+ --gcs-storage-class string The storage class to use when storing objects in Google Cloud Storage
+ --gcs-token string OAuth Access Token as a JSON blob
+ --gcs-token-url string Token server url
+ --gphotos-auth-url string Auth server URL
+ --gphotos-client-id string OAuth Client Id
+ --gphotos-client-secret string OAuth Client Secret
+ --gphotos-encoding MultiEncoder This sets the encoding for the backend (default Slash,CrLf,InvalidUtf8,Dot)
+ --gphotos-include-archived Also view and download archived media
+ --gphotos-read-only Set to make the Google Photos backend read only
+ --gphotos-read-size Set to read the size of media items
+ --gphotos-start-year int Year limits the photos to be downloaded to those which are uploaded after the given year (default 2000)
+ --gphotos-token string OAuth Access Token as a JSON blob
+ --gphotos-token-url string Token server url
+ --hasher-auto-size SizeSuffix Auto-update checksum for files smaller than this size (disabled by default)
+ --hasher-hashes CommaSepList Comma separated list of supported checksum types (default md5,sha1)
+ --hasher-max-age Duration Maximum time to keep checksums in cache (0 = no cache, off = cache forever) (default off)
+ --hasher-remote string Remote to cache checksums for (e.g. myRemote:path)
+ --hdfs-data-transfer-protection string Kerberos data transfer protection: authentication|integrity|privacy
+ --hdfs-encoding MultiEncoder This sets the encoding for the backend (default Slash,Colon,Del,Ctl,InvalidUtf8,Dot)
+ --hdfs-namenode string Hadoop name node and port
+ --hdfs-service-principal-name string Kerberos service principal name for the namenode
+ --hdfs-username string Hadoop user name
+ --http-headers CommaSepList Set HTTP headers for all transactions
+ --http-no-head Don&#39;t use HEAD requests to find file sizes in dir listing
+ --http-no-slash Set this if the site doesn&#39;t end directories with /
+ --http-url string URL of http host to connect to
+ --hubic-auth-url string Auth server URL
+ --hubic-chunk-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
+ --hubic-client-id string OAuth Client Id
+ --hubic-client-secret string OAuth Client Secret
+ --hubic-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
+ --hubic-no-chunk Don&#39;t chunk files during streaming upload
+ --hubic-token string OAuth Access Token as a JSON blob
+ --hubic-token-url string Token server url
+ --jottacloud-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
+ --jottacloud-hard-delete Delete files permanently rather than putting them into the trash
+ --jottacloud-md5-memory-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required (default 10Mi)
+ --jottacloud-no-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them
+ --jottacloud-trashed-only Only show files that are in the trash
+ --jottacloud-upload-resume-limit SizeSuffix Files bigger than this can be resumed if the upload fail&#39;s (default 10Mi)
+ --koofr-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --koofr-endpoint string The Koofr API endpoint to use (default &quot;https://app.koofr.net&quot;)
+ --koofr-mountid string Mount ID of the mount to use
+ --koofr-password string Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password) (obscured)
+ --koofr-setmtime Does the backend support setting modification time (default true)
+ --koofr-user string Your Koofr user name
+ -l, --links Translate symlinks to/from regular files with a &#39;.rclonelink&#39; extension
+ --local-case-insensitive Force the filesystem to report itself as case insensitive
+ --local-case-sensitive Force the filesystem to report itself as case sensitive
+ --local-encoding MultiEncoder This sets the encoding for the backend (default Slash,Dot)
+ --local-no-check-updated Don&#39;t check to see if the files change during upload
+ --local-no-preallocate Disable preallocation of disk space for transferred files
+ --local-no-set-modtime Disable setting modtime
+ --local-no-sparse Disable sparse files for multi-thread downloads
+ --local-nounc string Disable UNC (long path names) conversion on Windows
+ --local-unicode-normalization Apply unicode NFC normalization to paths and filenames
+ --local-zero-size-links Assume the Stat size of links is zero (and read them instead) (deprecated)
+ --mailru-check-hash What should copy do if file checksum is mismatched or invalid (default true)
+ --mailru-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --mailru-pass string Password (obscured)
+ --mailru-speedup-enable Skip full upload if there is another file with same data hash (default true)
+ --mailru-speedup-file-patterns string Comma separated list of file name patterns eligible for speedup (put by hash) (default &quot;*.mkv,*.avi,*.mp4,*.mp3,*.zip,*.gz,*.rar,*.pdf&quot;)
+ --mailru-speedup-max-disk SizeSuffix This option allows you to disable speedup (put by hash) for large files (default 3Gi)
+ --mailru-speedup-max-memory SizeSuffix Files larger than the size given below will always be hashed on disk (default 32Mi)
+ --mailru-user string User name (usually email)
+ --mega-debug Output more debug from Mega
+ --mega-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --mega-hard-delete Delete files permanently rather than putting them into the trash
+ --mega-pass string Password (obscured)
+ --mega-user string User name
+ -x, --one-file-system Don&#39;t cross filesystem boundaries (unix/macOS only)
+ --onedrive-auth-url string Auth server URL
+ --onedrive-chunk-size SizeSuffix Chunk size to upload files with - must be multiple of 320k (327,680 bytes) (default 10Mi)
+ --onedrive-client-id string OAuth Client Id
+ --onedrive-client-secret string OAuth Client Secret
+ --onedrive-drive-id string The ID of the drive to use
+ --onedrive-drive-type string The type of the drive (personal | business | documentLibrary)
+ --onedrive-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
+ --onedrive-expose-onenote-files Set to make OneNote files show up in directory listings
+ --onedrive-link-password string Set the password for links created by the link command
+ --onedrive-link-scope string Set the scope of the links created by the link command (default &quot;anonymous&quot;)
+ --onedrive-link-type string Set the type of the links created by the link command (default &quot;view&quot;)
+ --onedrive-list-chunk int Size of listing chunk (default 1000)
+ --onedrive-no-versions Remove all versions on modifying operations
+ --onedrive-region string Choose national cloud region for OneDrive (default &quot;global&quot;)
+ --onedrive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different onedrive configs
+ --onedrive-token string OAuth Access Token as a JSON blob
+ --onedrive-token-url string Token server url
+ --opendrive-chunk-size SizeSuffix Files will be uploaded in chunks this size (default 10Mi)
+ --opendrive-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,LeftSpace,LeftCrLfHtVt,RightSpace,RightCrLfHtVt,InvalidUtf8,Dot)
+ --opendrive-password string Password (obscured)
+ --opendrive-username string Username
+ --pcloud-auth-url string Auth server URL
+ --pcloud-client-id string OAuth Client Id
+ --pcloud-client-secret string OAuth Client Secret
+ --pcloud-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --pcloud-hostname string Hostname to connect to (default &quot;api.pcloud.com&quot;)
+ --pcloud-root-folder-id string Fill in for rclone to use a non root folder as its starting point (default &quot;d0&quot;)
+ --pcloud-token string OAuth Access Token as a JSON blob
+ --pcloud-token-url string Token server url
+ --premiumizeme-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --putio-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --qingstor-access-key-id string QingStor Access Key ID
+ --qingstor-chunk-size SizeSuffix Chunk size to use for uploading (default 4Mi)
+ --qingstor-connection-retries int Number of connection retries (default 3)
+ --qingstor-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8)
+ --qingstor-endpoint string Enter an endpoint URL to connection QingStor API
+ --qingstor-env-auth Get QingStor credentials from runtime
+ --qingstor-secret-access-key string QingStor Secret Access Key (password)
+ --qingstor-upload-concurrency int Concurrency for multipart uploads (default 1)
+ --qingstor-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --qingstor-zone string Zone to connect to
+ --s3-access-key-id string AWS Access Key ID
+ --s3-acl string Canned ACL used when creating buckets and storing or copying objects
+ --s3-bucket-acl string Canned ACL used when creating buckets
+ --s3-chunk-size SizeSuffix Chunk size to use for uploading (default 5Mi)
+ --s3-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
+ --s3-disable-checksum Don&#39;t store MD5 checksum with object metadata
+ --s3-disable-http2 Disable usage of http2 for S3 backends
+ --s3-download-url string Custom endpoint for downloads
+ --s3-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --s3-endpoint string Endpoint for S3 API
+ --s3-env-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars)
+ --s3-force-path-style If true use path style access if false use virtual hosted style (default true)
+ --s3-leave-parts-on-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery
+ --s3-list-chunk int Size of listing chunk (response list for each ListObject S3 request) (default 1000)
+ --s3-location-constraint string Location constraint - must be set to match the Region
+ --s3-max-upload-parts int Maximum number of parts in a multipart upload (default 10000)
+ --s3-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --s3-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --s3-no-check-bucket If set, don&#39;t attempt to check the bucket exists or create it
+ --s3-no-head If set, don&#39;t HEAD uploaded objects to check integrity
+ --s3-no-head-object If set, do not do HEAD before GET when getting objects
+ --s3-profile string Profile to use in the shared credentials file
+ --s3-provider string Choose your S3 provider
+ --s3-region string Region to connect to
+ --s3-requester-pays Enables requester pays option when interacting with S3 bucket
+ --s3-secret-access-key string AWS Secret Access Key (password)
+ --s3-server-side-encryption string The server-side encryption algorithm used when storing this object in S3
+ --s3-session-token string An AWS session token
+ --s3-shared-credentials-file string Path to the shared credentials file
+ --s3-sse-customer-algorithm string If using SSE-C, the server-side encryption algorithm used when storing this object in S3
+ --s3-sse-customer-key string If using SSE-C you must provide the secret encryption key used to encrypt/decrypt your data
+ --s3-sse-customer-key-md5 string If using SSE-C you may provide the secret encryption key MD5 checksum (optional)
+ --s3-sse-kms-key-id string If using KMS ID you must provide the ARN of Key
+ --s3-storage-class string The storage class to use when storing new objects in S3
+ --s3-upload-concurrency int Concurrency for multipart uploads (default 4)
+ --s3-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --s3-use-accelerate-endpoint If true use the AWS S3 accelerated endpoint
+ --s3-v2-auth If true use v2 authentication
+ --seafile-2fa Two-factor authentication (&#39;true&#39; if the account has 2FA enabled)
+ --seafile-create-library Should rclone create a library if it doesn&#39;t exist
+ --seafile-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Ctl,InvalidUtf8)
+ --seafile-library string Name of the library
+ --seafile-library-key string Library password (for encrypted libraries only) (obscured)
+ --seafile-pass string Password (obscured)
+ --seafile-url string URL of seafile host to connect to
+ --seafile-user string User name (usually email address)
+ --sftp-ask-password Allow asking for SFTP password when needed
+ --sftp-disable-concurrent-reads If set don&#39;t use concurrent reads
+ --sftp-disable-concurrent-writes If set don&#39;t use concurrent writes
+ --sftp-disable-hashcheck Disable the execution of SSH commands to determine if remote file hashing is available
+ --sftp-host string SSH host to connect to
+ --sftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
+ --sftp-key-file string Path to PEM-encoded private key file
+ --sftp-key-file-pass string The passphrase to decrypt the PEM-encoded private key file (obscured)
+ --sftp-key-pem string Raw PEM-encoded private key
+ --sftp-key-use-agent When set forces the usage of the ssh-agent
+ --sftp-known-hosts-file string Optional path to known_hosts file
+ --sftp-md5sum-command string The command used to read md5 hashes
+ --sftp-pass string SSH password, leave blank to use ssh-agent (obscured)
+ --sftp-path-override string Override path used by SSH connection
+ --sftp-port string SSH port, leave blank to use default (22)
+ --sftp-pubkey-file string Optional path to public key file
+ --sftp-server-command string Specifies the path or command to run a sftp server on the remote host
+ --sftp-set-modtime Set the modified time on the remote if set (default true)
+ --sftp-sha1sum-command string The command used to read sha1 hashes
+ --sftp-skip-links Set to skip any symlinks and any other non regular files
+ --sftp-subsystem string Specifies the SSH2 subsystem on the remote host (default &quot;sftp&quot;)
+ --sftp-use-fstat If set use fstat instead of stat
+ --sftp-use-insecure-cipher Enable the use of insecure ciphers and key exchange methods
+ --sftp-user string SSH username, leave blank for current username, $USER
+ --sharefile-chunk-size SizeSuffix Upload chunk size (default 64Mi)
+ --sharefile-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot)
+ --sharefile-endpoint string Endpoint for API calls
+ --sharefile-root-folder-id string ID of the root folder
+ --sharefile-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (default 128Mi)
+ --sia-api-password string Sia Daemon API Password (obscured)
+ --sia-api-url string Sia daemon API URL, like http://sia.daemon.host:9980 (default &quot;http://127.0.0.1:9980&quot;)
+ --sia-encoding MultiEncoder This sets the encoding for the backend (default Slash,Question,Hash,Percent,Del,Ctl,InvalidUtf8,Dot)
+ --sia-user-agent string Siad User Agent (default &quot;Sia-Agent&quot;)
+ --skip-links Don&#39;t warn about skipped symlinks
+ --sugarsync-access-key-id string Sugarsync Access Key ID
+ --sugarsync-app-id string Sugarsync App ID
+ --sugarsync-authorization string Sugarsync authorization
+ --sugarsync-authorization-expiry string Sugarsync authorization expiry
+ --sugarsync-deleted-id string Sugarsync deleted folder id
+ --sugarsync-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8,Dot)
+ --sugarsync-hard-delete Permanently delete files if true
+ --sugarsync-private-access-key string Sugarsync Private Access Key
+ --sugarsync-refresh-token string Sugarsync refresh token
+ --sugarsync-root-id string Sugarsync root id
+ --sugarsync-user string Sugarsync user
+ --swift-application-credential-id string Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
+ --swift-application-credential-name string Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
+ --swift-application-credential-secret string Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
+ --swift-auth string Authentication URL for server (OS_AUTH_URL)
+ --swift-auth-token string Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
+ --swift-auth-version int AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
+ --swift-chunk-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
+ --swift-domain string User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)
+ --swift-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
+ --swift-endpoint-type string Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE) (default &quot;public&quot;)
+ --swift-env-auth Get swift credentials from environment variables in standard OpenStack form
+ --swift-key string API key or password (OS_PASSWORD)
+ --swift-leave-parts-on-error If true avoid calling abort upload on a failure
+ --swift-no-chunk Don&#39;t chunk files during streaming upload
+ --swift-region string Region name - optional (OS_REGION_NAME)
+ --swift-storage-policy string The storage policy to use when creating a new container
+ --swift-storage-url string Storage URL - optional (OS_STORAGE_URL)
+ --swift-tenant string Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
+ --swift-tenant-domain string Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
+ --swift-tenant-id string Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
+ --swift-user string User name to log in (OS_USERNAME)
+ --swift-user-id string User ID to log in - optional - most swift systems use user and leave this blank (v3 auth) (OS_USER_ID)
+ --tardigrade-access-grant string Access grant
+ --tardigrade-api-key string API key
+ --tardigrade-passphrase string Encryption passphrase
+ --tardigrade-provider string Choose an authentication method (default &quot;existing&quot;)
+ --tardigrade-satellite-address string Satellite address (default &quot;us-central-1.tardigrade.io&quot;)
+ --union-action-policy string Policy to choose upstream on ACTION category (default &quot;epall&quot;)
+ --union-cache-time int Cache time of usage and free space (in seconds) (default 120)
+ --union-create-policy string Policy to choose upstream on CREATE category (default &quot;epmfs&quot;)
+ --union-search-policy string Policy to choose upstream on SEARCH category (default &quot;ff&quot;)
+ --union-upstreams string List of space separated upstreams
+ --uptobox-access-token string Your access token
+ --uptobox-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot)
+ --webdav-bearer-token string Bearer token instead of user/pass (e.g. a Macaroon)
+ --webdav-bearer-token-command string Command to run to get a bearer token
+ --webdav-encoding string This sets the encoding for the backend
+ --webdav-headers CommaSepList Set HTTP headers for all transactions
+ --webdav-pass string Password (obscured)
+ --webdav-url string URL of http host to connect to
+ --webdav-user string User name
+ --webdav-vendor string Name of the Webdav site/service/software you are using
+ --yandex-auth-url string Auth server URL
+ --yandex-client-id string OAuth Client Id
+ --yandex-client-secret string OAuth Client Secret
+ --yandex-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
+ --yandex-token string OAuth Access Token as a JSON blob
+ --yandex-token-url string Token server url
+ --zoho-auth-url string Auth server URL
+ --zoho-client-id string OAuth Client Id
+ --zoho-client-secret string OAuth Client Secret
+ --zoho-encoding MultiEncoder This sets the encoding for the backend (default Del,Ctl,InvalidUtf8)
+ --zoho-region string Zoho region to connect to
+ --zoho-token string OAuth Access Token as a JSON blob
+ --zoho-token-url string Token server url</code></pre>
<h1 id="docker-volume-plugin">Docker Volume Plugin</h1>
<h2 id="introduction">Introduction</h2>
<p>Docker 1.9 has added support for creating <a href="https://docs.docker.com/storage/volumes/">named volumes</a> via <a href="https://docs.docker.com/engine/reference/commandline/volume_create/">command-line interface</a> and mounting them in containers as a way to share data between them. Since Docker 1.10 you can create named volumes with <a href="https://docs.docker.com/compose/">Docker Compose</a> by descriptions in <a href="https://docs.docker.com/compose/compose-file/compose-file-v2/#volume-configuration-reference">docker-compose.yml</a> files for use by container groups on a single host. As of Docker 1.12 volumes are supported by <a href="https://docs.docker.com/engine/swarm/key-concepts/">Docker Swarm</a> included with Docker Engine and created from descriptions in <a href="https://docs.docker.com/compose/compose-file/compose-file-v3/#volume-configuration-reference">swarm compose v3</a> files for use with <em>swarm stacks</em> across multiple cluster nodes.</p>
@@ -7688,8 +8015,8 @@ Showing nodes accounting for 1537.03kB, 100% of 1537.03kB total
<p>Create two directories required by rclone docker plugin:</p>
<pre><code>sudo mkdir -p /var/lib/docker-plugins/rclone/config
sudo mkdir -p /var/lib/docker-plugins/rclone/cache</code></pre>
-<p>Install the managed rclone docker plugin:</p>
-<pre><code>docker plugin install rclone/docker-volume-rclone args=&quot;-v&quot; --alias rclone --grant-all-permissions
+<p>Install the managed rclone docker plugin for your architecture (here <code>amd64</code>):</p>
+<pre><code>docker plugin install rclone/docker-volume-rclone:amd64 args=&quot;-v&quot; --alias rclone --grant-all-permissions
docker plugin list</code></pre>
<p>Create your <a href="https://rclone.org/sftp/#standard-options">SFTP volume</a>:</p>
<pre><code>docker volume create firstvolume -d rclone -o type=sftp -o sftp-host=_hostname_ -o sftp-user=_username_ -o sftp-pass=_password_ -o allow-other=true</code></pre>
@@ -7774,9 +8101,14 @@ docker volume inspect vol1</code></pre>
<p>Notice a few important details: - YAML prefers <code>_</code> in option names instead of <code>-</code>. - YAML treats single and double quotes interchangeably. Simple strings and integers can be left unquoted. - Boolean values must be quoted like <code>'true'</code> or <code>"false"</code> because these two words are reserved by YAML. - The filesystem string is keyed with <code>remote</code> (or with <code>fs</code>). Normally you can omit quotes here, but if the string ends with colon, you <strong>must</strong> quote it like <code>remote: "storage_box:"</code>. - YAML is picky about surrounding braces in values as this is in fact another <a href="http://yaml.org/spec/1.2/spec.html#id2790832">syntax for key/value mappings</a>. For example, JSON access tokens usually contain double quotes and surrounding braces, so you must put them in single quotes.</p>
<h2 id="installing-as-managed-plugin">Installing as Managed Plugin</h2>
<p>Docker daemon can install plugins from an image registry and run them managed. We maintain the <a href="https://hub.docker.com/p/rclone/docker-volume-rclone/">docker-volume-rclone</a> plugin image on <a href="https://hub.docker.com">Docker Hub</a>.</p>
+<p>Rclone volume plugin requires <strong>Docker Engine &gt;= 19.03.15</strong></p>
<p>The plugin requires presence of two directories on the host before it can be installed. Note that plugin will <strong>not</strong> create them automatically. By default they must exist on host at the following locations (though you can tweak the paths): - <code>/var/lib/docker-plugins/rclone/config</code> is reserved for the <code>rclone.conf</code> config file and <strong>must</strong> exist even if it's empty and the config file is not present. - <code>/var/lib/docker-plugins/rclone/cache</code> holds the plugin state file as well as optional VFS caches.</p>
<p>You can <a href="https://docs.docker.com/engine/reference/commandline/plugin_install/">install managed plugin</a> with default settings as follows:</p>
-<pre><code>docker plugin install rclone/docker-volume-rclone:latest --grant-all-permissions --alias rclone</code></pre>
+<pre><code>docker plugin install rclone/docker-volume-rclone:amd64 --grant-all-permissions --alias rclone</code></pre>
+<p>The <code>:amd64</code> part of the image specification after colon is called a <em>tag</em>. Usually you will want to install the latest plugin for your architecture. In this case the tag will just name it, like <code>amd64</code> above. The following plugin architectures are currently available: - <code>amd64</code> - <code>arm64</code> - <code>arm-v7</code></p>
+<p>Sometimes you might want a concrete plugin version, not the latest one. Then you should use image tag in the form <code>:ARCHITECTURE-VERSION</code>. For example, to install plugin version <code>v1.56.2</code> on architecture <code>arm64</code> you will use tag <code>arm64-1.56.2</code> (note the removed <code>v</code>) so the full image specification becomes <code>rclone/docker-volume-rclone:arm64-1.56.2</code>.</p>
+<p>We also provide the <code>latest</code> plugin tag, but since docker does not support multi-architecture plugins as of the time of this writing, this tag is currently an <strong>alias for <code>amd64</code></strong>. By convention the <code>latest</code> tag is the default one and can be omitted, thus both <code>rclone/docker-volume-rclone:latest</code> and just <code>rclone/docker-volume-rclone</code> will refer to the latest plugin release for the <code>amd64</code> platform.</p>
+<p>Also the <code>amd64</code> part can be omitted from the versioned rclone plugin tags. For example, rclone image reference <code>rclone/docker-volume-rclone:amd64-1.56.2</code> can be abbreviated as <code>rclone/docker-volume-rclone:1.56.2</code> for convenience. However, for non-intel architectures you still have to use the full tag as <code>amd64</code> or <code>latest</code> will fail to start.</p>
<p>Managed plugin is in fact a special container running in a namespace separate from normal docker containers. Inside it runs the <code>rclone serve docker</code> command. The config and cache directories are bind-mounted into the container at start. The docker daemon connects to a unix socket created by the command inside the container. The command creates on-demand remote mounts right inside, then docker machinery propagates them through kernel mount namespaces and bind-mounts into requesting user containers.</p>
<p>You can tweak a few plugin settings after installation when it's disabled (not in use), for instance:</p>
<pre><code>docker plugin disable rclone
@@ -7784,14 +8116,15 @@ docker plugin set rclone RCLONE_VERBOSE=2 config=/etc/rclone args=&quot;--vfs-ca
docker plugin enable rclone
docker plugin inspect rclone</code></pre>
<p>Note that if docker refuses to disable the plugin, you should find and remove all active volumes connected with it as well as containers and swarm services that use them. This is rather tedious so please carefully plan in advance.</p>
-<p>You can tweak the following settings: <code>args</code>, <code>config</code>, <code>cache</code>, and <code>RCLONE_VERBOSE</code>. It's <em>your</em> task to keep plugin settings in sync across swarm cluster nodes.</p>
+<p>You can tweak the following settings: <code>args</code>, <code>config</code>, <code>cache</code>, <code>HTTP_PROXY</code>, <code>HTTPS_PROXY</code>, <code>NO_PROXY</code> and <code>RCLONE_VERBOSE</code>. It's <em>your</em> task to keep plugin settings in sync across swarm cluster nodes.</p>
<p><code>args</code> sets command-line arguments for the <code>rclone serve docker</code> command (<em>none</em> by default). Arguments should be separated by space so you will normally want to put them in quotes on the <a href="https://docs.docker.com/engine/reference/commandline/plugin_set/">docker plugin set</a> command line. Both <a href="https://rclone.org/commands/rclone_serve_docker/#options">serve docker flags</a> and <a href="https://rclone.org/flags/">generic rclone flags</a> are supported, including backend parameters that will be used as defaults for volume creation. Note that plugin will fail (due to <a href="https://github.com/moby/moby/blob/v20.10.7/plugin/v2/plugin.go#L195">this docker bug</a>) if the <code>args</code> value is empty. Use e.g. <code>args="-v"</code> as a workaround.</p>
<p><code>config=/host/dir</code> sets alternative host location for the config directory. Plugin will look for <code>rclone.conf</code> here. It's not an error if the config file is not present but the directory must exist. Please note that plugin can periodically rewrite the config file, for example when it renews storage access tokens. Keep this in mind and try to avoid races between the plugin and other instances of rclone on the host that might try to change the config simultaneously resulting in corrupted <code>rclone.conf</code>. You can also put stuff like private key files for SFTP remotes in this directory. Just note that it's bind-mounted inside the plugin container at the predefined path <code>/data/config</code>. For example, if your key file is named <code>sftp-box1.key</code> on the host, the corresponding volume config option should read <code>-o sftp-key-file=/data/config/sftp-box1.key</code>.</p>
<p><code>cache=/host/dir</code> sets alternative host location for the <em>cache</em> directory. The plugin will keep VFS caches here. Also it will create and maintain the <code>docker-plugin.state</code> file in this directory. When the plugin is restarted or reinstalled, it will look in this file to recreate any volumes that existed previously. However, they will not be re-mounted into consuming containers after restart. Usually this is not a problem as the docker daemon normally will restart affected user containers after failures, daemon restarts or host reboots.</p>
<p><code>RCLONE_VERBOSE</code> sets plugin verbosity from <code>0</code> (errors only, by default) to <code>2</code> (debugging). Verbosity can be also tweaked via <code>args="-v [-v] ..."</code>. Since arguments are more generic, you will rarely need this setting. The plugin output by default feeds the docker daemon log on local host. Log entries are reflected as <em>errors</em> in the docker log but retain their actual level assigned by rclone in the encapsulated message string.</p>
+<p><code>HTTP_PROXY</code>, <code>HTTPS_PROXY</code>, <code>NO_PROXY</code> customize the plugin proxy settings.</p>
<p>You can set custom plugin options right when you install it, <em>in one go</em>:</p>
<pre><code>docker plugin remove rclone
-docker plugin install rclone/docker-volume-rclone:latest \
+docker plugin install rclone/docker-volume-rclone:amd64 \
--alias rclone --grant-all-permissions \
args=&quot;-v --allow-other&quot; config=/etc/rclone
docker plugin inspect rclone</code></pre>
@@ -7811,7 +8144,7 @@ docker plugin inspect rclone</code></pre>
<p>First, <a href="https://rclone.org/install/">install rclone</a>. You can just run it (type <code>rclone serve docker</code> and hit enter) for the test.</p>
<p>Install <em>FUSE</em>:</p>
<pre><code>sudo apt-get -y install fuse</code></pre>
-<p>Download two systemd configuration files: <a href="https://raw.githubusercontent.com/rclone/rclone/master/cmd/serve/docker/contrib/systemd/docker-volume-rclone.service">docker-volume-rclone.service</a> and <a href="https://raw.githubusercontent.com/rclone/rclone/master/cmd/serve/docker/contrib/systemd/docker-volume-rclone.socket">docker-volume-rclone.socket</a>.</p>
+<p>Download two systemd configuration files: <a href="https://raw.githubusercontent.com/rclone/rclone/master/contrib/docker-plugin/systemd/docker-volume-rclone.service">docker-volume-rclone.service</a> and <a href="https://raw.githubusercontent.com/rclone/rclone/master/contrib/docker-plugin/systemd/docker-volume-rclone.socket">docker-volume-rclone.socket</a>.</p>
<p>Put them to the <code>/etc/systemd/system/</code> directory:</p>
<pre><code>cp docker-volume-plugin.service /etc/systemd/system/
cp docker-volume-plugin.socket /etc/systemd/system/</code></pre>
@@ -7833,7 +8166,7 @@ systemctl restart docker</code></pre>
docker plugin inspect rclone</code></pre>
<p>Note that docker (including latest 20.10.7) will not show actual values of <code>args</code>, just the defaults.</p>
<p>Use <code>journalctl --unit docker</code> to see managed plugin output as part of the docker daemon log. Note that docker reflects plugin lines as <em>errors</em> but their actual level can be seen from encapsulated message string.</p>
-<p>You will usually install the latest version of managed plugin. Use the following commands to print the actual installed version:</p>
+<p>You will usually install the latest version of managed plugin for your platform. Use the following commands to print the actual installed version:</p>
<pre><code>PLUGID=$(docker plugin list --no-trunc | awk &#39;/rclone/{print$1}&#39;)
sudo runc --root /run/docker/runtime-runc/plugins.moby exec $PLUGID rclone version</code></pre>
<p>You can even use <code>runc</code> to run shell inside the plugin container:</p>
@@ -7843,6 +8176,7 @@ sudo runc --root /run/docker/runtime-runc/plugins.moby exec $PLUGID rclone versi
PLUGID=123abc...
sudo curl -H Content-Type:application/json -XPOST -d {} --unix-socket /run/docker/plugins/$PLUGID/rclone.sock http://localhost/Plugin.Activate</code></pre>
<p>though this is rarely needed.</p>
+<h2 id="caveats">Caveats</h2>
<p>Finally I'd like to mention a <em>caveat with updating volume settings</em>. Docker CLI does not have a dedicated command like <code>docker volume update</code>. It may be tempting to invoke <code>docker volume create</code> with updated options on existing volume, but there is a gotcha. The command will do nothing, it won't even return an error. I hope that docker maintainers will fix this some day. In the meantime be aware that you must remove your volume before recreating it with new settings:</p>
<pre><code>docker volume remove my_vol
docker volume create my_vol -d rclone -o opt1=new_val1 ...</code></pre>
@@ -7854,6 +8188,7 @@ docker volume inspect my_vol</code></pre>
<p>This is a backend for the <a href="https://1fichier.com">1fichier</a> cloud storage service. Note that a Premium subscription is required to use the API.</p>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
+<h2 id="configuration">Configuration</h2>
<p>The initial setup for 1Fichier involves getting the API key from the website which you need to do in your browser.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -7904,7 +8239,7 @@ y/e/d&gt; y</code></pre>
<h3 id="duplicated-files">Duplicated files</h3>
<p>1Fichier can have two files with exactly the same name and path (unlike a normal file system).</p>
<p>Duplicated files cause problems with the syncing and you will see messages in the log about duplicates.</p>
-<h4 id="restricted-filename-characters">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -7970,20 +8305,20 @@ y/e/d&gt; y</code></pre>
</tbody>
</table>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
-<h3 id="standard-options">Standard Options</h3>
+<h3 id="standard-options">Standard options</h3>
<p>Here are the standard options specific to fichier (1Fichier).</p>
<h4 id="fichier-api-key">--fichier-api-key</h4>
-<p>Your API Key, get it from https://1fichier.com/console/params.pl</p>
+<p>Your API Key, get it from https://1fichier.com/console/params.pl.</p>
<ul>
<li>Config: api_key</li>
<li>Env Var: RCLONE_FICHIER_API_KEY</li>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options">Advanced Options</h3>
+<h3 id="advanced-options">Advanced options</h3>
<p>Here are the advanced options specific to fichier (1Fichier).</p>
<h4 id="fichier-shared-folder">--fichier-shared-folder</h4>
-<p>If you want to download a shared folder, add this parameter</p>
+<p>If you want to download a shared folder, add this parameter.</p>
<ul>
<li>Config: shared_folder</li>
<li>Env Var: RCLONE_FICHIER_SHARED_FOLDER</li>
@@ -7991,7 +8326,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="fichier-file-password">--fichier-file-password</h4>
-<p>If you want to download a shared file that is password protected, add this parameter</p>
+<p>If you want to download a shared file that is password protected, add this parameter.</p>
<p><strong>NB</strong> Input to this must be obscured - see <a href="https://rclone.org/commands/rclone_obscure/">rclone obscure</a>.</p>
<ul>
<li>Config: file_password</li>
@@ -8000,7 +8335,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="fichier-folder-password">--fichier-folder-password</h4>
-<p>If you want to list the files in a shared folder that is password protected, add this parameter</p>
+<p>If you want to list the files in a shared folder that is password protected, add this parameter.</p>
<p><strong>NB</strong> Input to this must be obscured - see <a href="https://rclone.org/commands/rclone_obscure/">rclone obscure</a>.</p>
<ul>
<li>Config: folder_password</li>
@@ -8010,14 +8345,14 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="fichier-encoding">--fichier-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_FICHIER_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-2">Limitations</h3>
+<h2 id="limitations-2">Limitations</h2>
<p><code>rclone about</code> is not supported by the 1Fichier backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
<h1 id="alias">Alias</h1>
@@ -8026,6 +8361,7 @@ y/e/d&gt; y</code></pre>
<p>During the initial setup with <code>rclone config</code> you will specify the target remote. The target remote can either be a local path or another remote.</p>
<p>Subfolders can be used in target remote. Assume an alias remote named <code>backup</code> with the target <code>mydrive:private/backup</code>. Invoking <code>rclone mkdir backup:desktop</code> is exactly the same as invoking <code>rclone mkdir mydrive:private/backup/desktop</code>.</p>
<p>There will be no special handling of paths containing <code>..</code> segments. Invoking <code>rclone mkdir backup:../desktop</code> is exactly the same as invoking <code>rclone mkdir mydrive:private/backup/../desktop</code>. The empty path is not allowed as a remote. To alias the current directory use <code>.</code> instead.</p>
+<h2 id="configuration-1">Configuration</h2>
<p>Here is an example of how to make an alias called <code>remote</code> for local folder. First run:</p>
<pre><code> rclone config</code></pre>
<p>This will guide you through an interactive setup process:</p>
@@ -8075,10 +8411,11 @@ e/n/d/r/c/s/q&gt; q</code></pre>
<pre><code>rclone ls remote:</code></pre>
<p>Copy another local directory to the alias directory called source</p>
<pre><code>rclone copy /home/source remote:source</code></pre>
-<h3 id="standard-options-1">Standard Options</h3>
+<h3 id="standard-options-1">Standard options</h3>
<p>Here are the standard options specific to alias (Alias for an existing remote).</p>
<h4 id="alias-remote">--alias-remote</h4>
-<p>Remote or path to alias. Can be "myremote:path/to/dir", "myremote:bucket", "myremote:" or "/local/path".</p>
+<p>Remote or path to alias.</p>
+<p>Can be "myremote:path/to/dir", "myremote:bucket", "myremote:" or "/local/path".</p>
<ul>
<li>Config: remote</li>
<li>Env Var: RCLONE_ALIAS_REMOTE</li>
@@ -8091,7 +8428,7 @@ e/n/d/r/c/s/q&gt; q</code></pre>
<p><strong>Important:</strong> rclone supports Amazon Drive only if you have your own set of API keys. Unfortunately the <a href="https://developer.amazon.com/amazon-drive">Amazon Drive developer program</a> is now closed to new entries so if you don't already have your own set of keys you will not be able to use rclone with Amazon Drive.</p>
<p>For the history on why rclone no longer has a set of Amazon Drive API keys see <a href="https://forum.rclone.org/t/rclone-has-been-banned-from-amazon-drive/2314">the forum</a>.</p>
<p>If you happen to know anyone who works at Amazon then please ask them to re-instate rclone into the Amazon Drive developer program - thanks!</p>
-<h2 id="setup">Setup</h2>
+<h2 id="configuration-2">Configuration</h2>
<p>The initial setup for Amazon Drive involves getting a token from Amazon which you need to do in your browser. <code>rclone config</code> walks you through it.</p>
<p>The configuration process for Amazon Drive may involve using an <a href="https://github.com/ncw/oauthproxy">oauth proxy</a>. This is used to keep the Amazon credentials out of the source code. The proxy runs in Google's very secure App Engine environment and doesn't store any credentials which pass through it.</p>
<p>Since rclone doesn't currently have its own Amazon Drive credentials so you will either need to have your own <code>client_id</code> and <code>client_secret</code> with Amazon Drive, or use a third party oauth proxy in which case you will need to enter <code>client_id</code>, <code>client_secret</code>, <code>auth_url</code> and <code>token_url</code>.</p>
@@ -8158,7 +8495,7 @@ y/e/d&gt; y</code></pre>
<h3 id="modified-time-and-md5sums">Modified time and MD5SUMs</h3>
<p>Amazon Drive doesn't allow modification times to be changed via the API so these won't be accurate or used for syncing.</p>
<p>It does store MD5SUMs so for a more accurate sync, you can use the <code>--checksum</code> flag.</p>
-<h4 id="restricted-filename-characters-1">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-1">Restricted filename characters</h3>
<table>
<thead>
<tr class="header">
@@ -8185,10 +8522,11 @@ y/e/d&gt; y</code></pre>
<p>Any files you delete with rclone will end up in the trash. Amazon don't provide an API to permanently delete files, nor to empty the trash, so you will have to do that with one of Amazon's apps or via the Amazon Drive website. As of November 17, 2016, files are automatically deleted by Amazon from the trash after 30 days.</p>
<h3 id="using-with-non-.com-amazon-accounts">Using with non <code>.com</code> Amazon accounts</h3>
<p>Let's say you usually use <code>amazon.co.uk</code>. When you authenticate with rclone it will take you to an <code>amazon.com</code> page to log in. Your <code>amazon.co.uk</code> email and password should work here just fine.</p>
-<h3 id="standard-options-2">Standard Options</h3>
+<h3 id="standard-options-2">Standard options</h3>
<p>Here are the standard options specific to amazon cloud drive (Amazon Drive).</p>
<h4 id="acd-client-id">--acd-client-id</h4>
-<p>OAuth Client Id Leave blank normally.</p>
+<p>OAuth Client Id.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_id</li>
<li>Env Var: RCLONE_ACD_CLIENT_ID</li>
@@ -8196,14 +8534,15 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="acd-client-secret">--acd-client-secret</h4>
-<p>OAuth Client Secret Leave blank normally.</p>
+<p>OAuth Client Secret.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_secret</li>
<li>Env Var: RCLONE_ACD_CLIENT_SECRET</li>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-1">Advanced Options</h3>
+<h3 id="advanced-options-1">Advanced options</h3>
<p>Here are the advanced options specific to amazon cloud drive (Amazon Drive).</p>
<h4 id="acd-token">--acd-token</h4>
<p>OAuth Access Token as a JSON blob.</p>
@@ -8214,7 +8553,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="acd-auth-url">--acd-auth-url</h4>
-<p>Auth server URL. Leave blank to use the provider defaults.</p>
+<p>Auth server URL.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: auth_url</li>
<li>Env Var: RCLONE_ACD_AUTH_URL</li>
@@ -8222,7 +8562,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="acd-token-url">--acd-token-url</h4>
-<p>Token server url. Leave blank to use the provider defaults.</p>
+<p>Token server url.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: token_url</li>
<li>Env Var: RCLONE_ACD_TOKEN_URL</li>
@@ -8262,14 +8603,14 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="acd-encoding">--acd-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_ACD_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-3">Limitations</h3>
+<h2 id="limitations-3">Limitations</h2>
<p>Note that Amazon Drive is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
<p>Amazon Drive has rate limiting so you may notice errors in the sync (429 errors). rclone will automatically retry the sync up to 3 times by default (see <code>--retries</code> flag) which should hopefully work around this problem.</p>
<p>Amazon Drive has an internal limit of file sizes that can be uploaded to the service. This limit is not officially published, but all files larger than this will fail.</p>
@@ -8303,8 +8644,9 @@ y/e/d&gt; y</code></pre>
<pre><code>rclone ls remote:bucket</code></pre>
<p>Sync <code>/home/local/directory</code> to the remote bucket, deleting any excess files in the bucket.</p>
<pre><code>rclone sync -i /home/local/directory remote:bucket</code></pre>
-<h2 id="amazon-s3">AWS S3</h2>
-<p>Here is an example of making an s3 configuration. First run</p>
+<h2 id="configuration-3">Configuration</h2>
+<p>Here is an example of making an s3 configuration for the AWS S3 provider. Most applies to the other providers as well, any differences are described <a href="#providers">below</a>.</p>
+<p>First run</p>
<pre><code>rclone config</code></pre>
<p>This will guide you through an interactive setup process.</p>
<pre><code>No remotes found - make a new one
@@ -8500,7 +8842,7 @@ e) Edit this remote
d) Delete this remote
y/e/d&gt; </code></pre>
<h3 id="modified-time">Modified time</h3>
-<p>The modified time is stored as metadata on the object as <code>X-Amz-Meta-Mtime</code> as floating point since the epoch accurate to 1 ns.</p>
+<p>The modified time is stored as metadata on the object as <code>X-Amz-Meta-Mtime</code> as floating point since the epoch, accurate to 1 ns.</p>
<p>If the modification time needs to be updated rclone will attempt to perform a server side copy to update the modification if the object can be copied in a single part. In the case the object is larger than 5Gb or is in Glacier or Glacier Deep Archive storage the object will be uploaded rather than copied.</p>
<p>Note that reading this from the object takes an additional <code>HEAD</code> request as the metadata isn't returned in object listings.</p>
<h3 id="reducing-costs">Reducing costs</h3>
@@ -8556,7 +8898,7 @@ y/e/d&gt; </code></pre>
<p>Note that reading this from the object takes an additional <code>HEAD</code> request as the metadata isn't returned in object listings.</p>
<h3 id="cleanup-1">Cleanup</h3>
<p>If you run <code>rclone cleanup s3:bucket</code> then it will remove all pending multipart uploads older than 24 hours. You can use the <code>-i</code> flag to see exactly what it will do. If you want more control over the expiry date then run <code>rclone backend cleanup s3:bucket -o max-age=1h</code> to expire all uploads older than one hour. You can use <code>rclone backend list-multipart-uploads s3:bucket</code> to see the pending multipart uploads.</p>
-<h4 id="restricted-filename-characters-2">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-2">Restricted filename characters</h3>
<p>S3 allows any valid UTF-8 string as a key.</p>
<p>Invalid UTF-8 bytes will be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in XML.</p>
<p>The following characters are replaced since these are problematic when dealing with the REST API:</p>
@@ -8693,7 +9035,7 @@ y/e/d&gt; </code></pre>
<pre><code>2017/09/11 19:07:43 Failed to sync: failed to open source object: Object in GLACIER, restore first: path/to/file</code></pre>
<p>In this case you need to <a href="http://docs.aws.amazon.com/AmazonS3/latest/user-guide/restore-archived-objects.html">restore</a> the object(s) in question before using rclone.</p>
<p>Note that rclone only speaks the S3 API it does not speak the Glacier Vault API, so rclone cannot directly access Glacier Vaults.</p>
-<h3 id="standard-options-3">Standard Options</h3>
+<h3 id="standard-options-3">Standard options</h3>
<p>Here are the standard options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, SeaweedFS, and Tencent COS).</p>
<h4 id="s3-provider">--s3-provider</h4>
<p>Choose your S3 provider.</p>
@@ -8763,7 +9105,8 @@ y/e/d&gt; </code></pre>
</ul></li>
</ul>
<h4 id="s3-env-auth">--s3-env-auth</h4>
-<p>Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars). Only applies if access_key_id and secret_access_key is blank.</p>
+<p>Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars).</p>
+<p>Only applies if access_key_id and secret_access_key is blank.</p>
<ul>
<li>Config: env_auth</li>
<li>Env Var: RCLONE_S3_ENV_AUTH</li>
@@ -8773,16 +9116,17 @@ y/e/d&gt; </code></pre>
<ul>
<li>"false"
<ul>
-<li>Enter AWS credentials in the next step</li>
+<li>Enter AWS credentials in the next step.</li>
</ul></li>
<li>"true"
<ul>
-<li>Get AWS credentials from the environment (env vars or IAM)</li>
+<li>Get AWS credentials from the environment (env vars or IAM).</li>
</ul></li>
</ul></li>
</ul>
<h4 id="s3-access-key-id">--s3-access-key-id</h4>
-<p>AWS Access Key ID. Leave blank for anonymous access or runtime credentials.</p>
+<p>AWS Access Key ID.</p>
+<p>Leave blank for anonymous access or runtime credentials.</p>
<ul>
<li>Config: access_key_id</li>
<li>Env Var: RCLONE_S3_ACCESS_KEY_ID</li>
@@ -8790,7 +9134,8 @@ y/e/d&gt; </code></pre>
<li>Default: ""</li>
</ul>
<h4 id="s3-secret-access-key">--s3-secret-access-key</h4>
-<p>AWS Secret Access Key (password) Leave blank for anonymous access or runtime credentials.</p>
+<p>AWS Secret Access Key (password).</p>
+<p>Leave blank for anonymous access or runtime credentials.</p>
<ul>
<li>Config: secret_access_key</li>
<li>Env Var: RCLONE_S3_SECRET_ACCESS_KEY</li>
@@ -8814,122 +9159,122 @@ y/e/d&gt; </code></pre>
</ul></li>
<li>"us-east-2"
<ul>
-<li>US East (Ohio) Region</li>
+<li>US East (Ohio) Region.</li>
<li>Needs location constraint us-east-2.</li>
</ul></li>
<li>"us-west-1"
<ul>
-<li>US West (Northern California) Region</li>
+<li>US West (Northern California) Region.</li>
<li>Needs location constraint us-west-1.</li>
</ul></li>
<li>"us-west-2"
<ul>
-<li>US West (Oregon) Region</li>
+<li>US West (Oregon) Region.</li>
<li>Needs location constraint us-west-2.</li>
</ul></li>
<li>"ca-central-1"
<ul>
-<li>Canada (Central) Region</li>
+<li>Canada (Central) Region.</li>
<li>Needs location constraint ca-central-1.</li>
</ul></li>
<li>"eu-west-1"
<ul>
-<li>EU (Ireland) Region</li>
+<li>EU (Ireland) Region.</li>
<li>Needs location constraint EU or eu-west-1.</li>
</ul></li>
<li>"eu-west-2"
<ul>
-<li>EU (London) Region</li>
+<li>EU (London) Region.</li>
<li>Needs location constraint eu-west-2.</li>
</ul></li>
<li>"eu-west-3"
<ul>
-<li>EU (Paris) Region</li>
+<li>EU (Paris) Region.</li>
<li>Needs location constraint eu-west-3.</li>
</ul></li>
<li>"eu-north-1"
<ul>
-<li>EU (Stockholm) Region</li>
+<li>EU (Stockholm) Region.</li>
<li>Needs location constraint eu-north-1.</li>
</ul></li>
<li>"eu-south-1"
<ul>
-<li>EU (Milan) Region</li>
+<li>EU (Milan) Region.</li>
<li>Needs location constraint eu-south-1.</li>
</ul></li>
<li>"eu-central-1"
<ul>
-<li>EU (Frankfurt) Region</li>
+<li>EU (Frankfurt) Region.</li>
<li>Needs location constraint eu-central-1.</li>
</ul></li>
<li>"ap-southeast-1"
<ul>
-<li>Asia Pacific (Singapore) Region</li>
+<li>Asia Pacific (Singapore) Region.</li>
<li>Needs location constraint ap-southeast-1.</li>
</ul></li>
<li>"ap-southeast-2"
<ul>
-<li>Asia Pacific (Sydney) Region</li>
+<li>Asia Pacific (Sydney) Region.</li>
<li>Needs location constraint ap-southeast-2.</li>
</ul></li>
<li>"ap-northeast-1"
<ul>
-<li>Asia Pacific (Tokyo) Region</li>
+<li>Asia Pacific (Tokyo) Region.</li>
<li>Needs location constraint ap-northeast-1.</li>
</ul></li>
<li>"ap-northeast-2"
<ul>
-<li>Asia Pacific (Seoul)</li>
+<li>Asia Pacific (Seoul).</li>
<li>Needs location constraint ap-northeast-2.</li>
</ul></li>
<li>"ap-northeast-3"
<ul>
-<li>Asia Pacific (Osaka-Local)</li>
+<li>Asia Pacific (Osaka-Local).</li>
<li>Needs location constraint ap-northeast-3.</li>
</ul></li>
<li>"ap-south-1"
<ul>
-<li>Asia Pacific (Mumbai)</li>
+<li>Asia Pacific (Mumbai).</li>
<li>Needs location constraint ap-south-1.</li>
</ul></li>
<li>"ap-east-1"
<ul>
-<li>Asia Pacific (Hong Kong) Region</li>
+<li>Asia Pacific (Hong Kong) Region.</li>
<li>Needs location constraint ap-east-1.</li>
</ul></li>
<li>"sa-east-1"
<ul>
-<li>South America (Sao Paulo) Region</li>
+<li>South America (Sao Paulo) Region.</li>
<li>Needs location constraint sa-east-1.</li>
</ul></li>
<li>"me-south-1"
<ul>
-<li>Middle East (Bahrain) Region</li>
+<li>Middle East (Bahrain) Region.</li>
<li>Needs location constraint me-south-1.</li>
</ul></li>
<li>"af-south-1"
<ul>
-<li>Africa (Cape Town) Region</li>
+<li>Africa (Cape Town) Region.</li>
<li>Needs location constraint af-south-1.</li>
</ul></li>
<li>"cn-north-1"
<ul>
-<li>China (Beijing) Region</li>
+<li>China (Beijing) Region.</li>
<li>Needs location constraint cn-north-1.</li>
</ul></li>
<li>"cn-northwest-1"
<ul>
-<li>China (Ningxia) Region</li>
+<li>China (Ningxia) Region.</li>
<li>Needs location constraint cn-northwest-1.</li>
</ul></li>
<li>"us-gov-east-1"
<ul>
-<li>AWS GovCloud (US-East) Region</li>
+<li>AWS GovCloud (US-East) Region.</li>
<li>Needs location constraint us-gov-east-1.</li>
</ul></li>
<li>"us-gov-west-1"
<ul>
-<li>AWS GovCloud (US) Region</li>
+<li>AWS GovCloud (US) Region.</li>
<li>Needs location constraint us-gov-west-1.</li>
</ul></li>
</ul></li>
@@ -8954,7 +9299,8 @@ y/e/d&gt; </code></pre>
</ul></li>
</ul>
<h4 id="s3-region-2">--s3-region</h4>
-<p>Region to connect to. Leave blank if you are using an S3 clone and you don't have a region.</p>
+<p>Region to connect to.</p>
+<p>Leave blank if you are using an S3 clone and you don't have a region.</p>
<ul>
<li>Config: region</li>
<li>Env Var: RCLONE_S3_REGION</li>
@@ -8964,16 +9310,19 @@ y/e/d&gt; </code></pre>
<ul>
<li>""
<ul>
-<li>Use this if unsure. Will use v4 signatures and an empty region.</li>
+<li>Use this if unsure.</li>
+<li>Will use v4 signatures and an empty region.</li>
</ul></li>
<li>"other-v2-signature"
<ul>
-<li>Use this only if v4 signatures don't work, e.g. pre Jewel/v10 CEPH.</li>
+<li>Use this only if v4 signatures don't work.</li>
+<li>E.g. pre Jewel/v10 CEPH.</li>
</ul></li>
</ul></li>
</ul>
<h4 id="s3-endpoint">--s3-endpoint</h4>
-<p>Endpoint for S3 API. Leave blank if using AWS to use the default endpoint for the region.</p>
+<p>Endpoint for S3 API.</p>
+<p>Leave blank if using AWS to use the default endpoint for the region.</p>
<ul>
<li>Config: endpoint</li>
<li>Env Var: RCLONE_S3_ENDPOINT</li>
@@ -8981,7 +9330,8 @@ y/e/d&gt; </code></pre>
<li>Default: ""</li>
</ul>
<h4 id="s3-endpoint-1">--s3-endpoint</h4>
-<p>Endpoint for IBM COS S3 API. Specify if using an IBM COS On Premise.</p>
+<p>Endpoint for IBM COS S3 API.</p>
+<p>Specify if using an IBM COS On Premise.</p>
<ul>
<li>Config: endpoint</li>
<li>Env Var: RCLONE_S3_ENDPOINT</li>
@@ -9403,84 +9753,85 @@ y/e/d&gt; </code></pre>
<ul>
<li>"cos.ap-beijing.myqcloud.com"
<ul>
-<li>Beijing Region.</li>
+<li>Beijing Region</li>
</ul></li>
<li>"cos.ap-nanjing.myqcloud.com"
<ul>
-<li>Nanjing Region.</li>
+<li>Nanjing Region</li>
</ul></li>
<li>"cos.ap-shanghai.myqcloud.com"
<ul>
-<li>Shanghai Region.</li>
+<li>Shanghai Region</li>
</ul></li>
<li>"cos.ap-guangzhou.myqcloud.com"
<ul>
-<li>Guangzhou Region.</li>
+<li>Guangzhou Region</li>
</ul></li>
<li>"cos.ap-nanjing.myqcloud.com"
<ul>
-<li>Nanjing Region.</li>
+<li>Nanjing Region</li>
</ul></li>
<li>"cos.ap-chengdu.myqcloud.com"
<ul>
-<li>Chengdu Region.</li>
+<li>Chengdu Region</li>
</ul></li>
<li>"cos.ap-chongqing.myqcloud.com"
<ul>
-<li>Chongqing Region.</li>
+<li>Chongqing Region</li>
</ul></li>
<li>"cos.ap-hongkong.myqcloud.com"
<ul>
-<li>Hong Kong (China) Region.</li>
+<li>Hong Kong (China) Region</li>
</ul></li>
<li>"cos.ap-singapore.myqcloud.com"
<ul>
-<li>Singapore Region.</li>
+<li>Singapore Region</li>
</ul></li>
<li>"cos.ap-mumbai.myqcloud.com"
<ul>
-<li>Mumbai Region.</li>
+<li>Mumbai Region</li>
</ul></li>
<li>"cos.ap-seoul.myqcloud.com"
<ul>
-<li>Seoul Region.</li>
+<li>Seoul Region</li>
</ul></li>
<li>"cos.ap-bangkok.myqcloud.com"
<ul>
-<li>Bangkok Region.</li>
+<li>Bangkok Region</li>
</ul></li>
<li>"cos.ap-tokyo.myqcloud.com"
<ul>
-<li>Tokyo Region.</li>
+<li>Tokyo Region</li>
</ul></li>
<li>"cos.na-siliconvalley.myqcloud.com"
<ul>
-<li>Silicon Valley Region.</li>
+<li>Silicon Valley Region</li>
</ul></li>
<li>"cos.na-ashburn.myqcloud.com"
<ul>
-<li>Virginia Region.</li>
+<li>Virginia Region</li>
</ul></li>
<li>"cos.na-toronto.myqcloud.com"
<ul>
-<li>Toronto Region.</li>
+<li>Toronto Region</li>
</ul></li>
<li>"cos.eu-frankfurt.myqcloud.com"
<ul>
-<li>Frankfurt Region.</li>
+<li>Frankfurt Region</li>
</ul></li>
<li>"cos.eu-moscow.myqcloud.com"
<ul>
-<li>Moscow Region.</li>
+<li>Moscow Region</li>
</ul></li>
<li>"cos.accelerate.myqcloud.com"
<ul>
-<li>Use Tencent COS Accelerate Endpoint.</li>
+<li>Use Tencent COS Accelerate Endpoint</li>
</ul></li>
</ul></li>
</ul>
<h4 id="s3-endpoint-6">--s3-endpoint</h4>
-<p>Endpoint for S3 API. Required when using an S3 clone.</p>
+<p>Endpoint for S3 API.</p>
+<p>Required when using an S3 clone.</p>
<ul>
<li>Config: endpoint</li>
<li>Env Var: RCLONE_S3_ENDPOINT</li>
@@ -9520,10 +9871,15 @@ y/e/d&gt; </code></pre>
<ul>
<li>Wasabi EU Central endpoint</li>
</ul></li>
+<li>"s3.ap-northeast-1.wasabisys.com"
+<ul>
+<li>Wasabi AP Northeast endpoint</li>
+</ul></li>
</ul></li>
</ul>
<h4 id="s3-location-constraint">--s3-location-constraint</h4>
-<p>Location constraint - must be set to match the Region. Used when creating buckets only.</p>
+<p>Location constraint - must be set to match the Region.</p>
+<p>Used when creating buckets only.</p>
<ul>
<li>Config: location_constraint</li>
<li>Env Var: RCLONE_S3_LOCATION_CONSTRAINT</li>
@@ -9533,87 +9889,87 @@ y/e/d&gt; </code></pre>
<ul>
<li>""
<ul>
-<li>Empty for US Region, Northern Virginia, or Pacific Northwest.</li>
+<li>Empty for US Region, Northern Virginia, or Pacific Northwest</li>
</ul></li>
<li>"us-east-2"
<ul>
-<li>US East (Ohio) Region.</li>
+<li>US East (Ohio) Region</li>
</ul></li>
<li>"us-west-1"
<ul>
-<li>US West (Northern California) Region.</li>
+<li>US West (Northern California) Region</li>
</ul></li>
<li>"us-west-2"
<ul>
-<li>US West (Oregon) Region.</li>
+<li>US West (Oregon) Region</li>
</ul></li>
<li>"ca-central-1"
<ul>
-<li>Canada (Central) Region.</li>
+<li>Canada (Central) Region</li>
</ul></li>
<li>"eu-west-1"
<ul>
-<li>EU (Ireland) Region.</li>
+<li>EU (Ireland) Region</li>
</ul></li>
<li>"eu-west-2"
<ul>
-<li>EU (London) Region.</li>
+<li>EU (London) Region</li>
</ul></li>
<li>"eu-west-3"
<ul>
-<li>EU (Paris) Region.</li>
+<li>EU (Paris) Region</li>
</ul></li>
<li>"eu-north-1"
<ul>
-<li>EU (Stockholm) Region.</li>
+<li>EU (Stockholm) Region</li>
</ul></li>
<li>"eu-south-1"
<ul>
-<li>EU (Milan) Region.</li>
+<li>EU (Milan) Region</li>
</ul></li>
<li>"EU"
<ul>
-<li>EU Region.</li>
+<li>EU Region</li>
</ul></li>
<li>"ap-southeast-1"
<ul>
-<li>Asia Pacific (Singapore) Region.</li>
+<li>Asia Pacific (Singapore) Region</li>
</ul></li>
<li>"ap-southeast-2"
<ul>
-<li>Asia Pacific (Sydney) Region.</li>
+<li>Asia Pacific (Sydney) Region</li>
</ul></li>
<li>"ap-northeast-1"
<ul>
-<li>Asia Pacific (Tokyo) Region.</li>
+<li>Asia Pacific (Tokyo) Region</li>
</ul></li>
<li>"ap-northeast-2"
<ul>
-<li>Asia Pacific (Seoul) Region.</li>
+<li>Asia Pacific (Seoul) Region</li>
</ul></li>
<li>"ap-northeast-3"
<ul>
-<li>Asia Pacific (Osaka-Local) Region.</li>
+<li>Asia Pacific (Osaka-Local) Region</li>
</ul></li>
<li>"ap-south-1"
<ul>
-<li>Asia Pacific (Mumbai) Region.</li>
+<li>Asia Pacific (Mumbai) Region</li>
</ul></li>
<li>"ap-east-1"
<ul>
-<li>Asia Pacific (Hong Kong) Region.</li>
+<li>Asia Pacific (Hong Kong) Region</li>
</ul></li>
<li>"sa-east-1"
<ul>
-<li>South America (Sao Paulo) Region.</li>
+<li>South America (Sao Paulo) Region</li>
</ul></li>
<li>"me-south-1"
<ul>
-<li>Middle East (Bahrain) Region.</li>
+<li>Middle East (Bahrain) Region</li>
</ul></li>
<li>"af-south-1"
<ul>
-<li>Africa (Cape Town) Region.</li>
+<li>Africa (Cape Town) Region</li>
</ul></li>
<li>"cn-north-1"
<ul>
@@ -9621,20 +9977,21 @@ y/e/d&gt; </code></pre>
</ul></li>
<li>"cn-northwest-1"
<ul>
-<li>China (Ningxia) Region.</li>
+<li>China (Ningxia) Region</li>
</ul></li>
<li>"us-gov-east-1"
<ul>
-<li>AWS GovCloud (US-East) Region.</li>
+<li>AWS GovCloud (US-East) Region</li>
</ul></li>
<li>"us-gov-west-1"
<ul>
-<li>AWS GovCloud (US) Region.</li>
+<li>AWS GovCloud (US) Region</li>
</ul></li>
</ul></li>
</ul>
<h4 id="s3-location-constraint-1">--s3-location-constraint</h4>
-<p>Location constraint - must match endpoint when using IBM Cloud Public. For on-prem COS, do not make a selection from this list, hit enter</p>
+<p>Location constraint - must match endpoint when using IBM Cloud Public.</p>
+<p>For on-prem COS, do not make a selection from this list, hit enter.</p>
<ul>
<li>Config: location_constraint</li>
<li>Env Var: RCLONE_S3_LOCATION_CONSTRAINT</li>
@@ -9773,7 +10130,8 @@ y/e/d&gt; </code></pre>
</ul></li>
</ul>
<h4 id="s3-location-constraint-2">--s3-location-constraint</h4>
-<p>Location constraint - must be set to match the Region. Leave blank if not sure. Used when creating buckets only.</p>
+<p>Location constraint - must be set to match the Region.</p>
+<p>Leave blank if not sure. Used when creating buckets only.</p>
<ul>
<li>Config: location_constraint</li>
<li>Env Var: RCLONE_S3_LOCATION_CONSTRAINT</li>
@@ -9794,28 +10152,34 @@ y/e/d&gt; </code></pre>
<ul>
<li>"default"
<ul>
-<li>Owner gets Full_CONTROL. No one else has access rights (default).</li>
+<li>Owner gets Full_CONTROL.</li>
+<li>No one else has access rights (default).</li>
</ul></li>
<li>"private"
<ul>
-<li>Owner gets FULL_CONTROL. No one else has access rights (default).</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>No one else has access rights (default).</li>
</ul></li>
<li>"public-read"
<ul>
-<li>Owner gets FULL_CONTROL. The AllUsers group gets READ access.</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>The AllUsers group gets READ access.</li>
</ul></li>
<li>"public-read-write"
<ul>
-<li>Owner gets FULL_CONTROL. The AllUsers group gets READ and WRITE access.</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>The AllUsers group gets READ and WRITE access.</li>
<li>Granting this on a bucket is generally not recommended.</li>
</ul></li>
<li>"authenticated-read"
<ul>
-<li>Owner gets FULL_CONTROL. The AuthenticatedUsers group gets READ access.</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>The AuthenticatedUsers group gets READ access.</li>
</ul></li>
<li>"bucket-owner-read"
<ul>
-<li>Object owner gets FULL_CONTROL. Bucket owner gets READ access.</li>
+<li>Object owner gets FULL_CONTROL.</li>
+<li>Bucket owner gets READ access.</li>
<li>If you specify this canned ACL when creating a bucket, Amazon S3 ignores it.</li>
</ul></li>
<li>"bucket-owner-full-control"
@@ -9825,19 +10189,28 @@ y/e/d&gt; </code></pre>
</ul></li>
<li>"private"
<ul>
-<li>Owner gets FULL_CONTROL. No one else has access rights (default). This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise COS</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>No one else has access rights (default).</li>
+<li>This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise COS.</li>
</ul></li>
<li>"public-read"
<ul>
-<li>Owner gets FULL_CONTROL. The AllUsers group gets READ access. This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise IBM COS</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>The AllUsers group gets READ access.</li>
+<li>This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise IBM COS.</li>
</ul></li>
<li>"public-read-write"
<ul>
-<li>Owner gets FULL_CONTROL. The AllUsers group gets READ and WRITE access. This acl is available on IBM Cloud (Infra), On-Premise IBM COS</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>The AllUsers group gets READ and WRITE access.</li>
+<li>This acl is available on IBM Cloud (Infra), On-Premise IBM COS.</li>
</ul></li>
<li>"authenticated-read"
<ul>
-<li>Owner gets FULL_CONTROL. The AuthenticatedUsers group gets READ access. Not supported on Buckets. This acl is available on IBM Cloud (Infra) and On-Premise IBM COS</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>The AuthenticatedUsers group gets READ access.</li>
+<li>Not supported on Buckets.</li>
+<li>This acl is available on IBM Cloud (Infra) and On-Premise IBM COS.</li>
</ul></li>
</ul></li>
</ul>
@@ -9945,11 +10318,11 @@ y/e/d&gt; </code></pre>
</ul></li>
<li>"GLACIER"
<ul>
-<li>Archive storage mode.</li>
+<li>Archive storage mode</li>
</ul></li>
<li>"STANDARD_IA"
<ul>
-<li>Infrequent access storage mode.</li>
+<li>Infrequent access storage mode</li>
</ul></li>
</ul></li>
</ul>
@@ -9972,11 +10345,11 @@ y/e/d&gt; </code></pre>
</ul></li>
<li>"ARCHIVE"
<ul>
-<li>Archive storage mode.</li>
+<li>Archive storage mode</li>
</ul></li>
<li>"STANDARD_IA"
<ul>
-<li>Infrequent access storage mode.</li>
+<li>Infrequent access storage mode</li>
</ul></li>
</ul></li>
</ul>
@@ -9991,19 +10364,21 @@ y/e/d&gt; </code></pre>
<ul>
<li>""
<ul>
-<li>Default</li>
+<li>Default.</li>
</ul></li>
<li>"STANDARD"
<ul>
-<li>The Standard class for any upload; suitable for on-demand content like streaming or CDN.</li>
+<li>The Standard class for any upload.</li>
+<li>Suitable for on-demand content like streaming or CDN.</li>
</ul></li>
<li>"GLACIER"
<ul>
-<li>Archived storage; prices are lower, but it needs to be restored first to be accessed.</li>
+<li>Archived storage.</li>
+<li>Prices are lower, but it needs to be restored first to be accessed.</li>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-2">Advanced Options</h3>
+<h3 id="advanced-options-2">Advanced options</h3>
<p>Here are the advanced options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, SeaweedFS, and Tencent COS).</p>
<h4 id="s3-bucket-acl">--s3-bucket-acl</h4>
<p>Canned ACL used when creating buckets.</p>
@@ -10018,20 +10393,24 @@ y/e/d&gt; </code></pre>
<ul>
<li>"private"
<ul>
-<li>Owner gets FULL_CONTROL. No one else has access rights (default).</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>No one else has access rights (default).</li>
</ul></li>
<li>"public-read"
<ul>
-<li>Owner gets FULL_CONTROL. The AllUsers group gets READ access.</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>The AllUsers group gets READ access.</li>
</ul></li>
<li>"public-read-write"
<ul>
-<li>Owner gets FULL_CONTROL. The AllUsers group gets READ and WRITE access.</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>The AllUsers group gets READ and WRITE access.</li>
<li>Granting this on a bucket is generally not recommended.</li>
</ul></li>
<li>"authenticated-read"
<ul>
-<li>Owner gets FULL_CONTROL. The AuthenticatedUsers group gets READ access.</li>
+<li>Owner gets FULL_CONTROL.</li>
+<li>The AuthenticatedUsers group gets READ access.</li>
</ul></li>
</ul></li>
</ul>
@@ -10094,7 +10473,7 @@ y/e/d&gt; </code></pre>
</ul></li>
</ul>
<h4 id="s3-upload-cutoff">--s3-upload-cutoff</h4>
-<p>Cutoff for switching to chunked upload</p>
+<p>Cutoff for switching to chunked upload.</p>
<p>Any files larger than this will be uploaded in chunks of chunk_size. The minimum is 0 and the maximum is 5 GiB.</p>
<ul>
<li>Config: upload_cutoff</li>
@@ -10127,7 +10506,7 @@ y/e/d&gt; </code></pre>
<li>Default: 10000</li>
</ul>
<h4 id="s3-copy-cutoff">--s3-copy-cutoff</h4>
-<p>Cutoff for switching to multipart copy</p>
+<p>Cutoff for switching to multipart copy.</p>
<p>Any files larger than this that need to be server-side copied will be copied in chunks of this size.</p>
<p>The minimum is 0 and the maximum is 5 GiB.</p>
<ul>
@@ -10137,7 +10516,7 @@ y/e/d&gt; </code></pre>
<li>Default: 4.656Gi</li>
</ul>
<h4 id="s3-disable-checksum">--s3-disable-checksum</h4>
-<p>Don't store MD5 checksum with object metadata</p>
+<p>Don't store MD5 checksum with object metadata.</p>
<p>Normally rclone will calculate the MD5 checksum of the input before uploading it so it can add it to metadata on the object. This is great for data integrity checking but can cause long delays for large files to start uploading.</p>
<ul>
<li>Config: disable_checksum</li>
@@ -10146,7 +10525,7 @@ y/e/d&gt; </code></pre>
<li>Default: false</li>
</ul>
<h4 id="s3-shared-credentials-file">--s3-shared-credentials-file</h4>
-<p>Path to the shared credentials file</p>
+<p>Path to the shared credentials file.</p>
<p>If env_auth = true then rclone can use a shared credentials file.</p>
<p>If this variable is empty rclone will look for the "AWS_SHARED_CREDENTIALS_FILE" env variable. If the env value is empty it will default to the current user's home directory.</p>
<pre><code>Linux/OSX: &quot;$HOME/.aws/credentials&quot;
@@ -10158,7 +10537,7 @@ Windows: &quot;%USERPROFILE%\.aws\credentials&quot;</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="s3-profile">--s3-profile</h4>
-<p>Profile to use in the shared credentials file</p>
+<p>Profile to use in the shared credentials file.</p>
<p>If env_auth = true then rclone can use a shared credentials file. This variable controls which profile is used in that file.</p>
<p>If empty it will default to the environment variable "AWS_PROFILE" or "default" if that environment variable is also not set.</p>
<ul>
@@ -10168,7 +10547,7 @@ Windows: &quot;%USERPROFILE%\.aws\credentials&quot;</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="s3-session-token">--s3-session-token</h4>
-<p>An AWS session token</p>
+<p>An AWS session token.</p>
<ul>
<li>Config: session_token</li>
<li>Env Var: RCLONE_S3_SESSION_TOKEN</li>
@@ -10234,7 +10613,7 @@ Windows: &quot;%USERPROFILE%\.aws\credentials&quot;</code></pre>
<li>Default: 1000</li>
</ul>
<h4 id="s3-no-check-bucket">--s3-no-check-bucket</h4>
-<p>If set, don't attempt to check the bucket exists or create it</p>
+<p>If set, don't attempt to check the bucket exists or create it.</p>
<p>This can be useful when trying to minimise the number of transactions rclone does if you know the bucket exists already.</p>
<p>It can also be needed if the user you are using does not have bucket creation permissions. Before v1.52.0 this would have passed silently due to a bug.</p>
<ul>
@@ -10244,7 +10623,7 @@ Windows: &quot;%USERPROFILE%\.aws\credentials&quot;</code></pre>
<li>Default: false</li>
</ul>
<h4 id="s3-no-head">--s3-no-head</h4>
-<p>If set, don't HEAD uploaded objects to check integrity</p>
+<p>If set, don't HEAD uploaded objects to check integrity.</p>
<p>This can be useful when trying to minimise the number of transactions rclone does.</p>
<p>Setting it means that if rclone receives a 200 OK message after uploading an object with PUT then it will assume that it got uploaded properly.</p>
<p>In particular it will assume:</p>
@@ -10267,7 +10646,7 @@ Windows: &quot;%USERPROFILE%\.aws\credentials&quot;</code></pre>
<li>Default: false</li>
</ul>
<h4 id="s3-no-head-object">--s3-no-head-object</h4>
-<p>If set, don't HEAD objects</p>
+<p>If set, do not do HEAD before GET when getting objects.</p>
<ul>
<li>Config: no_head_object</li>
<li>Env Var: RCLONE_S3_NO_HEAD_OBJECT</li>
@@ -10276,7 +10655,7 @@ Windows: &quot;%USERPROFILE%\.aws\credentials&quot;</code></pre>
</ul>
<h4 id="s3-encoding">--s3-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_S3_ENCODING</li>
@@ -10284,7 +10663,8 @@ Windows: &quot;%USERPROFILE%\.aws\credentials&quot;</code></pre>
<li>Default: Slash,InvalidUtf8,Dot</li>
</ul>
<h4 id="s3-memory-pool-flush-time">--s3-memory-pool-flush-time</h4>
-<p>How often internal memory buffer pools will be flushed. Uploads which requires additional buffers (f.e multipart) will use memory pool for allocations. This option controls how often unused buffers will be removed from the pool.</p>
+<p>How often internal memory buffer pools will be flushed.</p>
+<p>Uploads which requires additional buffers (f.e multipart) will use memory pool for allocations. This option controls how often unused buffers will be removed from the pool.</p>
<ul>
<li>Config: memory_pool_flush_time</li>
<li>Env Var: RCLONE_S3_MEMORY_POOL_FLUSH_TIME</li>
@@ -10300,7 +10680,7 @@ Windows: &quot;%USERPROFILE%\.aws\credentials&quot;</code></pre>
<li>Default: false</li>
</ul>
<h4 id="s3-disable-http2">--s3-disable-http2</h4>
-<p>Disable usage of http2 for S3 backends</p>
+<p>Disable usage of http2 for S3 backends.</p>
<p>There is currently an unsolved issue with the s3 (specifically minio) backend and HTTP/2. HTTP/2 is enabled by default for the s3 backend but can be disabled here. When the issue is solved this flag will be removed.</p>
<p>See: https://github.com/rclone/rclone/issues/4673, https://github.com/rclone/rclone/issues/3631</p>
<ul>
@@ -10309,14 +10689,22 @@ Windows: &quot;%USERPROFILE%\.aws\credentials&quot;</code></pre>
<li>Type: bool</li>
<li>Default: false</li>
</ul>
-<h3 id="backend-commands">Backend commands</h3>
+<h4 id="s3-download-url">--s3-download-url</h4>
+<p>Custom endpoint for downloads. This is usually set to a CloudFront CDN URL as AWS S3 offers cheaper egress for data downloaded through the CloudFront network.</p>
+<ul>
+<li>Config: download_url</li>
+<li>Env Var: RCLONE_S3_DOWNLOAD_URL</li>
+<li>Type: string</li>
+<li>Default: ""</li>
+</ul>
+<h2 id="backend-commands">Backend commands</h2>
<p>Here are the commands specific to the s3 backend.</p>
<p>Run them with</p>
<pre><code>rclone backend COMMAND remote:</code></pre>
<p>The help below will explain what arguments each command takes.</p>
<p>See <a href="https://rclone.org/commands/rclone_backend/">the "rclone backend" command</a> for more info on how to pass options and arguments.</p>
<p>These can be run on a running backend using the rc command <a href="https://rclone.org/rc/#backend/command">backend/command</a>.</p>
-<h4 id="restore">restore</h4>
+<h3 id="restore">restore</h3>
<p>Restore objects from GLACIER to normal storage</p>
<pre><code>rclone backend restore remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This command can be used to restore one or more objects from GLACIER to normal storage.</p>
@@ -10345,7 +10733,7 @@ rclone backend restore s3:bucket [-o priority=PRIORITY] [-o lifetime=DAYS]</code
<li>"lifetime": Lifetime of the active copy in days</li>
<li>"priority": Priority of restore: Standard|Expedited|Bulk</li>
</ul>
-<h4 id="list-multipart-uploads">list-multipart-uploads</h4>
+<h3 id="list-multipart-uploads">list-multipart-uploads</h3>
<p>List the unfinished multipart uploads</p>
<pre><code>rclone backend list-multipart-uploads remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This command lists the unfinished multipart uploads in JSON format.</p>
@@ -10372,7 +10760,7 @@ rclone backend restore s3:bucket [-o priority=PRIORITY] [-o lifetime=DAYS]</code
&quot;rclone-1000files&quot;: [],
&quot;rclone-dst&quot;: []
}</code></pre>
-<h4 id="cleanup-2">cleanup</h4>
+<h3 id="cleanup-2">cleanup</h3>
<p>Remove unfinished multipart uploads.</p>
<pre><code>rclone backend cleanup remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This command removes unfinished multipart uploads of age greater than max-age which defaults to 24 hours.</p>
@@ -10401,7 +10789,21 @@ storage_class = </code></pre>
<p>Then use it as normal with the name of the public bucket, e.g.</p>
<pre><code>rclone lsd anons3:1000genomes</code></pre>
<p>You will be able to list and copy data but not upload it.</p>
-<h2 id="ceph">Ceph</h2>
+<h2 id="providers-1">Providers</h2>
+<h3 id="aws-s3">AWS S3</h3>
+<p>This is the provider used as main example and described in the <a href="#configuration">configuration</a> section above.</p>
+<h3 id="aws-snowball-edge">AWS Snowball Edge</h3>
+<p><a href="https://aws.amazon.com/snowball/">AWS Snowball</a> is a hardware appliance used for transferring bulk data back to AWS. Its main software interface is S3 object storage.</p>
+<p>To use rclone with AWS Snowball Edge devices, configure as standard for an 'S3 Compatible Service' be sure to set <code>upload_cutoff = 0</code> otherwise you will run into authentication header issues as the snowball device does not support query parameter based authentication.</p>
+<p>eg.</p>
+<pre><code>[snowball]
+type = s3
+provider = Other
+access_key_id = YOUR_ACCESS_KEY
+secret_access_key = YOUR_SECRET_KEY
+endpoint = http://[IP of Snowball]:8080
+upload_cutoff = 0</code></pre>
+<h3 id="ceph">Ceph</h3>
<p><a href="https://ceph.com/">Ceph</a> is an open source unified, distributed storage system designed for excellent performance, reliability and scalability. It has an S3 compatible object storage interface.</p>
<p>To use rclone with Ceph, configure as above but leave the region blank and set the endpoint. You should end up with something like this in your config:</p>
<pre><code>[ceph]
@@ -10431,7 +10833,7 @@ storage_class =</code></pre>
],
}</code></pre>
<p>Because this is a json dump, it is encoding the <code>/</code> as <code>\/</code>, so if you use the secret key as <code>xxxxxx/xxxx</code> it will work fine.</p>
-<h2 id="dreamhost">Dreamhost</h2>
+<h3 id="dreamhost">Dreamhost</h3>
<p>Dreamhost <a href="https://www.dreamhost.com/cloud/storage/">DreamObjects</a> is an object storage system based on CEPH.</p>
<p>To use rclone with Dreamhost, configure as above but leave the region blank and set the endpoint. You should end up with something like this in your config:</p>
<pre><code>[dreamobjects]
@@ -10446,7 +10848,7 @@ location_constraint =
acl = private
server_side_encryption =
storage_class =</code></pre>
-<h2 id="digitalocean-spaces">DigitalOcean Spaces</h2>
+<h3 id="digitalocean-spaces">DigitalOcean Spaces</h3>
<p><a href="https://www.digitalocean.com/products/object-storage/">Spaces</a> is an <a href="https://developers.digitalocean.com/documentation/spaces/">S3-interoperable</a> object storage service from cloud provider DigitalOcean.</p>
<p>To connect to DigitalOcean Spaces you will need an access key and secret key. These can be retrieved on the "<a href="https://cloud.digitalocean.com/settings/api/tokens">Applications &amp; API</a>" page of the DigitalOcean control panel. They will be needed when prompted by <code>rclone config</code> for your <code>access_key_id</code> and <code>secret_access_key</code>.</p>
<p>When prompted for a <code>region</code> or <code>location_constraint</code>, press enter to use the default value. The region must be included in the <code>endpoint</code> setting (e.g. <code>nyc3.digitaloceanspaces.com</code>). The default values can be used for other settings.</p>
@@ -10476,7 +10878,7 @@ storage_class =</code></pre>
<p>Once configured, you can create a new Space and begin copying files. For example:</p>
<pre><code>rclone mkdir spaces:my-new-space
rclone copy /path/to/files spaces:my-new-space</code></pre>
-<h2 id="ibm-cos-s3">IBM COS (S3)</h2>
+<h3 id="ibm-cos-s3">IBM COS (S3)</h3>
<p>Information stored with IBM Cloud Object Storage is encrypted and dispersed across multiple geographic locations, and accessed through an implementation of the S3 API. This service makes use of the distributed storage technologies provided by IBM’s Cloud Object Storage System (formerly Cleversafe). For more information visit: (http://www.ibm.com/cloud/object-storage)</p>
<p>To configure access to IBM COS S3, follow the steps below:</p>
<ol type="1">
@@ -10633,7 +11035,7 @@ acl&gt; 1</code></pre>
rclone copy IBM-COS-XREGION:newbucket/file.txt .
6) Delete a file on remote.
rclone delete IBM-COS-XREGION:newbucket/file.txt</code></pre>
-<h2 id="minio">Minio</h2>
+<h3 id="minio">Minio</h3>
<p><a href="https://minio.io/">Minio</a> is an object storage server built for cloud application developers and devops.</p>
<p>It is very easy to install and provides an S3 compatible server which can be used by rclone.</p>
<p>To use it, install Minio following the instructions <a href="https://docs.minio.io/docs/minio-quickstart-guide">here</a>.</p>
@@ -10679,7 +11081,7 @@ location_constraint =
server_side_encryption =</code></pre>
<p>So once set up, for example to copy files into a bucket</p>
<pre><code>rclone copy /path/to/files minio:bucket</code></pre>
-<h2 id="scaleway">Scaleway</h2>
+<h3 id="scaleway">Scaleway</h3>
<p><a href="https://www.scaleway.com/object-storage/">Scaleway</a> The Object Storage platform allows you to store anything from backups, logs and web assets to documents and photos. Files can be dropped from the Scaleway console or transferred through our API and CLI or using any S3-compatible tool.</p>
<p>Scaleway provides an S3 interface which can be configured for use with rclone like this:</p>
<pre><code>[scaleway]
@@ -10694,7 +11096,7 @@ location_constraint =
acl = private
server_side_encryption =
storage_class =</code></pre>
-<h2 id="seaweedfs">SeaweedFS</h2>
+<h3 id="seaweedfs">SeaweedFS</h3>
<p><a href="https://github.com/chrislusf/seaweedfs/">SeaweedFS</a> is a distributed storage system for blobs, objects, files, and data lake, with O(1) disk seek and a scalable file metadata store. It has an S3 compatible object storage interface.</p>
<p>Assuming the SeaweedFS are configured with <code>weed shell</code> as such:</p>
<pre><code>&gt; s3.bucket.create -name foo
@@ -10728,7 +11130,7 @@ secret_access_key = any
endpoint = localhost:8333</code></pre>
<p>So once set up, for example to copy files into a bucket</p>
<pre><code>rclone copy /path/to/files seaweedfs_s3:foo</code></pre>
-<h2 id="wasabi">Wasabi</h2>
+<h3 id="wasabi">Wasabi</h3>
<p><a href="https://wasabi.com">Wasabi</a> is a cloud-based object storage service for a broad range of applications and use cases. Wasabi is designed for individuals and organizations that require a high-performance, reliable, and secure data storage infrastructure at minimal cost.</p>
<p>Wasabi provides an S3 interface which can be configured for use with rclone like this.</p>
<pre><code>No remotes found - make a new one
@@ -10827,7 +11229,7 @@ location_constraint =
acl =
server_side_encryption =
storage_class =</code></pre>
-<h2 id="alibaba-oss">Alibaba OSS</h2>
+<h3 id="alibaba-oss">Alibaba OSS</h3>
<p>Here is an example of making an <a href="https://www.alibabacloud.com/product/oss/">Alibaba Cloud (Aliyun) OSS</a> configuration. First run:</p>
<pre><code>rclone config</code></pre>
<p>This will guide you through an interactive setup process.</p>
@@ -10929,7 +11331,7 @@ y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d&gt; y</code></pre>
-<h2 id="tencent-cos">Tencent COS</h2>
+<h3 id="tencent-cos">Tencent COS</h3>
<p><a href="https://intl.cloud.tencent.com/product/cos">Tencent Cloud Object Storage (COS)</a> is a distributed storage service offered by Tencent Cloud for unstructured data. It is secure, stable, massive, convenient, low-delay and low-cost.</p>
<p>To configure access to Tencent COS, follow the steps below:</p>
<ol type="1">
@@ -11045,7 +11447,7 @@ Current remotes:
Name Type
==== ====
cos s3</code></pre>
-<h2 id="netease-nos">Netease NOS</h2>
+<h3 id="netease-nos">Netease NOS</h3>
<p>For Netease NOS configure as per the configurator <code>rclone config</code> setting the provider <code>Netease</code>. This will automatically set <code>force_path_style = false</code> which is necessary for it to run properly.</p>
<h2 id="limitations-4">Limitations</h2>
<p><code>rclone about</code> is not supported by the S3 backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
@@ -11053,6 +11455,7 @@ cos s3</code></pre>
<h1 id="backblaze-b2">Backblaze B2</h1>
<p>B2 is <a href="https://www.backblaze.com/b2/">Backblaze's cloud storage system</a>.</p>
<p>Paths are specified as <code>remote:bucket</code> (or <code>remote:</code> for the <code>lsd</code> command.) You may put subdirectories in too, e.g. <code>remote:bucket/path/to/dir</code>.</p>
+<h2 id="configuration-4">Configuration</h2>
<p>Here is an example of making a b2 configuration. First run</p>
<pre><code>rclone config</code></pre>
<p>This will guide you through an interactive setup process. To authenticate you will either need your Account ID (a short hex number) and Master Application Key (a long hex number) OR an Application Key, which is the recommended method. See below for further details on generating and using an Application Key.</p>
@@ -11104,7 +11507,7 @@ y/e/d&gt; y</code></pre>
<h3 id="modified-time-1">Modified time</h3>
<p>The modified time is stored as metadata on the object as <code>X-Bz-Info-src_last_modified_millis</code> as milliseconds since 1970-01-01 in the Backblaze standard. Other tools should be able to use this as a modified time.</p>
<p>Modified times are used in syncing and are fully supported. Note that if a modification time needs to be updated on an object then it will create a new version of the object.</p>
-<h4 id="restricted-filename-characters-3">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-3">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -11205,10 +11608,10 @@ https://f002.backblazeb2.com/file/bucket/path?Authorization=xxxxxxxx</code></pre
https://f002.backblazeb2.com/file/bucket/path/file2?Authorization=xxxxxxxx
https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxxx
</code></pre>
-<h3 id="standard-options-4">Standard Options</h3>
+<h3 id="standard-options-4">Standard options</h3>
<p>Here are the standard options specific to b2 (Backblaze B2).</p>
<h4 id="b2-account">--b2-account</h4>
-<p>Account ID or Application Key ID</p>
+<p>Account ID or Application Key ID.</p>
<ul>
<li>Config: account</li>
<li>Env Var: RCLONE_B2_ACCOUNT</li>
@@ -11216,7 +11619,7 @@ https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxx
<li>Default: ""</li>
</ul>
<h4 id="b2-key">--b2-key</h4>
-<p>Application Key</p>
+<p>Application Key.</p>
<ul>
<li>Config: key</li>
<li>Env Var: RCLONE_B2_KEY</li>
@@ -11231,10 +11634,11 @@ https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxx
<li>Type: bool</li>
<li>Default: false</li>
</ul>
-<h3 id="advanced-options-3">Advanced Options</h3>
+<h3 id="advanced-options-3">Advanced options</h3>
<p>Here are the advanced options specific to b2 (Backblaze B2).</p>
<h4 id="b2-endpoint">--b2-endpoint</h4>
-<p>Endpoint for the service. Leave blank normally.</p>
+<p>Endpoint for the service.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: endpoint</li>
<li>Env Var: RCLONE_B2_ENDPOINT</li>
@@ -11257,7 +11661,8 @@ https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxx
<li>Default: ""</li>
</ul>
<h4 id="b2-versions">--b2-versions</h4>
-<p>Include old versions in directory listings. Note that when using this no file write operations are permitted, so you can't upload files or delete them.</p>
+<p>Include old versions in directory listings.</p>
+<p>Note that when using this no file write operations are permitted, so you can't upload files or delete them.</p>
<ul>
<li>Config: versions</li>
<li>Env Var: RCLONE_B2_VERSIONS</li>
@@ -11275,7 +11680,7 @@ https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxx
<li>Default: 200Mi</li>
</ul>
<h4 id="b2-copy-cutoff">--b2-copy-cutoff</h4>
-<p>Cutoff for switching to multipart copy</p>
+<p>Cutoff for switching to multipart copy.</p>
<p>Any files larger than this that need to be server-side copied will be copied in chunks of this size.</p>
<p>The minimum is 0 and the maximum is 4.6 GiB.</p>
<ul>
@@ -11285,8 +11690,10 @@ https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxx
<li>Default: 4Gi</li>
</ul>
<h4 id="b2-chunk-size">--b2-chunk-size</h4>
-<p>Upload chunk size. Must fit in memory.</p>
-<p>When uploading large files, chunk the file into this size. Note that these chunks are buffered in memory and there might a maximum of "--transfers" chunks in progress at once. 5,000,000 Bytes is the minimum size.</p>
+<p>Upload chunk size.</p>
+<p>When uploading large files, chunk the file into this size.</p>
+<p>Must fit in memory. These chunks are buffered in memory and there might a maximum of "--transfers" chunks in progress at once.</p>
+<p>5,000,000 Bytes is the minimum size.</p>
<ul>
<li>Config: chunk_size</li>
<li>Env Var: RCLONE_B2_CHUNK_SIZE</li>
@@ -11294,7 +11701,7 @@ https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxx
<li>Default: 96Mi</li>
</ul>
<h4 id="b2-disable-checksum">--b2-disable-checksum</h4>
-<p>Disable checksums for large (&gt; upload cutoff) files</p>
+<p>Disable checksums for large (&gt; upload cutoff) files.</p>
<p>Normally rclone will calculate the SHA1 checksum of the input before uploading it so it can add it to metadata on the object. This is great for data integrity checking but can cause long delays for large files to start uploading.</p>
<ul>
<li>Config: disable_checksum</li>
@@ -11338,20 +11745,21 @@ https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxx
</ul>
<h4 id="b2-encoding">--b2-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_B2_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-5">Limitations</h3>
+<h2 id="limitations-5">Limitations</h2>
<p><code>rclone about</code> is not supported by the B2 backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
<h1 id="box">Box</h1>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
<p>The initial setup for Box involves getting a token from Box which you can do either in your browser, or with a config.json downloaded from Box to use JWT authentication. <code>rclone config</code> walks you through it.</p>
+<h2 id="configuration-5">Configuration</h2>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
<p>This will guide you through an interactive setup process:</p>
@@ -11496,7 +11904,7 @@ y/e/d&gt; y</code></pre>
<h3 id="modified-time-and-hashes-1">Modified time and hashes</h3>
<p>Box allows modification times to be set on objects accurate to 1 second. These will be used to detect whether objects need syncing or not.</p>
<p>Box supports SHA1 type hashes, so you can use the <code>--checksum</code> flag.</p>
-<h4 id="restricted-filename-characters-4">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-4">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -11543,10 +11951,11 @@ y/e/d&gt; y</code></pre>
<p>However you can set this to restrict rclone to a specific folder hierarchy.</p>
<p>In order to do this you will have to find the <code>Folder ID</code> of the directory you wish rclone to display. This will be the last segment of the URL when you open the relevant folder in the Box web interface.</p>
<p>So if the folder you want rclone to use has a URL which looks like <code>https://app.box.com/folder/11xxxxxxxxx8</code> in the browser, then you use <code>11xxxxxxxxx8</code> as the <code>root_folder_id</code> in the config.</p>
-<h3 id="standard-options-5">Standard Options</h3>
+<h3 id="standard-options-5">Standard options</h3>
<p>Here are the standard options specific to box (Box).</p>
<h4 id="box-client-id">--box-client-id</h4>
-<p>OAuth Client Id Leave blank normally.</p>
+<p>OAuth Client Id.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_id</li>
<li>Env Var: RCLONE_BOX_CLIENT_ID</li>
@@ -11554,7 +11963,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="box-client-secret">--box-client-secret</h4>
-<p>OAuth Client Secret Leave blank normally.</p>
+<p>OAuth Client Secret.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_secret</li>
<li>Env Var: RCLONE_BOX_CLIENT_SECRET</li>
@@ -11562,7 +11972,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="box-box-config-file">--box-box-config-file</h4>
-<p>Box App config.json location Leave blank normally.</p>
+<p>Box App config.json location</p>
+<p>Leave blank normally.</p>
<p>Leading <code>~</code> will be expanded in the file name as will environment variables such as <code>${RCLONE_CONFIG_DIR}</code>.</p>
<ul>
<li>Config: box_config_file</li>
@@ -11571,7 +11982,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="box-access-token">--box-access-token</h4>
-<p>Box App Primary Access Token Leave blank normally.</p>
+<p>Box App Primary Access Token</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: access_token</li>
<li>Env Var: RCLONE_BOX_ACCESS_TOKEN</li>
@@ -11588,15 +12000,15 @@ y/e/d&gt; y</code></pre>
<ul>
<li>"user"
<ul>
-<li>Rclone should act on behalf of a user</li>
+<li>Rclone should act on behalf of a user.</li>
</ul></li>
<li>"enterprise"
<ul>
-<li>Rclone should act on behalf of a service account</li>
+<li>Rclone should act on behalf of a service account.</li>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-4">Advanced Options</h3>
+<h3 id="advanced-options-4">Advanced options</h3>
<p>Here are the advanced options specific to box (Box).</p>
<h4 id="box-token">--box-token</h4>
<p>OAuth Access Token as a JSON blob.</p>
@@ -11607,7 +12019,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="box-auth-url">--box-auth-url</h4>
-<p>Auth server URL. Leave blank to use the provider defaults.</p>
+<p>Auth server URL.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: auth_url</li>
<li>Env Var: RCLONE_BOX_AUTH_URL</li>
@@ -11615,7 +12028,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="box-token-url">--box-token-url</h4>
-<p>Token server url. Leave blank to use the provider defaults.</p>
+<p>Token server url.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: token_url</li>
<li>Env Var: RCLONE_BOX_TOKEN_URL</li>
@@ -11646,16 +12060,32 @@ y/e/d&gt; y</code></pre>
<li>Type: int</li>
<li>Default: 100</li>
</ul>
+<h4 id="box-list-chunk">--box-list-chunk</h4>
+<p>Size of listing chunk 1-1000.</p>
+<ul>
+<li>Config: list_chunk</li>
+<li>Env Var: RCLONE_BOX_LIST_CHUNK</li>
+<li>Type: int</li>
+<li>Default: 1000</li>
+</ul>
+<h4 id="box-owned-by">--box-owned-by</h4>
+<p>Only show items owned by the login (email address) passed in.</p>
+<ul>
+<li>Config: owned_by</li>
+<li>Env Var: RCLONE_BOX_OWNED_BY</li>
+<li>Type: string</li>
+<li>Default: ""</li>
+</ul>
<h4 id="box-encoding">--box-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_BOX_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-6">Limitations</h3>
+<h2 id="limitations-6">Limitations</h2>
<p>Note that Box is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
<p>Box file names can't have the <code>\</code> character in. rclone maps this to and from an identical looking unicode equivalent <code>\</code> (U+FF3C Fullwidth Reverse Solidus).</p>
<p>Box only supports filenames up to 255 characters in length.</p>
@@ -11667,7 +12097,7 @@ y/e/d&gt; y</code></pre>
<p>The cache backend code is working but it currently doesn't have a maintainer so there are <a href="https://github.com/rclone/rclone/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3A%22Remote%3A+Cache%22">outstanding bugs</a> which aren't getting fixed.</p>
<p>The cache backend is due to be phased out in favour of the VFS caching layer eventually which is more tightly integrated into rclone.</p>
<p>Until this happens we recommend only using the cache backend if you find you can't work without it. There are many docs online describing the use of the cache backend to minimize API hits and by-and-large these are out of date and the cache backend isn't needed in those scenarios any more.</p>
-<h2 id="setup-1">Setup</h2>
+<h2 id="configuration-6">Configuration</h2>
<p>To get started you just need to have an existing remote which can be configured with <code>cache</code>.</p>
<p>Here is an example of how to make a remote called <code>test-cache</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -11821,10 +12251,11 @@ chunk_total_size = 10G</code></pre>
<h3 id="rc-cacheexpire">rc cache/expire</h3>
<p>Purge a remote from the cache backend. Supports either a directory or a file. It supports both encrypted and unencrypted file names if cache is wrapped by crypt.</p>
<p>Params: - <strong>remote</strong> = path to remote <strong>(required)</strong> - <strong>withData</strong> = true/false to delete cached data (chunks) as well <em>(optional, false by default)</em></p>
-<h3 id="standard-options-6">Standard Options</h3>
+<h3 id="standard-options-6">Standard options</h3>
<p>Here are the standard options specific to cache (Cache a remote).</p>
<h4 id="cache-remote">--cache-remote</h4>
-<p>Remote to cache. Normally should contain a ':' and a path, e.g. "myremote:path/to/dir", "myremote:bucket" or maybe "myremote:" (not recommended).</p>
+<p>Remote to cache.</p>
+<p>Normally should contain a ':' and a path, e.g. "myremote:path/to/dir", "myremote:bucket" or maybe "myremote:" (not recommended).</p>
<ul>
<li>Config: remote</li>
<li>Env Var: RCLONE_CACHE_REMOTE</li>
@@ -11832,7 +12263,7 @@ chunk_total_size = 10G</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="cache-plex-url">--cache-plex-url</h4>
-<p>The URL of the Plex server</p>
+<p>The URL of the Plex server.</p>
<ul>
<li>Config: plex_url</li>
<li>Env Var: RCLONE_CACHE_PLEX_URL</li>
@@ -11840,7 +12271,7 @@ chunk_total_size = 10G</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="cache-plex-username">--cache-plex-username</h4>
-<p>The username of the Plex user</p>
+<p>The username of the Plex user.</p>
<ul>
<li>Config: plex_username</li>
<li>Env Var: RCLONE_CACHE_PLEX_USERNAME</li>
@@ -11848,7 +12279,7 @@ chunk_total_size = 10G</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="cache-plex-password">--cache-plex-password</h4>
-<p>The password of the Plex user</p>
+<p>The password of the Plex user.</p>
<p><strong>NB</strong> Input to this must be obscured - see <a href="https://rclone.org/commands/rclone_obscure/">rclone obscure</a>.</p>
<ul>
<li>Config: plex_password</li>
@@ -11927,10 +12358,10 @@ chunk_total_size = 10G</code></pre>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-5">Advanced Options</h3>
+<h3 id="advanced-options-5">Advanced options</h3>
<p>Here are the advanced options specific to cache (Cache a remote).</p>
<h4 id="cache-plex-token">--cache-plex-token</h4>
-<p>The plex token for authentication - auto set normally</p>
+<p>The plex token for authentication - auto set normally.</p>
<ul>
<li>Config: plex_token</li>
<li>Env Var: RCLONE_CACHE_PLEX_TOKEN</li>
@@ -11938,7 +12369,7 @@ chunk_total_size = 10G</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="cache-plex-insecure">--cache-plex-insecure</h4>
-<p>Skip all certificate verification when connecting to the Plex server</p>
+<p>Skip all certificate verification when connecting to the Plex server.</p>
<ul>
<li>Config: plex_insecure</li>
<li>Env Var: RCLONE_CACHE_PLEX_INSECURE</li>
@@ -11946,7 +12377,8 @@ chunk_total_size = 10G</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="cache-db-path">--cache-db-path</h4>
-<p>Directory to store file structure metadata DB. The remote name is used as the DB file name.</p>
+<p>Directory to store file structure metadata DB.</p>
+<p>The remote name is used as the DB file name.</p>
<ul>
<li>Config: db_path</li>
<li>Env Var: RCLONE_CACHE_DB_PATH</li>
@@ -11972,7 +12404,8 @@ chunk_total_size = 10G</code></pre>
<li>Default: false</li>
</ul>
<h4 id="cache-chunk-clean-interval">--cache-chunk-clean-interval</h4>
-<p>How often should the cache perform cleanups of the chunk storage. The default value should be ok for most people. If you find that the cache goes over "cache-chunk-total-size" too often then try to lower this value to force it to perform cleanups more often.</p>
+<p>How often should the cache perform cleanups of the chunk storage.</p>
+<p>The default value should be ok for most people. If you find that the cache goes over "cache-chunk-total-size" too often then try to lower this value to force it to perform cleanups more often.</p>
<ul>
<li>Config: chunk_clean_interval</li>
<li>Env Var: RCLONE_CACHE_CHUNK_CLEAN_INTERVAL</li>
@@ -12011,7 +12444,7 @@ chunk_total_size = 10G</code></pre>
<li>Default: false</li>
</ul>
<h4 id="cache-rps">--cache-rps</h4>
-<p>Limits the number of requests per second to the source FS (-1 to disable)</p>
+<p>Limits the number of requests per second to the source FS (-1 to disable).</p>
<p>This setting places a hard limit on the number of requests per second that cache will be doing to the cloud provider remote and try to respect that value by setting waits between reads.</p>
<p>If you find that you're getting banned or limited on the cloud provider through cache and know that a smaller number of requests per second will allow you to work with it then you can use this setting for that.</p>
<p>A good balance of all the other settings should make this setting useless but it is available to set for more special cases.</p>
@@ -12023,7 +12456,7 @@ chunk_total_size = 10G</code></pre>
<li>Default: -1</li>
</ul>
<h4 id="cache-writes">--cache-writes</h4>
-<p>Cache file data on writes through the FS</p>
+<p>Cache file data on writes through the FS.</p>
<p>If you need to read files immediately after you upload them through cache you can enable this flag to have their data stored in the cache store at the same time during upload.</p>
<ul>
<li>Config: writes</li>
@@ -12042,7 +12475,7 @@ chunk_total_size = 10G</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="cache-tmp-wait-time">--cache-tmp-wait-time</h4>
-<p>How long should files be stored in local cache before being uploaded</p>
+<p>How long should files be stored in local cache before being uploaded.</p>
<p>This is the duration that a file must wait in the temporary location <em>cache-tmp-upload-path</em> before it is selected for upload.</p>
<p>Note that only one file is uploaded at a time and it can take longer to start the upload if a queue formed for this purpose.</p>
<ul>
@@ -12052,7 +12485,7 @@ chunk_total_size = 10G</code></pre>
<li>Default: 15s</li>
</ul>
<h4 id="cache-db-wait-time">--cache-db-wait-time</h4>
-<p>How long to wait for the DB to be available - 0 is unlimited</p>
+<p>How long to wait for the DB to be available - 0 is unlimited.</p>
<p>Only one process can have the DB open at any one time, so rclone waits for this duration for the DB to become available before it gives an error.</p>
<p>If you set it to 0 then it will wait forever.</p>
<ul>
@@ -12061,18 +12494,19 @@ chunk_total_size = 10G</code></pre>
<li>Type: Duration</li>
<li>Default: 1s</li>
</ul>
-<h3 id="backend-commands-1">Backend commands</h3>
+<h2 id="backend-commands-1">Backend commands</h2>
<p>Here are the commands specific to the cache backend.</p>
<p>Run them with</p>
<pre><code>rclone backend COMMAND remote:</code></pre>
<p>The help below will explain what arguments each command takes.</p>
<p>See <a href="https://rclone.org/commands/rclone_backend/">the "rclone backend" command</a> for more info on how to pass options and arguments.</p>
<p>These can be run on a running backend using the rc command <a href="https://rclone.org/rc/#backend/command">backend/command</a>.</p>
-<h4 id="stats">stats</h4>
+<h3 id="stats">stats</h3>
<p>Print stats on the cache backend in JSON format.</p>
<pre><code>rclone backend stats remote: [options] [&lt;arguments&gt;+]</code></pre>
<h1 id="chunker-beta">Chunker (BETA)</h1>
<p>The <code>chunker</code> overlay transparently splits large files into smaller chunks during upload to wrapped remote and transparently assembles them back when the file is downloaded. This allows to effectively overcome size limits imposed by storage providers.</p>
+<h2 id="configuration-7">Configuration</h2>
<p>To use it, first set up the underlying remote following the configuration instructions for that remote. You can also use a local pathname instead of a remote.</p>
<p>First check your chosen remote is working - we'll call it <code>remote:path</code> here. Note that anything inside <code>remote:path</code> will be chunked and anything outside won't. This means that if you are using a bucket based remote (e.g. S3, B2, swift) then you should probably put the bucket in the remote <code>s3:bucket</code>.</p>
<p>Now configure <code>chunker</code> using <code>rclone config</code>. We will call this one <code>overlay</code> to separate it from the <code>remote</code> itself.</p>
@@ -12184,10 +12618,11 @@ y/e/d&gt; y</code></pre>
<p>If wrapped remote is case insensitive, the chunker overlay will inherit that property (so you can't have a file called "Hello.doc" and "hello.doc" in the same directory).</p>
<p>Chunker included in rclone releases up to <code>v1.54</code> can sometimes fail to detect metadata produced by recent versions of rclone. We recommend users to keep rclone up-to-date to avoid data corruption.</p>
<p>Changing <code>transactions</code> is dangerous and requires explicit migration.</p>
-<h3 id="standard-options-7">Standard Options</h3>
+<h3 id="standard-options-7">Standard options</h3>
<p>Here are the standard options specific to chunker (Transparently chunk/split large files).</p>
<h4 id="chunker-remote">--chunker-remote</h4>
-<p>Remote to chunk/unchunk. Normally should contain a ':' and a path, e.g. "myremote:path/to/dir", "myremote:bucket" or maybe "myremote:" (not recommended).</p>
+<p>Remote to chunk/unchunk.</p>
+<p>Normally should contain a ':' and a path, e.g. "myremote:path/to/dir", "myremote:bucket" or maybe "myremote:" (not recommended).</p>
<ul>
<li>Config: remote</li>
<li>Env Var: RCLONE_CHUNKER_REMOTE</li>
@@ -12203,7 +12638,8 @@ y/e/d&gt; y</code></pre>
<li>Default: 2Gi</li>
</ul>
<h4 id="chunker-hash-type">--chunker-hash-type</h4>
-<p>Choose how chunker handles hash sums. All modes but "none" require metadata.</p>
+<p>Choose how chunker handles hash sums.</p>
+<p>All modes but "none" require metadata.</p>
<ul>
<li>Config: hash_type</li>
<li>Env Var: RCLONE_CHUNKER_HASH_TYPE</li>
@@ -12213,38 +12649,41 @@ y/e/d&gt; y</code></pre>
<ul>
<li>"none"
<ul>
-<li>Pass any hash supported by wrapped remote for non-chunked files, return nothing otherwise</li>
+<li>Pass any hash supported by wrapped remote for non-chunked files.</li>
+<li>Return nothing otherwise.</li>
</ul></li>
<li>"md5"
<ul>
-<li>MD5 for composite files</li>
+<li>MD5 for composite files.</li>
</ul></li>
<li>"sha1"
<ul>
-<li>SHA1 for composite files</li>
+<li>SHA1 for composite files.</li>
</ul></li>
<li>"md5all"
<ul>
-<li>MD5 for all files</li>
+<li>MD5 for all files.</li>
</ul></li>
<li>"sha1all"
<ul>
-<li>SHA1 for all files</li>
+<li>SHA1 for all files.</li>
</ul></li>
<li>"md5quick"
<ul>
-<li>Copying a file to chunker will request MD5 from the source falling back to SHA1 if unsupported</li>
+<li>Copying a file to chunker will request MD5 from the source.</li>
+<li>Falling back to SHA1 if unsupported.</li>
</ul></li>
<li>"sha1quick"
<ul>
-<li>Similar to "md5quick" but prefers SHA1 over MD5</li>
+<li>Similar to "md5quick" but prefers SHA1 over MD5.</li>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-6">Advanced Options</h3>
+<h3 id="advanced-options-6">Advanced options</h3>
<p>Here are the advanced options specific to chunker (Transparently chunk/split large files).</p>
<h4 id="chunker-name-format">--chunker-name-format</h4>
-<p>String format of chunk file names. The two placeholders are: base file name (*) and chunk number (#...). There must be one and only one asterisk and one or more consecutive hash characters. If chunk number has less digits than the number of hashes, it is left-padded by zeros. If there are more digits in the number, they are left as is. Possible chunk files are ignored if their name does not match given format.</p>
+<p>String format of chunk file names.</p>
+<p>The two placeholders are: base file name (*) and chunk number (#...). There must be one and only one asterisk and one or more consecutive hash characters. If chunk number has less digits than the number of hashes, it is left-padded by zeros. If there are more digits in the number, they are left as is. Possible chunk files are ignored if their name does not match given format.</p>
<ul>
<li>Config: name_format</li>
<li>Env Var: RCLONE_CHUNKER_NAME_FORMAT</li>
@@ -12252,7 +12691,8 @@ y/e/d&gt; y</code></pre>
<li>Default: "*.rclone_chunk.###"</li>
</ul>
<h4 id="chunker-start-from">--chunker-start-from</h4>
-<p>Minimum valid chunk number. Usually 0 or 1. By default chunk numbers start from 1.</p>
+<p>Minimum valid chunk number. Usually 0 or 1.</p>
+<p>By default chunk numbers start from 1.</p>
<ul>
<li>Config: start_from</li>
<li>Env Var: RCLONE_CHUNKER_START_FROM</li>
@@ -12260,7 +12700,8 @@ y/e/d&gt; y</code></pre>
<li>Default: 1</li>
</ul>
<h4 id="chunker-meta-format">--chunker-meta-format</h4>
-<p>Format of the metadata object or "none". By default "simplejson". Metadata is a small JSON file named after the composite file.</p>
+<p>Format of the metadata object or "none".</p>
+<p>By default "simplejson". Metadata is a small JSON file named after the composite file.</p>
<ul>
<li>Config: meta_format</li>
<li>Env Var: RCLONE_CHUNKER_META_FORMAT</li>
@@ -12270,11 +12711,13 @@ y/e/d&gt; y</code></pre>
<ul>
<li>"none"
<ul>
-<li>Do not use metadata files at all. Requires hash type "none".</li>
+<li>Do not use metadata files at all.</li>
+<li>Requires hash type "none".</li>
</ul></li>
<li>"simplejson"
<ul>
<li>Simple JSON supports hash sums and chunk validation.</li>
+<li></li>
<li>It has the following fields: ver, size, nchunks, md5, sha1.</li>
</ul></li>
</ul></li>
@@ -12330,6 +12773,7 @@ y/e/d&gt; y</code></pre>
</ul>
<h1 id="citrix-sharefile">Citrix ShareFile</h1>
<p><a href="https://sharefile.com">Citrix ShareFile</a> is a secure file sharing and transfer service aimed as business.</p>
+<h2 id="configuration-8">Configuration</h2>
<p>The initial setup for Citrix ShareFile involves getting a token from Citrix ShareFile which you can in your browser. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -12405,10 +12849,7 @@ y/e/d&gt; y</code></pre>
<p>ShareFile supports MD5 type hashes, so you can use the <code>--checksum</code> flag.</p>
<h3 id="transfers-2">Transfers</h3>
<p>For files above 128 MiB rclone will use a chunked transfer. Rclone will upload up to <code>--transfers</code> chunks at the same time (shared among all the multipart uploads). Chunks are buffered in memory and are normally 64 MiB so increasing <code>--transfers</code> will increase memory use.</p>
-<h3 id="limitations-7">Limitations</h3>
-<p>Note that ShareFile is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
-<p>ShareFile only supports filenames up to 256 characters in length.</p>
-<h4 id="restricted-filename-characters-5">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-5">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -12484,10 +12925,10 @@ y/e/d&gt; y</code></pre>
</tbody>
</table>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
-<h3 id="standard-options-8">Standard Options</h3>
+<h3 id="standard-options-8">Standard options</h3>
<p>Here are the standard options specific to sharefile (Citrix Sharefile).</p>
<h4 id="sharefile-root-folder-id">--sharefile-root-folder-id</h4>
-<p>ID of the root folder</p>
+<p>ID of the root folder.</p>
<p>Leave blank to access "Personal Folders". You can use one of the standard values here or any folder ID (long hex number ID).</p>
<ul>
<li>Config: root_folder_id</li>
@@ -12498,7 +12939,7 @@ y/e/d&gt; y</code></pre>
<ul>
<li>""
<ul>
-<li>Access the Personal Folders. (Default)</li>
+<li>Access the Personal Folders (default).</li>
</ul></li>
<li>"favorites"
<ul>
@@ -12518,7 +12959,7 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-7">Advanced Options</h3>
+<h3 id="advanced-options-7">Advanced options</h3>
<p>Here are the advanced options specific to sharefile (Citrix Sharefile).</p>
<h4 id="sharefile-upload-cutoff">--sharefile-upload-cutoff</h4>
<p>Cutoff for switching to multipart upload.</p>
@@ -12529,7 +12970,8 @@ y/e/d&gt; y</code></pre>
<li>Default: 128Mi</li>
</ul>
<h4 id="sharefile-chunk-size">--sharefile-chunk-size</h4>
-<p>Upload chunk size. Must a power of 2 &gt;= 256k.</p>
+<p>Upload chunk size.</p>
+<p>Must a power of 2 &gt;= 256k.</p>
<p>Making this larger will improve performance, but note that each chunk is buffered in memory one per transfer.</p>
<p>Reducing this will reduce memory usage but decrease performance.</p>
<ul>
@@ -12549,14 +12991,16 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="sharefile-encoding">--sharefile-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_SHAREFILE_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-8">Limitations</h3>
+<h2 id="limitations-7">Limitations</h2>
+<p>Note that ShareFile is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
+<p>ShareFile only supports filenames up to 256 characters in length.</p>
<p><code>rclone about</code> is not supported by the Citrix ShareFile backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
<h1 id="crypt">Crypt</h1>
@@ -12566,7 +13010,7 @@ y/e/d&gt; y</code></pre>
<p>The encryption is a secret-key encryption (also called symmetric key encryption) algorithm, where a password (or pass phrase) is used to generate real encryption key. The password can be supplied by user, or you may chose to let rclone generate one. It will be stored in the configuration file, in a lightly obscured form. If you are in an environment where you are not able to keep your configuration secured, you should add <a href="https://rclone.org/docs/#configuration-encryption">configuration encryption</a> as protection. As long as you have this configuration file, you will be able to decrypt your data. Without the configuration file, as long as you remember the password (or keep it in a safe place), you can re-create the configuration and gain access to the existing data. You may also configure a corresponding remote in a different installation to access the same data. See below for guidance to <a href="#changing-password">changing password</a>.</p>
<p>Encryption uses <a href="https://en.wikipedia.org/wiki/Salt_(cryptography)">cryptographic salt</a>, to permute the encryption key so that the same string may be encrypted in different ways. When configuring the crypt remote it is optional to enter a salt, or to let rclone generate a unique salt. If omitted, rclone uses a built-in unique string. Normally in cryptography, the salt is stored together with the encrypted content, and do not have to be memorized by the user. This is not the case in rclone, because rclone does not store any additional information on the remotes. Use of custom salt is effectively a second password that must be memorized.</p>
<p><a href="#file-encryption">File content</a> encryption is performed using <a href="https://godoc.org/golang.org/x/crypto/nacl/secretbox">NaCl SecretBox</a>, based on XSalsa20 cipher and Poly1305 for integrity. <a href="#name-encryption">Names</a> (file- and directory names) are also encrypted by default, but this has some implications and is therefore possible to turned off.</p>
-<h3 id="configuration">Configuration</h3>
+<h2 id="configuration-9">Configuration</h2>
<p>Here is an example of how to make a remote called <code>secret</code>.</p>
<p>To use <code>crypt</code>, first set up the underlying remote. Follow the <code>rclone config</code> instructions for the specific backend.</p>
<p>Before configuring the crypt remote, check the underlying remote is working. In this example the underlying remote is called <code>remote</code>. We will configure a path <code>path</code> within this remote to contain the encrypted content. Anything inside <code>remote:path</code> will be encrypted and anything outside will not.</p>
@@ -12595,12 +13039,14 @@ Enter a string value. Press Enter for the default (&quot;&quot;).
remote&gt; remote:path
How to encrypt the filenames.
Enter a string value. Press Enter for the default (&quot;standard&quot;).
-Choose a number from below, or type in your own value
- 1 / Encrypt the filenames see the docs for the details.
+Choose a number from below, or type in your own value.
+ / Encrypt the filenames.
+ 1 | See the docs for the details.
\ &quot;standard&quot;
2 / Very simple filename obfuscation.
\ &quot;obfuscate&quot;
- 3 / Don&#39;t encrypt the file names. Adds a &quot;.bin&quot; extension only.
+ / Don&#39;t encrypt the file names.
+ 3 | Adds a &quot;.bin&quot; extension only.
\ &quot;off&quot;
filename_encryption&gt;
Option to either encrypt directory names or leave them intact.
@@ -12753,10 +13199,11 @@ $ rclone -q ls secret:
<p>Crypt stores modification times using the underlying remote so support depends on that.</p>
<p>Hashes are not stored for crypt. However the data integrity is protected by an extremely strong crypto authenticator.</p>
<p>Use the <code>rclone cryptcheck</code> command to check the integrity of a crypted remote instead of <code>rclone check</code> which can't check the checksums properly.</p>
-<h3 id="standard-options-9">Standard Options</h3>
+<h3 id="standard-options-9">Standard options</h3>
<p>Here are the standard options specific to crypt (Encrypt/Decrypt a remote).</p>
<h4 id="crypt-remote">--crypt-remote</h4>
-<p>Remote to encrypt/decrypt. Normally should contain a ':' and a path, e.g. "myremote:path/to/dir", "myremote:bucket" or maybe "myremote:" (not recommended).</p>
+<p>Remote to encrypt/decrypt.</p>
+<p>Normally should contain a ':' and a path, e.g. "myremote:path/to/dir", "myremote:bucket" or maybe "myremote:" (not recommended).</p>
<ul>
<li>Config: remote</li>
<li>Env Var: RCLONE_CRYPT_REMOTE</li>
@@ -12774,7 +13221,8 @@ $ rclone -q ls secret:
<ul>
<li>"standard"
<ul>
-<li>Encrypt the filenames see the docs for the details.</li>
+<li>Encrypt the filenames.</li>
+<li>See the docs for the details.</li>
</ul></li>
<li>"obfuscate"
<ul>
@@ -12782,7 +13230,8 @@ $ rclone -q ls secret:
</ul></li>
<li>"off"
<ul>
-<li>Don't encrypt the file names. Adds a ".bin" extension only.</li>
+<li>Don't encrypt the file names.</li>
+<li>Adds a ".bin" extension only.</li>
</ul></li>
</ul></li>
</ul>
@@ -12816,7 +13265,8 @@ $ rclone -q ls secret:
<li>Default: ""</li>
</ul>
<h4 id="crypt-password2">--crypt-password2</h4>
-<p>Password or pass phrase for salt. Optional but recommended. Should be different to the previous password.</p>
+<p>Password or pass phrase for salt.</p>
+<p>Optional but recommended. Should be different to the previous password.</p>
<p><strong>NB</strong> Input to this must be obscured - see <a href="https://rclone.org/commands/rclone_obscure/">rclone obscure</a>.</p>
<ul>
<li>Config: password2</li>
@@ -12824,7 +13274,7 @@ $ rclone -q ls secret:
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-8">Advanced Options</h3>
+<h3 id="advanced-options-8">Advanced options</h3>
<p>Here are the advanced options specific to crypt (Encrypt/Decrypt a remote).</p>
<h4 id="crypt-server-side-across-configs">--crypt-server-side-across-configs</h4>
<p>Allow server-side operations (e.g. copy) to work across different crypt configs.</p>
@@ -12865,21 +13315,21 @@ $ rclone -q ls secret:
</ul></li>
</ul></li>
</ul>
-<h3 id="backend-commands-2">Backend commands</h3>
+<h2 id="backend-commands-2">Backend commands</h2>
<p>Here are the commands specific to the crypt backend.</p>
<p>Run them with</p>
<pre><code>rclone backend COMMAND remote:</code></pre>
<p>The help below will explain what arguments each command takes.</p>
<p>See <a href="https://rclone.org/commands/rclone_backend/">the "rclone backend" command</a> for more info on how to pass options and arguments.</p>
<p>These can be run on a running backend using the rc command <a href="https://rclone.org/rc/#backend/command">backend/command</a>.</p>
-<h4 id="encode">encode</h4>
+<h3 id="encode">encode</h3>
<p>Encode the given filename(s)</p>
<pre><code>rclone backend encode remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This encodes the filenames given as arguments returning a list of strings of the encoded results.</p>
<p>Usage Example:</p>
<pre><code>rclone backend encode crypt: file1 [file2...]
rclone rc backend/command command=encode fs=crypt: file1 [file2...]</code></pre>
-<h4 id="decode">decode</h4>
+<h3 id="decode">decode</h3>
<p>Decode the given filename(s)</p>
<pre><code>rclone backend decode remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This decodes the filenames given as arguments returning a list of strings of the decoded results. It will return an error if any of the inputs are invalid.</p>
@@ -12950,14 +13400,15 @@ rclone rc backend/command command=decode fs=crypt: encryptedfile1 [encryptedfile
<h3 id="key-derivation">Key derivation</h3>
<p>Rclone uses <code>scrypt</code> with parameters <code>N=16384, r=8, p=1</code> with an optional user supplied salt (password2) to derive the 32+32+16 = 80 bytes of key material required. If the user doesn't supply a salt then rclone uses an internal one.</p>
<p><code>scrypt</code> makes it impractical to mount a dictionary attack on rclone encrypted data. For full protection against this you should always use a salt.</p>
-<h2 id="see-also-77">SEE ALSO</h2>
+<h2 id="see-also-83">SEE ALSO</h2>
<ul>
<li><a href="https://rclone.org/commands/rclone_cryptdecode/">rclone cryptdecode</a> - Show forward/reverse mapping of encrypted filenames</li>
</ul>
<h1 id="compress-experimental">Compress (Experimental)</h1>
-<h3 id="warning">Warning</h3>
+<h2 id="warning">Warning</h2>
<p>This remote is currently <strong>experimental</strong>. Things may break and data may be lost. Anything you do with this remote is at your own risk. Please understand the risks associated with using experimental code and don't use this remote in critical applications.</p>
<p>The <code>Compress</code> remote adds compression to another remote. It is best used with remotes containing many large compressible files.</p>
+<h2 id="configuration-10">Configuration</h2>
<p>To use this remote, all you need to do is specify another remote and a compression mode to use:</p>
<pre><code>Current remotes:
@@ -13007,12 +13458,12 @@ e) Edit this remote
d) Delete this remote
y/e/d&gt; y</code></pre>
<h3 id="compression-modes">Compression Modes</h3>
-<p>Currently only gzip compression is supported, it provides a decent balance between speed and strength and is well supported by other application. Compression strength can further be configured via an advanced setting where 0 is no compression and 9 is strongest compression.</p>
-<h4 id="filetype">Filetype</h4>
-<p>If you open a remote wrapped by press, you will see that there are many files with an extension corresponding to the compression algorithm you chose. These files are standard files that can be opened by various archive programs, but they have some hidden metadata that allows them to be used by rclone. While you may download and decompress these files at will, do <strong>not</strong> manually delete or rename files. Files without correct metadata files will not be recognized by rclone.</p>
+<p>Currently only gzip compression is supported. It provides a decent balance between speed and size and is well supported by other applications. Compression strength can further be configured via an advanced setting where 0 is no compression and 9 is strongest compression.</p>
+<h3 id="file-types">File types</h3>
+<p>If you open a remote wrapped by compress, you will see that there are many files with an extension corresponding to the compression algorithm you chose. These files are standard files that can be opened by various archive programs, but they have some hidden metadata that allows them to be used by rclone. While you may download and decompress these files at will, do <strong>not</strong> manually delete or rename files. Files without correct metadata files will not be recognized by rclone.</p>
<h3 id="file-names">File names</h3>
<p>The compressed files will be named <code>*.###########.gz</code> where <code>*</code> is the base file and the <code>#</code> part is base64 encoded size of the uncompressed file. The file names should not be changed by anything other than the rclone compression backend.</p>
-<h3 id="standard-options-10">Standard Options</h3>
+<h3 id="standard-options-10">Standard options</h3>
<p>Here are the standard options specific to compress (Compress a remote).</p>
<h4 id="compress-remote">--compress-remote</h4>
<p>Remote to compress.</p>
@@ -13037,17 +13488,12 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-9">Advanced Options</h3>
+<h3 id="advanced-options-9">Advanced options</h3>
<p>Here are the advanced options specific to compress (Compress a remote).</p>
<h4 id="compress-level">--compress-level</h4>
<p>GZIP compression level (-2 to 9).</p>
-<pre><code> Generally -1 (default, equivalent to 5) is recommended.
- Levels 1 to 9 increase compressiong at the cost of speed.. Going past 6
- generally offers very little return.
-
- Level -2 uses Huffmann encoding only. Only use if you now what you
- are doing
- Level 0 turns off compression.</code></pre>
+<p>Generally -1 (default, equivalent to 5) is recommended. Levels 1 to 9 increase compression at the cost of speed. Going past 6 generally offers very little return.</p>
+<p>Level -2 uses Huffmann encoding only. Only use if you know what you are doing. Level 0 turns off compression.</p>
<ul>
<li>Config: level</li>
<li>Env Var: RCLONE_COMPRESS_LEVEL</li>
@@ -13056,8 +13502,7 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="compress-ram-cache-limit">--compress-ram-cache-limit</h4>
<p>Some remotes don't allow the upload of files with unknown size. In this case the compressed file will need to be cached to determine it's size.</p>
-<pre><code> Files smaller than this limit will be cached in RAM, file larger than
- this limit will be cached on disk</code></pre>
+<p>Files smaller than this limit will be cached in RAM, files larger than this limit will be cached on disk.</p>
<ul>
<li>Config: ram_cache_limit</li>
<li>Env Var: RCLONE_COMPRESS_RAM_CACHE_LIMIT</li>
@@ -13067,6 +13512,7 @@ y/e/d&gt; y</code></pre>
<h1 id="dropbox">Dropbox</h1>
<p>Paths are specified as <code>remote:path</code></p>
<p>Dropbox paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
+<h2 id="configuration-11">Configuration</h2>
<p>The initial setup for dropbox involves getting a token from Dropbox which you need to do in your browser. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -13187,10 +13633,11 @@ y/e/d&gt; y</code></pre>
<p>This provides the maximum possible upload speed especially with lots of small files, however rclone can't check the file got uploaded properly using this mode.</p>
<p>If you are using this mode then using "rclone check" after the transfer completes is recommended. Or you could do an initial transfer with <code>--dropbox-batch-mode async</code> then do a final transfer with <code>--dropbox-batch-mode sync</code> (the default).</p>
<p>Note that there may be a pause when quitting rclone while rclone finishes up the last batch using this mode.</p>
-<h3 id="standard-options-11">Standard Options</h3>
+<h3 id="standard-options-11">Standard options</h3>
<p>Here are the standard options specific to dropbox (Dropbox).</p>
<h4 id="dropbox-client-id">--dropbox-client-id</h4>
-<p>OAuth Client Id Leave blank normally.</p>
+<p>OAuth Client Id.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_id</li>
<li>Env Var: RCLONE_DROPBOX_CLIENT_ID</li>
@@ -13198,14 +13645,15 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="dropbox-client-secret">--dropbox-client-secret</h4>
-<p>OAuth Client Secret Leave blank normally.</p>
+<p>OAuth Client Secret.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_secret</li>
<li>Env Var: RCLONE_DROPBOX_CLIENT_SECRET</li>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-10">Advanced Options</h3>
+<h3 id="advanced-options-10">Advanced options</h3>
<p>Here are the advanced options specific to dropbox (Dropbox).</p>
<h4 id="dropbox-token">--dropbox-token</h4>
<p>OAuth Access Token as a JSON blob.</p>
@@ -13216,7 +13664,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="dropbox-auth-url">--dropbox-auth-url</h4>
-<p>Auth server URL. Leave blank to use the provider defaults.</p>
+<p>Auth server URL.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: auth_url</li>
<li>Env Var: RCLONE_DROPBOX_AUTH_URL</li>
@@ -13224,7 +13673,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="dropbox-token-url">--dropbox-token-url</h4>
-<p>Token server url. Leave blank to use the provider defaults.</p>
+<p>Token server url.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: token_url</li>
<li>Env Var: RCLONE_DROPBOX_TOKEN_URL</li>
@@ -13232,7 +13682,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="dropbox-chunk-size">--dropbox-chunk-size</h4>
-<p>Upload chunk size. (&lt; 150Mi).</p>
+<p>Upload chunk size (&lt; 150Mi).</p>
<p>Any files larger than this will be uploaded in chunks of this size.</p>
<p>Note that chunks are buffered in memory (one at a time) so rclone can deal with retries. Setting this larger will increase the speed slightly (at most 10% for 128 MiB in tests) at the cost of using more memory. It can be set smaller if you are tight on memory.</p>
<ul>
@@ -13306,7 +13756,7 @@ y/e/d&gt; y</code></pre>
<li>Default: 0</li>
</ul>
<h4 id="dropbox-batch-timeout">--dropbox-batch-timeout</h4>
-<p>Max time to allow an idle upload batch before uploading</p>
+<p>Max time to allow an idle upload batch before uploading.</p>
<p>If an upload batch is idle for more than this long then it will be uploaded.</p>
<p>The default for this is 0 which means rclone will choose a sensible default based on the batch_mode in use.</p>
<ul>
@@ -13318,22 +13768,30 @@ y/e/d&gt; y</code></pre>
<li>Type: Duration</li>
<li><p>Default: 0s</p></li>
</ul>
+<h4 id="dropbox-batch-commit-timeout">--dropbox-batch-commit-timeout</h4>
+<p>Max time to wait for a batch to finish comitting</p>
+<ul>
+<li>Config: batch_commit_timeout</li>
+<li>Env Var: RCLONE_DROPBOX_BATCH_COMMIT_TIMEOUT</li>
+<li>Type: Duration</li>
+<li>Default: 10m0s</li>
+</ul>
<h4 id="dropbox-encoding">--dropbox-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_DROPBOX_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-9">Limitations</h3>
+<h2 id="limitations-8">Limitations</h2>
<p>Note that Dropbox is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
<p>There are some file names such as <code>thumbs.db</code> which Dropbox can't store. There is a full list of them in the <a href="https://www.dropbox.com/en/help/145">"Ignored Files" section of this document</a>. Rclone will issue an error message <code>File name disallowed - not uploading</code> if it attempts to upload one of those file names, but the sync won't fail.</p>
<p>Some errors may occur if you try to sync copyright-protected files because Dropbox has its own <a href="https://techcrunch.com/2014/03/30/how-dropbox-knows-when-youre-sharing-copyrighted-stuff-without-actually-looking-at-your-stuff/">copyright detector</a> that prevents this sort of file being downloaded. This will return the error <code>ERROR : /path/to/your/file: Failed to copy: failed to open source object: path/restricted_content/.</code></p>
<p>If you have more than 10,000 files in a directory then <code>rclone purge dropbox:dir</code> will return the error <code>Failed to purge: There are too many files involved in this operation</code>. As a work-around do an <code>rclone delete dropbox:dir</code> followed by an <code>rclone rmdir dropbox:dir</code>.</p>
<p>When using <code>rclone link</code> you'll need to set <code>--expire</code> if using a non-personal account otherwise the visibility may not be correct. (Note that <code>--expire</code> isn't supported on personal accounts). See the <a href="https://forum.rclone.org/t/rclone-link-dropbox-permissions/23211">forum discussion</a> and the <a href="https://github.com/dropbox/dropbox-sdk-go-unofficial/issues/75">dropbox SDK issue</a>.</p>
-<h3 id="get-your-own-dropbox-app-id">Get your own Dropbox App ID</h3>
+<h2 id="get-your-own-dropbox-app-id">Get your own Dropbox App ID</h2>
<p>When you use rclone with Dropbox in its default configuration you are using rclone's App ID. This is shared between all the rclone users.</p>
<p>Here is how to create your own Dropbox App ID for rclone:</p>
<ol type="1">
@@ -13348,6 +13806,7 @@ y/e/d&gt; y</code></pre>
</ol>
<h1 id="enterprise-file-fabric">Enterprise File Fabric</h1>
<p>This backend supports <a href="https://storagemadeeasy.com/about/">Storage Made Easy's Enterprise File Fabric™</a> which provides a software solution to integrate and unify File and Object Storage accessible through a global file system.</p>
+<h2 id="configuration-12">Configuration</h2>
<p>The initial setup for the Enterprise File Fabric backend involves getting a token from the the Enterprise File Fabric which you need to do in your browser. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -13441,10 +13900,10 @@ y/e/d&gt; y</code></pre>
120673757,My contacts/
120673761,S3 Storage/</code></pre>
<p>The ID for "S3 Storage" would be <code>120673761</code>.</p>
-<h3 id="standard-options-12">Standard Options</h3>
+<h3 id="standard-options-12">Standard options</h3>
<p>Here are the standard options specific to filefabric (Enterprise File Fabric).</p>
<h4 id="filefabric-url">--filefabric-url</h4>
-<p>URL of the Enterprise File Fabric to connect to</p>
+<p>URL of the Enterprise File Fabric to connect to.</p>
<ul>
<li>Config: url</li>
<li>Env Var: RCLONE_FILEFABRIC_URL</li>
@@ -13467,7 +13926,8 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul>
<h4 id="filefabric-root-folder-id">--filefabric-root-folder-id</h4>
-<p>ID of the root folder Leave blank normally.</p>
+<p>ID of the root folder.</p>
+<p>Leave blank normally.</p>
<p>Fill in to make rclone start with directory of a given ID.</p>
<ul>
<li>Config: root_folder_id</li>
@@ -13476,7 +13936,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="filefabric-permanent-token">--filefabric-permanent-token</h4>
-<p>Permanent Authentication Token</p>
+<p>Permanent Authentication Token.</p>
<p>A Permanent Authentication Token can be created in the Enterprise File Fabric, on the users Dashboard under Security, there is an entry you'll see called "My Authentication Tokens". Click the Manage button to create one.</p>
<p>These tokens are normally valid for several years.</p>
<p>For more info see: https://docs.storagemadeeasy.com/organisationcloud/api-tokens</p>
@@ -13486,10 +13946,10 @@ y/e/d&gt; y</code></pre>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-11">Advanced Options</h3>
+<h3 id="advanced-options-11">Advanced options</h3>
<p>Here are the advanced options specific to filefabric (Enterprise File Fabric).</p>
<h4 id="filefabric-token">--filefabric-token</h4>
-<p>Session Token</p>
+<p>Session Token.</p>
<p>This is a session token which rclone caches in the config file. It is usually valid for 1 hour.</p>
<p>Don't set this value - rclone will set it automatically.</p>
<ul>
@@ -13499,7 +13959,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="filefabric-token-expiry">--filefabric-token-expiry</h4>
-<p>Token expiry time</p>
+<p>Token expiry time.</p>
<p>Don't set this value - rclone will set it automatically.</p>
<ul>
<li>Config: token_expiry</li>
@@ -13508,7 +13968,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="filefabric-version">--filefabric-version</h4>
-<p>Version read from the file fabric</p>
+<p>Version read from the file fabric.</p>
<p>Don't set this value - rclone will set it automatically.</p>
<ul>
<li>Config: version</li>
@@ -13518,7 +13978,7 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="filefabric-encoding">--filefabric-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_FILEFABRIC_ENCODING</li>
@@ -13527,8 +13987,9 @@ y/e/d&gt; y</code></pre>
</ul>
<h1 id="ftp">FTP</h1>
<p>FTP is the File Transfer Protocol. Rclone FTP support is provided using the <a href="https://godoc.org/github.com/jlaffaye/ftp">github.com/jlaffaye/ftp</a> package.</p>
-<p><a href="#Limitations">Limitations of Rclone's FTP backend</a></p>
+<p><a href="#limitations">Limitations of Rclone's FTP backend</a></p>
<p>Paths are specified as <code>remote:path</code>. If the path does not begin with a <code>/</code> it is relative to the home directory of the user. An empty path <code>remote:</code> refers to the user's home directory.</p>
+<h2 id="configuration-13">Configuration</h2>
<p>To create an FTP configuration named <code>remote</code>, run</p>
<pre><code>rclone config</code></pre>
<p>Rclone config guides you through an interactive setup process. A minimal rclone FTP remote definition only requires host, username and password. For an anonymous FTP server, use <code>anonymous</code> as username and your email address as password.</p>
@@ -13599,25 +14060,58 @@ y/e/d&gt; y</code></pre>
<pre><code>rclone lsf :ftp: --ftp-host=speedtest.tele2.net --ftp-user=anonymous --ftp-pass=`rclone obscure dummy`</code></pre>
<h3 id="implicit-tls">Implicit TLS</h3>
<p>Rlone FTP supports implicit FTP over TLS servers (FTPS). This has to be enabled in the FTP backend config for the remote, or with <a href="#ftp-tls"><code>--ftp-tls</code></a>. The default FTPS port is <code>990</code>, not <code>21</code> and can be set with <a href="#ftp-port"><code>--ftp-port</code></a>.</p>
-<h3 id="standard-options-13">Standard Options</h3>
+<h3 id="restricted-filename-characters-8">Restricted filename characters</h3>
+<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
+<p>File names cannot end with the following characters. Repacement is limited to the last character in a file name:</p>
+<table>
+<thead>
+<tr class="header">
+<th>Character</th>
+<th style="text-align: center;">Value</th>
+<th style="text-align: center;">Replacement</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td>SP</td>
+<td style="text-align: center;">0x20</td>
+<td style="text-align: center;">␠</td>
+</tr>
+</tbody>
+</table>
+<p>Not all FTP servers can have all characters in file names, for example:</p>
+<table>
+<thead>
+<tr class="header">
+<th>FTP Server</th>
+<th style="text-align: center;">Forbidden characters</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td>proftpd</td>
+<td style="text-align: center;"><code>*</code></td>
+</tr>
+<tr class="even">
+<td>pureftpd</td>
+<td style="text-align: center;"><code>\ [ ]</code></td>
+</tr>
+</tbody>
+</table>
+<p>This backend's interactive configuration wizard provides a selection of sensible encoding settings for major FTP servers: ProFTPd, PureFTPd, VsFTPd. Just hit a selection number when prompted.</p>
+<h3 id="standard-options-13">Standard options</h3>
<p>Here are the standard options specific to ftp (FTP Connection).</p>
<h4 id="ftp-host">--ftp-host</h4>
-<p>FTP host to connect to</p>
+<p>FTP host to connect to.</p>
+<p>E.g. "ftp.example.com".</p>
<ul>
<li>Config: host</li>
<li>Env Var: RCLONE_FTP_HOST</li>
<li>Type: string</li>
<li>Default: ""</li>
-<li>Examples:
-<ul>
-<li>"ftp.example.com"
-<ul>
-<li>Connect to ftp.example.com</li>
-</ul></li>
-</ul></li>
</ul>
<h4 id="ftp-user">--ftp-user</h4>
-<p>FTP username, leave blank for current username, $USER</p>
+<p>FTP username, leave blank for current username, $USER.</p>
<ul>
<li>Config: user</li>
<li>Env Var: RCLONE_FTP_USER</li>
@@ -13625,7 +14119,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="ftp-port">--ftp-port</h4>
-<p>FTP port, leave blank to use default (21)</p>
+<p>FTP port, leave blank to use default (21).</p>
<ul>
<li>Config: port</li>
<li>Env Var: RCLONE_FTP_PORT</li>
@@ -13633,7 +14127,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="ftp-pass">--ftp-pass</h4>
-<p>FTP password</p>
+<p>FTP password.</p>
<p><strong>NB</strong> Input to this must be obscured - see <a href="https://rclone.org/commands/rclone_obscure/">rclone obscure</a>.</p>
<ul>
<li>Config: pass</li>
@@ -13642,7 +14136,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="ftp-tls">--ftp-tls</h4>
-<p>Use Implicit FTPS (FTP over TLS) When using implicit FTP over TLS the client connects using TLS right from the start which breaks compatibility with non-TLS-aware servers. This is usually served over port 990 rather than port 21. Cannot be used in combination with explicit FTP.</p>
+<p>Use Implicit FTPS (FTP over TLS).</p>
+<p>When using implicit FTP over TLS the client connects using TLS right from the start which breaks compatibility with non-TLS-aware servers. This is usually served over port 990 rather than port 21. Cannot be used in combination with explicit FTP.</p>
<ul>
<li>Config: tls</li>
<li>Env Var: RCLONE_FTP_TLS</li>
@@ -13650,17 +14145,18 @@ y/e/d&gt; y</code></pre>
<li>Default: false</li>
</ul>
<h4 id="ftp-explicit-tls">--ftp-explicit-tls</h4>
-<p>Use Explicit FTPS (FTP over TLS) When using explicit FTP over TLS the client explicitly requests security from the server in order to upgrade a plain text connection to an encrypted one. Cannot be used in combination with implicit FTP.</p>
+<p>Use Explicit FTPS (FTP over TLS).</p>
+<p>When using explicit FTP over TLS the client explicitly requests security from the server in order to upgrade a plain text connection to an encrypted one. Cannot be used in combination with implicit FTP.</p>
<ul>
<li>Config: explicit_tls</li>
<li>Env Var: RCLONE_FTP_EXPLICIT_TLS</li>
<li>Type: bool</li>
<li>Default: false</li>
</ul>
-<h3 id="advanced-options-12">Advanced Options</h3>
+<h3 id="advanced-options-12">Advanced options</h3>
<p>Here are the advanced options specific to ftp (FTP Connection).</p>
<h4 id="ftp-concurrency">--ftp-concurrency</h4>
-<p>Maximum number of FTP simultaneous connections, 0 for unlimited</p>
+<p>Maximum number of FTP simultaneous connections, 0 for unlimited.</p>
<ul>
<li>Config: concurrency</li>
<li>Env Var: RCLONE_FTP_CONCURRENCY</li>
@@ -13668,7 +14164,7 @@ y/e/d&gt; y</code></pre>
<li>Default: 0</li>
</ul>
<h4 id="ftp-no-check-certificate">--ftp-no-check-certificate</h4>
-<p>Do not verify the TLS certificate of the server</p>
+<p>Do not verify the TLS certificate of the server.</p>
<ul>
<li>Config: no_check_certificate</li>
<li>Env Var: RCLONE_FTP_NO_CHECK_CERTIFICATE</li>
@@ -13676,7 +14172,7 @@ y/e/d&gt; y</code></pre>
<li>Default: false</li>
</ul>
<h4 id="ftp-disable-epsv">--ftp-disable-epsv</h4>
-<p>Disable using EPSV even if server advertises support</p>
+<p>Disable using EPSV even if server advertises support.</p>
<ul>
<li>Config: disable_epsv</li>
<li>Env Var: RCLONE_FTP_DISABLE_EPSV</li>
@@ -13684,15 +14180,23 @@ y/e/d&gt; y</code></pre>
<li>Default: false</li>
</ul>
<h4 id="ftp-disable-mlsd">--ftp-disable-mlsd</h4>
-<p>Disable using MLSD even if server advertises support</p>
+<p>Disable using MLSD even if server advertises support.</p>
<ul>
<li>Config: disable_mlsd</li>
<li>Env Var: RCLONE_FTP_DISABLE_MLSD</li>
<li>Type: bool</li>
<li>Default: false</li>
</ul>
+<h4 id="ftp-writing-mdtm">--ftp-writing-mdtm</h4>
+<p>Use MDTM to set modification time (VsFtpd quirk)</p>
+<ul>
+<li>Config: writing_mdtm</li>
+<li>Env Var: RCLONE_FTP_WRITING_MDTM</li>
+<li>Type: bool</li>
+<li>Default: false</li>
+</ul>
<h4 id="ftp-idle-timeout">--ftp-idle-timeout</h4>
-<p>Max time before closing idle connections</p>
+<p>Max time before closing idle connections.</p>
<p>If no connections have been returned to the connection pool in the time given, rclone will empty the connection pool.</p>
<p>Set to 0 to keep connections indefinitely.</p>
<ul>
@@ -13709,17 +14213,57 @@ y/e/d&gt; y</code></pre>
<li>Type: Duration</li>
<li>Default: 1m0s</li>
</ul>
+<h4 id="ftp-tls-cache-size">--ftp-tls-cache-size</h4>
+<p>Size of TLS session cache for all control and data connections.</p>
+<p>TLS cache allows to resume TLS sessions and reuse PSK between connections. Increase if default size is not enough resulting in TLS resumption errors. Enabled by default. Use 0 to disable.</p>
+<ul>
+<li>Config: tls_cache_size</li>
+<li>Env Var: RCLONE_FTP_TLS_CACHE_SIZE</li>
+<li>Type: int</li>
+<li>Default: 32</li>
+</ul>
+<h4 id="ftp-disable-tls13">--ftp-disable-tls13</h4>
+<p>Disable TLS 1.3 (workaround for FTP servers with buggy TLS)</p>
+<ul>
+<li>Config: disable_tls13</li>
+<li>Env Var: RCLONE_FTP_DISABLE_TLS13</li>
+<li>Type: bool</li>
+<li>Default: false</li>
+</ul>
+<h4 id="ftp-shut-timeout">--ftp-shut-timeout</h4>
+<p>Maximum time to wait for data connection closing status.</p>
+<ul>
+<li>Config: shut_timeout</li>
+<li>Env Var: RCLONE_FTP_SHUT_TIMEOUT</li>
+<li>Type: Duration</li>
+<li>Default: 1m0s</li>
+</ul>
<h4 id="ftp-encoding">--ftp-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_FTP_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,Del,Ctl,RightSpace,Dot</li>
+<li>Examples:
+<ul>
+<li>"Asterisk,Ctl,Dot,Slash"
+<ul>
+<li>ProFTPd can't handle '*' in file names</li>
+</ul></li>
+<li>"BackSlash,Ctl,Del,Dot,RightSpace,Slash,SquareBracket"
+<ul>
+<li>PureFTPd can't handle '[]' or '*' in file names</li>
+</ul></li>
+<li>"Ctl,LeftPeriod,Slash"
+<ul>
+<li>VsFTPd can't handle file names starting with dot</li>
+</ul></li>
+</ul></li>
</ul>
-<h3 id="limitations-10">Limitations</h3>
-<p>Modified times are not supported. Times you see on the FTP server through rclone are those of upload.</p>
+<h2 id="limitations-9">Limitations</h2>
+<p>FTP servers acting as rclone remotes must support <code>passive</code> mode. The mode cannot be configured as <code>passive</code> is the only supported one. Rclone's FTP implementation is not compatible with <code>active</code> mode as <a href="https://github.com/jlaffaye/ftp/issues/29">the library it uses doesn't support it</a>. This will likely never be supported due to security concerns.</p>
<p>Rclone's FTP backend does not support any checksums but can compare file sizes.</p>
<p><code>rclone about</code> is not supported by the FTP backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
@@ -13728,47 +14272,13 @@ y/e/d&gt; y</code></pre>
<p><code>--bind</code> isn't supported.</p>
<p>Rclone's FTP backend could support server-side move but does not at present.</p>
<p>The <code>ftp_proxy</code> environment variable is not currently supported.</p>
-<p>FTP servers acting as rclone remotes must support 'passive' mode. Rclone's FTP implementation is not compatible with 'active' mode.</p>
-<h4 id="restricted-filename-characters-8">Restricted filename characters</h4>
-<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
-<p>File names cannot end with the following characters. Repacement is limited to the last character in a file name:</p>
-<table>
-<thead>
-<tr class="header">
-<th>Character</th>
-<th style="text-align: center;">Value</th>
-<th style="text-align: center;">Replacement</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td>SP</td>
-<td style="text-align: center;">0x20</td>
-<td style="text-align: center;">␠</td>
-</tr>
-</tbody>
-</table>
-<p>Not all FTP servers can have all characters in file names, for example:</p>
-<table>
-<thead>
-<tr class="header">
-<th>FTP Server</th>
-<th style="text-align: center;">Forbidden characters</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td>proftpd</td>
-<td style="text-align: center;"><code>*</code></td>
-</tr>
-<tr class="even">
-<td>pureftpd</td>
-<td style="text-align: center;"><code>\ [ ]</code></td>
-</tr>
-</tbody>
-</table>
+<h4 id="modified-time-3">Modified time</h4>
+<p>File modification time (timestamps) is supported to 1 second resolution for major FTP servers: ProFTPd, PureFTPd, VsFTPd, and FileZilla FTP server. The <code>VsFTPd</code> server has non-standard implementation of time related protocol commands and needs a special configuration setting: <code>writing_mdtm = true</code>.</p>
+<p>Support for precise file time with other FTP servers varies depending on what protocol extensions they advertise. If all the <code>MLSD</code>, <code>MDTM</code> and <code>MFTM</code> extensions are present, rclone will use them together to provide precise time. Otherwise the times you see on the FTP server through rclone are those of the last file upload.</p>
+<p>You can use the following command to check whether rclone can use precise time with your FTP server: <code>rclone backend features your_ftp_remote:</code> (the trailing colon is important). Look for the number in the line tagged by <code>Precision</code> designating the remote time precision expressed as nanoseconds. A value of <code>1000000000</code> means that file time precision of 1 second is available. A value of <code>3153600000000000000</code> (or another large number) means "unsupported".</p>
<h1 id="google-cloud-storage">Google Cloud Storage</h1>
<p>Paths are specified as <code>remote:bucket</code> (or <code>remote:</code> for the <code>lsd</code> command.) You may put subdirectories in too, e.g. <code>remote:bucket/path/to/dir</code>.</p>
+<h2 id="configuration-14">Configuration</h2>
<p>The initial setup for google cloud storage involves getting a token from Google Cloud Storage which you need to do in your browser. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -13963,10 +14473,11 @@ y/e/d&gt; y</code></pre>
</tbody>
</table>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
-<h3 id="standard-options-14">Standard Options</h3>
+<h3 id="standard-options-14">Standard options</h3>
<p>Here are the standard options specific to google cloud storage (Google Cloud Storage (this is not Google Drive)).</p>
<h4 id="gcs-client-id">--gcs-client-id</h4>
-<p>OAuth Client Id Leave blank normally.</p>
+<p>OAuth Client Id.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_id</li>
<li>Env Var: RCLONE_GCS_CLIENT_ID</li>
@@ -13974,7 +14485,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="gcs-client-secret">--gcs-client-secret</h4>
-<p>OAuth Client Secret Leave blank normally.</p>
+<p>OAuth Client Secret.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_secret</li>
<li>Env Var: RCLONE_GCS_CLIENT_SECRET</li>
@@ -13982,7 +14494,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="gcs-project-number">--gcs-project-number</h4>
-<p>Project number. Optional - needed only for list/create/delete buckets - see your developer console.</p>
+<p>Project number.</p>
+<p>Optional - needed only for list/create/delete buckets - see your developer console.</p>
<ul>
<li>Config: project_number</li>
<li>Env Var: RCLONE_GCS_PROJECT_NUMBER</li>
@@ -13990,7 +14503,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="gcs-service-account-file">--gcs-service-account-file</h4>
-<p>Service Account Credentials JSON file path Leave blank normally. Needed only if you want use SA instead of interactive login.</p>
+<p>Service Account Credentials JSON file path.</p>
+<p>Leave blank normally. Needed only if you want use SA instead of interactive login.</p>
<p>Leading <code>~</code> will be expanded in the file name as will environment variables such as <code>${RCLONE_CONFIG_DIR}</code>.</p>
<ul>
<li>Config: service_account_file</li>
@@ -13999,7 +14513,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="gcs-service-account-credentials">--gcs-service-account-credentials</h4>
-<p>Service Account Credentials JSON blob Leave blank normally. Needed only if you want use SA instead of interactive login.</p>
+<p>Service Account Credentials JSON blob.</p>
+<p>Leave blank normally. Needed only if you want use SA instead of interactive login.</p>
<ul>
<li>Config: service_account_credentials</li>
<li>Env Var: RCLONE_GCS_SERVICE_ACCOUNT_CREDENTIALS</li>
@@ -14007,7 +14522,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="gcs-anonymous">--gcs-anonymous</h4>
-<p>Access public buckets and objects without credentials Set to 'true' if you just want to download files and don't configure credentials.</p>
+<p>Access public buckets and objects without credentials.</p>
+<p>Set to 'true' if you just want to download files and don't configure credentials.</p>
<ul>
<li>Config: anonymous</li>
<li>Env Var: RCLONE_GCS_ANONYMOUS</li>
@@ -14025,27 +14541,33 @@ y/e/d&gt; y</code></pre>
<ul>
<li>"authenticatedRead"
<ul>
-<li>Object owner gets OWNER access, and all Authenticated Users get READER access.</li>
+<li>Object owner gets OWNER access.</li>
+<li>All Authenticated Users get READER access.</li>
</ul></li>
<li>"bucketOwnerFullControl"
<ul>
-<li>Object owner gets OWNER access, and project team owners get OWNER access.</li>
+<li>Object owner gets OWNER access.</li>
+<li>Project team owners get OWNER access.</li>
</ul></li>
<li>"bucketOwnerRead"
<ul>
-<li>Object owner gets OWNER access, and project team owners get READER access.</li>
+<li>Object owner gets OWNER access.</li>
+<li>Project team owners get READER access.</li>
</ul></li>
<li>"private"
<ul>
-<li>Object owner gets OWNER access [default if left blank].</li>
+<li>Object owner gets OWNER access.</li>
+<li>Default if left blank.</li>
</ul></li>
<li>"projectPrivate"
<ul>
-<li>Object owner gets OWNER access, and project team members get access according to their roles.</li>
+<li>Object owner gets OWNER access.</li>
+<li>Project team members get access according to their roles.</li>
</ul></li>
<li>"publicRead"
<ul>
-<li>Object owner gets OWNER access, and all Users get READER access.</li>
+<li>Object owner gets OWNER access.</li>
+<li>All Users get READER access.</li>
</ul></li>
</ul></li>
</ul>
@@ -14060,11 +14582,13 @@ y/e/d&gt; y</code></pre>
<ul>
<li>"authenticatedRead"
<ul>
-<li>Project team owners get OWNER access, and all Authenticated Users get READER access.</li>
+<li>Project team owners get OWNER access.</li>
+<li>All Authenticated Users get READER access.</li>
</ul></li>
<li>"private"
<ul>
-<li>Project team owners get OWNER access [default if left blank].</li>
+<li>Project team owners get OWNER access.</li>
+<li>Default if left blank.</li>
</ul></li>
<li>"projectPrivate"
<ul>
@@ -14072,11 +14596,13 @@ y/e/d&gt; y</code></pre>
</ul></li>
<li>"publicRead"
<ul>
-<li>Project team owners get OWNER access, and all Users get READER access.</li>
+<li>Project team owners get OWNER access.</li>
+<li>All Users get READER access.</li>
</ul></li>
<li>"publicReadWrite"
<ul>
-<li>Project team owners get OWNER access, and all Users get WRITER access.</li>
+<li>Project team owners get OWNER access.</li>
+<li>All Users get WRITER access.</li>
</ul></li>
</ul></li>
</ul>
@@ -14107,83 +14633,83 @@ y/e/d&gt; y</code></pre>
<ul>
<li>""
<ul>
-<li>Empty for default location (US).</li>
+<li>Empty for default location (US)</li>
</ul></li>
<li>"asia"
<ul>
-<li>Multi-regional location for Asia.</li>
+<li>Multi-regional location for Asia</li>
</ul></li>
<li>"eu"
<ul>
-<li>Multi-regional location for Europe.</li>
+<li>Multi-regional location for Europe</li>
</ul></li>
<li>"us"
<ul>
-<li>Multi-regional location for United States.</li>
+<li>Multi-regional location for United States</li>
</ul></li>
<li>"asia-east1"
<ul>
-<li>Taiwan.</li>
+<li>Taiwan</li>
</ul></li>
<li>"asia-east2"
<ul>
-<li>Hong Kong.</li>
+<li>Hong Kong</li>
</ul></li>
<li>"asia-northeast1"
<ul>
-<li>Tokyo.</li>
+<li>Tokyo</li>
</ul></li>
<li>"asia-south1"
<ul>
-<li>Mumbai.</li>
+<li>Mumbai</li>
</ul></li>
<li>"asia-southeast1"
<ul>
-<li>Singapore.</li>
+<li>Singapore</li>
</ul></li>
<li>"australia-southeast1"
<ul>
-<li>Sydney.</li>
+<li>Sydney</li>
</ul></li>
<li>"europe-north1"
<ul>
-<li>Finland.</li>
+<li>Finland</li>
</ul></li>
<li>"europe-west1"
<ul>
-<li>Belgium.</li>
+<li>Belgium</li>
</ul></li>
<li>"europe-west2"
<ul>
-<li>London.</li>
+<li>London</li>
</ul></li>
<li>"europe-west3"
<ul>
-<li>Frankfurt.</li>
+<li>Frankfurt</li>
</ul></li>
<li>"europe-west4"
<ul>
-<li>Netherlands.</li>
+<li>Netherlands</li>
</ul></li>
<li>"us-central1"
<ul>
-<li>Iowa.</li>
+<li>Iowa</li>
</ul></li>
<li>"us-east1"
<ul>
-<li>South Carolina.</li>
+<li>South Carolina</li>
</ul></li>
<li>"us-east4"
<ul>
-<li>Northern Virginia.</li>
+<li>Northern Virginia</li>
</ul></li>
<li>"us-west1"
<ul>
-<li>Oregon.</li>
+<li>Oregon</li>
</ul></li>
<li>"us-west2"
<ul>
-<li>California.</li>
+<li>California</li>
</ul></li>
</ul></li>
</ul>
@@ -14226,7 +14752,7 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-13">Advanced Options</h3>
+<h3 id="advanced-options-13">Advanced options</h3>
<p>Here are the advanced options specific to google cloud storage (Google Cloud Storage (this is not Google Drive)).</p>
<h4 id="gcs-token">--gcs-token</h4>
<p>OAuth Access Token as a JSON blob.</p>
@@ -14237,7 +14763,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="gcs-auth-url">--gcs-auth-url</h4>
-<p>Auth server URL. Leave blank to use the provider defaults.</p>
+<p>Auth server URL.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: auth_url</li>
<li>Env Var: RCLONE_GCS_AUTH_URL</li>
@@ -14245,7 +14772,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="gcs-token-url">--gcs-token-url</h4>
-<p>Token server url. Leave blank to use the provider defaults.</p>
+<p>Token server url.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: token_url</li>
<li>Env Var: RCLONE_GCS_TOKEN_URL</li>
@@ -14254,19 +14782,20 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="gcs-encoding">--gcs-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_GCS_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,CrLf,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-11">Limitations</h3>
+<h2 id="limitations-10">Limitations</h2>
<p><code>rclone about</code> is not supported by the Google Cloud Storage backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
<h1 id="google-drive">Google Drive</h1>
<p>Paths are specified as <code>drive:path</code></p>
<p>Drive paths may be as deep as required, e.g. <code>drive:directory/subdirectory</code>.</p>
+<h2 id="configuration-15">Configuration</h2>
<p>The initial setup for drive involves getting a token from Google drive which you need to do in your browser. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -14409,7 +14938,7 @@ client_secret&gt; # Can be left blank
scope&gt; # Select your scope, 1 for example
root_folder_id&gt; # Can be left blank
service_account_file&gt; /home/foo/myJSONfile.json # This is where the JSON file goes!
-y/n&gt; # Auto config, y
+y/n&gt; # Auto config, n
</code></pre>
<h5 id="verify-that-its-working">4. Verify that it's working</h5>
<ul>
@@ -14422,7 +14951,7 @@ y/n&gt; # Auto config, y
<li><code>gdrive:backup</code> - use the remote called gdrive, work in the folder named backup.</li>
</ul></li>
</ul>
-<p>Note: in case you configured a specific root folder on gdrive and rclone is unable to access the contents of that folder when using <code>--drive-impersonate</code>, do this instead: - in the gdrive web interface, share your root folder with the user/email of the new Service Account you created/selected at step #1 - use rclone without specifying the <code>--drive-impersonate</code> option, like this: <code>rclone -v [email protected] lsf gdrive:backup</code></p>
+<p>Note: in case you configured a specific root folder on gdrive and rclone is unable to access the contents of that folder when using <code>--drive-impersonate</code>, do this instead: - in the gdrive web interface, share your root folder with the user/email of the new Service Account you created/selected at step #1 - use rclone without specifying the <code>--drive-impersonate</code> option, like this: <code>rclone -v lsf gdrive:backup</code></p>
<h3 id="shared-drives-team-drives">Shared drives (team drives)</h3>
<p>If you want to configure the remote to point to a Google Shared Drive (previously known as Team Drives) then answer <code>y</code> to the question <code>Configure this as a Shared Drive (Team Drive)?</code>.</p>
<p>This will fetch the list of Shared Drives from google and allow you to configure which one you want to use. You can also type in a Shared Drive ID if you prefer.</p>
@@ -14473,9 +15002,9 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>without <code>--fast-list</code>: 22:05 min</li>
<li>with <code>--fast-list</code>: 58s</li>
</ul>
-<h3 id="modified-time-3">Modified time</h3>
+<h3 id="modified-time-4">Modified time</h3>
<p>Google drive stores modification times accurate to 1 ms.</p>
-<h4 id="restricted-filename-characters-10">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-10">Restricted filename characters</h3>
<p>Only Invalid UTF-8 bytes will be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
<p>In contrast to other backends, <code>/</code> can also be used in names and <code>.</code> or <code>..</code> are valid names.</p>
<h3 id="revisions">Revisions</h3>
@@ -14735,7 +15264,7 @@ trashed=false and &#39;c&#39; in parents</code></pre>
</tr>
</tbody>
</table>
-<h3 id="standard-options-15">Standard Options</h3>
+<h3 id="standard-options-15">Standard options</h3>
<p>Here are the standard options specific to drive (Google Drive).</p>
<h4 id="drive-client-id">--drive-client-id</h4>
<p>Google Application Client Id Setting your own is recommended. See https://rclone.org/drive/#making-your-own-client-id for how to create your own. If you leave this blank, it will use an internal key which is low performance.</p>
@@ -14746,7 +15275,8 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="drive-client-secret">--drive-client-secret</h4>
-<p>OAuth Client Secret Leave blank normally.</p>
+<p>OAuth Client Secret.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_secret</li>
<li>Env Var: RCLONE_DRIVE_CLIENT_SECRET</li>
@@ -14789,7 +15319,7 @@ trashed=false and &#39;c&#39; in parents</code></pre>
</ul></li>
</ul>
<h4 id="drive-root-folder-id">--drive-root-folder-id</h4>
-<p>ID of the root folder Leave blank normally.</p>
+<p>ID of the root folder. Leave blank normally.</p>
<p>Fill in to access "Computers" folders (see docs), or for rclone to use a non root folder as its starting point.</p>
<ul>
<li>Config: root_folder_id</li>
@@ -14798,7 +15328,8 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="drive-service-account-file">--drive-service-account-file</h4>
-<p>Service Account Credentials JSON file path Leave blank normally. Needed only if you want use SA instead of interactive login.</p>
+<p>Service Account Credentials JSON file path.</p>
+<p>Leave blank normally. Needed only if you want use SA instead of interactive login.</p>
<p>Leading <code>~</code> will be expanded in the file name as will environment variables such as <code>${RCLONE_CONFIG_DIR}</code>.</p>
<ul>
<li>Config: service_account_file</li>
@@ -14807,14 +15338,14 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="drive-alternate-export">--drive-alternate-export</h4>
-<p>Deprecated: no longer needed</p>
+<p>Deprecated: No longer needed.</p>
<ul>
<li>Config: alternate_export</li>
<li>Env Var: RCLONE_DRIVE_ALTERNATE_EXPORT</li>
<li>Type: bool</li>
<li>Default: false</li>
</ul>
-<h3 id="advanced-options-14">Advanced Options</h3>
+<h3 id="advanced-options-14">Advanced options</h3>
<p>Here are the advanced options specific to drive (Google Drive).</p>
<h4 id="drive-token">--drive-token</h4>
<p>OAuth Access Token as a JSON blob.</p>
@@ -14825,7 +15356,8 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="drive-auth-url">--drive-auth-url</h4>
-<p>Auth server URL. Leave blank to use the provider defaults.</p>
+<p>Auth server URL.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: auth_url</li>
<li>Env Var: RCLONE_DRIVE_AUTH_URL</li>
@@ -14833,7 +15365,8 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="drive-token-url">--drive-token-url</h4>
-<p>Token server url. Leave blank to use the provider defaults.</p>
+<p>Token server url.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: token_url</li>
<li>Env Var: RCLONE_DRIVE_TOKEN_URL</li>
@@ -14841,7 +15374,8 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="drive-service-account-credentials">--drive-service-account-credentials</h4>
-<p>Service Account Credentials JSON blob Leave blank normally. Needed only if you want use SA instead of interactive login.</p>
+<p>Service Account Credentials JSON blob.</p>
+<p>Leave blank normally. Needed only if you want use SA instead of interactive login.</p>
<ul>
<li>Config: service_account_credentials</li>
<li>Env Var: RCLONE_DRIVE_SERVICE_ACCOUNT_CREDENTIALS</li>
@@ -14849,7 +15383,7 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="drive-team-drive">--drive-team-drive</h4>
-<p>ID of the Shared Drive (Team Drive)</p>
+<p>ID of the Shared Drive (Team Drive).</p>
<ul>
<li>Config: team_drive</li>
<li>Env Var: RCLONE_DRIVE_TEAM_DRIVE</li>
@@ -14865,7 +15399,8 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: false</li>
</ul>
<h4 id="drive-use-trash">--drive-use-trash</h4>
-<p>Send files to the trash instead of deleting permanently. Defaults to true, namely sending files to the trash. Use <code>--drive-use-trash=false</code> to delete files permanently instead.</p>
+<p>Send files to the trash instead of deleting permanently.</p>
+<p>Defaults to true, namely sending files to the trash. Use <code>--drive-use-trash=false</code> to delete files permanently instead.</p>
<ul>
<li>Config: use_trash</li>
<li>Env Var: RCLONE_DRIVE_USE_TRASH</li>
@@ -14873,7 +15408,8 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: true</li>
</ul>
<h4 id="drive-skip-gdocs">--drive-skip-gdocs</h4>
-<p>Skip google documents in all listings. If given, gdocs practically become invisible to rclone.</p>
+<p>Skip google documents in all listings.</p>
+<p>If given, gdocs practically become invisible to rclone.</p>
<ul>
<li>Config: skip_gdocs</li>
<li>Env Var: RCLONE_DRIVE_SKIP_GDOCS</li>
@@ -14903,7 +15439,8 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: false</li>
</ul>
<h4 id="drive-trashed-only">--drive-trashed-only</h4>
-<p>Only show files that are in the trash. This will show trashed files in their original directory structure.</p>
+<p>Only show files that are in the trash.</p>
+<p>This will show trashed files in their original directory structure.</p>
<ul>
<li>Config: trashed_only</li>
<li>Env Var: RCLONE_DRIVE_TRASHED_ONLY</li>
@@ -14919,7 +15456,7 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: false</li>
</ul>
<h4 id="drive-formats">--drive-formats</h4>
-<p>Deprecated: see export_formats</p>
+<p>Deprecated: See export_formats.</p>
<ul>
<li>Config: formats</li>
<li>Env Var: RCLONE_DRIVE_FORMATS</li>
@@ -14943,7 +15480,8 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="drive-allow-import-name-change">--drive-allow-import-name-change</h4>
-<p>Allow the filetype to change when uploading Google docs (e.g. file.doc to file.docx). This will confuse sync and reupload every time.</p>
+<p>Allow the filetype to change when uploading Google docs.</p>
+<p>E.g. file.doc to file.docx. This will confuse sync and reupload every time.</p>
<ul>
<li>Config: allow_import_name_change</li>
<li>Env Var: RCLONE_DRIVE_ALLOW_IMPORT_NAME_CHANGE</li>
@@ -14951,7 +15489,7 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: false</li>
</ul>
<h4 id="drive-use-created-date">--drive-use-created-date</h4>
-<p>Use file created date instead of modified date.,</p>
+<p>Use file created date instead of modified date.</p>
<p>Useful when downloading data and you want the creation date used in place of the last modified date.</p>
<p><strong>WARNING</strong>: This flag may have some unexpected consequences.</p>
<p>When uploading to your drive all files will be overwritten unless they haven't been modified since their creation. And the inverse will occur while downloading. This side effect can be avoided by using the "--checksum" flag.</p>
@@ -14973,7 +15511,7 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: false</li>
</ul>
<h4 id="drive-list-chunk">--drive-list-chunk</h4>
-<p>Size of listing chunk 100-1000. 0 to disable.</p>
+<p>Size of listing chunk 100-1000, 0 to disable.</p>
<ul>
<li>Config: list_chunk</li>
<li>Env Var: RCLONE_DRIVE_LIST_CHUNK</li>
@@ -14989,7 +15527,7 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="drive-upload-cutoff">--drive-upload-cutoff</h4>
-<p>Cutoff for switching to chunked upload</p>
+<p>Cutoff for switching to chunked upload.</p>
<ul>
<li>Config: upload_cutoff</li>
<li>Env Var: RCLONE_DRIVE_UPLOAD_CUTOFF</li>
@@ -14997,7 +15535,8 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: 8Mi</li>
</ul>
<h4 id="drive-chunk-size">--drive-chunk-size</h4>
-<p>Upload chunk size. Must a power of 2 &gt;= 256k.</p>
+<p>Upload chunk size.</p>
+<p>Must a power of 2 &gt;= 256k.</p>
<p>Making this larger will improve performance, but note that each chunk is buffered in memory one per transfer.</p>
<p>Reducing this will reduce memory usage but decrease performance.</p>
<ul>
@@ -15069,7 +15608,7 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: false</li>
</ul>
<h4 id="drive-disable-http2">--drive-disable-http2</h4>
-<p>Disable drive using http2</p>
+<p>Disable drive using http2.</p>
<p>There is currently an unsolved issue with the google drive backend and HTTP/2. HTTP/2 is therefore disabled by default for the drive backend but can be re-enabled here. When the issue is solved this flag will be removed.</p>
<p>See: https://github.com/rclone/rclone/issues/3631</p>
<ul>
@@ -15079,7 +15618,7 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: true</li>
</ul>
<h4 id="drive-stop-on-upload-limit">--drive-stop-on-upload-limit</h4>
-<p>Make upload limit errors be fatal</p>
+<p>Make upload limit errors be fatal.</p>
<p>At the time of writing it is only possible to upload 750 GiB of data to Google Drive a day (this is an undocumented limit). When this limit is reached Google Drive produces a slightly different error message. When this flag is set it causes these errors to be fatal. These will stop the in-progress sync.</p>
<p>Note that this detection is relying on error message strings which Google don't document so it may break in the future.</p>
<p>See: https://github.com/rclone/rclone/issues/3857</p>
@@ -15090,7 +15629,7 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: false</li>
</ul>
<h4 id="drive-stop-on-download-limit">--drive-stop-on-download-limit</h4>
-<p>Make download limit errors be fatal</p>
+<p>Make download limit errors be fatal.</p>
<p>At the time of writing it is only possible to download 10 TiB of data from Google Drive a day (this is an undocumented limit). When this limit is reached Google Drive produces a slightly different error message. When this flag is set it causes these errors to be fatal. These will stop the in-progress sync.</p>
<p>Note that this detection is relying on error message strings which Google don't document so it may break in the future.</p>
<ul>
@@ -15100,7 +15639,7 @@ trashed=false and &#39;c&#39; in parents</code></pre>
<li>Default: false</li>
</ul>
<h4 id="drive-skip-shortcuts">--drive-skip-shortcuts</h4>
-<p>If set skip shortcut files</p>
+<p>If set skip shortcut files.</p>
<p>Normally rclone dereferences shortcut files making them appear as if they are the original file (see <a href="#shortcuts">the shortcuts section</a>). If this flag is set then rclone will ignore shortcut files completely.</p>
<ul>
<li>Config: skip_shortcuts</li>
@@ -15110,21 +15649,21 @@ trashed=false and &#39;c&#39; in parents</code></pre>
</ul>
<h4 id="drive-encoding">--drive-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_DRIVE_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: InvalidUtf8</li>
</ul>
-<h3 id="backend-commands-3">Backend commands</h3>
+<h2 id="backend-commands-3">Backend commands</h2>
<p>Here are the commands specific to the drive backend.</p>
<p>Run them with</p>
<pre><code>rclone backend COMMAND remote:</code></pre>
<p>The help below will explain what arguments each command takes.</p>
<p>See <a href="https://rclone.org/commands/rclone_backend/">the "rclone backend" command</a> for more info on how to pass options and arguments.</p>
<p>These can be run on a running backend using the rc command <a href="https://rclone.org/rc/#backend/command">backend/command</a>.</p>
-<h4 id="get">get</h4>
+<h3 id="get">get</h3>
<p>Get command for fetching the drive config parameters</p>
<pre><code>rclone backend get remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This is a get command which will be used to fetch the various drive config parameters</p>
@@ -15136,7 +15675,7 @@ rclone rc backend/command command=get fs=drive: [-o service_account_file] [-o ch
<li>"chunk_size": show the current upload chunk size</li>
<li>"service_account_file": show the current service account file</li>
</ul>
-<h4 id="set">set</h4>
+<h3 id="set">set</h3>
<p>Set command for updating the drive config parameters</p>
<pre><code>rclone backend set remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This is a set command which will be used to update the various drive config parameters</p>
@@ -15148,7 +15687,7 @@ rclone rc backend/command command=set fs=drive: [-o service_account_file=sa.json
<li>"chunk_size": update the current upload chunk size</li>
<li>"service_account_file": update the current service account file</li>
</ul>
-<h4 id="shortcut">shortcut</h4>
+<h3 id="shortcut">shortcut</h3>
<p>Create shortcuts from files or directories</p>
<pre><code>rclone backend shortcut remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This command creates shortcuts from files or directories.</p>
@@ -15161,12 +15700,12 @@ rclone backend shortcut drive: source_item -o target=drive2: destination_shortcu
<ul>
<li>"target": optional target remote for the shortcut destination</li>
</ul>
-<h4 id="drives">drives</h4>
+<h3 id="drives">drives</h3>
<p>List the Shared Drives available to this account</p>
<pre><code>rclone backend drives remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This command lists the Shared Drives (Team Drives) available to this account.</p>
<p>Usage:</p>
-<pre><code>rclone backend drives drive:</code></pre>
+<pre><code>rclone backend [-o config] drives drive:</code></pre>
<p>This will return a JSON list of objects like this</p>
<pre><code>[
{
@@ -15180,7 +15719,16 @@ rclone backend shortcut drive: source_item -o target=drive2: destination_shortcu
&quot;name&quot;: &quot;Test Drive&quot;
}
]</code></pre>
-<h4 id="untrash">untrash</h4>
+<p>With the -o config parameter it will output the list in a format suitable for adding to a config file to make aliases for all the drives found.</p>
+<pre><code>[My Drive]
+type = alias
+remote = drive,team_drive=0ABCDEF-01234567890,root_folder_id=:
+
+[Test Drive]
+type = alias
+remote = drive,team_drive=0ABCDEFabcdefghijkl,root_folder_id=:</code></pre>
+<p>Adding this to the rclone config file will cause those team drives to be accessible with the aliases shown. This may require manual editing of the names.</p>
+<h3 id="untrash">untrash</h3>
<p>Untrash files and directories</p>
<pre><code>rclone backend untrash remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This command untrashes all the files and directories in the directory passed in recursively.</p>
@@ -15194,7 +15742,7 @@ rclone backend -i untrash drive:directory subdir</code></pre>
&quot;Untrashed&quot;: 17,
&quot;Errors&quot;: 0
}</code></pre>
-<h4 id="copyid">copyid</h4>
+<h3 id="copyid">copyid</h3>
<p>Copy files by ID</p>
<pre><code>rclone backend copyid remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This command copies files by ID</p>
@@ -15205,10 +15753,10 @@ rclone backend copyid drive: ID1 path1 ID2 path2</code></pre>
<p>The path should end with a / to indicate copy the file as named to this directory. If it doesn't end with a / then the last path component will be used as the file name.</p>
<p>If the destination is a drive backend then server-side copying will be attempted if possible.</p>
<p>Use the -i flag to see what would be copied before copying.</p>
-<h3 id="limitations-12">Limitations</h3>
-<p>Drive has quite a lot of rate limiting. This causes rclone to be limited to transferring about 2 files per second only. Individual files may be transferred much faster at 100s of MiByte/s but lots of small files can take a long time.</p>
+<h2 id="limitations-11">Limitations</h2>
+<p>Drive has quite a lot of rate limiting. This causes rclone to be limited to transferring about 2 files per second only. Individual files may be transferred much faster at 100s of MiB/s but lots of small files can take a long time.</p>
<p>Server side copies are also subject to a separate rate limit. If you see User rate limit exceeded errors, wait at least 24 hours and retry. You can disable server-side copies with <code>--disable copy</code> to download and upload the files if you prefer.</p>
-<h4 id="limitations-of-google-docs">Limitations of Google Docs</h4>
+<h3 id="limitations-of-google-docs">Limitations of Google Docs</h3>
<p>Google docs will appear as size -1 in <code>rclone ls</code> and as size 0 in anything which uses the VFS layer, e.g. <code>rclone mount</code>, <code>rclone serve</code>.</p>
<p>This is because rclone can't find out the size of the Google docs without downloading them.</p>
<p>Google docs will transfer correctly with <code>rclone sync</code>, <code>rclone copy</code> etc as rclone knows to ignore the size when doing the transfer.</p>
@@ -15222,7 +15770,7 @@ rclone backend copyid drive: ID1 path1 ID2 path2</code></pre>
<p>The most likely cause of this is the duplicated file issue above - run <code>rclone dedupe</code> and check your logs for duplicate object or directory messages.</p>
<p>This can also be caused by a delay/caching on google drive's end when comparing directory listings. Specifically with team drives used in combination with --fast-list. Files that were uploaded recently may not appear on the directory list sent to rclone when using --fast-list.</p>
<p>Waiting a moderate period of time between attempts (estimated to be approximately 1 hour) and/or not using --fast-list both seem to be effective in preventing the problem.</p>
-<h3 id="making-your-own-client_id">Making your own client_id</h3>
+<h2 id="making-your-own-client_id">Making your own client_id</h2>
<p>When you use rclone with Google drive in its default configuration you are using rclone's client_id. This is shared between all the rclone users. There is a global rate limit on the number of queries per second that each client_id can do set by Google. rclone already has a high quota and I will continue to make sure it is high enough by contacting Google.</p>
<p>It is strongly recommended to use your own client ID as the default rclone ID is heavily used. If you have multiple services running, it is recommended to use an API key for each service. The default Google quota is 10 transactions per second so it is recommended to stay under that number as if you use more than that, it will cause rclone to rate limit and make things slower.</p>
<p>Here is how to create your own Google Drive client ID for rclone:</p>
@@ -15236,10 +15784,11 @@ rclone backend copyid drive: ID1 path1 ID2 path2</code></pre>
<p>(PS: if you are a GSuite user, you could also select "Internal" instead of "External" above, but this has not been tested/documented so far).</p>
<ol start="6" type="1">
<li><p>Click on the "+ CREATE CREDENTIALS" button at the top of the screen, then select "OAuth client ID".</p></li>
-<li><p>Choose an application type of "Desktop app" if you using a Google account or "Other" if you using a GSuite account and click "Create". (the default name is fine)</p></li>
+<li><p>Choose an application type of "Desktop app" and click "Create". (the default name is fine)</p></li>
<li><p>It will show you a client ID and client secret. Make a note of these.</p></li>
<li><p>Go to "Oauth consent screen" and press "Publish App"</p></li>
<li><p>Provide the noted client ID and client secret to rclone.</p></li>
+<li><p>Click "OAuth consent screen", then click "PUBLISH APP" button and confirm, or add your account under "Test users".</p></li>
</ol>
<p>Be aware that, due to the "enhanced security" recently introduced by Google, you are theoretically expected to "submit your app for verification" and then wait a few weeks(!) for their response; in practice, you can go right ahead and use the client ID and client secret with rclone, the only issue will be a very scary confirmation screen shown when you connect via your browser for rclone to be able to get its token-id (but as this only happens during the remote configuration, it's not such a big deal).</p>
<p>(Thanks to <span class="citation" data-cites="balazer">@balazer</span> on github for these instructions.)</p>
@@ -15247,7 +15796,7 @@ rclone backend copyid drive: ID1 path1 ID2 path2</code></pre>
<h1 id="google-photos">Google Photos</h1>
<p>The rclone backend for <a href="https://www.google.com/photos/about/">Google Photos</a> is a specialized backend for transferring photos and videos to and from Google Photos.</p>
<p><strong>NB</strong> The Google Photos API which rclone uses has quite a few limitations, so please read the <a href="#limitations">limitations section</a> carefully to make sure it is suitable for your use.</p>
-<h2 id="configuring-google-photos">Configuring Google Photos</h2>
+<h2 id="configuration-16">Configuration</h2>
<p>The initial setup for google cloud storage involves getting a token from Google Photos which you need to do in your browser. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -15321,7 +15870,7 @@ y/e/d&gt; y</code></pre>
<pre><code>rclone ls remote:album/newAlbum</code></pre>
<p>Sync <code>/home/local/images</code> to the Google Photos, removing any excess files in the album.</p>
<pre><code>rclone sync -i /home/local/image remote:album/newAlbum</code></pre>
-<h2 id="layout">Layout</h2>
+<h3 id="layout">Layout</h3>
<p>As Google Photos is not a general purpose cloud storage system the backend is laid out to help you navigate it.</p>
<p>The directories under <code>media</code> show different ways of categorizing the media. Each file will appear multiple times. So if you want to make a backup of your google photos you might choose to backup <code>remote:media/by-month</code>. (<strong>NB</strong> <code>remote:media/by-day</code> is rather slow at the moment so avoid for syncing.)</p>
<p>Note that all your photos and videos will appear somewhere under <code>media</code>, but they may not appear under <code>album</code> unless you've put them into albums.</p>
@@ -15400,38 +15949,11 @@ y/e/d&gt; y</code></pre>
</ul>
<p>This means that you can use the <code>album</code> path pretty much like a normal filesystem and it is a good target for repeated syncing.</p>
<p>The <code>shared-album</code> directory shows albums shared with you or by you. This is similar to the Sharing tab in the Google Photos web interface.</p>
-<h2 id="limitations-13">Limitations</h2>
-<p>Only images and videos can be uploaded. If you attempt to upload non videos or images or formats that Google Photos doesn't understand, rclone will upload the file, then Google Photos will give an error when it is put turned into a media item.</p>
-<p>Note that all media items uploaded to Google Photos through the API are stored in full resolution at "original quality" and <strong>will</strong> count towards your storage quota in your Google Account. The API does <strong>not</strong> offer a way to upload in "high quality" mode..</p>
-<p><code>rclone about</code> is not supported by the Google Photos backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
-<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
-<h3 id="downloading-images">Downloading Images</h3>
-<p>When Images are downloaded this strips EXIF location (according to the docs and my tests). This is a limitation of the Google Photos API and is covered by <a href="https://issuetracker.google.com/issues/112096115">bug #112096115</a>.</p>
-<p><strong>The current google API does not allow photos to be downloaded at original resolution. This is very important if you are, for example, relying on "Google Photos" as a backup of your photos. You will not be able to use rclone to redownload original images. You could use 'google takeout' to recover the original photos as a last resort</strong></p>
-<h3 id="downloading-videos">Downloading Videos</h3>
-<p>When videos are downloaded they are downloaded in a really compressed version of the video compared to downloading it via the Google Photos web interface. This is covered by <a href="https://issuetracker.google.com/issues/113672044">bug #113672044</a>.</p>
-<h3 id="duplicates">Duplicates</h3>
-<p>If a file name is duplicated in a directory then rclone will add the file ID into its name. So two files called <code>file.jpg</code> would then appear as <code>file {123456}.jpg</code> and <code>file {ABCDEF}.jpg</code> (the actual IDs are a lot longer alas!).</p>
-<p>If you upload the same image (with the same binary data) twice then Google Photos will deduplicate it. However it will retain the filename from the first upload which may confuse rclone. For example if you uploaded an image to <code>upload</code> then uploaded the same image to <code>album/my_album</code> the filename of the image in <code>album/my_album</code> will be what it was uploaded with initially, not what you uploaded it with to <code>album</code>. In practise this shouldn't cause too many problems.</p>
-<h3 id="modified-time-4">Modified time</h3>
-<p>The date shown of media in Google Photos is the creation date as determined by the EXIF information, or the upload date if that is not known.</p>
-<p>This is not changeable by rclone and is not the modification date of the media on local disk. This means that rclone cannot use the dates from Google Photos for syncing purposes.</p>
-<h3 id="size">Size</h3>
-<p>The Google Photos API does not return the size of media. This means that when syncing to Google Photos, rclone can only do a file existence check.</p>
-<p>It is possible to read the size of the media, but this needs an extra HTTP HEAD request per media item so is <strong>very slow</strong> and uses up a lot of transactions. This can be enabled with the <code>--gphotos-read-size</code> option or the <code>read_size = true</code> config parameter.</p>
-<p>If you want to use the backend with <code>rclone mount</code> you may need to enable this flag (depending on your OS and application using the photos) otherwise you may not be able to read media off the mount. You'll need to experiment to see if it works for you without the flag.</p>
-<h3 id="albums">Albums</h3>
-<p>Rclone can only upload files to albums it created. This is a <a href="https://developers.google.com/photos/library/guides/manage-albums">limitation of the Google Photos API</a>.</p>
-<p>Rclone can remove files it uploaded from albums it created only.</p>
-<h3 id="deleting-files-3">Deleting files</h3>
-<p>Rclone can remove files from albums it created, but note that the Google Photos API does not allow media to be deleted permanently so this media will still remain. See <a href="https://issuetracker.google.com/issues/109759781">bug #109759781</a>.</p>
-<p>Rclone cannot delete files anywhere except under <code>album</code>.</p>
-<h3 id="deleting-albums">Deleting albums</h3>
-<p>The Google Photos API does not support deleting albums - see <a href="https://issuetracker.google.com/issues/135714733">bug #135714733</a>.</p>
-<h3 id="standard-options-16">Standard Options</h3>
+<h3 id="standard-options-16">Standard options</h3>
<p>Here are the standard options specific to google photos (Google Photos).</p>
<h4 id="gphotos-client-id">--gphotos-client-id</h4>
-<p>OAuth Client Id Leave blank normally.</p>
+<p>OAuth Client Id.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_id</li>
<li>Env Var: RCLONE_GPHOTOS_CLIENT_ID</li>
@@ -15439,7 +15961,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="gphotos-client-secret">--gphotos-client-secret</h4>
-<p>OAuth Client Secret Leave blank normally.</p>
+<p>OAuth Client Secret.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_secret</li>
<li>Env Var: RCLONE_GPHOTOS_CLIENT_SECRET</li>
@@ -15455,7 +15978,7 @@ y/e/d&gt; y</code></pre>
<li>Type: bool</li>
<li>Default: false</li>
</ul>
-<h3 id="advanced-options-15">Advanced Options</h3>
+<h3 id="advanced-options-15">Advanced options</h3>
<p>Here are the advanced options specific to google photos (Google Photos).</p>
<h4 id="gphotos-token">--gphotos-token</h4>
<p>OAuth Access Token as a JSON blob.</p>
@@ -15466,7 +15989,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="gphotos-auth-url">--gphotos-auth-url</h4>
-<p>Auth server URL. Leave blank to use the provider defaults.</p>
+<p>Auth server URL.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: auth_url</li>
<li>Env Var: RCLONE_GPHOTOS_AUTH_URL</li>
@@ -15474,7 +15998,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="gphotos-token-url">--gphotos-token-url</h4>
-<p>Token server url. Leave blank to use the provider defaults.</p>
+<p>Token server url.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: token_url</li>
<li>Env Var: RCLONE_GPHOTOS_TOKEN_URL</li>
@@ -15491,7 +16016,7 @@ y/e/d&gt; y</code></pre>
<li>Default: false</li>
</ul>
<h4 id="gphotos-start-year">--gphotos-start-year</h4>
-<p>Year limits the photos to be downloaded to those which are uploaded after the given year</p>
+<p>Year limits the photos to be downloaded to those which are uploaded after the given year.</p>
<ul>
<li>Config: start_year</li>
<li>Env Var: RCLONE_GPHOTOS_START_YEAR</li>
@@ -15510,67 +16035,273 @@ y/e/d&gt; y</code></pre>
<li>Type: bool</li>
<li>Default: false</li>
</ul>
-<h1 id="hdfs">HDFS</h1>
-<p><a href="https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html">HDFS</a> is a distributed file-system, part of the <a href="https://hadoop.apache.org/">Apache Hadoop</a> framework.</p>
-<p>Paths are specified as <code>remote:</code> or <code>remote:path/to/dir</code>.</p>
-<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
-<pre><code> rclone config</code></pre>
-<p>This will guide you through an interactive setup process:</p>
+<h4 id="gphotos-encoding">--gphotos-encoding</h4>
+<p>This sets the encoding for the backend.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<ul>
+<li>Config: encoding</li>
+<li>Env Var: RCLONE_GPHOTOS_ENCODING</li>
+<li>Type: MultiEncoder</li>
+<li>Default: Slash,CrLf,InvalidUtf8,Dot</li>
+</ul>
+<h2 id="limitations-12">Limitations</h2>
+<p>Only images and videos can be uploaded. If you attempt to upload non videos or images or formats that Google Photos doesn't understand, rclone will upload the file, then Google Photos will give an error when it is put turned into a media item.</p>
+<p>Note that all media items uploaded to Google Photos through the API are stored in full resolution at "original quality" and <strong>will</strong> count towards your storage quota in your Google Account. The API does <strong>not</strong> offer a way to upload in "high quality" mode..</p>
+<p><code>rclone about</code> is not supported by the Google Photos backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
+<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
+<h3 id="downloading-images">Downloading Images</h3>
+<p>When Images are downloaded this strips EXIF location (according to the docs and my tests). This is a limitation of the Google Photos API and is covered by <a href="https://issuetracker.google.com/issues/112096115">bug #112096115</a>.</p>
+<p><strong>The current google API does not allow photos to be downloaded at original resolution. This is very important if you are, for example, relying on "Google Photos" as a backup of your photos. You will not be able to use rclone to redownload original images. You could use 'google takeout' to recover the original photos as a last resort</strong></p>
+<h3 id="downloading-videos">Downloading Videos</h3>
+<p>When videos are downloaded they are downloaded in a really compressed version of the video compared to downloading it via the Google Photos web interface. This is covered by <a href="https://issuetracker.google.com/issues/113672044">bug #113672044</a>.</p>
+<h3 id="duplicates">Duplicates</h3>
+<p>If a file name is duplicated in a directory then rclone will add the file ID into its name. So two files called <code>file.jpg</code> would then appear as <code>file {123456}.jpg</code> and <code>file {ABCDEF}.jpg</code> (the actual IDs are a lot longer alas!).</p>
+<p>If you upload the same image (with the same binary data) twice then Google Photos will deduplicate it. However it will retain the filename from the first upload which may confuse rclone. For example if you uploaded an image to <code>upload</code> then uploaded the same image to <code>album/my_album</code> the filename of the image in <code>album/my_album</code> will be what it was uploaded with initially, not what you uploaded it with to <code>album</code>. In practise this shouldn't cause too many problems.</p>
+<h3 id="modified-time-5">Modified time</h3>
+<p>The date shown of media in Google Photos is the creation date as determined by the EXIF information, or the upload date if that is not known.</p>
+<p>This is not changeable by rclone and is not the modification date of the media on local disk. This means that rclone cannot use the dates from Google Photos for syncing purposes.</p>
+<h3 id="size">Size</h3>
+<p>The Google Photos API does not return the size of media. This means that when syncing to Google Photos, rclone can only do a file existence check.</p>
+<p>It is possible to read the size of the media, but this needs an extra HTTP HEAD request per media item so is <strong>very slow</strong> and uses up a lot of transactions. This can be enabled with the <code>--gphotos-read-size</code> option or the <code>read_size = true</code> config parameter.</p>
+<p>If you want to use the backend with <code>rclone mount</code> you may need to enable this flag (depending on your OS and application using the photos) otherwise you may not be able to read media off the mount. You'll need to experiment to see if it works for you without the flag.</p>
+<h3 id="albums">Albums</h3>
+<p>Rclone can only upload files to albums it created. This is a <a href="https://developers.google.com/photos/library/guides/manage-albums">limitation of the Google Photos API</a>.</p>
+<p>Rclone can remove files it uploaded from albums it created only.</p>
+<h3 id="deleting-files-3">Deleting files</h3>
+<p>Rclone can remove files from albums it created, but note that the Google Photos API does not allow media to be deleted permanently so this media will still remain. See <a href="https://issuetracker.google.com/issues/109759781">bug #109759781</a>.</p>
+<p>Rclone cannot delete files anywhere except under <code>album</code>.</p>
+<h3 id="deleting-albums">Deleting albums</h3>
+<p>The Google Photos API does not support deleting albums - see <a href="https://issuetracker.google.com/issues/135714733">bug #135714733</a>.</p>
+<h1 id="hasher-experimental">Hasher (EXPERIMENTAL)</h1>
+<p>Hasher is a special overlay backend to create remotes which handle checksums for other remotes. It's main functions include: - Emulate hash types unimplemented by backends - Cache checksums to help with slow hashing of large local or (S)FTP files - Warm up checksum cache from external SUM files</p>
+<h2 id="getting-started-1">Getting started</h2>
+<p>To use Hasher, first set up the underlying remote following the configuration instructions for that remote. You can also use a local pathname instead of a remote. Check that your base remote is working.</p>
+<p>Let's call the base remote <code>myRemote:path</code> here. Note that anything inside <code>myRemote:path</code> will be handled by hasher and anything outside won't. This means that if you are using a bucket based remote (S3, B2, Swift) then you should put the bucket in the remote <code>s3:bucket</code>.</p>
+<p>Now proceed to interactive or manual configuration.</p>
+<h3 id="interactive-configuration">Interactive configuration</h3>
+<p>Run <code>rclone config</code>:</p>
<pre><code>No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q&gt; n
-name&gt; remote
+name&gt; Hasher1
Type of storage to configure.
-Enter a string value. Press Enter for the default (&quot;&quot;).
-Choose a number from below, or type in your own value
-[skip]
-XX / Hadoop distributed file system
- \ &quot;hdfs&quot;
-[skip]
-Storage&gt; hdfs
-** See help for hdfs backend at: https://rclone.org/hdfs/ **
-
-hadoop name node and port
-Enter a string value. Press Enter for the default (&quot;&quot;).
Choose a number from below, or type in your own value
- 1 / Connect to host namenode at port 8020
- \ &quot;namenode:8020&quot;
-namenode&gt; namenode.hadoop:8020
-hadoop user name
+[snip]
+XX / Handle checksums for other remotes
+ \ &quot;hasher&quot;
+[snip]
+Storage&gt; hasher
+Remote to cache checksums for, like myremote:mypath.
Enter a string value. Press Enter for the default (&quot;&quot;).
-Choose a number from below, or type in your own value
- 1 / Connect to hdfs as root
- \ &quot;root&quot;
-username&gt; root
+remote&gt; myRemote:path
+Comma separated list of supported checksum types.
+Enter a string value. Press Enter for the default (&quot;md5,sha1&quot;).
+hashsums&gt; md5
+Maximum time to keep checksums in cache. 0 = no cache, off = cache forever.
+max_age&gt; off
Edit advanced config? (y/n)
y) Yes
-n) No (default)
+n) No
y/n&gt; n
Remote config
--------------------
-[remote]
-type = hdfs
-namenode = namenode.hadoop:8020
-username = root
+[Hasher1]
+type = hasher
+remote = myRemote:path
+hashsums = md5
+max_age = off
--------------------
-y) Yes this is OK (default)
+y) Yes this is OK
e) Edit this remote
d) Delete this remote
-y/e/d&gt; y
-Current remotes:
+y/e/d&gt; y</code></pre>
+<h3 id="manual-configuration">Manual configuration</h3>
+<p>Run <code>rclone config path</code> to see the path of current active config file, usually <code>YOURHOME/.config/rclone/rclone.conf</code>. Open it in your favorite text editor, find section for the base remote and create new section for hasher like in the following examples:</p>
+<pre><code>[Hasher1]
+type = hasher
+remote = myRemote:path
+hashes = md5
+max_age = off
-Name Type
-==== ====
-hadoop hdfs
+[Hasher2]
+type = hasher
+remote = /local/path
+hashes = dropbox,sha1
+max_age = 24h</code></pre>
+<p>Hasher takes basically the following parameters: - <code>remote</code> is required, - <code>hashes</code> is a comma separated list of supported checksums (by default <code>md5,sha1</code>), - <code>max_age</code> - maximum time to keep a checksum value in the cache, <code>0</code> will disable caching completely, <code>off</code> will cache "forever" (that is until the files get changed).</p>
+<p>Make sure the <code>remote</code> has <code>:</code> (colon) in. If you specify the remote without a colon then rclone will use a local directory of that name. So if you use a remote of <code>/local/path</code> then rclone will handle hashes for that directory. If you use <code>remote = name</code> literally then rclone will put files <strong>in a directory called <code>name</code> located under current directory</strong>.</p>
+<h2 id="usage-1">Usage</h2>
+<h3 id="basic-operations">Basic operations</h3>
+<p>Now you can use it as <code>Hasher2:subdir/file</code> instead of base remote. Hasher will transparently update cache with new checksums when a file is fully read or overwritten, like:</p>
+<pre><code>rclone copy External:path/file Hasher:dest/path
-e) Edit existing remote
-n) New remote
-d) Delete remote
-r) Rename remote
-c) Copy remote
-s) Set configuration password
+rclone cat Hasher:path/to/file &gt; /dev/null</code></pre>
+<p>The way to refresh <strong>all</strong> cached checksums (even unsupported by the base backend) for a subtree is to <strong>re-download</strong> all files in the subtree. For example, use <code>hashsum --download</code> using <strong>any</strong> supported hashsum on the command line (we just care to re-read):</p>
+<pre><code>rclone hashsum MD5 --download Hasher:path/to/subtree &gt; /dev/null
+
+rclone backend dump Hasher:path/to/subtree</code></pre>
+<p>You can print or drop hashsum cache using custom backend commands:</p>
+<pre><code>rclone backend dump Hasher:dir/subdir
+
+rclone backend drop Hasher:</code></pre>
+<h3 id="pre-seed-from-a-sum-file">Pre-Seed from a SUM File</h3>
+<p>Hasher supports two backend commands: generic SUM file <code>import</code> and faster but less consistent <code>stickyimport</code>.</p>
+<pre><code>rclone backend import Hasher:dir/subdir SHA1 /path/to/SHA1SUM [--checkers 4]</code></pre>
+<p>Instead of SHA1 it can be any hash supported by the remote. The last argument can point to either a local or an <code>other-remote:path</code> text file in SUM format. The command will parse the SUM file, then walk down the path given by the first argument, snapshot current fingerprints and fill in the cache entries correspondingly. - Paths in the SUM file are treated as relative to <code>hasher:dir/subdir</code>. - The command will <strong>not</strong> check that supplied values are correct. You <strong>must know</strong> what you are doing. - This is a one-time action. The SUM file will not get "attached" to the remote. Cache entries can still be overwritten later, should the object's fingerprint change. - The tree walk can take long depending on the tree size. You can increase <code>--checkers</code> to make it faster. Or use <code>stickyimport</code> if you don't care about fingerprints and consistency.</p>
+<pre><code>rclone backend stickyimport hasher:path/to/data sha1 remote:/path/to/sum.sha1</code></pre>
+<p><code>stickyimport</code> is similar to <code>import</code> but works much faster because it does not need to stat existing files and skips initial tree walk. Instead of binding cache entries to file fingerprints it creates <em>sticky</em> entries bound to the file name alone ignoring size, modification time etc. Such hash entries can be replaced only by <code>purge</code>, <code>delete</code>, <code>backend drop</code> or by full re-read/re-write of the files.</p>
+<h2 id="configuration-reference">Configuration reference</h2>
+<h3 id="standard-options-17">Standard options</h3>
+<p>Here are the standard options specific to hasher (Better checksums for other remotes).</p>
+<h4 id="hasher-remote">--hasher-remote</h4>
+<p>Remote to cache checksums for (e.g. myRemote:path).</p>
+<ul>
+<li>Config: remote</li>
+<li>Env Var: RCLONE_HASHER_REMOTE</li>
+<li>Type: string</li>
+<li>Default: ""</li>
+</ul>
+<h4 id="hasher-hashes">--hasher-hashes</h4>
+<p>Comma separated list of supported checksum types.</p>
+<ul>
+<li>Config: hashes</li>
+<li>Env Var: RCLONE_HASHER_HASHES</li>
+<li>Type: CommaSepList</li>
+<li>Default: md5,sha1</li>
+</ul>
+<h4 id="hasher-max-age">--hasher-max-age</h4>
+<p>Maximum time to keep checksums in cache (0 = no cache, off = cache forever).</p>
+<ul>
+<li>Config: max_age</li>
+<li>Env Var: RCLONE_HASHER_MAX_AGE</li>
+<li>Type: Duration</li>
+<li>Default: off</li>
+</ul>
+<h3 id="advanced-options-16">Advanced options</h3>
+<p>Here are the advanced options specific to hasher (Better checksums for other remotes).</p>
+<h4 id="hasher-auto-size">--hasher-auto-size</h4>
+<p>Auto-update checksum for files smaller than this size (disabled by default).</p>
+<ul>
+<li>Config: auto_size</li>
+<li>Env Var: RCLONE_HASHER_AUTO_SIZE</li>
+<li>Type: SizeSuffix</li>
+<li>Default: 0</li>
+</ul>
+<h2 id="backend-commands-4">Backend commands</h2>
+<p>Here are the commands specific to the hasher backend.</p>
+<p>Run them with</p>
+<pre><code>rclone backend COMMAND remote:</code></pre>
+<p>The help below will explain what arguments each command takes.</p>
+<p>See <a href="https://rclone.org/commands/rclone_backend/">the "rclone backend" command</a> for more info on how to pass options and arguments.</p>
+<p>These can be run on a running backend using the rc command <a href="https://rclone.org/rc/#backend/command">backend/command</a>.</p>
+<h3 id="drop">drop</h3>
+<p>Drop cache</p>
+<pre><code>rclone backend drop remote: [options] [&lt;arguments&gt;+]</code></pre>
+<p>Completely drop checksum cache. Usage Example: rclone backend drop hasher:</p>
+<h3 id="dump">dump</h3>
+<p>Dump the database</p>
+<pre><code>rclone backend dump remote: [options] [&lt;arguments&gt;+]</code></pre>
+<p>Dump cache records covered by the current remote</p>
+<h3 id="fulldump">fulldump</h3>
+<p>Full dump of the database</p>
+<pre><code>rclone backend fulldump remote: [options] [&lt;arguments&gt;+]</code></pre>
+<p>Dump all cache records in the database</p>
+<h3 id="import">import</h3>
+<p>Import a SUM file</p>
+<pre><code>rclone backend import remote: [options] [&lt;arguments&gt;+]</code></pre>
+<p>Amend hash cache from a SUM file and bind checksums to files by size/time. Usage Example: rclone backend import hasher:subdir md5 /path/to/sum.md5</p>
+<h3 id="stickyimport">stickyimport</h3>
+<p>Perform fast import of a SUM file</p>
+<pre><code>rclone backend stickyimport remote: [options] [&lt;arguments&gt;+]</code></pre>
+<p>Fill hash cache from a SUM file without verifying file fingerprints. Usage Example: rclone backend stickyimport hasher:subdir md5 remote:path/to/sum.md5</p>
+<h2 id="implementation-details-advanced">Implementation details (advanced)</h2>
+<p>This section explains how various rclone operations work on a hasher remote.</p>
+<p><strong>Disclaimer. This section describes current implementation which can change in future rclone versions!.</strong></p>
+<h3 id="hashsum-command">Hashsum command</h3>
+<p>The <code>rclone hashsum</code> (or <code>md5sum</code> or <code>sha1sum</code>) command will:</p>
+<ol type="1">
+<li>if requested hash is supported by lower level, just pass it.</li>
+<li>if object size is below <code>auto_size</code> then download object and calculate <em>requested</em> hashes on the fly.</li>
+<li>if unsupported and the size is big enough, build object <code>fingerprint</code> (including size, modtime if supported, first-found <em>other</em> hash if any).</li>
+<li>if the strict match is found in cache for the requested remote, return the stored hash.</li>
+<li>if remote found but fingerprint mismatched, then purge the entry and proceed to step 6.</li>
+<li>if remote not found or had no requested hash type or after step 5: download object, calculate all <em>supported</em> hashes on the fly and store in cache; return requested hash.</li>
+</ol>
+<h3 id="other-operations">Other operations</h3>
+<ul>
+<li>whenever a file is uploaded or downloaded <strong>in full</strong>, capture the stream to calculate all supported hashes on the fly and update database</li>
+<li>server-side <code>move</code> will update keys of existing cache entries</li>
+<li><code>deletefile</code> will remove a single cache entry</li>
+<li><code>purge</code> will remove all cache entries under the purged path</li>
+</ul>
+<p>Note that setting <code>max_age = 0</code> will disable checksum caching completely.</p>
+<p>If you set <code>max_age = off</code>, checksums in cache will never age, unless you fully rewrite or delete the file.</p>
+<h3 id="cache-storage">Cache storage</h3>
+<p>Cached checksums are stored as <code>bolt</code> database files under rclone cache directory, usually <code>~/.cache/rclone/kv/</code>. Databases are maintained one per <em>base</em> backend, named like <code>BaseRemote~hasher.bolt</code>. Checksums for multiple <code>alias</code>-es into a single base backend will be stored in the single database. All local paths are treated as aliases into the <code>local</code> backend (unless crypted or chunked) and stored in <code>~/.cache/rclone/kv/local~hasher.bolt</code>. Databases can be shared between multiple rclone processes.</p>
+<h1 id="hdfs">HDFS</h1>
+<p><a href="https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html">HDFS</a> is a distributed file-system, part of the <a href="https://hadoop.apache.org/">Apache Hadoop</a> framework.</p>
+<p>Paths are specified as <code>remote:</code> or <code>remote:path/to/dir</code>.</p>
+<h2 id="configuration-17">Configuration</h2>
+<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
+<pre><code> rclone config</code></pre>
+<p>This will guide you through an interactive setup process:</p>
+<pre><code>No remotes found - make a new one
+n) New remote
+s) Set configuration password
+q) Quit config
+n/s/q&gt; n
+name&gt; remote
+Type of storage to configure.
+Enter a string value. Press Enter for the default (&quot;&quot;).
+Choose a number from below, or type in your own value
+[skip]
+XX / Hadoop distributed file system
+ \ &quot;hdfs&quot;
+[skip]
+Storage&gt; hdfs
+** See help for hdfs backend at: https://rclone.org/hdfs/ **
+
+hadoop name node and port
+Enter a string value. Press Enter for the default (&quot;&quot;).
+Choose a number from below, or type in your own value
+ 1 / Connect to host namenode at port 8020
+ \ &quot;namenode:8020&quot;
+namenode&gt; namenode.hadoop:8020
+hadoop user name
+Enter a string value. Press Enter for the default (&quot;&quot;).
+Choose a number from below, or type in your own value
+ 1 / Connect to hdfs as root
+ \ &quot;root&quot;
+username&gt; root
+Edit advanced config? (y/n)
+y) Yes
+n) No (default)
+y/n&gt; n
+Remote config
+--------------------
+[remote]
+type = hdfs
+namenode = namenode.hadoop:8020
+username = root
+--------------------
+y) Yes this is OK (default)
+e) Edit this remote
+d) Delete this remote
+y/e/d&gt; y
+Current remotes:
+
+Name Type
+==== ====
+hadoop hdfs
+
+e) Edit existing remote
+n) New remote
+d) Delete remote
+r) Rename remote
+c) Copy remote
+s) Set configuration password
q) Quit config
e/n/d/r/c/s/q&gt; q</code></pre>
<p>This remote is called <code>remote</code> and can now be used like this</p>
@@ -15595,7 +16326,7 @@ type = hdfs
namenode = 127.0.0.1:8020
username = root</code></pre>
<p>You can stop this image with <code>docker kill rclone-hdfs</code> (<strong>NB</strong> it does not use volumes, so all data uploaded will be lost.)</p>
-<h3 id="modified-time-5">Modified time</h3>
+<h3 id="modified-time-6">Modified time</h3>
<p>Time accurate to 1 second is stored.</p>
<h3 id="checksum">Checksum</h3>
<p>No checksums are implemented.</p>
@@ -15620,30 +16351,19 @@ username = root</code></pre>
</tbody>
</table>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>.</p>
-<h3 id="limitations-14">Limitations</h3>
-<ul>
-<li>No server-side <code>Move</code> or <code>DirMove</code>.</li>
-<li>Checksums not implemented.</li>
-</ul>
-<h3 id="standard-options-17">Standard Options</h3>
+<h3 id="standard-options-18">Standard options</h3>
<p>Here are the standard options specific to hdfs (Hadoop distributed file system).</p>
<h4 id="hdfs-namenode">--hdfs-namenode</h4>
-<p>hadoop name node and port</p>
+<p>Hadoop name node and port.</p>
+<p>E.g. "namenode:8020" to connect to host namenode at port 8020.</p>
<ul>
<li>Config: namenode</li>
<li>Env Var: RCLONE_HDFS_NAMENODE</li>
<li>Type: string</li>
<li>Default: ""</li>
-<li>Examples:
-<ul>
-<li>"namenode:8020"
-<ul>
-<li>Connect to host namenode at port 8020</li>
-</ul></li>
-</ul></li>
</ul>
<h4 id="hdfs-username">--hdfs-username</h4>
-<p>hadoop user name</p>
+<p>Hadoop user name.</p>
<ul>
<li>Config: username</li>
<li>Env Var: RCLONE_HDFS_USERNAME</li>
@@ -15653,30 +16373,23 @@ username = root</code></pre>
<ul>
<li>"root"
<ul>
-<li>Connect to hdfs as root</li>
+<li>Connect to hdfs as root.</li>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-16">Advanced Options</h3>
+<h3 id="advanced-options-17">Advanced options</h3>
<p>Here are the advanced options specific to hdfs (Hadoop distributed file system).</p>
<h4 id="hdfs-service-principal-name">--hdfs-service-principal-name</h4>
-<p>Kerberos service principal name for the namenode</p>
-<p>Enables KERBEROS authentication. Specifies the Service Principal Name (SERVICE/FQDN) for the namenode.</p>
+<p>Kerberos service principal name for the namenode.</p>
+<p>Enables KERBEROS authentication. Specifies the Service Principal Name (SERVICE/FQDN) for the namenode. E.g. "hdfs/namenode.hadoop.docker" for namenode running as service 'hdfs' with FQDN 'namenode.hadoop.docker'.</p>
<ul>
<li>Config: service_principal_name</li>
<li>Env Var: RCLONE_HDFS_SERVICE_PRINCIPAL_NAME</li>
<li>Type: string</li>
<li>Default: ""</li>
-<li>Examples:
-<ul>
-<li>"hdfs/namenode.hadoop.docker"
-<ul>
-<li>Namenode running as service 'hdfs' with FQDN 'namenode.hadoop.docker'.</li>
-</ul></li>
-</ul></li>
</ul>
<h4 id="hdfs-data-transfer-protection">--hdfs-data-transfer-protection</h4>
-<p>Kerberos data transfer protection: authentication|integrity|privacy</p>
+<p>Kerberos data transfer protection: authentication|integrity|privacy.</p>
<p>Specifies whether or not authentication, data signature integrity checks, and wire encryption is required when communicating the the datanodes. Possible values are 'authentication', 'integrity' and 'privacy'. Used only with KERBEROS enabled.</p>
<ul>
<li>Config: data_transfer_protection</li>
@@ -15693,16 +16406,22 @@ username = root</code></pre>
</ul>
<h4 id="hdfs-encoding">--hdfs-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_HDFS_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,Colon,Del,Ctl,InvalidUtf8,Dot</li>
</ul>
+<h2 id="limitations-13">Limitations</h2>
+<ul>
+<li>No server-side <code>Move</code> or <code>DirMove</code>.</li>
+<li>Checksums not implemented.</li>
+</ul>
<h1 id="http">HTTP</h1>
<p>The HTTP remote is a read only remote for reading files of a webserver. The webserver should provide file listings which rclone will read and turn into a remote. This has been tested with common webservers such as Apache/Nginx/Caddy and will likely work with file listings from most web servers. (If it doesn't then please file an issue, or send a pull request!)</p>
<p>Paths are specified as <code>remote:</code> or <code>remote:path/to/dir</code>.</p>
+<h2 id="configuration-18">Configuration</h2>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
<p>This will guide you through an interactive setup process:</p>
@@ -15756,39 +16475,29 @@ e/n/d/r/c/s/q&gt; q</code></pre>
<pre><code>rclone sync -i remote:directory /home/local/directory</code></pre>
<h3 id="read-only">Read only</h3>
<p>This remote is read only - you can't upload files to an HTTP server.</p>
-<h3 id="modified-time-6">Modified time</h3>
+<h3 id="modified-time-7">Modified time</h3>
<p>Most HTTP servers store time accurate to 1 second.</p>
<h3 id="checksum-1">Checksum</h3>
<p>No checksums are stored.</p>
<h3 id="usage-without-a-config-file">Usage without a config file</h3>
<p>Since the http remote only has one config parameter it is easy to use without a config file:</p>
<pre><code>rclone lsd --http-url https://beta.rclone.org :http:</code></pre>
-<h3 id="standard-options-18">Standard Options</h3>
+<h3 id="standard-options-19">Standard options</h3>
<p>Here are the standard options specific to http (http Connection).</p>
<h4 id="http-url">--http-url</h4>
-<p>URL of http host to connect to</p>
+<p>URL of http host to connect to.</p>
+<p>E.g. "https://example.com", or "https://user:[email protected]" to use a username and password.</p>
<ul>
<li>Config: url</li>
<li>Env Var: RCLONE_HTTP_URL</li>
<li>Type: string</li>
<li>Default: ""</li>
-<li>Examples:
-<ul>
-<li>"https://example.com"
-<ul>
-<li>Connect to example.com</li>
-</ul></li>
-<li>"https://user:[email protected]"
-<ul>
-<li>Connect to example.com using a username and password</li>
-</ul></li>
-</ul></li>
</ul>
-<h3 id="advanced-options-17">Advanced Options</h3>
+<h3 id="advanced-options-18">Advanced options</h3>
<p>Here are the advanced options specific to http (http Connection).</p>
<h4 id="http-headers">--http-headers</h4>
-<p>Set HTTP headers for all transactions</p>
-<p>Use this to set additional HTTP headers for all transactions</p>
+<p>Set HTTP headers for all transactions.</p>
+<p>Use this to set additional HTTP headers for all transactions.</p>
<p>The input format is comma separated list of key,value pairs. Standard <a href="https://godoc.org/encoding/csv">CSV encoding</a> may be used.</p>
<p>For example to set a Cookie use 'Cookie,name=value', or '"Cookie","name=value"'.</p>
<p>You can set multiple headers, e.g. '"Cookie","name=value","Authorization","xxx"'.</p>
@@ -15799,7 +16508,7 @@ e/n/d/r/c/s/q&gt; q</code></pre>
<li>Default:</li>
</ul>
<h4 id="http-no-slash">--http-no-slash</h4>
-<p>Set this if the site doesn't end directories with /</p>
+<p>Set this if the site doesn't end directories with /.</p>
<p>Use this if your target website does not use / on the end of directories.</p>
<p>A / on the end of a path is how rclone normally tells the difference between files and directories. If this flag is set, then rclone will treat all files with Content-Type: text/html as directories and read URLs from them rather than downloading them.</p>
<p>Note that this may cause rclone to confuse genuine HTML files with directories.</p>
@@ -15810,7 +16519,7 @@ e/n/d/r/c/s/q&gt; q</code></pre>
<li>Default: false</li>
</ul>
<h4 id="http-no-head">--http-no-head</h4>
-<p>Don't use HEAD requests to find file sizes in dir listing</p>
+<p>Don't use HEAD requests to find file sizes in dir listing.</p>
<p>If your site is being very slow to load then you can try this option. Normally rclone does a HEAD request for each potential file in a directory listing to:</p>
<ul>
<li>find its size</li>
@@ -15827,12 +16536,13 @@ e/n/d/r/c/s/q&gt; q</code></pre>
<li>Type: bool</li>
<li><p>Default: false</p></li>
</ul>
-<h3 id="limitations-15">Limitations</h3>
+<h2 id="limitations-14">Limitations</h2>
<p><code>rclone about</code> is not supported by the HTTP backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
<h1 id="hubic">Hubic</h1>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths are specified as <code>remote:container</code> (or <code>remote:</code> for the <code>lsd</code> command.) You may put subdirectories in too, e.g. <code>remote:container/path/to/dir</code>.</p>
+<h2 id="configuration-19">Configuration</h2>
<p>The initial setup for Hubic involves getting a token from Hubic which you need to do in your browser. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -15886,14 +16596,15 @@ y/e/d&gt; y</code></pre>
<pre><code>rclone copy /home/source remote:default/backup</code></pre>
<h3 id="fast-list-4">--fast-list</h3>
<p>This remote supports <code>--fast-list</code> which allows you to use fewer transactions in exchange for more memory. See the <a href="https://rclone.org/docs/#fast-list">rclone docs</a> for more details.</p>
-<h3 id="modified-time-7">Modified time</h3>
+<h3 id="modified-time-8">Modified time</h3>
<p>The modified time is stored as metadata on the object as <code>X-Object-Meta-Mtime</code> as floating point since the epoch accurate to 1 ns.</p>
<p>This is a de facto standard (used in the official python-swiftclient amongst others) for storing the modification time for an object.</p>
<p>Note that Hubic wraps the Swift backend, so most of the properties of are the same.</p>
-<h3 id="standard-options-19">Standard Options</h3>
+<h3 id="standard-options-20">Standard options</h3>
<p>Here are the standard options specific to hubic (Hubic).</p>
<h4 id="hubic-client-id">--hubic-client-id</h4>
-<p>OAuth Client Id Leave blank normally.</p>
+<p>OAuth Client Id.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_id</li>
<li>Env Var: RCLONE_HUBIC_CLIENT_ID</li>
@@ -15901,14 +16612,15 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="hubic-client-secret">--hubic-client-secret</h4>
-<p>OAuth Client Secret Leave blank normally.</p>
+<p>OAuth Client Secret.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_secret</li>
<li>Env Var: RCLONE_HUBIC_CLIENT_SECRET</li>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-18">Advanced Options</h3>
+<h3 id="advanced-options-19">Advanced options</h3>
<p>Here are the advanced options specific to hubic (Hubic).</p>
<h4 id="hubic-token">--hubic-token</h4>
<p>OAuth Access Token as a JSON blob.</p>
@@ -15919,7 +16631,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="hubic-auth-url">--hubic-auth-url</h4>
-<p>Auth server URL. Leave blank to use the provider defaults.</p>
+<p>Auth server URL.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: auth_url</li>
<li>Env Var: RCLONE_HUBIC_AUTH_URL</li>
@@ -15927,7 +16640,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="hubic-token-url">--hubic-token-url</h4>
-<p>Token server url. Leave blank to use the provider defaults.</p>
+<p>Token server url.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: token_url</li>
<li>Env Var: RCLONE_HUBIC_TOKEN_URL</li>
@@ -15956,29 +16670,30 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="hubic-encoding">--hubic-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_HUBIC_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,InvalidUtf8</li>
</ul>
-<h3 id="limitations-16">Limitations</h3>
+<h2 id="limitations-15">Limitations</h2>
<p>This uses the normal OpenStack Swift mechanism to refresh the Swift API credentials and ignores the expires field returned by the Hubic API.</p>
<p>The Swift API doesn't return a correct MD5SUM for segmented files (Dynamic or Static Large Objects) so rclone won't check or use the MD5SUM for these.</p>
<h1 id="jottacloud">Jottacloud</h1>
-<p>Jottacloud is a cloud storage service provider from a Norwegian company, using its own datacenters in Norway.</p>
-<p>In addition to the official service at <a href="https://www.jottacloud.com/">jottacloud.com</a>, there are also several whitelabel versions which should work with this backend.</p>
+<p>Jottacloud is a cloud storage service provider from a Norwegian company, using its own datacenters in Norway. In addition to the official service at <a href="https://www.jottacloud.com/">jottacloud.com</a>, it also provides white-label solutions to different companies, such as: * Telia * Telia Cloud (cloud.telia.se) * Telia Sky (sky.telia.no) * Tele2 * Tele2 Cloud (mittcloud.tele2.se) * Elkjøp (with subsidiaries): * Elkjøp Cloud (cloud.elkjop.no) * Elgiganten Sweden (cloud.elgiganten.se) * Elgiganten Denmark (cloud.elgiganten.dk) * Giganti Cloud (cloud.gigantti.fi) * ELKO Clouud (cloud.elko.is)</p>
+<p>Most of the white-label versions are supported by this backend, although may require different authentication setup - described below.</p>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
-<h2 id="setup-2">Setup</h2>
-<h3 id="default-setup">Default Setup</h3>
+<h2 id="authentication-types">Authentication types</h2>
+<p>Some of the whitelabel versions uses a different authentication method than the official service, and you have to choose the correct one when setting up the remote.</p>
+<h3 id="standard-authentication">Standard authentication</h3>
<p>To configure Jottacloud you will need to generate a personal security token in the Jottacloud web interface. You will the option to do in your <a href="https://www.jottacloud.com/web/secure">account security settings</a> (for whitelabel version you need to find this page in its web interface). Note that the web interface may refer to this token as a JottaCli token.</p>
-<h3 id="legacy-setup">Legacy Setup</h3>
-<p>If you are using one of the whitelabel versions (Elgiganten, Com Hem Cloud) you may not have the option to generate a CLI token. In this case you'll have to use the legacy authentication. To to this select yes when the setup asks for legacy authentication and enter your username and password. The rest of the setup is identical to the default setup.</p>
-<h3 id="telia-cloud-setup">Telia Cloud Setup</h3>
+<h3 id="legacy-authentication">Legacy authentication</h3>
+<p>If you are using one of the whitelabel versions (e.g. from Elkjøp or Tele2) you may not have the option to generate a CLI token. In this case you'll have to use the legacy authentication. To to this select yes when the setup asks for legacy authentication and enter your username and password. The rest of the setup is identical to the default setup.</p>
+<h3 id="telia-cloud-authentication">Telia Cloud authentication</h3>
<p>Similar to other whitelabel versions Telia Cloud doesn't offer the option of creating a CLI token, and additionally uses a separate authentication flow where the username is generated internally. To setup rclone to use Telia Cloud, choose Telia Cloud authentication in the setup. The rest of the setup is identical to the default setup.</p>
-<h3 id="example-1">Example</h3>
+<h2 id="configuration-20">Configuration</h2>
<p>Here is an example of how to make a remote called <code>remote</code> with the default setup. First run:</p>
<pre><code>rclone config</code></pre>
<p>This will guide you through an interactive setup process:</p>
@@ -16058,7 +16773,7 @@ y/e/d&gt; y</code></pre>
<p>Jottacloud allows modification times to be set on objects accurate to 1 second. These will be used to detect whether objects need syncing or not.</p>
<p>Jottacloud supports MD5 type hashes, so you can use the <code>--checksum</code> flag.</p>
<p>Note that Jottacloud requires the MD5 hash before upload so if the source does not have an MD5 checksum then the file will be cached temporarily on disk (wherever the <code>TMPDIR</code> environment variable points to) before it is uploaded. Small files will be cached in memory - see the <a href="#jottacloud-md5-memory-limit">--jottacloud-md5-memory-limit</a> flag. When uploading from local disk the source checksum is always available, so this does not apply. Starting with rclone version 1.52 the same is true for crypted remotes (in older versions the crypt backend would not calculate hashes for uploads from local disk, so the Jottacloud backend had to do it as described above).</p>
-<h4 id="restricted-filename-characters-12">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-12">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -16114,7 +16829,7 @@ y/e/d&gt; y</code></pre>
<p>Versioning can be disabled by <code>--jottacloud-no-versions</code> option. This is achieved by deleting the remote file prior to uploading a new version. If the upload the fails no version of the file will be available in the remote.</p>
<h3 id="quota-information-1">Quota information</h3>
<p>To view your current quota you can use the <code>rclone about remote:</code> command which will display your usage limit (unless it is unlimited) and the current usage.</p>
-<h3 id="advanced-options-19">Advanced Options</h3>
+<h3 id="advanced-options-20">Advanced options</h3>
<p>Here are the advanced options specific to jottacloud (Jottacloud).</p>
<h4 id="jottacloud-md5-memory-limit">--jottacloud-md5-memory-limit</h4>
<p>Files bigger than this will be cached on disk to calculate the MD5 if required.</p>
@@ -16125,7 +16840,8 @@ y/e/d&gt; y</code></pre>
<li>Default: 10Mi</li>
</ul>
<h4 id="jottacloud-trashed-only">--jottacloud-trashed-only</h4>
-<p>Only show files that are in the trash. This will show trashed files in their original directory structure.</p>
+<p>Only show files that are in the trash.</p>
+<p>This will show trashed files in their original directory structure.</p>
<ul>
<li>Config: trashed_only</li>
<li>Env Var: RCLONE_JOTTACLOUD_TRASHED_ONLY</li>
@@ -16158,22 +16874,23 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="jottacloud-encoding">--jottacloud-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_JOTTACLOUD_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-17">Limitations</h3>
+<h2 id="limitations-16">Limitations</h2>
<p>Note that Jottacloud is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
<p>There are quite a few characters that can't be in Jottacloud file names. Rclone will map these names to and from an identical looking unicode equivalent. For example if a file has a ? in it will be mapped to ? instead.</p>
<p>Jottacloud only supports filenames up to 255 characters in length.</p>
-<h3 id="troubleshooting-1">Troubleshooting</h3>
+<h2 id="troubleshooting-1">Troubleshooting</h2>
<p>Jottacloud exhibits some inconsistent behaviours regarding deleted files and folders which may cause Copy, Move and DirMove operations to previously deleted paths to fail. Emptying the trash should help in such cases.</p>
<h1 id="koofr">Koofr</h1>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
+<h2 id="configuration-21">Configuration</h2>
<p>The initial setup for Koofr involves creating an application password for rclone. You can do that by opening the Koofr <a href="https://app.koofr.net/app/admin/preferences/password">web application</a>, giving the password a nice name like <code>rclone</code> and clicking on generate.</p>
<p>Here is an example of how to make a remote called <code>koofr</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -16229,7 +16946,7 @@ y/e/d&gt; y</code></pre>
<pre><code>rclone ls koofr:</code></pre>
<p>To copy a local directory to an Koofr directory called backup</p>
<pre><code>rclone copy /home/source remote:backup</code></pre>
-<h4 id="restricted-filename-characters-13">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-13">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -16248,10 +16965,10 @@ y/e/d&gt; y</code></pre>
</tbody>
</table>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in XML strings.</p>
-<h3 id="standard-options-20">Standard Options</h3>
+<h3 id="standard-options-21">Standard options</h3>
<p>Here are the standard options specific to koofr (Koofr).</p>
<h4 id="koofr-user">--koofr-user</h4>
-<p>Your Koofr user name</p>
+<p>Your Koofr user name.</p>
<ul>
<li>Config: user</li>
<li>Env Var: RCLONE_KOOFR_USER</li>
@@ -16259,7 +16976,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="koofr-password">--koofr-password</h4>
-<p>Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password)</p>
+<p>Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password).</p>
<p><strong>NB</strong> Input to this must be obscured - see <a href="https://rclone.org/commands/rclone_obscure/">rclone obscure</a>.</p>
<ul>
<li>Config: password</li>
@@ -16267,10 +16984,10 @@ y/e/d&gt; y</code></pre>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-20">Advanced Options</h3>
+<h3 id="advanced-options-21">Advanced options</h3>
<p>Here are the advanced options specific to koofr (Koofr).</p>
<h4 id="koofr-endpoint">--koofr-endpoint</h4>
-<p>The Koofr API endpoint to use</p>
+<p>The Koofr API endpoint to use.</p>
<ul>
<li>Config: endpoint</li>
<li>Env Var: RCLONE_KOOFR_ENDPOINT</li>
@@ -16278,7 +16995,8 @@ y/e/d&gt; y</code></pre>
<li>Default: "https://app.koofr.net"</li>
</ul>
<h4 id="koofr-mountid">--koofr-mountid</h4>
-<p>Mount ID of the mount to use. If omitted, the primary mount is used.</p>
+<p>Mount ID of the mount to use.</p>
+<p>If omitted, the primary mount is used.</p>
<ul>
<li>Config: mountid</li>
<li>Env Var: RCLONE_KOOFR_MOUNTID</li>
@@ -16286,7 +17004,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="koofr-setmtime">--koofr-setmtime</h4>
-<p>Does the backend support setting modification time. Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend.</p>
+<p>Does the backend support setting modification time.</p>
+<p>Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend.</p>
<ul>
<li>Config: setmtime</li>
<li>Env Var: RCLONE_KOOFR_SETMTIME</li>
@@ -16295,19 +17014,19 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="koofr-encoding">--koofr-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_KOOFR_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-18">Limitations</h3>
+<h2 id="limitations-17">Limitations</h2>
<p>Note that Koofr is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
<h1 id="mail.ru-cloud">Mail.ru Cloud</h1>
<p><a href="https://cloud.mail.ru/">Mail.ru Cloud</a> is a cloud storage provided by a Russian internet company <a href="https://mail.ru">Mail.Ru Group</a>. The official desktop client is <a href="https://disk-o.cloud/en">Disk-O:</a>, available on Windows and Mac OS.</p>
<p>Currently it is recommended to disable 2FA on Mail.ru accounts intended for rclone until it gets eventually implemented.</p>
-<h3 id="features-highlights">Features highlights</h3>
+<h2 id="features-highlights">Features highlights</h2>
<ul>
<li>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code></li>
<li>Files have a <code>last modified time</code> property, directories don't</li>
@@ -16318,7 +17037,7 @@ y/e/d&gt; y</code></pre>
<li>Storage keeps hash for all files and performs transparent deduplication, the hash algorithm is a modified SHA1</li>
<li>If a particular file is already present in storage, one can quickly submit file hash instead of long file upload (this optimization is supported by rclone)</li>
</ul>
-<h3 id="configuration-1">Configuration</h3>
+<h2 id="configuration-22">Configuration</h2>
<p>Here is an example of making a mailru configuration. First create a Mail.ru Cloud account and choose a tariff, then run</p>
<pre><code>rclone config</code></pre>
<p>This will guide you through an interactive setup process:</p>
@@ -16384,7 +17103,7 @@ y/e/d&gt; y</code></pre>
<pre><code>rclone ls remote:directory</code></pre>
<p>Sync <code>/home/local/directory</code> to the remote path, deleting any excess files in the path.</p>
<pre><code>rclone sync -i /home/local/directory remote:directory</code></pre>
-<h3 id="modified-time-8">Modified time</h3>
+<h3 id="modified-time-9">Modified time</h3>
<p>Files support a modification time attribute with up to 1 second precision. Directories do not have a modification time, which is shown as "Jan 1 1970".</p>
<h3 id="hash-checksums">Hash checksums</h3>
<p>Hash sums use a custom Mail.ru algorithm based on SHA1. If file size is less than or equal to the SHA1 block size (20 bytes), its hash is simply its data right-padded with zero bytes. Hash sum of a larger file is computed as a SHA1 sum of the file data bytes concatenated with a decimal representation of the data length.</p>
@@ -16392,7 +17111,7 @@ y/e/d&gt; y</code></pre>
<p>Removing a file or directory actually moves it to the trash, which is not visible to rclone but can be seen in a web browser. The trashed file still occupies part of total quota. If you wish to empty your trash and free some quota, you can use the <code>rclone cleanup remote:</code> command, which will permanently delete all your trashed files. This command does not take any path arguments.</p>
<h3 id="quota-information-2">Quota information</h3>
<p>To view your current quota you can use the <code>rclone about remote:</code> command which will display your usage limit (quota) and the current usage.</p>
-<h4 id="restricted-filename-characters-14">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-14">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -16446,13 +17165,10 @@ y/e/d&gt; y</code></pre>
</tbody>
</table>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
-<h3 id="limitations-19">Limitations</h3>
-<p>File size limits depend on your account. A single file size is limited by 2G for a free account and unlimited for paid tariffs. Please refer to the Mail.ru site for the total uploaded size limits.</p>
-<p>Note that Mailru is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
-<h3 id="standard-options-21">Standard Options</h3>
+<h3 id="standard-options-22">Standard options</h3>
<p>Here are the standard options specific to mailru (Mail.ru Cloud).</p>
<h4 id="mailru-user">--mailru-user</h4>
-<p>User name (usually email)</p>
+<p>User name (usually email).</p>
<ul>
<li>Config: user</li>
<li>Env Var: RCLONE_MAILRU_USER</li>
@@ -16460,7 +17176,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="mailru-pass">--mailru-pass</h4>
-<p>Password</p>
+<p>Password.</p>
<p><strong>NB</strong> Input to this must be obscured - see <a href="https://rclone.org/commands/rclone_obscure/">rclone obscure</a>.</p>
<ul>
<li>Config: pass</li>
@@ -16469,7 +17185,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="mailru-speedup-enable">--mailru-speedup-enable</h4>
-<p>Skip full upload if there is another file with same data hash. This feature is called "speedup" or "put by hash". It is especially efficient in case of generally available files like popular books, video or audio clips, because files are searched by hash in all accounts of all mailru users. It is meaningless and ineffective if source file is unique or encrypted. Please note that rclone may need local memory and disk space to calculate content hash in advance and decide whether full upload is required. Also, if rclone does not know file size in advance (e.g. in case of streaming or partial uploads), it will not even try this optimization.</p>
+<p>Skip full upload if there is another file with same data hash.</p>
+<p>This feature is called "speedup" or "put by hash". It is especially efficient in case of generally available files like popular books, video or audio clips, because files are searched by hash in all accounts of all mailru users. It is meaningless and ineffective if source file is unique or encrypted. Please note that rclone may need local memory and disk space to calculate content hash in advance and decide whether full upload is required. Also, if rclone does not know file size in advance (e.g. in case of streaming or partial uploads), it will not even try this optimization.</p>
<ul>
<li>Config: speedup_enable</li>
<li>Env Var: RCLONE_MAILRU_SPEEDUP_ENABLE</li>
@@ -16487,10 +17204,11 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-21">Advanced Options</h3>
+<h3 id="advanced-options-22">Advanced options</h3>
<p>Here are the advanced options specific to mailru (Mail.ru Cloud).</p>
<h4 id="mailru-speedup-file-patterns">--mailru-speedup-file-patterns</h4>
-<p>Comma separated list of file name patterns eligible for speedup (put by hash). Patterns are case insensitive and can contain '*' or '?' meta characters.</p>
+<p>Comma separated list of file name patterns eligible for speedup (put by hash).</p>
+<p>Patterns are case insensitive and can contain '*' or '?' meta characters.</p>
<ul>
<li>Config: speedup_file_patterns</li>
<li>Env Var: RCLONE_MAILRU_SPEEDUP_FILE_PATTERNS</li>
@@ -16517,7 +17235,8 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul>
<h4 id="mailru-speedup-max-disk">--mailru-speedup-max-disk</h4>
-<p>This option allows you to disable speedup (put by hash) for large files (because preliminary hashing can exhaust you RAM or disk space)</p>
+<p>This option allows you to disable speedup (put by hash) for large files.</p>
+<p>Reason is that preliminary hashing can exhaust your RAM or disk space.</p>
<ul>
<li>Config: speedup_max_disk</li>
<li>Env Var: RCLONE_MAILRU_SPEEDUP_MAX_DISK</li>
@@ -16563,7 +17282,7 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul>
<h4 id="mailru-check-hash">--mailru-check-hash</h4>
-<p>What should copy do if file checksum is mismatched or invalid</p>
+<p>What should copy do if file checksum is mismatched or invalid.</p>
<ul>
<li>Config: check_hash</li>
<li>Env Var: RCLONE_MAILRU_CHECK_HASH</li>
@@ -16582,7 +17301,8 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul>
<h4 id="mailru-user-agent">--mailru-user-agent</h4>
-<p>HTTP user agent used internally by client. Defaults to "rclone/VERSION" or "--user-agent" provided on command line.</p>
+<p>HTTP user agent used internally by client.</p>
+<p>Defaults to "rclone/VERSION" or "--user-agent" provided on command line.</p>
<ul>
<li>Config: user_agent</li>
<li>Env Var: RCLONE_MAILRU_USER_AGENT</li>
@@ -16590,7 +17310,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="mailru-quirks">--mailru-quirks</h4>
-<p>Comma separated list of internal maintenance flags. This option must not be used by an ordinary user. It is intended only to facilitate remote troubleshooting of backend issues. Strict meaning of flags is not documented and not guaranteed to persist between releases. Quirks will be removed when the backend grows stable. Supported quirks: atomicmkdir binlist unknowndirs</p>
+<p>Comma separated list of internal maintenance flags.</p>
+<p>This option must not be used by an ordinary user. It is intended only to facilitate remote troubleshooting of backend issues. Strict meaning of flags is not documented and not guaranteed to persist between releases. Quirks will be removed when the backend grows stable. Supported quirks: atomicmkdir binlist unknowndirs</p>
<ul>
<li>Config: quirks</li>
<li>Env Var: RCLONE_MAILRU_QUIRKS</li>
@@ -16599,18 +17320,22 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="mailru-encoding">--mailru-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_MAILRU_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot</li>
</ul>
+<h2 id="limitations-18">Limitations</h2>
+<p>File size limits depend on your account. A single file size is limited by 2G for a free account and unlimited for paid tariffs. Please refer to the Mail.ru site for the total uploaded size limits.</p>
+<p>Note that Mailru is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
<h1 id="mega">Mega</h1>
<p><a href="https://mega.nz/">Mega</a> is a cloud storage and file hosting service known for its security feature where all files are encrypted locally before they are uploaded. This prevents anyone (including employees of Mega) from accessing the files without knowledge of the key used for encryption.</p>
<p>This is an rclone backend for Mega which supports the file transfer features of Mega using the same client side encryption.</p>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
+<h2 id="configuration-23">Configuration</h2>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
<p>This will guide you through an interactive setup process:</p>
@@ -16659,7 +17384,7 @@ y/e/d&gt; y</code></pre>
<pre><code>rclone copy /home/source remote:backup</code></pre>
<h3 id="modified-time-and-hashes-7">Modified time and hashes</h3>
<p>Mega does not support modification times or hashes yet.</p>
-<h4 id="restricted-filename-characters-15">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-15">Restricted filename characters</h3>
<table>
<thead>
<tr class="header">
@@ -16697,10 +17422,10 @@ y/e/d&gt; y</code></pre>
<p>Note that once blocked, the use of other tools (such as megacmd) is not a sure workaround: following megacmd login times have been observed in succession for blocked remote: 7 minutes, 20 min, 30min, 30 min, 30min. Web access looks unaffected though.</p>
<p>Investigation is continuing in relation to workarounds based on timeouts, pacers, retrials and tpslimits - if you discover something relevant, please post on the forum.</p>
<p>So, if rclone was working nicely and suddenly you are unable to log-in and you are sure the user and the password are correct, likely you have got the remote blocked for a while.</p>
-<h3 id="standard-options-22">Standard Options</h3>
+<h3 id="standard-options-23">Standard options</h3>
<p>Here are the standard options specific to mega (Mega).</p>
<h4 id="mega-user">--mega-user</h4>
-<p>User name</p>
+<p>User name.</p>
<ul>
<li>Config: user</li>
<li>Env Var: RCLONE_MEGA_USER</li>
@@ -16716,7 +17441,7 @@ y/e/d&gt; y</code></pre>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-22">Advanced Options</h3>
+<h3 id="advanced-options-23">Advanced options</h3>
<p>Here are the advanced options specific to mega (Mega).</p>
<h4 id="mega-debug">--mega-debug</h4>
<p>Output more debug from Mega.</p>
@@ -16738,19 +17463,20 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="mega-encoding">--mega-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_MEGA_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-20">Limitations</h3>
+<h2 id="limitations-19">Limitations</h2>
<p>This backend uses the <a href="https://github.com/t3rm1n4l/go-mega">go-mega go library</a> which is an opensource go library implementing the Mega API. There doesn't appear to be any documentation for the mega protocol beyond the <a href="https://github.com/meganz/sdk">mega C++ SDK</a> source code so there are likely quite a few errors still remaining in this library.</p>
<p>Mega allows duplicate files which may confuse rclone.</p>
<h1 id="memory">Memory</h1>
<p>The memory backend is an in RAM backend. It does not persist its data - use the local backend for that.</p>
<p>The memory backend behaves like a bucket based remote (e.g. like s3). Because it has no parameters you can just use it with the <code>:memory:</code> remote name.</p>
+<h2 id="configuration-24">Configuration</h2>
<p>You can configure it as a remote like this with <code>rclone config</code> too if you want to:</p>
<pre><code>No remotes found - make a new one
n) New remote
@@ -16784,10 +17510,11 @@ rclone serve webdav :memory:
rclone serve sftp :memory:</code></pre>
<h3 id="modified-time-and-hashes-8">Modified time and hashes</h3>
<p>The memory backend supports MD5 hashes and modification times accurate to 1 nS.</p>
-<h4 id="restricted-filename-characters-16">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-16">Restricted filename characters</h3>
<p>The memory backend replaces the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a>.</p>
<h1 id="microsoft-azure-blob-storage">Microsoft Azure Blob Storage</h1>
<p>Paths are specified as <code>remote:container</code> (or <code>remote:</code> for the <code>lsd</code> command.) You may put subdirectories in too, e.g. <code>remote:container/path/to/dir</code>.</p>
+<h2 id="configuration-25">Configuration</h2>
<p>Here is an example of making a Microsoft Azure Blob Storage configuration. For a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
<p>This will guide you through an interactive setup process:</p>
@@ -16831,7 +17558,7 @@ y/e/d&gt; y</code></pre>
<pre><code>rclone sync -i /home/local/directory remote:container</code></pre>
<h3 id="fast-list-6">--fast-list</h3>
<p>This remote supports <code>--fast-list</code> which allows you to use fewer transactions in exchange for more memory. See the <a href="https://rclone.org/docs/#fast-list">rclone docs</a> for more details.</p>
-<h3 id="modified-time-9">Modified time</h3>
+<h3 id="modified-time-10">Modified time</h3>
<p>The modified time is stored as metadata on the object with the <code>mtime</code> key. It is stored using RFC3339 Format time with nanosecond precision. The metadata is supplied during directory listings so there is no overhead to using it.</p>
<h3 id="restricted-filename-characters-17">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
@@ -16892,10 +17619,11 @@ container/</code></pre>
<p>Note that you can't see or access any other containers - this will fail</p>
<pre><code>rclone ls azureblob:othercontainer</code></pre>
<p>Container level SAS URLs are useful for temporarily allowing third parties access to a single container or putting credentials into an untrusted environment such as a CI build server.</p>
-<h3 id="standard-options-23">Standard Options</h3>
+<h3 id="standard-options-24">Standard options</h3>
<p>Here are the standard options specific to azureblob (Microsoft Azure Blob Storage).</p>
<h4 id="azureblob-account">--azureblob-account</h4>
-<p>Storage Account Name (leave blank to use SAS URL or Emulator)</p>
+<p>Storage Account Name.</p>
+<p>Leave blank to use SAS URL or Emulator.</p>
<ul>
<li>Config: account</li>
<li>Env Var: RCLONE_AZUREBLOB_ACCOUNT</li>
@@ -16917,7 +17645,8 @@ container/</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="azureblob-key">--azureblob-key</h4>
-<p>Storage Account Key (leave blank to use SAS URL or Emulator)</p>
+<p>Storage Account Key.</p>
+<p>Leave blank to use SAS URL or Emulator.</p>
<ul>
<li>Config: key</li>
<li>Env Var: RCLONE_AZUREBLOB_KEY</li>
@@ -16925,7 +17654,8 @@ container/</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="azureblob-sas-url">--azureblob-sas-url</h4>
-<p>SAS URL for container level access only (leave blank if using account/key or Emulator)</p>
+<p>SAS URL for container level access only.</p>
+<p>Leave blank if using account/key or Emulator.</p>
<ul>
<li>Config: sas_url</li>
<li>Env Var: RCLONE_AZUREBLOB_SAS_URL</li>
@@ -16933,7 +17663,7 @@ container/</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="azureblob-use-msi">--azureblob-use-msi</h4>
-<p>Use a managed service identity to authenticate (only works in Azure)</p>
+<p>Use a managed service identity to authenticate (only works in Azure).</p>
<p>When true, use a <a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/">managed service identity</a> to authenticate to Azure Storage instead of a SAS token or account key.</p>
<p>If the VM(SS) on which this program is running has a system-assigned identity, it will be used by default. If the resource has no system-assigned but exactly one user-assigned identity, the user-assigned identity will be used by default. If the resource has multiple user-assigned identities, the identity to use must be explicitly specified using exactly one of the msi_object_id, msi_client_id, or msi_mi_res_id parameters.</p>
<ul>
@@ -16943,17 +17673,19 @@ container/</code></pre>
<li>Default: false</li>
</ul>
<h4 id="azureblob-use-emulator">--azureblob-use-emulator</h4>
-<p>Uses local storage emulator if provided as 'true' (leave blank if using real azure storage endpoint)</p>
+<p>Uses local storage emulator if provided as 'true'.</p>
+<p>Leave blank if using real azure storage endpoint.</p>
<ul>
<li>Config: use_emulator</li>
<li>Env Var: RCLONE_AZUREBLOB_USE_EMULATOR</li>
<li>Type: bool</li>
<li>Default: false</li>
</ul>
-<h3 id="advanced-options-23">Advanced Options</h3>
+<h3 id="advanced-options-24">Advanced options</h3>
<p>Here are the advanced options specific to azureblob (Microsoft Azure Blob Storage).</p>
<h4 id="azureblob-msi-object-id">--azureblob-msi-object-id</h4>
-<p>Object ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_mi_res_id specified.</p>
+<p>Object ID of the user-assigned MSI to use, if any.</p>
+<p>Leave blank if msi_client_id or msi_mi_res_id specified.</p>
<ul>
<li>Config: msi_object_id</li>
<li>Env Var: RCLONE_AZUREBLOB_MSI_OBJECT_ID</li>
@@ -16961,7 +17693,8 @@ container/</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="azureblob-msi-client-id">--azureblob-msi-client-id</h4>
-<p>Object ID of the user-assigned MSI to use, if any. Leave blank if msi_object_id or msi_mi_res_id specified.</p>
+<p>Object ID of the user-assigned MSI to use, if any.</p>
+<p>Leave blank if msi_object_id or msi_mi_res_id specified.</p>
<ul>
<li>Config: msi_client_id</li>
<li>Env Var: RCLONE_AZUREBLOB_MSI_CLIENT_ID</li>
@@ -16969,7 +17702,8 @@ container/</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="azureblob-msi-mi-res-id">--azureblob-msi-mi-res-id</h4>
-<p>Azure resource ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_object_id specified.</p>
+<p>Azure resource ID of the user-assigned MSI to use, if any.</p>
+<p>Leave blank if msi_client_id or msi_object_id specified.</p>
<ul>
<li>Config: msi_mi_res_id</li>
<li>Env Var: RCLONE_AZUREBLOB_MSI_MI_RES_ID</li>
@@ -16977,7 +17711,8 @@ container/</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="azureblob-endpoint">--azureblob-endpoint</h4>
-<p>Endpoint for the service Leave blank normally.</p>
+<p>Endpoint for the service.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: endpoint</li>
<li>Env Var: RCLONE_AZUREBLOB_ENDPOINT</li>
@@ -16985,7 +17720,7 @@ container/</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="azureblob-upload-cutoff">--azureblob-upload-cutoff</h4>
-<p>Cutoff for switching to chunked upload (&lt;= 256 MiB). (Deprecated)</p>
+<p>Cutoff for switching to chunked upload (&lt;= 256 MiB) (deprecated).</p>
<ul>
<li>Config: upload_cutoff</li>
<li>Env Var: RCLONE_AZUREBLOB_UPLOAD_CUTOFF</li>
@@ -17041,7 +17776,8 @@ container/</code></pre>
<li>Default: false</li>
</ul>
<h4 id="azureblob-memory-pool-flush-time">--azureblob-memory-pool-flush-time</h4>
-<p>How often internal memory buffer pools will be flushed. Uploads which requires additional buffers (f.e multipart) will use memory pool for allocations. This option controls how often unused buffers will be removed from the pool.</p>
+<p>How often internal memory buffer pools will be flushed.</p>
+<p>Uploads which requires additional buffers (f.e multipart) will use memory pool for allocations. This option controls how often unused buffers will be removed from the pool.</p>
<ul>
<li>Config: memory_pool_flush_time</li>
<li>Env Var: RCLONE_AZUREBLOB_MEMORY_POOL_FLUSH_TIME</li>
@@ -17058,7 +17794,7 @@ container/</code></pre>
</ul>
<h4 id="azureblob-encoding">--azureblob-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_AZUREBLOB_ENCODING</li>
@@ -17066,7 +17802,7 @@ container/</code></pre>
<li>Default: Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8</li>
</ul>
<h4 id="azureblob-public-access">--azureblob-public-access</h4>
-<p>Public access level of a container: blob, container.</p>
+<p>Public access level of a container: blob or container.</p>
<ul>
<li>Config: public_access</li>
<li>Env Var: RCLONE_AZUREBLOB_PUBLIC_ACCESS</li>
@@ -17076,7 +17812,8 @@ container/</code></pre>
<ul>
<li>""
<ul>
-<li>The container and its blobs can be accessed only with an authorized request. It's a default value</li>
+<li>The container and its blobs can be accessed only with an authorized request.</li>
+<li>It's a default value.</li>
</ul></li>
<li>"blob"
<ul>
@@ -17088,15 +17825,24 @@ container/</code></pre>
</ul></li>
</ul></li>
</ul>
-<h3 id="limitations-21">Limitations</h3>
+<h4 id="azureblob-no-head-object">--azureblob-no-head-object</h4>
+<p>If set, do not do HEAD before GET when getting objects.</p>
+<ul>
+<li>Config: no_head_object</li>
+<li>Env Var: RCLONE_AZUREBLOB_NO_HEAD_OBJECT</li>
+<li>Type: bool</li>
+<li>Default: false</li>
+</ul>
+<h2 id="limitations-20">Limitations</h2>
<p>MD5 sums are only uploaded with chunked files if the source has an MD5 sum. This will always be the case for a local to azure copy.</p>
<p><code>rclone about</code> is not supported by the Microsoft Azure Blob storage backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
-<h3 id="azure-storage-emulator-support">Azure Storage Emulator Support</h3>
+<h2 id="azure-storage-emulator-support">Azure Storage Emulator Support</h2>
<p>You can test rclone with storage emulator locally, to do this make sure azure storage emulator installed locally and set up a new remote with <code>rclone config</code> follow instructions described in introduction, set <code>use_emulator</code> config as <code>true</code>, you do not need to provide default account name or key if using emulator.</p>
<h1 id="microsoft-onedrive">Microsoft OneDrive</h1>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
+<h2 id="configuration-26">Configuration</h2>
<p>The initial setup for OneDrive involves getting a token from Microsoft which you need to do in your browser. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -17187,7 +17933,7 @@ y/e/d&gt; y</code></pre>
<ol type="1">
<li>Open https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade and then click <code>New registration</code>.</li>
<li>Enter a name for your app, choose account type <code>Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)</code>, select <code>Web</code> in <code>Redirect URI</code>, then type (do not copy and paste) <code>http://localhost:53682/</code> and click Register. Copy and keep the <code>Application (client) ID</code> under the app name for later use.</li>
-<li>Under <code>manage</code> select <code>Certificates &amp; secrets</code>, click <code>New client secret</code>. Copy and keep that secret for later use.</li>
+<li>Under <code>manage</code> select <code>Certificates &amp; secrets</code>, click <code>New client secret</code>. Enter a description (can be anything) and set <code>Expires</code> to 24 months. Copy and keep that secret <em>Value</em> for later use (you <em>won't</em> be able to see this value afterwards).</li>
<li>Under <code>manage</code> select <code>API permissions</code>, click <code>Add a permission</code> and select <code>Microsoft Graph</code> then select <code>delegated permissions</code>.</li>
<li>Search and select the following permissions: <code>Files.Read</code>, <code>Files.ReadWrite</code>, <code>Files.Read.All</code>, <code>Files.ReadWrite.All</code>, <code>offline_access</code>, <code>User.Read</code>. Once selected click <code>Add permissions</code> at the bottom.</li>
</ol>
@@ -17296,10 +18042,11 @@ y/e/d&gt; y</code></pre>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
<h3 id="deleting-files-5">Deleting files</h3>
<p>Any files you delete with rclone will end up in the trash. Microsoft doesn't provide an API to permanently delete files, nor to empty the trash, so you will have to do that with one of Microsoft's apps or via the OneDrive website.</p>
-<h3 id="standard-options-24">Standard Options</h3>
+<h3 id="standard-options-25">Standard options</h3>
<p>Here are the standard options specific to onedrive (Microsoft OneDrive).</p>
<h4 id="onedrive-client-id">--onedrive-client-id</h4>
-<p>OAuth Client Id Leave blank normally.</p>
+<p>OAuth Client Id.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_id</li>
<li>Env Var: RCLONE_ONEDRIVE_CLIENT_ID</li>
@@ -17307,7 +18054,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="onedrive-client-secret">--onedrive-client-secret</h4>
-<p>OAuth Client Secret Leave blank normally.</p>
+<p>OAuth Client Secret.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_secret</li>
<li>Env Var: RCLONE_ONEDRIVE_CLIENT_SECRET</li>
@@ -17341,7 +18089,7 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-24">Advanced Options</h3>
+<h3 id="advanced-options-25">Advanced options</h3>
<p>Here are the advanced options specific to onedrive (Microsoft OneDrive).</p>
<h4 id="onedrive-token">--onedrive-token</h4>
<p>OAuth Access Token as a JSON blob.</p>
@@ -17352,7 +18100,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="onedrive-auth-url">--onedrive-auth-url</h4>
-<p>Auth server URL. Leave blank to use the provider defaults.</p>
+<p>Auth server URL.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: auth_url</li>
<li>Env Var: RCLONE_ONEDRIVE_AUTH_URL</li>
@@ -17360,7 +18109,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="onedrive-token-url">--onedrive-token-url</h4>
-<p>Token server url. Leave blank to use the provider defaults.</p>
+<p>Token server url.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: token_url</li>
<li>Env Var: RCLONE_ONEDRIVE_TOKEN_URL</li>
@@ -17377,7 +18127,7 @@ y/e/d&gt; y</code></pre>
<li>Default: 10Mi</li>
</ul>
<h4 id="onedrive-drive-id">--onedrive-drive-id</h4>
-<p>The ID of the drive to use</p>
+<p>The ID of the drive to use.</p>
<ul>
<li>Config: drive_id</li>
<li>Env Var: RCLONE_ONEDRIVE_DRIVE_ID</li>
@@ -17385,7 +18135,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="onedrive-drive-type">--onedrive-drive-type</h4>
-<p>The type of the drive ( personal | business | documentLibrary )</p>
+<p>The type of the drive (personal | business | documentLibrary).</p>
<ul>
<li>Config: drive_type</li>
<li>Env Var: RCLONE_ONEDRIVE_DRIVE_TYPE</li>
@@ -17419,7 +18169,7 @@ y/e/d&gt; y</code></pre>
<li>Default: 1000</li>
</ul>
<h4 id="onedrive-no-versions">--onedrive-no-versions</h4>
-<p>Remove all versions on modifying operations</p>
+<p>Remove all versions on modifying operations.</p>
<p>Onedrive for business creates versions when rclone uploads new files overwriting an existing one and when it sets the modification time.</p>
<p>These versions take up space out of the quota.</p>
<p>This flag checks for versions after file upload and setting modification time and removes all but the last version.</p>
@@ -17441,11 +18191,14 @@ y/e/d&gt; y</code></pre>
<ul>
<li>"anonymous"
<ul>
-<li>Anyone with the link has access, without needing to sign in. This may include people outside of your organization. Anonymous link support may be disabled by an administrator.</li>
+<li>Anyone with the link has access, without needing to sign in.</li>
+<li>This may include people outside of your organization.</li>
+<li>Anonymous link support may be disabled by an administrator.</li>
</ul></li>
<li>"organization"
<ul>
-<li>Anyone signed into your organization (tenant) can use the link to get access. Only available in OneDrive for Business and SharePoint.</li>
+<li>Anyone signed into your organization (tenant) can use the link to get access.</li>
+<li>Only available in OneDrive for Business and SharePoint.</li>
</ul></li>
</ul></li>
</ul>
@@ -17483,26 +18236,26 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="onedrive-encoding">--onedrive-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_ONEDRIVE_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-22">Limitations</h3>
+<h2 id="limitations-21">Limitations</h2>
<p>If you don't use rclone for 90 days the refresh token will expire. This will result in authorization problems. This is easy to fix by running the <code>rclone config reconnect remote:</code> command to get a new token and refresh token.</p>
-<h4 id="naming">Naming</h4>
+<h3 id="naming">Naming</h3>
<p>Note that OneDrive is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
<p>There are quite a few characters that can't be in OneDrive file names. These can't occur on Windows platforms, but on non-Windows platforms they are common. Rclone will map these names to and from an identical looking unicode equivalent. For example if a file has a <code>?</code> in it will be mapped to <code>?</code> instead.</p>
-<h4 id="file-sizes">File sizes</h4>
+<h3 id="file-sizes">File sizes</h3>
<p>The largest allowed file size is 250 GiB for both OneDrive Personal and OneDrive for Business <a href="https://support.microsoft.com/en-us/office/invalid-file-names-and-file-types-in-onedrive-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa?ui=en-us&amp;rs=en-us&amp;ad=us#individualfilesize">(Updated 13 Jan 2021)</a>.</p>
-<h4 id="path-length">Path length</h4>
+<h3 id="path-length">Path length</h3>
<p>The entire path, including the file name, must contain fewer than 400 characters for OneDrive, OneDrive for Business and SharePoint Online. If you are encrypting file and folder names with rclone, you may want to pay attention to this limitation because the encrypted names are typically longer than the original ones.</p>
-<h4 id="number-of-files">Number of files</h4>
+<h3 id="number-of-files">Number of files</h3>
<p>OneDrive seems to be OK with at least 50,000 files in a folder, but at 100,000 rclone will get errors listing the directory like <code>couldn’t list files: UnknownError:</code>. See <a href="https://github.com/rclone/rclone/issues/2707">#2707</a> for more info.</p>
<p>An official document about the limitations for different types of OneDrive can be found <a href="https://support.office.com/en-us/article/invalid-file-names-and-file-types-in-onedrive-onedrive-for-business-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa">here</a>.</p>
-<h3 id="versions-3">Versions</h3>
+<h2 id="versions-3">Versions</h2>
<p>Every change in a file OneDrive causes the service to create a new version of the the file. This counts against a users quota. For example changing the modification time of a file creates a second version, so the file apparently uses twice the space.</p>
<p>For example the <code>copy</code> command is affected by this as rclone copies the file and then afterwards sets the modification time to match the source file which uses another version.</p>
<p>You can use the <code>rclone cleanup</code> command (see below) to remove all old versions.</p>
@@ -17530,36 +18283,39 @@ y/e/d&gt; y</code></pre>
<li>Use rclone to upload or modify files. (I also use the --no-update-modtime flag)</li>
<li>Restore the versioning settings after using rclone. (Optional)</li>
</ol>
-<h3 id="cleanup-3">Cleanup</h3>
+<h2 id="cleanup-3">Cleanup</h2>
<p>OneDrive supports <code>rclone cleanup</code> which causes rclone to look through every file under the path supplied and delete all version but the current version. Because this involves traversing all the files, then querying each file for versions it can be quite slow. Rclone does <code>--checkers</code> tests in parallel. The command also supports <code>-i</code> which is a great way to see what it would do.</p>
<pre><code>rclone cleanup -i remote:path/subdir # interactively remove all old version for path/subdir
rclone cleanup remote:path/subdir # unconditionally remove all old version for path/subdir</code></pre>
<p><strong>NB</strong> Onedrive personal can't currently delete versions</p>
-<h3 id="troubleshooting-2">Troubleshooting</h3>
-<h4 id="excessive-throttling-or-blocked-on-sharepoint">Excessive throttling or blocked on SharePoint</h4>
+<h2 id="troubleshooting-2">Troubleshooting</h2>
+<h3 id="excessive-throttling-or-blocked-on-sharepoint">Excessive throttling or blocked on SharePoint</h3>
<p>If you experience excessive throttling or is being blocked on SharePoint then it may help to set the user agent explicitly with a flag like this: <code>--user-agent "ISV|rclone.org|rclone/v1.55.1"</code></p>
<p>The specific details can be found in the Microsoft document: <a href="https://docs.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online#how-to-decorate-your-http-traffic-to-avoid-throttling">Avoid getting throttled or blocked in SharePoint Online</a></p>
-<h4 id="unexpected-file-sizehash-differences-on-sharepoint">Unexpected file size/hash differences on Sharepoint</h4>
+<h3 id="unexpected-file-sizehash-differences-on-sharepoint">Unexpected file size/hash differences on Sharepoint</h3>
<p>It is a <a href="https://github.com/OneDrive/onedrive-api-docs/issues/935#issuecomment-441741631">known</a> issue that Sharepoint (not OneDrive or OneDrive for Business) silently modifies uploaded files, mainly Office files (.docx, .xlsx, etc.), causing file size and hash checks to fail. There are also other situations that will cause OneDrive to report inconsistent file sizes. To use rclone with such affected files on Sharepoint, you may disable these checks with the following command line arguments:</p>
<pre><code>--ignore-checksum --ignore-size</code></pre>
<p>Alternatively, if you have write access to the OneDrive files, it may be possible to fix this problem for certain files, by attempting the steps below. Open the web interface for <a href="https://onedrive.live.com">OneDrive</a> and find the affected files (which will be in the error messages/log for rclone). Simply click on each of these files, causing OneDrive to open them on the web. This will cause each file to be converted in place to a format that is functionally equivalent but which will no longer trigger the size discrepancy. Once all problematic files are converted you will no longer need the ignore options above.</p>
-<h4 id="replacingdeleting-existing-files-on-sharepoint-gets-item-not-found">Replacing/deleting existing files on Sharepoint gets "item not found"</h4>
+<h3 id="replacingdeleting-existing-files-on-sharepoint-gets-item-not-found">Replacing/deleting existing files on Sharepoint gets "item not found"</h3>
<p>It is a <a href="https://github.com/OneDrive/onedrive-api-docs/issues/1068">known</a> issue that Sharepoint (not OneDrive or OneDrive for Business) may return "item not found" errors when users try to replace or delete uploaded files; this seems to mainly affect Office files (.docx, .xlsx, etc.). As a workaround, you may use the <code>--backup-dir &lt;BACKUP_DIR&gt;</code> command line argument so rclone moves the files to be replaced/deleted into a given backup directory (instead of directly replacing/deleting them). For example, to instruct rclone to move the files into the directory <code>rclone-backup-dir</code> on backend <code>mysharepoint</code>, you may use:</p>
<pre><code>--backup-dir mysharepoint:rclone-backup-dir</code></pre>
-<h4 id="access_denied-aadsts65005">access_denied (AADSTS65005)</h4>
+<h3 id="access_denied-aadsts65005">access_denied (AADSTS65005)</h3>
<pre><code>Error: access_denied
Code: AADSTS65005
Description: Using application &#39;rclone&#39; is currently not supported for your organization [YOUR_ORGANIZATION] because it is in an unmanaged state. An administrator needs to claim ownership of the company by DNS validation of [YOUR_ORGANIZATION] before the application rclone can be provisioned.</code></pre>
<p>This means that rclone can't use the OneDrive for Business API with your account. You can't do much about it, maybe write an email to your admins.</p>
<p>However, there are other ways to interact with your OneDrive account. Have a look at the webdav backend: https://rclone.org/webdav/#sharepoint</p>
-<h4 id="invalid_grant-aadsts50076">invalid_grant (AADSTS50076)</h4>
+<h3 id="invalid_grant-aadsts50076">invalid_grant (AADSTS50076)</h3>
<pre><code>Error: invalid_grant
Code: AADSTS50076
Description: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access &#39;...&#39;.</code></pre>
<p>If you see the error above after enabling multi-factor authentication for your account, you can fix it by refreshing your OAuth refresh token. To do that, run <code>rclone config</code>, and choose to edit your OneDrive backend. Then, you don't need to actually make any changes until you reach this question: <code>Already have a token - refresh?</code>. For this question, answer <code>y</code> and go through the process to refresh your token, just like the first time the backend is configured. After this, rclone should work again for this backend.</p>
+<h3 id="invalid-request-when-making-public-links">Invalid request when making public links</h3>
+<p>On Sharepoint and OneDrive for Business, <code>rclone link</code> may return an "Invalid request" error. A possible cause is that the organisation admin didn't allow public links to be made for the organisation/sharepoint library. To fix the permissions as an admin, take a look at the docs: <a href="https://docs.microsoft.com/en-us/sharepoint/turn-external-sharing-on-or-off">1</a>, <a href="https://support.microsoft.com/en-us/office/set-up-and-manage-access-requests-94b26e0b-2822-49d4-929a-8455698654b3">2</a>.</p>
<h1 id="opendrive">OpenDrive</h1>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
+<h2 id="configuration-27">Configuration</h2>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
<p>This will guide you through an interactive setup process:</p>
@@ -17602,7 +18358,7 @@ y/e/d&gt; y</code></pre>
<pre><code>rclone copy /home/source remote:backup</code></pre>
<h3 id="modified-time-and-md5sums-1">Modified time and MD5SUMs</h3>
<p>OpenDrive allows modification times to be set on objects accurate to 1 second. These will be used to detect whether objects need syncing or not.</p>
-<h4 id="restricted-filename-characters-19">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-19">Restricted filename characters</h3>
<table>
<thead>
<tr class="header">
@@ -17702,10 +18458,10 @@ y/e/d&gt; y</code></pre>
</tbody>
</table>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
-<h3 id="standard-options-25">Standard Options</h3>
+<h3 id="standard-options-26">Standard options</h3>
<p>Here are the standard options specific to opendrive (OpenDrive).</p>
<h4 id="opendrive-username">--opendrive-username</h4>
-<p>Username</p>
+<p>Username.</p>
<ul>
<li>Config: username</li>
<li>Env Var: RCLONE_OPENDRIVE_USERNAME</li>
@@ -17721,11 +18477,11 @@ y/e/d&gt; y</code></pre>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-25">Advanced Options</h3>
+<h3 id="advanced-options-26">Advanced options</h3>
<p>Here are the advanced options specific to opendrive (OpenDrive).</p>
<h4 id="opendrive-encoding">--opendrive-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_OPENDRIVE_ENCODING</li>
@@ -17741,13 +18497,14 @@ y/e/d&gt; y</code></pre>
<li>Type: SizeSuffix</li>
<li>Default: 10Mi</li>
</ul>
-<h3 id="limitations-23">Limitations</h3>
+<h2 id="limitations-22">Limitations</h2>
<p>Note that OpenDrive is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
<p>There are quite a few characters that can't be in OpenDrive file names. These can't occur on Windows platforms, but on non-Windows platforms they are common. Rclone will map these names to and from an identical looking unicode equivalent. For example if a file has a <code>?</code> in it will be mapped to <code>?</code> instead.</p>
<p><code>rclone about</code> is not supported by the OpenDrive backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
<h1 id="qingstor">QingStor</h1>
<p>Paths are specified as <code>remote:bucket</code> (or <code>remote:</code> for the <code>lsd</code> command.) You may put subdirectories in too, e.g. <code>remote:bucket/path/to/dir</code>.</p>
+<h2 id="configuration-28">Configuration</h2>
<p>Here is an example of making an QingStor configuration. First run</p>
<pre><code>rclone config</code></pre>
<p>This will guide you through an interactive setup process.</p>
@@ -17842,10 +18599,11 @@ y/e/d&gt; y</code></pre>
<h3 id="restricted-filename-characters-20">Restricted filename characters</h3>
<p>The control characters 0x00-0x1F and / are replaced as in the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a>. Note that 0x7F is not replaced.</p>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
-<h3 id="standard-options-26">Standard Options</h3>
+<h3 id="standard-options-27">Standard options</h3>
<p>Here are the standard options specific to qingstor (QingCloud Object Storage).</p>
<h4 id="qingstor-env-auth">--qingstor-env-auth</h4>
-<p>Get QingStor credentials from runtime. Only applies if access_key_id and secret_access_key is blank.</p>
+<p>Get QingStor credentials from runtime.</p>
+<p>Only applies if access_key_id and secret_access_key is blank.</p>
<ul>
<li>Config: env_auth</li>
<li>Env Var: RCLONE_QINGSTOR_ENV_AUTH</li>
@@ -17855,16 +18613,17 @@ y/e/d&gt; y</code></pre>
<ul>
<li>"false"
<ul>
-<li>Enter QingStor credentials in the next step</li>
+<li>Enter QingStor credentials in the next step.</li>
</ul></li>
<li>"true"
<ul>
-<li>Get QingStor credentials from the environment (env vars or IAM)</li>
+<li>Get QingStor credentials from the environment (env vars or IAM).</li>
</ul></li>
</ul></li>
</ul>
<h4 id="qingstor-access-key-id">--qingstor-access-key-id</h4>
-<p>QingStor Access Key ID Leave blank for anonymous access or runtime credentials.</p>
+<p>QingStor Access Key ID.</p>
+<p>Leave blank for anonymous access or runtime credentials.</p>
<ul>
<li>Config: access_key_id</li>
<li>Env Var: RCLONE_QINGSTOR_ACCESS_KEY_ID</li>
@@ -17872,7 +18631,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="qingstor-secret-access-key">--qingstor-secret-access-key</h4>
-<p>QingStor Secret Access Key (password) Leave blank for anonymous access or runtime credentials.</p>
+<p>QingStor Secret Access Key (password).</p>
+<p>Leave blank for anonymous access or runtime credentials.</p>
<ul>
<li>Config: secret_access_key</li>
<li>Env Var: RCLONE_QINGSTOR_SECRET_ACCESS_KEY</li>
@@ -17880,7 +18640,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="qingstor-endpoint">--qingstor-endpoint</h4>
-<p>Enter an endpoint URL to connection QingStor API. Leave blank will use the default value "https://qingstor.com:443"</p>
+<p>Enter an endpoint URL to connection QingStor API.</p>
+<p>Leave blank will use the default value "https://qingstor.com:443".</p>
<ul>
<li>Config: endpoint</li>
<li>Env Var: RCLONE_QINGSTOR_ENDPOINT</li>
@@ -17888,7 +18649,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="qingstor-zone">--qingstor-zone</h4>
-<p>Zone to connect to. Default is "pek3a".</p>
+<p>Zone to connect to.</p>
+<p>Default is "pek3a".</p>
<ul>
<li>Config: zone</li>
<li>Env Var: RCLONE_QINGSTOR_ZONE</li>
@@ -17898,22 +18660,22 @@ y/e/d&gt; y</code></pre>
<ul>
<li>"pek3a"
<ul>
-<li>The Beijing (China) Three Zone</li>
+<li>The Beijing (China) Three Zone.</li>
<li>Needs location constraint pek3a.</li>
</ul></li>
<li>"sh1a"
<ul>
-<li>The Shanghai (China) First Zone</li>
+<li>The Shanghai (China) First Zone.</li>
<li>Needs location constraint sh1a.</li>
</ul></li>
<li>"gd2a"
<ul>
-<li>The Guangdong (China) Second Zone</li>
+<li>The Guangdong (China) Second Zone.</li>
<li>Needs location constraint gd2a.</li>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-26">Advanced Options</h3>
+<h3 id="advanced-options-27">Advanced options</h3>
<p>Here are the advanced options specific to qingstor (QingCloud Object Storage).</p>
<h4 id="qingstor-connection-retries">--qingstor-connection-retries</h4>
<p>Number of connection retries.</p>
@@ -17924,7 +18686,7 @@ y/e/d&gt; y</code></pre>
<li>Default: 3</li>
</ul>
<h4 id="qingstor-upload-cutoff">--qingstor-upload-cutoff</h4>
-<p>Cutoff for switching to chunked upload</p>
+<p>Cutoff for switching to chunked upload.</p>
<p>Any files larger than this will be uploaded in chunks of chunk_size. The minimum is 0 and the maximum is 5 GiB.</p>
<ul>
<li>Config: upload_cutoff</li>
@@ -17956,26 +18718,143 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="qingstor-encoding">--qingstor-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_QINGSTOR_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,Ctl,InvalidUtf8</li>
</ul>
-<h3 id="limitations-24">Limitations</h3>
+<h2 id="limitations-23">Limitations</h2>
<p><code>rclone about</code> is not supported by the qingstor backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
+<h1 id="sia">Sia</h1>
+<p>Sia (<a href="https://sia.tech/">sia.tech</a>) is a decentralized cloud storage platform based on the <a href="https://wikipedia.org/wiki/Blockchain">blockchain</a> technology. With rclone you can use it like any other remote filesystem or mount Sia folders locally. The technology behind it involves a number of new concepts such as Siacoins and Wallet, Blockchain and Consensus, Renting and Hosting, and so on. If you are new to it, you'd better first familiarize yourself using their excellent <a href="https://support.sia.tech/">support documentation</a>.</p>
+<h2 id="introduction-1">Introduction</h2>
+<p>Before you can use rclone with Sia, you will need to have a running copy of <code>Sia-UI</code> or <code>siad</code> (the Sia daemon) locally on your computer or on local network (e.g. a NAS). Please follow the <a href="https://sia.tech/get-started">Get started</a> guide and install one.</p>
+<p>rclone interacts with Sia network by talking to the Sia daemon via <a href="https://sia.tech/docs/">HTTP API</a> which is usually available on port <em>9980</em>. By default you will run the daemon locally on the same computer so it's safe to leave the API password blank (the API URL will be <code>http://127.0.0.1:9980</code> making external access impossible).</p>
+<p>However, if you want to access Sia daemon running on another node, for example due to memory constraints or because you want to share single daemon between several rclone and Sia-UI instances, you'll need to make a few more provisions: - Ensure you have <em>Sia daemon</em> installed directly or in a <a href="https://github.com/SiaFoundation/siad/pkgs/container/siad">docker container</a> because Sia-UI does not support this mode natively. - Run it on externally accessible port, for example provide <code>--api-addr :9980</code> and <code>--disable-api-security</code> arguments on the daemon command line. - Enforce API password for the <code>siad</code> daemon via environment variable <code>SIA_API_PASSWORD</code> or text file named <code>apipassword</code> in the daemon directory. - Set rclone backend option <code>api_password</code> taking it from above locations.</p>
+<p>Notes: 1. If your wallet is locked, rclone cannot unlock it automatically. You should either unlock it in advance by using Sia-UI or via command line <code>siac wallet unlock</code>. Alternatively you can make <code>siad</code> unlock your wallet automatically upon startup by running it with environment variable <code>SIA_WALLET_PASSWORD</code>. 2. If <code>siad</code> cannot find the <code>SIA_API_PASSWORD</code> variable or the <code>apipassword</code> file in the <code>SIA_DIR</code> directory, it will generate a random password and store in the text file named <code>apipassword</code> under <code>YOUR_HOME/.sia/</code> directory on Unix or <code>C:\Users\YOUR_HOME\AppData\Local\Sia\apipassword</code> on Windows. Remember this when you configure password in rclone. 3. The only way to use <code>siad</code> without API password is to run it <strong>on localhost</strong> with command line argument <code>--authorize-api=false</code>, but this is insecure and <strong>strongly discouraged</strong>.</p>
+<h2 id="configuration-29">Configuration</h2>
+<p>Here is an example of how to make a <code>sia</code> remote called <code>mySia</code>. First, run:</p>
+<pre><code> rclone config</code></pre>
+<p>This will guide you through an interactive setup process:</p>
+<pre><code>No remotes found - make a new one
+n) New remote
+s) Set configuration password
+q) Quit config
+n/s/q&gt; n
+name&gt; mySia
+Type of storage to configure.
+Enter a string value. Press Enter for the default (&quot;&quot;).
+Choose a number from below, or type in your own value
+...
+29 / Sia Decentralized Cloud
+ \ &quot;sia&quot;
+...
+Storage&gt; sia
+Sia daemon API URL, like http://sia.daemon.host:9980.
+Note that siad must run with --disable-api-security to open API port for other hosts (not recommended).
+Keep default if Sia daemon runs on localhost.
+Enter a string value. Press Enter for the default (&quot;http://127.0.0.1:9980&quot;).
+api_url&gt; http://127.0.0.1:9980
+Sia Daemon API Password.
+Can be found in the apipassword file located in HOME/.sia/ or in the daemon directory.
+y) Yes type in my own password
+g) Generate random password
+n) No leave this optional password blank (default)
+y/g/n&gt; y
+Enter the password:
+password:
+Confirm the password:
+password:
+Edit advanced config?
+y) Yes
+n) No (default)
+y/n&gt; n
+--------------------
+[mySia]
+type = sia
+api_url = http://127.0.0.1:9980
+api_password = *** ENCRYPTED ***
+--------------------
+y) Yes this is OK (default)
+e) Edit this remote
+d) Delete this remote
+y/e/d&gt; y</code></pre>
+<p>Once configured, you can then use <code>rclone</code> like this:</p>
+<ul>
+<li>List directories in top level of your Sia storage</li>
+</ul>
+<pre><code>rclone lsd mySia:</code></pre>
+<ul>
+<li>List all the files in your Sia storage</li>
+</ul>
+<pre><code>rclone ls mySia:</code></pre>
+<ul>
+<li>Upload a local directory to the Sia directory called <em>backup</em></li>
+</ul>
+<pre><code>rclone copy /home/source mySia:backup</code></pre>
+<h3 id="standard-options-28">Standard options</h3>
+<p>Here are the standard options specific to sia (Sia Decentralized Cloud).</p>
+<h4 id="sia-api-url">--sia-api-url</h4>
+<p>Sia daemon API URL, like http://sia.daemon.host:9980.</p>
+<p>Note that siad must run with --disable-api-security to open API port for other hosts (not recommended). Keep default if Sia daemon runs on localhost.</p>
+<ul>
+<li>Config: api_url</li>
+<li>Env Var: RCLONE_SIA_API_URL</li>
+<li>Type: string</li>
+<li>Default: "http://127.0.0.1:9980"</li>
+</ul>
+<h4 id="sia-api-password">--sia-api-password</h4>
+<p>Sia Daemon API Password.</p>
+<p>Can be found in the apipassword file located in HOME/.sia/ or in the daemon directory.</p>
+<p><strong>NB</strong> Input to this must be obscured - see <a href="https://rclone.org/commands/rclone_obscure/">rclone obscure</a>.</p>
+<ul>
+<li>Config: api_password</li>
+<li>Env Var: RCLONE_SIA_API_PASSWORD</li>
+<li>Type: string</li>
+<li>Default: ""</li>
+</ul>
+<h3 id="advanced-options-28">Advanced options</h3>
+<p>Here are the advanced options specific to sia (Sia Decentralized Cloud).</p>
+<h4 id="sia-user-agent">--sia-user-agent</h4>
+<p>Siad User Agent</p>
+<p>Sia daemon requires the 'Sia-Agent' user agent by default for security</p>
+<ul>
+<li>Config: user_agent</li>
+<li>Env Var: RCLONE_SIA_USER_AGENT</li>
+<li>Type: string</li>
+<li>Default: "Sia-Agent"</li>
+</ul>
+<h4 id="sia-encoding">--sia-encoding</h4>
+<p>This sets the encoding for the backend.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<ul>
+<li>Config: encoding</li>
+<li>Env Var: RCLONE_SIA_ENCODING</li>
+<li>Type: MultiEncoder</li>
+<li>Default: Slash,Question,Hash,Percent,Del,Ctl,InvalidUtf8,Dot</li>
+</ul>
+<h2 id="limitations-24">Limitations</h2>
+<ul>
+<li>Modification times not supported</li>
+<li>Checksums not supported</li>
+<li><code>rclone about</code> not supported</li>
+<li>rclone can work only with <em>Siad</em> or <em>Sia-UI</em> at the moment, the <strong>SkyNet daemon is not supported yet.</strong></li>
+<li>Sia does not allow control characters or symbols like question and pound signs in file names. rclone will transparently <a href="https://rclone.org/overview/#encoding">encode</a> them for you, but you'd better be aware</li>
+</ul>
<h1 id="swift">Swift</h1>
<p>Swift refers to <a href="https://docs.openstack.org/swift/latest/">OpenStack Object Storage</a>. Commercial implementations of that being:</p>
<ul>
<li><a href="https://www.rackspace.com/cloud/files/">Rackspace Cloud Files</a></li>
<li><a href="https://www.memset.com/cloud/storage/">Memset Memstore</a></li>
<li><a href="https://www.ovh.co.uk/public-cloud/storage/object-storage/">OVH Object Storage</a></li>
-<li><a href="https://cloud.oracle.com/storage-opc">Oracle Cloud Storage</a></li>
+<li><a href="https://cloud.oracle.com/object-storage/buckets">Oracle Cloud Storage</a></li>
<li><a href="https://console.bluemix.net/docs/infrastructure/objectstorage-swift/index.html">IBM Bluemix Cloud ObjectStorage Swift</a></li>
</ul>
<p>Paths are specified as <code>remote:container</code> (or <code>remote:</code> for the <code>lsd</code> command.) You may put subdirectories in too, e.g. <code>remote:container/path/to/dir</code>.</p>
+<h2 id="configuration-30">Configuration</h2>
<p>Here is an example of making a swift configuration. First run</p>
<pre><code>rclone config</code></pre>
<p>This will guide you through an interactive setup process.</p>
@@ -18112,7 +18991,33 @@ rclone lsd myremote:</code></pre>
<h3 id="update-and---use-server-modtime">--update and --use-server-modtime</h3>
<p>As noted below, the modified time is stored on metadata on the object. It is used by default for all operations that require checking the time a file was last updated. It allows rclone to treat the remote more like a true filesystem, but it is inefficient because it requires an extra API call to retrieve the metadata.</p>
<p>For many operations, the time the object was last uploaded to the remote is sufficient to determine if it is "dirty". By using <code>--update</code> along with <code>--use-server-modtime</code>, you can avoid the extra API call and simply upload files whose local modtime is newer than the time it was last uploaded.</p>
-<h3 id="standard-options-27">Standard Options</h3>
+<h3 id="modified-time-11">Modified time</h3>
+<p>The modified time is stored as metadata on the object as <code>X-Object-Meta-Mtime</code> as floating point since the epoch accurate to 1 ns.</p>
+<p>This is a de facto standard (used in the official python-swiftclient amongst others) for storing the modification time for an object.</p>
+<h3 id="restricted-filename-characters-21">Restricted filename characters</h3>
+<table>
+<thead>
+<tr class="header">
+<th>Character</th>
+<th style="text-align: center;">Value</th>
+<th style="text-align: center;">Replacement</th>
+</tr>
+</thead>
+<tbody>
+<tr class="odd">
+<td>NUL</td>
+<td style="text-align: center;">0x00</td>
+<td style="text-align: center;">␀</td>
+</tr>
+<tr class="even">
+<td>/</td>
+<td style="text-align: center;">0x2F</td>
+<td style="text-align: center;">/</td>
+</tr>
+</tbody>
+</table>
+<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
+<h3 id="standard-options-29">Standard options</h3>
<p>Here are the standard options specific to swift (OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)).</p>
<h4 id="swift-env-auth">--swift-env-auth</h4>
<p>Get swift credentials from environment variables in standard OpenStack form.</p>
@@ -18125,11 +19030,12 @@ rclone lsd myremote:</code></pre>
<ul>
<li>"false"
<ul>
-<li>Enter swift credentials in the next step</li>
+<li>Enter swift credentials in the next step.</li>
</ul></li>
<li>"true"
<ul>
-<li>Get swift credentials from environment vars. Leave other fields blank if using this.</li>
+<li>Get swift credentials from environment vars.</li>
+<li>Leave other fields blank if using this.</li>
</ul></li>
</ul></li>
</ul>
@@ -18201,7 +19107,7 @@ rclone lsd myremote:</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="swift-tenant">--swift-tenant</h4>
-<p>Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)</p>
+<p>Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME).</p>
<ul>
<li>Config: tenant</li>
<li>Env Var: RCLONE_SWIFT_TENANT</li>
@@ -18209,7 +19115,7 @@ rclone lsd myremote:</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="swift-tenant-id">--swift-tenant-id</h4>
-<p>Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)</p>
+<p>Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID).</p>
<ul>
<li>Config: tenant_id</li>
<li>Env Var: RCLONE_SWIFT_TENANT_ID</li>
@@ -18217,7 +19123,7 @@ rclone lsd myremote:</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="swift-tenant-domain">--swift-tenant-domain</h4>
-<p>Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)</p>
+<p>Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME).</p>
<ul>
<li>Config: tenant_domain</li>
<li>Env Var: RCLONE_SWIFT_TENANT_DOMAIN</li>
@@ -18225,7 +19131,7 @@ rclone lsd myremote:</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="swift-region">--swift-region</h4>
-<p>Region name - optional (OS_REGION_NAME)</p>
+<p>Region name - optional (OS_REGION_NAME).</p>
<ul>
<li>Config: region</li>
<li>Env Var: RCLONE_SWIFT_REGION</li>
@@ -18233,7 +19139,7 @@ rclone lsd myremote:</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="swift-storage-url">--swift-storage-url</h4>
-<p>Storage URL - optional (OS_STORAGE_URL)</p>
+<p>Storage URL - optional (OS_STORAGE_URL).</p>
<ul>
<li>Config: storage_url</li>
<li>Env Var: RCLONE_SWIFT_STORAGE_URL</li>
@@ -18241,7 +19147,7 @@ rclone lsd myremote:</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="swift-auth-token">--swift-auth-token</h4>
-<p>Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)</p>
+<p>Auth Token from alternate authentication - optional (OS_AUTH_TOKEN).</p>
<ul>
<li>Config: auth_token</li>
<li>Env Var: RCLONE_SWIFT_AUTH_TOKEN</li>
@@ -18249,7 +19155,7 @@ rclone lsd myremote:</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="swift-application-credential-id">--swift-application-credential-id</h4>
-<p>Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)</p>
+<p>Application Credential ID (OS_APPLICATION_CREDENTIAL_ID).</p>
<ul>
<li>Config: application_credential_id</li>
<li>Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_ID</li>
@@ -18257,7 +19163,7 @@ rclone lsd myremote:</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="swift-application-credential-name">--swift-application-credential-name</h4>
-<p>Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)</p>
+<p>Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME).</p>
<ul>
<li>Config: application_credential_name</li>
<li>Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_NAME</li>
@@ -18265,7 +19171,7 @@ rclone lsd myremote:</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="swift-application-credential-secret">--swift-application-credential-secret</h4>
-<p>Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)</p>
+<p>Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET).</p>
<ul>
<li>Config: application_credential_secret</li>
<li>Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_SECRET</li>
@@ -18273,7 +19179,7 @@ rclone lsd myremote:</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="swift-auth-version">--swift-auth-version</h4>
-<p>AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)</p>
+<p>AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION).</p>
<ul>
<li>Config: auth_version</li>
<li>Env Var: RCLONE_SWIFT_AUTH_VERSION</li>
@@ -18281,7 +19187,7 @@ rclone lsd myremote:</code></pre>
<li>Default: 0</li>
</ul>
<h4 id="swift-endpoint-type">--swift-endpoint-type</h4>
-<p>Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE)</p>
+<p>Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE).</p>
<ul>
<li>Config: endpoint_type</li>
<li>Env Var: RCLONE_SWIFT_ENDPOINT_TYPE</li>
@@ -18304,7 +19210,7 @@ rclone lsd myremote:</code></pre>
</ul></li>
</ul>
<h4 id="swift-storage-policy">--swift-storage-policy</h4>
-<p>The storage policy to use when creating a new container</p>
+<p>The storage policy to use when creating a new container.</p>
<p>This applies the specified storage policy when creating a new container. The policy cannot be changed afterwards. The allowed configuration values and their meaning depend on your Swift storage provider.</p>
<ul>
<li>Config: storage_policy</li>
@@ -18327,10 +19233,11 @@ rclone lsd myremote:</code></pre>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-27">Advanced Options</h3>
+<h3 id="advanced-options-29">Advanced options</h3>
<p>Here are the advanced options specific to swift (OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)).</p>
<h4 id="swift-leave-parts-on-error">--swift-leave-parts-on-error</h4>
-<p>If true avoid calling abort upload on a failure. It should be set to true for resuming uploads across different sessions.</p>
+<p>If true avoid calling abort upload on a failure.</p>
+<p>It should be set to true for resuming uploads across different sessions.</p>
<ul>
<li>Config: leave_parts_on_error</li>
<li>Env Var: RCLONE_SWIFT_LEAVE_PARTS_ON_ERROR</li>
@@ -18359,51 +19266,34 @@ rclone lsd myremote:</code></pre>
</ul>
<h4 id="swift-encoding">--swift-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_SWIFT_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,InvalidUtf8</li>
</ul>
-<h3 id="modified-time-10">Modified time</h3>
-<p>The modified time is stored as metadata on the object as <code>X-Object-Meta-Mtime</code> as floating point since the epoch accurate to 1 ns.</p>
-<p>This is a de facto standard (used in the official python-swiftclient amongst others) for storing the modification time for an object.</p>
-<h3 id="restricted-filename-characters-21">Restricted filename characters</h3>
-<table>
-<thead>
-<tr class="header">
-<th>Character</th>
-<th style="text-align: center;">Value</th>
-<th style="text-align: center;">Replacement</th>
-</tr>
-</thead>
-<tbody>
-<tr class="odd">
-<td>NUL</td>
-<td style="text-align: center;">0x00</td>
-<td style="text-align: center;">␀</td>
-</tr>
-<tr class="even">
-<td>/</td>
-<td style="text-align: center;">0x2F</td>
-<td style="text-align: center;">/</td>
-</tr>
-</tbody>
-</table>
-<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
-<h3 id="limitations-25">Limitations</h3>
+<h2 id="limitations-25">Limitations</h2>
<p>The Swift API doesn't return a correct MD5SUM for segmented files (Dynamic or Static Large Objects) so rclone won't check or use the MD5SUM for these.</p>
-<h3 id="troubleshooting-3">Troubleshooting</h3>
-<h4 id="rclone-gives-failed-to-create-file-system-for-remote-bad-request">Rclone gives Failed to create file system for "remote:": Bad Request</h4>
+<h2 id="troubleshooting-3">Troubleshooting</h2>
+<h3 id="rclone-gives-failed-to-create-file-system-for-remote-bad-request">Rclone gives Failed to create file system for "remote:": Bad Request</h3>
<p>Due to an oddity of the underlying swift library, it gives a "Bad Request" error rather than a more sensible error when the authentication fails for Swift.</p>
<p>So this most likely means your username / password is wrong. You can investigate further with the <code>--dump-bodies</code> flag.</p>
<p>This may also be caused by specifying the region when you shouldn't have (e.g. OVH).</p>
-<h4 id="rclone-gives-failed-to-create-file-system-response-didnt-have-storage-url-and-auth-token">Rclone gives Failed to create file system: Response didn't have storage url and auth token</h4>
+<h3 id="rclone-gives-failed-to-create-file-system-response-didnt-have-storage-url-and-auth-token">Rclone gives Failed to create file system: Response didn't have storage url and auth token</h3>
<p>This is most likely caused by forgetting to specify your tenant when setting up a swift remote.</p>
+<h2 id="ovh-cloud-archive">OVH Cloud Archive</h2>
+<p>To use rclone with OVH cloud archive, first use <code>rclone config</code> to set up a <code>swift</code> backend with OVH, choosing <code>pca</code> as the <code>storage_policy</code>.</p>
+<h3 id="uploading-objects">Uploading Objects</h3>
+<p>Uploading objects to OVH cloud archive is no different to object storage, you just simply run the command you like (move, copy or sync) to upload the objects. Once uploaded the objects will show in a "Frozen" state within the OVH control panel.</p>
+<h3 id="retrieving-objects">Retrieving Objects</h3>
+<p>To retrieve objects use <code>rclone copy</code> as normal. If the objects are in a frozen state then rclone will ask for them all to be unfrozen and it will wait at the end of the output with a message like the following:</p>
+<p><code>2019/03/23 13:06:33 NOTICE: Received retry after error - sleeping until 2019-03-23T13:16:33.481657164+01:00 (9m59.99985121s)</code></p>
+<p>Rclone will wait for the time specified then retry the copy.</p>
<h1 id="pcloud">pCloud</h1>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
+<h2 id="configuration-31">Configuration</h2>
<p>The initial setup for pCloud involves getting a token from pCloud which you need to do in your browser. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -18457,9 +19347,8 @@ y/e/d&gt; y</code></pre>
<pre><code>rclone copy /home/source remote:backup</code></pre>
<h3 id="modified-time-and-hashes-9">Modified time and hashes</h3>
<p>pCloud allows modification times to be set on objects accurate to 1 second. These will be used to detect whether objects need syncing or not. In order to set a Modification time pCloud requires the object be re-uploaded.</p>
-<p>pCloud supports MD5 and SHA1 type hashes in the US region but and SHA1 only in the EU region, so you can use the <code>--checksum</code> flag.</p>
-<p>(Note that pCloud also support SHA256 in the EU region, but rclone does not have support for that yet.)</p>
-<h4 id="restricted-filename-characters-22">Restricted filename characters</h4>
+<p>pCloud supports MD5 and SHA1 hashes in the US region, and SHA1 and SHA256 hashes in the EU region, so you can use the <code>--checksum</code> flag.</p>
+<h3 id="restricted-filename-characters-22">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -18486,10 +19375,11 @@ y/e/d&gt; y</code></pre>
<p>However you can set this to restrict rclone to a specific folder hierarchy.</p>
<p>In order to do this you will have to find the <code>Folder ID</code> of the directory you wish rclone to display. This will be the <code>folder</code> field of the URL when you open the relevant folder in the pCloud web interface.</p>
<p>So if the folder you want rclone to use has a URL which looks like <code>https://my.pcloud.com/#page=filemanager&amp;folder=5xxxxxxxx8&amp;tpl=foldergrid</code> in the browser, then you use <code>5xxxxxxxx8</code> as the <code>root_folder_id</code> in the config.</p>
-<h3 id="standard-options-28">Standard Options</h3>
+<h3 id="standard-options-30">Standard options</h3>
<p>Here are the standard options specific to pcloud (Pcloud).</p>
<h4 id="pcloud-client-id">--pcloud-client-id</h4>
-<p>OAuth Client Id Leave blank normally.</p>
+<p>OAuth Client Id.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_id</li>
<li>Env Var: RCLONE_PCLOUD_CLIENT_ID</li>
@@ -18497,14 +19387,15 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="pcloud-client-secret">--pcloud-client-secret</h4>
-<p>OAuth Client Secret Leave blank normally.</p>
+<p>OAuth Client Secret.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_secret</li>
<li>Env Var: RCLONE_PCLOUD_CLIENT_SECRET</li>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-28">Advanced Options</h3>
+<h3 id="advanced-options-30">Advanced options</h3>
<p>Here are the advanced options specific to pcloud (Pcloud).</p>
<h4 id="pcloud-token">--pcloud-token</h4>
<p>OAuth Access Token as a JSON blob.</p>
@@ -18515,7 +19406,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="pcloud-auth-url">--pcloud-auth-url</h4>
-<p>Auth server URL. Leave blank to use the provider defaults.</p>
+<p>Auth server URL.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: auth_url</li>
<li>Env Var: RCLONE_PCLOUD_AUTH_URL</li>
@@ -18523,7 +19415,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="pcloud-token-url">--pcloud-token-url</h4>
-<p>Token server url. Leave blank to use the provider defaults.</p>
+<p>Token server url.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: token_url</li>
<li>Env Var: RCLONE_PCLOUD_TOKEN_URL</li>
@@ -18532,7 +19425,7 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="pcloud-encoding">--pcloud-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_PCLOUD_ENCODING</li>
@@ -18570,6 +19463,7 @@ y/e/d&gt; y</code></pre>
<h1 id="premiumize.me">premiumize.me</h1>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
+<h2 id="configuration-32">Configuration</h2>
<p>The initial setup for <a href="https://premiumize.me/">premiumize.me</a> involves getting a token from premiumize.me which you need to do in your browser. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -18621,7 +19515,7 @@ y/e/d&gt; </code></pre>
<pre><code>rclone copy /home/source remote:backup</code></pre>
<h3 id="modified-time-and-hashes-10">Modified time and hashes</h3>
<p>premiumize.me does not support modification times or hashes, therefore syncing will default to <code>--size-only</code> checking. Note that using <code>--update</code> will work.</p>
-<h4 id="restricted-filename-characters-23">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-23">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -18645,7 +19539,7 @@ y/e/d&gt; </code></pre>
</tbody>
</table>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
-<h3 id="standard-options-29">Standard Options</h3>
+<h3 id="standard-options-31">Standard options</h3>
<p>Here are the standard options specific to premiumizeme (premiumize.me).</p>
<h4 id="premiumizeme-api-key">--premiumizeme-api-key</h4>
<p>API Key.</p>
@@ -18656,24 +19550,25 @@ y/e/d&gt; </code></pre>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-29">Advanced Options</h3>
+<h3 id="advanced-options-31">Advanced options</h3>
<p>Here are the advanced options specific to premiumizeme (premiumize.me).</p>
<h4 id="premiumizeme-encoding">--premiumizeme-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_PREMIUMIZEME_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-26">Limitations</h3>
+<h2 id="limitations-26">Limitations</h2>
<p>Note that premiumize.me is case insensitive so you can't have a file called "Hello.doc" and one called "hello.doc".</p>
<p>premiumize.me file names can't have the <code>\</code> or <code>"</code> characters in. rclone maps these to and from an identical looking unicode equivalents <code>\</code> and <code>"</code></p>
<p>premiumize.me only supports filenames up to 255 characters in length.</p>
<h1 id="put.io">put.io</h1>
<p>Paths are specified as <code>remote:path</code></p>
<p>put.io paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
+<h2 id="configuration-33">Configuration</h2>
<p>The initial setup for put.io involves getting a token from put.io which you need to do in your browser. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -18736,7 +19631,7 @@ e/n/d/r/c/s/q&gt; q</code></pre>
<pre><code>rclone ls remote:</code></pre>
<p>To copy a local directory to a put.io directory called backup</p>
<pre><code>rclone copy /home/source remote:backup</code></pre>
-<h4 id="restricted-filename-characters-24">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-24">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -18755,11 +19650,11 @@ e/n/d/r/c/s/q&gt; q</code></pre>
</tbody>
</table>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
-<h3 id="advanced-options-30">Advanced Options</h3>
+<h3 id="advanced-options-32">Advanced options</h3>
<p>Here are the advanced options specific to putio (Put.io).</p>
<h4 id="putio-encoding">--putio-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_PUTIO_ENCODING</li>
@@ -18768,7 +19663,7 @@ e/n/d/r/c/s/q&gt; q</code></pre>
</ul>
<h1 id="seafile">Seafile</h1>
<p>This is a backend for the <a href="https://www.seafile.com/">Seafile</a> storage service: - It works with both the free community edition or the professional edition. - Seafile versions 6.x and 7.x are all supported. - Encrypted libraries are also supported. - It supports 2FA enabled users</p>
-<h3 id="root-mode-vs-library-mode">Root mode vs Library mode</h3>
+<h2 id="configuration-34">Configuration</h2>
<p>There are two distinct modes you can setup your remote: - you point your remote to the <strong>root of the server</strong>, meaning you don't specify a library during the configuration: Paths are specified as <code>remote:library</code>. You may put subdirectories in too, e.g. <code>remote:library/path/to/dir</code>. - you point your remote to a specific library during the configuration: Paths are specified as <code>remote:path/to/dir</code>. <strong>This is the recommended mode when using encrypted libraries</strong>. (<em>This mode is possibly slightly faster than the root mode</em>)</p>
<h3 id="configuration-in-root-mode">Configuration in root mode</h3>
<p>Here is an example of making a seafile configuration for a user with <strong>no</strong> two-factor authentication. First run</p>
@@ -18927,7 +19822,7 @@ y/e/d&gt; y</code></pre>
<pre><code>rclone sync -i /home/local/directory seafile:</code></pre>
<h3 id="fast-list-9">--fast-list</h3>
<p>Seafile version 7+ supports <code>--fast-list</code> which allows you to use fewer transactions in exchange for more memory. See the <a href="https://rclone.org/docs/#fast-list">rclone docs</a> for more details. Please note this is not supported on seafile server version 6.x</p>
-<h4 id="restricted-filename-characters-25">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-25">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -18968,10 +19863,10 @@ http://my.seafile.server/d/9ea2455f6f55478bbb0d/</code></pre>
<h3 id="compatibility">Compatibility</h3>
<p>It has been actively tested using the <a href="https://github.com/haiwen/seafile-docker">seafile docker image</a> of these versions: - 6.3.4 community edition - 7.0.5 community edition - 7.1.3 community edition</p>
<p>Versions below 6.0 are not supported. Versions between 6.0 and 6.3 haven't been tested and might not work properly.</p>
-<h3 id="standard-options-30">Standard Options</h3>
+<h3 id="standard-options-32">Standard options</h3>
<p>Here are the standard options specific to seafile (seafile).</p>
<h4 id="seafile-url">--seafile-url</h4>
-<p>URL of seafile host to connect to</p>
+<p>URL of seafile host to connect to.</p>
<ul>
<li>Config: url</li>
<li>Env Var: RCLONE_SEAFILE_URL</li>
@@ -18981,12 +19876,12 @@ http://my.seafile.server/d/9ea2455f6f55478bbb0d/</code></pre>
<ul>
<li>"https://cloud.seafile.com/"
<ul>
-<li>Connect to cloud.seafile.com</li>
+<li>Connect to cloud.seafile.com.</li>
</ul></li>
</ul></li>
</ul>
<h4 id="seafile-user">--seafile-user</h4>
-<p>User name (usually email address)</p>
+<p>User name (usually email address).</p>
<ul>
<li>Config: user</li>
<li>Env Var: RCLONE_SEAFILE_USER</li>
@@ -18994,7 +19889,7 @@ http://my.seafile.server/d/9ea2455f6f55478bbb0d/</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="seafile-pass">--seafile-pass</h4>
-<p>Password</p>
+<p>Password.</p>
<p><strong>NB</strong> Input to this must be obscured - see <a href="https://rclone.org/commands/rclone_obscure/">rclone obscure</a>.</p>
<ul>
<li>Config: pass</li>
@@ -19003,7 +19898,7 @@ http://my.seafile.server/d/9ea2455f6f55478bbb0d/</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="seafile-2fa">--seafile-2fa</h4>
-<p>Two-factor authentication ('true' if the account has 2FA enabled)</p>
+<p>Two-factor authentication ('true' if the account has 2FA enabled).</p>
<ul>
<li>Config: 2fa</li>
<li>Env Var: RCLONE_SEAFILE_2FA</li>
@@ -19011,7 +19906,8 @@ http://my.seafile.server/d/9ea2455f6f55478bbb0d/</code></pre>
<li>Default: false</li>
</ul>
<h4 id="seafile-library">--seafile-library</h4>
-<p>Name of the library. Leave blank to access all non-encrypted libraries.</p>
+<p>Name of the library.</p>
+<p>Leave blank to access all non-encrypted libraries.</p>
<ul>
<li>Config: library</li>
<li>Env Var: RCLONE_SEAFILE_LIBRARY</li>
@@ -19019,7 +19915,8 @@ http://my.seafile.server/d/9ea2455f6f55478bbb0d/</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="seafile-library-key">--seafile-library-key</h4>
-<p>Library password (for encrypted libraries only). Leave blank if you pass it through the command line.</p>
+<p>Library password (for encrypted libraries only).</p>
+<p>Leave blank if you pass it through the command line.</p>
<p><strong>NB</strong> Input to this must be obscured - see <a href="https://rclone.org/commands/rclone_obscure/">rclone obscure</a>.</p>
<ul>
<li>Config: library_key</li>
@@ -19028,17 +19925,17 @@ http://my.seafile.server/d/9ea2455f6f55478bbb0d/</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="seafile-auth-token">--seafile-auth-token</h4>
-<p>Authentication token</p>
+<p>Authentication token.</p>
<ul>
<li>Config: auth_token</li>
<li>Env Var: RCLONE_SEAFILE_AUTH_TOKEN</li>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-31">Advanced Options</h3>
+<h3 id="advanced-options-33">Advanced options</h3>
<p>Here are the advanced options specific to seafile (seafile).</p>
<h4 id="seafile-create-library">--seafile-create-library</h4>
-<p>Should rclone create a library if it doesn't exist</p>
+<p>Should rclone create a library if it doesn't exist.</p>
<ul>
<li>Config: create_library</li>
<li>Env Var: RCLONE_SEAFILE_CREATE_LIBRARY</li>
@@ -19047,7 +19944,7 @@ http://my.seafile.server/d/9ea2455f6f55478bbb0d/</code></pre>
</ul>
<h4 id="seafile-encoding">--seafile-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_SEAFILE_ENCODING</li>
@@ -19063,7 +19960,8 @@ http://my.seafile.server/d/9ea2455f6f55478bbb0d/</code></pre>
</ul>
<p>SFTP runs over SSH v2 and is installed as standard with most modern SSH installations.</p>
<p>Paths are specified as <code>remote:path</code>. If the path does not begin with a <code>/</code> it is relative to the home directory of the user. An empty path <code>remote:</code> refers to the user's home directory. For example, <code>rclone lsd remote:</code> would list the home directory of the user cofigured in the rclone remote config (<code>i.e /home/sftpuser</code>). However, <code>rclone lsd remote:/</code> would list the root directory for remote machine (i.e. <code>/</code>)</p>
-<p>"Note that some SFTP servers will need the leading / - Synology is a good example of this. rsync.net, on the other hand, requires users to OMIT the leading /.</p>
+<p>Note that some SFTP servers will need the leading / - Synology is a good example of this. rsync.net, on the other hand, requires users to OMIT the leading /.</p>
+<h2 id="configuration-35">Configuration</h2>
<p>Here is an example of making an SFTP configuration. First run</p>
<pre><code>rclone config</code></pre>
<p>This will guide you through an interactive setup process.</p>
@@ -19131,14 +20029,17 @@ y/e/d&gt; y</code></pre>
</ul>
<p>Key files should be PEM-encoded private key files. For instance <code>/home/$USER/.ssh/id_rsa</code>. Only unencrypted OpenSSH or PEM encrypted files are supported.</p>
<p>The key file can be specified in either an external file (key_file) or contained within the rclone config file (key_pem). If using key_pem in the config file, the entry should be on a single line with new line ('' or '') separating lines. i.e.</p>
-<p>key_pem = -----BEGIN RSA PRIVATE KEY-----0gAMbMbaSsd-----END RSA PRIVATE KEY-----</p>
+<pre><code>key_pem = -----BEGIN RSA PRIVATE KEY-----\nMaMbaIXtE\n0gAMbMbaSsd\nMbaass\n-----END RSA PRIVATE KEY-----</code></pre>
<p>This will generate it correctly for key_pem for use in the config:</p>
<pre><code>awk &#39;{printf &quot;%s\\n&quot;, $0}&#39; &lt; ~/.ssh/id_rsa</code></pre>
-<p>If you don't specify <code>pass</code>, <code>key_file</code>, or <code>key_pem</code> then rclone will attempt to contact an ssh-agent.</p>
-<p>You can also specify <code>key_use_agent</code> to force the usage of an ssh-agent. In this case <code>key_file</code> or <code>key_pem</code> can also be specified to force the usage of a specific key in the ssh-agent.</p>
+<p>If you don't specify <code>pass</code>, <code>key_file</code>, or <code>key_pem</code> or <code>ask_password</code> then rclone will attempt to contact an ssh-agent. You can also specify <code>key_use_agent</code> to force the usage of an ssh-agent. In this case <code>key_file</code> or <code>key_pem</code> can also be specified to force the usage of a specific key in the ssh-agent.</p>
<p>Using an ssh-agent is the only way to load encrypted OpenSSH keys at the moment.</p>
-<p>If you set the <code>--sftp-ask-password</code> option, rclone will prompt for a password when needed and no password has been configured.</p>
-<p>If you have a certificate then you can provide the path to the public key that contains the certificate. For example:</p>
+<p>If you set the <code>ask_password</code> option, rclone will prompt for a password when needed and no password has been configured.</p>
+<h4 id="certificate-signed-keys">Certificate-signed keys</h4>
+<p>With traditional key-based authentication, you configure your private key only, and the public key built into it will be used during the authentication process.</p>
+<p>If you have a certificate you may use it to sign your public key, creating a separate SSH user certificate that should be used instead of the plain public key extracted from the private key. Then you must provide the path to the user certificate public key file in <code>pubkey_file</code>.</p>
+<p>Note: This is not the traditional public key paired with your private key, typically saved as <code>/home/$USER/.ssh/id_rsa.pub</code>. Setting this path in <code>pubkey_file</code> will not work.</p>
+<p>Example:</p>
<pre><code>[remote]
type = sftp
host = example.com
@@ -19178,29 +20079,23 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<p>And then at the end of the session</p>
<pre><code>eval `ssh-agent -k`</code></pre>
<p>These commands can be used in scripts of course.</p>
-<h3 id="modified-time-11">Modified time</h3>
+<h3 id="modified-time-12">Modified time</h3>
<p>Modified times are stored on the server to 1 second precision.</p>
<p>Modified times are used in syncing and are fully supported.</p>
<p>Some SFTP servers disable setting/modifying the file modification time after upload (for example, certain configurations of ProFTPd with mod_sftp). If you are using one of these servers, you can set the option <code>set_modtime = false</code> in your RClone backend configuration to disable this behaviour.</p>
-<h3 id="standard-options-31">Standard Options</h3>
+<h3 id="standard-options-33">Standard options</h3>
<p>Here are the standard options specific to sftp (SSH/SFTP Connection).</p>
<h4 id="sftp-host">--sftp-host</h4>
-<p>SSH host to connect to</p>
+<p>SSH host to connect to.</p>
+<p>E.g. "example.com".</p>
<ul>
<li>Config: host</li>
<li>Env Var: RCLONE_SFTP_HOST</li>
<li>Type: string</li>
<li>Default: ""</li>
-<li>Examples:
-<ul>
-<li>"example.com"
-<ul>
-<li>Connect to example.com</li>
-</ul></li>
-</ul></li>
</ul>
<h4 id="sftp-user">--sftp-user</h4>
-<p>SSH username, leave blank for current username, $USER</p>
+<p>SSH username, leave blank for current username, $USER.</p>
<ul>
<li>Config: user</li>
<li>Env Var: RCLONE_SFTP_USER</li>
@@ -19208,7 +20103,7 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="sftp-port">--sftp-port</h4>
-<p>SSH port, leave blank to use default (22)</p>
+<p>SSH port, leave blank to use default (22).</p>
<ul>
<li>Config: port</li>
<li>Env Var: RCLONE_SFTP_PORT</li>
@@ -19225,7 +20120,8 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="sftp-key-pem">--sftp-key-pem</h4>
-<p>Raw PEM-encoded private key, If specified, will override key_file parameter.</p>
+<p>Raw PEM-encoded private key.</p>
+<p>If specified, will override key_file parameter.</p>
<ul>
<li>Config: key_pem</li>
<li>Env Var: RCLONE_SFTP_KEY_PEM</li>
@@ -19233,7 +20129,8 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="sftp-key-file">--sftp-key-file</h4>
-<p>Path to PEM-encoded private key file, leave blank or set key-use-agent to use ssh-agent.</p>
+<p>Path to PEM-encoded private key file.</p>
+<p>Leave blank or set key-use-agent to use ssh-agent.</p>
<p>Leading <code>~</code> will be expanded in the file name as will environment variables such as <code>${RCLONE_CONFIG_DIR}</code>.</p>
<ul>
<li>Config: key_file</li>
@@ -19300,14 +20197,15 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
</ul></li>
</ul>
<h4 id="sftp-disable-hashcheck">--sftp-disable-hashcheck</h4>
-<p>Disable the execution of SSH commands to determine if remote file hashing is available. Leave blank or set to false to enable hashing (recommended), set to true to disable hashing.</p>
+<p>Disable the execution of SSH commands to determine if remote file hashing is available.</p>
+<p>Leave blank or set to false to enable hashing (recommended), set to true to disable hashing.</p>
<ul>
<li>Config: disable_hashcheck</li>
<li>Env Var: RCLONE_SFTP_DISABLE_HASHCHECK</li>
<li>Type: bool</li>
<li>Default: false</li>
</ul>
-<h3 id="advanced-options-32">Advanced Options</h3>
+<h3 id="advanced-options-34">Advanced options</h3>
<p>Here are the advanced options specific to sftp (SSH/SFTP Connection).</p>
<h4 id="sftp-known-hosts-file">--sftp-known-hosts-file</h4>
<p>Optional path to known_hosts file.</p>
@@ -19322,7 +20220,7 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<ul>
<li>"~/.ssh/known_hosts"
<ul>
-<li>Use OpenSSH's known_hosts file</li>
+<li>Use OpenSSH's known_hosts file.</li>
</ul></li>
</ul></li>
</ul>
@@ -19357,7 +20255,8 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<li>Default: true</li>
</ul>
<h4 id="sftp-md5sum-command">--sftp-md5sum-command</h4>
-<p>The command used to read md5 hashes. Leave blank for autodetect.</p>
+<p>The command used to read md5 hashes.</p>
+<p>Leave blank for autodetect.</p>
<ul>
<li>Config: md5sum_command</li>
<li>Env Var: RCLONE_SFTP_MD5SUM_COMMAND</li>
@@ -19365,7 +20264,8 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="sftp-sha1sum-command">--sftp-sha1sum-command</h4>
-<p>The command used to read sha1 hashes. Leave blank for autodetect.</p>
+<p>The command used to read sha1 hashes.</p>
+<p>Leave blank for autodetect.</p>
<ul>
<li>Config: sha1sum_command</li>
<li>Env Var: RCLONE_SFTP_SHA1SUM_COMMAND</li>
@@ -19398,7 +20298,7 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="sftp-use-fstat">--sftp-use-fstat</h4>
-<p>If set use fstat instead of stat</p>
+<p>If set use fstat instead of stat.</p>
<p>Some servers limit the amount of open files and calling Stat after opening the file will throw an error from the server. Setting this flag will call Fstat instead of Stat which is called on an already open file handle.</p>
<p>It has been found that this helps with IBM Sterling SFTP servers which have "extractability" level set to 1 which means only 1 file can be opened at any given time.</p>
<ul>
@@ -19408,7 +20308,7 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<li>Default: false</li>
</ul>
<h4 id="sftp-disable-concurrent-reads">--sftp-disable-concurrent-reads</h4>
-<p>If set don't use concurrent reads</p>
+<p>If set don't use concurrent reads.</p>
<p>Normally concurrent reads are safe to use and not using them will degrade performance, so this option is disabled by default.</p>
<p>Some servers limit the amount number of times a file can be downloaded. Using concurrent reads can trigger this limit, so if you have a server which returns</p>
<pre><code>Failed to copy: file does not exist</code></pre>
@@ -19421,7 +20321,7 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<li>Default: false</li>
</ul>
<h4 id="sftp-disable-concurrent-writes">--sftp-disable-concurrent-writes</h4>
-<p>If set don't use concurrent writes</p>
+<p>If set don't use concurrent writes.</p>
<p>Normally rclone uses concurrent writes to upload files. This improves the performance greatly, especially for distant servers.</p>
<p>This option disables concurrent writes should that be necessary.</p>
<ul>
@@ -19431,7 +20331,7 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<li>Default: false</li>
</ul>
<h4 id="sftp-idle-timeout">--sftp-idle-timeout</h4>
-<p>Max time before closing idle connections</p>
+<p>Max time before closing idle connections.</p>
<p>If no connections have been returned to the connection pool in the time given, rclone will empty the connection pool.</p>
<p>Set to 0 to keep connections indefinitely.</p>
<ul>
@@ -19440,7 +20340,7 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<li>Type: Duration</li>
<li>Default: 1m0s</li>
</ul>
-<h3 id="limitations-27">Limitations</h3>
+<h2 id="limitations-27">Limitations</h2>
<p>SFTP supports checksums if the same login has shell access and <code>md5sum</code> or <code>sha1sum</code> as well as <code>echo</code> are in the remote's PATH. This remote checksumming (file hashing) is recommended and enabled by default. Disabling the checksumming may be required if you are connecting to SFTP servers which are not under your control, and to which the execution of remote commands is prohibited. Set the configuration option <code>disable_hashcheck</code> to <code>true</code> to disable checksumming.</p>
<p>SFTP also supports <code>about</code> if the same login has shell access and <code>df</code> are in the remote's PATH. <code>about</code> will return the total space, free space, and used space on the remote for the disk of the specified path on the remote or, if not set, the disk of the root on the remote. <code>about</code> will fail if it does not have shell access or if <code>df</code> is not in the remote's PATH.</p>
<p>Note that some SFTP servers (e.g. Synology) the paths are different for SSH and SFTP so the hashes can't be calculated properly. For them using <code>disable_hashcheck</code> is a good idea.</p>
@@ -19457,6 +20357,7 @@ known_hosts_file = ~/.ssh/known_hosts</code></pre>
<p>See <a href="https://www.rsync.net/products/rclone.html">rsync.net's documentation of rclone examples</a>.</p>
<h1 id="sugarsync">SugarSync</h1>
<p><a href="https://sugarsync.com">SugarSync</a> is a cloud service that enables active synchronization of files across computers and other devices for file backup, access, syncing, and sharing.</p>
+<h2 id="configuration-36">Configuration</h2>
<p>The initial setup for SugarSync involves getting a token from SugarSync which you can do with rclone. <code>rclone config</code> walks you through it.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -19523,13 +20424,13 @@ y/e/d&gt; y</code></pre>
<p><strong>NB</strong> you can't create files in the top level folder you have to create a folder, which rclone will create as a "Sync Folder" with SugarSync.</p>
<h3 id="modified-time-and-hashes-11">Modified time and hashes</h3>
<p>SugarSync does not support modification times or hashes, therefore syncing will default to <code>--size-only</code> checking. Note that using <code>--update</code> will work as rclone can read the time files were uploaded.</p>
-<h4 id="restricted-filename-characters-26">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-26">Restricted filename characters</h3>
<p>SugarSync replaces the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> except for DEL.</p>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in XML strings.</p>
<h3 id="deleting-files-7">Deleting files</h3>
<p>Deleted files will be moved to the "Deleted items" folder by default.</p>
<p>However you can supply the flag <code>--sugarsync-hard-delete</code> or set the config parameter <code>hard_delete = true</code> if you would like files to be deleted straight away.</p>
-<h3 id="standard-options-32">Standard Options</h3>
+<h3 id="standard-options-34">Standard options</h3>
<p>Here are the standard options specific to sugarsync (Sugarsync).</p>
<h4 id="sugarsync-app-id">--sugarsync-app-id</h4>
<p>Sugarsync App ID.</p>
@@ -19550,7 +20451,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="sugarsync-private-access-key">--sugarsync-private-access-key</h4>
-<p>Sugarsync Private Access Key</p>
+<p>Sugarsync Private Access Key.</p>
<p>Leave blank to use rclone's.</p>
<ul>
<li>Config: private_access_key</li>
@@ -19566,10 +20467,10 @@ y/e/d&gt; y</code></pre>
<li>Type: bool</li>
<li>Default: false</li>
</ul>
-<h3 id="advanced-options-33">Advanced Options</h3>
+<h3 id="advanced-options-35">Advanced options</h3>
<p>Here are the advanced options specific to sugarsync (Sugarsync).</p>
<h4 id="sugarsync-refresh-token">--sugarsync-refresh-token</h4>
-<p>Sugarsync refresh token</p>
+<p>Sugarsync refresh token.</p>
<p>Leave blank normally, will be auto configured by rclone.</p>
<ul>
<li>Config: refresh_token</li>
@@ -19578,7 +20479,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="sugarsync-authorization">--sugarsync-authorization</h4>
-<p>Sugarsync authorization</p>
+<p>Sugarsync authorization.</p>
<p>Leave blank normally, will be auto configured by rclone.</p>
<ul>
<li>Config: authorization</li>
@@ -19587,7 +20488,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="sugarsync-authorization-expiry">--sugarsync-authorization-expiry</h4>
-<p>Sugarsync authorization expiry</p>
+<p>Sugarsync authorization expiry.</p>
<p>Leave blank normally, will be auto configured by rclone.</p>
<ul>
<li>Config: authorization_expiry</li>
@@ -19596,7 +20497,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="sugarsync-user">--sugarsync-user</h4>
-<p>Sugarsync user</p>
+<p>Sugarsync user.</p>
<p>Leave blank normally, will be auto configured by rclone.</p>
<ul>
<li>Config: user</li>
@@ -19605,7 +20506,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="sugarsync-root-id">--sugarsync-root-id</h4>
-<p>Sugarsync root id</p>
+<p>Sugarsync root id.</p>
<p>Leave blank normally, will be auto configured by rclone.</p>
<ul>
<li>Config: root_id</li>
@@ -19614,7 +20515,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="sugarsync-deleted-id">--sugarsync-deleted-id</h4>
-<p>Sugarsync deleted folder id</p>
+<p>Sugarsync deleted folder id.</p>
<p>Leave blank normally, will be auto configured by rclone.</p>
<ul>
<li>Config: deleted_id</li>
@@ -19624,19 +20525,19 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="sugarsync-encoding">--sugarsync-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_SUGARSYNC_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,Ctl,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-28">Limitations</h3>
+<h2 id="limitations-28">Limitations</h2>
<p><code>rclone about</code> is not supported by the SugarSync backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
<h1 id="tardigrade">Tardigrade</h1>
<p><a href="https://tardigrade.io">Tardigrade</a> is an encrypted, secure, and cost-effective object storage service that enables you to store, back up, and archive large amounts of data in a decentralized manner.</p>
-<h2 id="setup-3">Setup</h2>
+<h2 id="configuration-37">Configuration</h2>
<p>To make a new Tardigrade configuration you need one of the following: * Access Grant that someone else shared with you. * <a href="https://documentation.tardigrade.io/getting-started/uploading-your-first-object/create-an-api-key">API Key</a> of a Tardigrade project you are a member of.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -19733,61 +20634,7 @@ y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d&gt; y</code></pre>
-<h2 id="usage-1">Usage</h2>
-<p>Paths are specified as <code>remote:bucket</code> (or <code>remote:</code> for the <code>lsf</code> command.) You may put subdirectories in too, e.g. <code>remote:bucket/path/to/dir</code>.</p>
-<p>Once configured you can then use <code>rclone</code> like this.</p>
-<h3 id="create-a-new-bucket">Create a new bucket</h3>
-<p>Use the <code>mkdir</code> command to create new bucket, e.g. <code>bucket</code>.</p>
-<pre><code>rclone mkdir remote:bucket</code></pre>
-<h3 id="list-all-buckets">List all buckets</h3>
-<p>Use the <code>lsf</code> command to list all buckets.</p>
-<pre><code>rclone lsf remote:</code></pre>
-<p>Note the colon (<code>:</code>) character at the end of the command line.</p>
-<h3 id="delete-a-bucket">Delete a bucket</h3>
-<p>Use the <code>rmdir</code> command to delete an empty bucket.</p>
-<pre><code>rclone rmdir remote:bucket</code></pre>
-<p>Use the <code>purge</code> command to delete a non-empty bucket with all its content.</p>
-<pre><code>rclone purge remote:bucket</code></pre>
-<h3 id="upload-objects">Upload objects</h3>
-<p>Use the <code>copy</code> command to upload an object.</p>
-<pre><code>rclone copy --progress /home/local/directory/file.ext remote:bucket/path/to/dir/</code></pre>
-<p>The <code>--progress</code> flag is for displaying progress information. Remove it if you don't need this information.</p>
-<p>Use a folder in the local path to upload all its objects.</p>
-<pre><code>rclone copy --progress /home/local/directory/ remote:bucket/path/to/dir/</code></pre>
-<p>Only modified files will be copied.</p>
-<h3 id="list-objects">List objects</h3>
-<p>Use the <code>ls</code> command to list recursively all objects in a bucket.</p>
-<pre><code>rclone ls remote:bucket</code></pre>
-<p>Add the folder to the remote path to list recursively all objects in this folder.</p>
-<pre><code>rclone ls remote:bucket/path/to/dir/</code></pre>
-<p>Use the <code>lsf</code> command to list non-recursively all objects in a bucket or a folder.</p>
-<pre><code>rclone lsf remote:bucket/path/to/dir/</code></pre>
-<h3 id="download-objects">Download objects</h3>
-<p>Use the <code>copy</code> command to download an object.</p>
-<pre><code>rclone copy --progress remote:bucket/path/to/dir/file.ext /home/local/directory/</code></pre>
-<p>The <code>--progress</code> flag is for displaying progress information. Remove it if you don't need this information.</p>
-<p>Use a folder in the remote path to download all its objects.</p>
-<pre><code>rclone copy --progress remote:bucket/path/to/dir/ /home/local/directory/</code></pre>
-<h3 id="delete-objects">Delete objects</h3>
-<p>Use the <code>deletefile</code> command to delete a single object.</p>
-<pre><code>rclone deletefile remote:bucket/path/to/dir/file.ext</code></pre>
-<p>Use the <code>delete</code> command to delete all object in a folder.</p>
-<pre><code>rclone delete remote:bucket/path/to/dir/</code></pre>
-<h3 id="print-the-total-size-of-objects">Print the total size of objects</h3>
-<p>Use the <code>size</code> command to print the total size of objects in a bucket or a folder.</p>
-<pre><code>rclone size remote:bucket/path/to/dir/</code></pre>
-<h3 id="sync-two-locations">Sync two Locations</h3>
-<p>Use the <code>sync</code> command to sync the source to the destination, changing the destination only, deleting any excess files.</p>
-<pre><code>rclone sync -i --progress /home/local/directory/ remote:bucket/path/to/dir/</code></pre>
-<p>The <code>--progress</code> flag is for displaying progress information. Remove it if you don't need this information.</p>
-<p>Since this can cause data loss, test first with the <code>--dry-run</code> flag to see exactly what would be copied and deleted.</p>
-<p>The sync can be done also from Tardigrade to the local file system.</p>
-<pre><code>rclone sync -i --progress remote:bucket/path/to/dir/ /home/local/directory/</code></pre>
-<p>Or between two Tardigrade buckets.</p>
-<pre><code>rclone sync -i --progress remote-us:bucket/path/to/dir/ remote-europe:bucket/path/to/dir/</code></pre>
-<p>Or even between another cloud storage and Tardigrade.</p>
-<pre><code>rclone sync -i --progress s3:bucket/path/to/dir/ tardigrade:bucket/path/to/dir/</code></pre>
-<h3 id="standard-options-33">Standard Options</h3>
+<h3 id="standard-options-35">Standard options</h3>
<p>Here are the standard options specific to tardigrade (Tardigrade Decentralized Cloud Storage).</p>
<h4 id="tardigrade-provider">--tardigrade-provider</h4>
<p>Choose an authentication method.</p>
@@ -19809,7 +20656,7 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul>
<h4 id="tardigrade-access-grant">--tardigrade-access-grant</h4>
-<p>Access Grant.</p>
+<p>Access grant.</p>
<ul>
<li>Config: access_grant</li>
<li>Env Var: RCLONE_TARDIGRADE_ACCESS_GRANT</li>
@@ -19817,7 +20664,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="tardigrade-satellite-address">--tardigrade-satellite-address</h4>
-<p>Satellite Address. Custom satellite address should match the format: <code>&lt;nodeid&gt;@&lt;address&gt;:&lt;port&gt;</code>.</p>
+<p>Satellite address.</p>
+<p>Custom satellite address should match the format: <code>&lt;nodeid&gt;@&lt;address&gt;:&lt;port&gt;</code>.</p>
<ul>
<li>Config: satellite_address</li>
<li>Env Var: RCLONE_TARDIGRADE_SATELLITE_ADDRESS</li>
@@ -19840,7 +20688,7 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul>
<h4 id="tardigrade-api-key">--tardigrade-api-key</h4>
-<p>API Key.</p>
+<p>API key.</p>
<ul>
<li>Config: api_key</li>
<li>Env Var: RCLONE_TARDIGRADE_API_KEY</li>
@@ -19848,26 +20696,80 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="tardigrade-passphrase">--tardigrade-passphrase</h4>
-<p>Encryption Passphrase. To access existing objects enter passphrase used for uploading.</p>
+<p>Encryption passphrase.</p>
+<p>To access existing objects enter passphrase used for uploading.</p>
<ul>
<li>Config: passphrase</li>
<li>Env Var: RCLONE_TARDIGRADE_PASSPHRASE</li>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="limitations-29">Limitations</h3>
+<h2 id="usage-2">Usage</h2>
+<p>Paths are specified as <code>remote:bucket</code> (or <code>remote:</code> for the <code>lsf</code> command.) You may put subdirectories in too, e.g. <code>remote:bucket/path/to/dir</code>.</p>
+<p>Once configured you can then use <code>rclone</code> like this.</p>
+<h3 id="create-a-new-bucket">Create a new bucket</h3>
+<p>Use the <code>mkdir</code> command to create new bucket, e.g. <code>bucket</code>.</p>
+<pre><code>rclone mkdir remote:bucket</code></pre>
+<h3 id="list-all-buckets">List all buckets</h3>
+<p>Use the <code>lsf</code> command to list all buckets.</p>
+<pre><code>rclone lsf remote:</code></pre>
+<p>Note the colon (<code>:</code>) character at the end of the command line.</p>
+<h3 id="delete-a-bucket">Delete a bucket</h3>
+<p>Use the <code>rmdir</code> command to delete an empty bucket.</p>
+<pre><code>rclone rmdir remote:bucket</code></pre>
+<p>Use the <code>purge</code> command to delete a non-empty bucket with all its content.</p>
+<pre><code>rclone purge remote:bucket</code></pre>
+<h3 id="upload-objects">Upload objects</h3>
+<p>Use the <code>copy</code> command to upload an object.</p>
+<pre><code>rclone copy --progress /home/local/directory/file.ext remote:bucket/path/to/dir/</code></pre>
+<p>The <code>--progress</code> flag is for displaying progress information. Remove it if you don't need this information.</p>
+<p>Use a folder in the local path to upload all its objects.</p>
+<pre><code>rclone copy --progress /home/local/directory/ remote:bucket/path/to/dir/</code></pre>
+<p>Only modified files will be copied.</p>
+<h3 id="list-objects">List objects</h3>
+<p>Use the <code>ls</code> command to list recursively all objects in a bucket.</p>
+<pre><code>rclone ls remote:bucket</code></pre>
+<p>Add the folder to the remote path to list recursively all objects in this folder.</p>
+<pre><code>rclone ls remote:bucket/path/to/dir/</code></pre>
+<p>Use the <code>lsf</code> command to list non-recursively all objects in a bucket or a folder.</p>
+<pre><code>rclone lsf remote:bucket/path/to/dir/</code></pre>
+<h3 id="download-objects">Download objects</h3>
+<p>Use the <code>copy</code> command to download an object.</p>
+<pre><code>rclone copy --progress remote:bucket/path/to/dir/file.ext /home/local/directory/</code></pre>
+<p>The <code>--progress</code> flag is for displaying progress information. Remove it if you don't need this information.</p>
+<p>Use a folder in the remote path to download all its objects.</p>
+<pre><code>rclone copy --progress remote:bucket/path/to/dir/ /home/local/directory/</code></pre>
+<h3 id="delete-objects">Delete objects</h3>
+<p>Use the <code>deletefile</code> command to delete a single object.</p>
+<pre><code>rclone deletefile remote:bucket/path/to/dir/file.ext</code></pre>
+<p>Use the <code>delete</code> command to delete all object in a folder.</p>
+<pre><code>rclone delete remote:bucket/path/to/dir/</code></pre>
+<h3 id="print-the-total-size-of-objects">Print the total size of objects</h3>
+<p>Use the <code>size</code> command to print the total size of objects in a bucket or a folder.</p>
+<pre><code>rclone size remote:bucket/path/to/dir/</code></pre>
+<h3 id="sync-two-locations">Sync two Locations</h3>
+<p>Use the <code>sync</code> command to sync the source to the destination, changing the destination only, deleting any excess files.</p>
+<pre><code>rclone sync -i --progress /home/local/directory/ remote:bucket/path/to/dir/</code></pre>
+<p>The <code>--progress</code> flag is for displaying progress information. Remove it if you don't need this information.</p>
+<p>Since this can cause data loss, test first with the <code>--dry-run</code> flag to see exactly what would be copied and deleted.</p>
+<p>The sync can be done also from Tardigrade to the local file system.</p>
+<pre><code>rclone sync -i --progress remote:bucket/path/to/dir/ /home/local/directory/</code></pre>
+<p>Or between two Tardigrade buckets.</p>
+<pre><code>rclone sync -i --progress remote-us:bucket/path/to/dir/ remote-europe:bucket/path/to/dir/</code></pre>
+<p>Or even between another cloud storage and Tardigrade.</p>
+<pre><code>rclone sync -i --progress s3:bucket/path/to/dir/ tardigrade:bucket/path/to/dir/</code></pre>
+<h2 id="limitations-29">Limitations</h2>
<p><code>rclone about</code> is not supported by the rclone Tardigrade backend. Backends without this capability cannot determine free space for an rclone mount or use policy <code>mfs</code> (most free space) as a member of an rclone union remote.</p>
<p>See <a href="https://rclone.org/overview/#optional-features">List of backends that do not support rclone about</a> See <a href="https://rclone.org/commands/rclone_about/">rclone about</a></p>
-<h3 id="known-issues-1">Known issues</h3>
+<h2 id="known-issues-1">Known issues</h2>
<p>If you get errors like <code>too many open files</code> this usually happens when the default <code>ulimit</code> for system max open files is exceeded. Native Storj protocol opens a large number of TCP connections (each of which is counted as an open file). For a single upload stream you can expect 110 TCP connections to be opened. For a single download stream you can expect 35. This batch of connections will be opened for every 64 MiB segment and you should also expect TCP connections to be reused. If you do many transfers you eventually open a connection to most storage nodes (thousands of nodes).</p>
<p>To fix these, please raise your system limits. You can do this issuing a <code>ulimit -n 65536</code> just before you run rclone. To change the limits more permanently you can add this to your shell startup script, e.g. <code>$HOME/.bashrc</code>, or change the system-wide configuration, usually <code>/etc/sysctl.conf</code> and/or <code>/etc/security/limits.conf</code>, but please refer to your operating system manual.</p>
<h1 id="uptobox">Uptobox</h1>
<p>This is a Backend for Uptobox file storage service. Uptobox is closer to a one-click hoster than a traditional cloud storage provider and therefore not suitable for long term storage.</p>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
-<h3 id="setup-4">Setup</h3>
+<h2 id="configuration-38">Configuration</h2>
<p>To configure an Uptobox backend you'll need your personal api token. You'll find it in your <a href="https://uptobox.com/my_account">account settings</a></p>
-<h3 id="example-2">Example</h3>
<p>Here is an example of how to make a remote called <code>remote</code> with the default setup. First run:</p>
<pre><code>rclone config</code></pre>
<p>This will guide you through an interactive setup process:</p>
@@ -19922,7 +20824,7 @@ y/e/d&gt; </code></pre>
<pre><code>rclone copy /home/source remote:backup</code></pre>
<h3 id="modified-time-and-hashes-12">Modified time and hashes</h3>
<p>Uptobox supports neither modified times nor checksums.</p>
-<h4 id="restricted-filename-characters-27">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-27">Restricted filename characters</h3>
<p>In addition to the <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> the following characters are also replaced:</p>
<table>
<thead>
@@ -19946,28 +20848,29 @@ y/e/d&gt; </code></pre>
</tbody>
</table>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in XML strings.</p>
-<h3 id="standard-options-34">Standard Options</h3>
+<h3 id="standard-options-36">Standard options</h3>
<p>Here are the standard options specific to uptobox (Uptobox).</p>
<h4 id="uptobox-access-token">--uptobox-access-token</h4>
-<p>Your access Token, get it from https://uptobox.com/my_account</p>
+<p>Your access token.</p>
+<p>Get it from https://uptobox.com/my_account.</p>
<ul>
<li>Config: access_token</li>
<li>Env Var: RCLONE_UPTOBOX_ACCESS_TOKEN</li>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-34">Advanced Options</h3>
+<h3 id="advanced-options-36">Advanced options</h3>
<p>Here are the advanced options specific to uptobox (Uptobox).</p>
<h4 id="uptobox-encoding">--uptobox-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_UPTOBOX_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot</li>
</ul>
-<h3 id="limitations-30">Limitations</h3>
+<h2 id="limitations-30">Limitations</h2>
<p>Uptobox will delete inactive files that have not been accessed in 60 days.</p>
<p><code>rclone about</code> is not supported by this backend an overview of used space can however been seen in the uptobox web interface.</p>
<h1 id="union">Union</h1>
@@ -19977,9 +20880,73 @@ y/e/d&gt; </code></pre>
<p>Attribute <code>:ro</code> and <code>:nc</code> can be attach to the end of path to tag the remote as <strong>read only</strong> or <strong>no create</strong>, e.g. <code>remote:directory/subdirectory:ro</code> or <code>remote:directory/subdirectory:nc</code>.</p>
<p>Subfolders can be used in upstream remotes. Assume a union remote named <code>backup</code> with the remotes <code>mydrive:private/backup</code>. Invoking <code>rclone mkdir backup:desktop</code> is exactly the same as invoking <code>rclone mkdir mydrive:private/backup/desktop</code>.</p>
<p>There will be no special handling of paths containing <code>..</code> segments. Invoking <code>rclone mkdir backup:../desktop</code> is exactly the same as invoking <code>rclone mkdir mydrive:private/backup/../desktop</code>.</p>
+<h2 id="configuration-39">Configuration</h2>
+<p>Here is an example of how to make a union called <code>remote</code> for local folders. First run:</p>
+<pre><code> rclone config</code></pre>
+<p>This will guide you through an interactive setup process:</p>
+<pre><code>No remotes found - make a new one
+n) New remote
+s) Set configuration password
+q) Quit config
+n/s/q&gt; n
+name&gt; remote
+Type of storage to configure.
+Choose a number from below, or type in your own value
+[snip]
+XX / Union merges the contents of several remotes
+ \ &quot;union&quot;
+[snip]
+Storage&gt; union
+List of space separated upstreams.
+Can be &#39;upstreama:test/dir upstreamb:&#39;, &#39;\&quot;upstreama:test/space:ro dir\&quot; upstreamb:&#39;, etc.
+Enter a string value. Press Enter for the default (&quot;&quot;).
+upstreams&gt; remote1:dir1 remote2:dir2 remote3:dir3
+Policy to choose upstream on ACTION class.
+Enter a string value. Press Enter for the default (&quot;epall&quot;).
+action_policy&gt;
+Policy to choose upstream on CREATE class.
+Enter a string value. Press Enter for the default (&quot;epmfs&quot;).
+create_policy&gt;
+Policy to choose upstream on SEARCH class.
+Enter a string value. Press Enter for the default (&quot;ff&quot;).
+search_policy&gt;
+Cache time of usage and free space (in seconds). This option is only useful when a path preserving policy is used.
+Enter a signed integer. Press Enter for the default (&quot;120&quot;).
+cache_time&gt;
+Remote config
+--------------------
+[remote]
+type = union
+upstreams = remote1:dir1 remote2:dir2 remote3:dir3
+--------------------
+y) Yes this is OK
+e) Edit this remote
+d) Delete this remote
+y/e/d&gt; y
+Current remotes:
+
+Name Type
+==== ====
+remote union
+
+e) Edit existing remote
+n) New remote
+d) Delete remote
+r) Rename remote
+c) Copy remote
+s) Set configuration password
+q) Quit config
+e/n/d/r/c/s/q&gt; q</code></pre>
+<p>Once configured you can then use <code>rclone</code> like this,</p>
+<p>List directories in top level in <code>remote1:dir1</code>, <code>remote2:dir2</code> and <code>remote3:dir3</code></p>
+<pre><code>rclone lsd remote:</code></pre>
+<p>List all the files in <code>remote1:dir1</code>, <code>remote2:dir2</code> and <code>remote3:dir3</code></p>
+<pre><code>rclone ls remote:</code></pre>
+<p>Copy another local directory to the union directory called source, which will be placed into <code>remote3:dir3</code></p>
+<pre><code>rclone copy C:\source remote:source</code></pre>
<h3 id="behavior-policies">Behavior / Policies</h3>
<p>The behavior of union backend is inspired by <a href="https://github.com/trapexit/mergerfs">trapexit/mergerfs</a>. All functions are grouped into 3 categories: <strong>action</strong>, <strong>create</strong> and <strong>search</strong>. These functions and categories can be assigned a policy which dictates what file or directory is chosen when performing that behavior. Any policy can be assigned to a function or category though some may not be very useful in practice. For instance: <strong>rand</strong> (random) may be useful for file creation (create) but could lead to very odd behavior if used for <code>delete</code> if there were more than one copy of the file.</p>
-<h4 id="function-category-classifications">Function / Category classifications</h4>
+<h3 id="function-category-classifications">Function / Category classifications</h3>
<table>
<colgroup>
<col style="width: 8%" />
@@ -20016,12 +20983,12 @@ y/e/d&gt; </code></pre>
</tr>
</tbody>
</table>
-<h4 id="path-preservation">Path Preservation</h4>
+<h3 id="path-preservation">Path Preservation</h3>
<p>Policies, as described below, are of two basic types. <code>path preserving</code> and <code>non-path preserving</code>.</p>
<p>All policies which start with <code>ep</code> (<strong>epff</strong>, <strong>eplfs</strong>, <strong>eplus</strong>, <strong>epmfs</strong>, <strong>eprand</strong>) are <code>path preserving</code>. <code>ep</code> stands for <code>existing path</code>.</p>
<p>A path preserving policy will only consider upstreams where the relative path being accessed already exists.</p>
<p>When using non-path preserving policies paths will be created in target upstreams as necessary.</p>
-<h4 id="quota-relevant-policies">Quota Relevant Policies</h4>
+<h3 id="quota-relevant-policies">Quota Relevant Policies</h3>
<p>Some policies rely on quota information. These policies should be used only if your upstreams support the respective quota fields.</p>
<table>
<thead>
@@ -20050,7 +21017,7 @@ y/e/d&gt; </code></pre>
</tbody>
</table>
<p>To check if your upstream supports the field, run <code>rclone about remote: [flags]</code> and see if the required field exists.</p>
-<h4 id="filters-1">Filters</h4>
+<h3 id="filters-1">Filters</h3>
<p>Policies basically search upstream remotes and create a list of files / paths for functions to work on. The policy is responsible for filtering and sorting. The policy type defines the sorting but filtering is mostly uniform as described below.</p>
<ul>
<li>No <strong>search</strong> policies filter.</li>
@@ -20058,7 +21025,7 @@ y/e/d&gt; </code></pre>
<li>All <strong>create</strong> policies will filter out remotes which are tagged <strong>read-only</strong> or <strong>no-create</strong>.</li>
</ul>
<p>If all remotes are filtered an error will be returned.</p>
-<h4 id="policy-descriptions">Policy descriptions</h4>
+<h3 id="policy-descriptions">Policy descriptions</h3>
<p>The policies definition are inspired by <a href="https://github.com/trapexit/mergerfs">trapexit/mergerfs</a> but not exactly the same. Some policy definition could be different due to the much larger latency of remote file systems.</p>
<table>
<colgroup>
@@ -20134,74 +21101,11 @@ y/e/d&gt; </code></pre>
</tr>
</tbody>
</table>
-<h3 id="setup-5">Setup</h3>
-<p>Here is an example of how to make a union called <code>remote</code> for local folders. First run:</p>
-<pre><code> rclone config</code></pre>
-<p>This will guide you through an interactive setup process:</p>
-<pre><code>No remotes found - make a new one
-n) New remote
-s) Set configuration password
-q) Quit config
-n/s/q&gt; n
-name&gt; remote
-Type of storage to configure.
-Choose a number from below, or type in your own value
-[snip]
-XX / Union merges the contents of several remotes
- \ &quot;union&quot;
-[snip]
-Storage&gt; union
-List of space separated upstreams.
-Can be &#39;upstreama:test/dir upstreamb:&#39;, &#39;\&quot;upstreama:test/space:ro dir\&quot; upstreamb:&#39;, etc.
-Enter a string value. Press Enter for the default (&quot;&quot;).
-upstreams&gt; remote1:dir1 remote2:dir2 remote3:dir3
-Policy to choose upstream on ACTION class.
-Enter a string value. Press Enter for the default (&quot;epall&quot;).
-action_policy&gt;
-Policy to choose upstream on CREATE class.
-Enter a string value. Press Enter for the default (&quot;epmfs&quot;).
-create_policy&gt;
-Policy to choose upstream on SEARCH class.
-Enter a string value. Press Enter for the default (&quot;ff&quot;).
-search_policy&gt;
-Cache time of usage and free space (in seconds). This option is only useful when a path preserving policy is used.
-Enter a signed integer. Press Enter for the default (&quot;120&quot;).
-cache_time&gt;
-Remote config
---------------------
-[remote]
-type = union
-upstreams = remote1:dir1 remote2:dir2 remote3:dir3
---------------------
-y) Yes this is OK
-e) Edit this remote
-d) Delete this remote
-y/e/d&gt; y
-Current remotes:
-
-Name Type
-==== ====
-remote union
-
-e) Edit existing remote
-n) New remote
-d) Delete remote
-r) Rename remote
-c) Copy remote
-s) Set configuration password
-q) Quit config
-e/n/d/r/c/s/q&gt; q</code></pre>
-<p>Once configured you can then use <code>rclone</code> like this,</p>
-<p>List directories in top level in <code>remote1:dir1</code>, <code>remote2:dir2</code> and <code>remote3:dir3</code></p>
-<pre><code>rclone lsd remote:</code></pre>
-<p>List all the files in <code>remote1:dir1</code>, <code>remote2:dir2</code> and <code>remote3:dir3</code></p>
-<pre><code>rclone ls remote:</code></pre>
-<p>Copy another local directory to the union directory called source, which will be placed into <code>remote3:dir3</code></p>
-<pre><code>rclone copy C:\source remote:source</code></pre>
-<h3 id="standard-options-35">Standard Options</h3>
+<h3 id="standard-options-37">Standard options</h3>
<p>Here are the standard options specific to union (Union merges the contents of several upstream fs).</p>
<h4 id="union-upstreams">--union-upstreams</h4>
-<p>List of space separated upstreams. Can be 'upstreama:test/dir upstreamb:', '"upstreama:test/space:ro dir" upstreamb:', etc.</p>
+<p>List of space separated upstreams.</p>
+<p>Can be 'upstreama:test/dir upstreamb:', '"upstreama:test/space:ro dir" upstreamb:', etc.</p>
<ul>
<li>Config: upstreams</li>
<li>Env Var: RCLONE_UNION_UPSTREAMS</li>
@@ -20233,7 +21137,8 @@ e/n/d/r/c/s/q&gt; q</code></pre>
<li>Default: "ff"</li>
</ul>
<h4 id="union-cache-time">--union-cache-time</h4>
-<p>Cache time of usage and free space (in seconds). This option is only useful when a path preserving policy is used.</p>
+<p>Cache time of usage and free space (in seconds).</p>
+<p>This option is only useful when a path preserving policy is used.</p>
<ul>
<li>Config: cache_time</li>
<li>Env Var: RCLONE_UNION_CACHE_TIME</li>
@@ -20243,6 +21148,7 @@ e/n/d/r/c/s/q&gt; q</code></pre>
<h1 id="webdav">WebDAV</h1>
<p>Paths are specified as <code>remote:path</code></p>
<p>Paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
+<h2 id="configuration-40">Configuration</h2>
<p>To configure the WebDAV remote you will need to have a URL for it, and a username and password. If you know what kind of system you are connecting to then rclone can enable extra features.</p>
<p>Here is an example of how to make a remote called <code>remote</code>. First run:</p>
<pre><code> rclone config</code></pre>
@@ -20315,25 +21221,19 @@ y/e/d&gt; y</code></pre>
<h3 id="modified-time-and-hashes-13">Modified time and hashes</h3>
<p>Plain WebDAV does not support modified times. However when used with Owncloud or Nextcloud rclone will support modified times.</p>
<p>Likewise plain WebDAV does not support hashes, however when used with Owncloud or Nextcloud rclone will support SHA1 and MD5 hashes. Depending on the exact version of Owncloud or Nextcloud hashes may appear on all objects, or only on objects which had a hash uploaded with them.</p>
-<h3 id="standard-options-36">Standard Options</h3>
+<h3 id="standard-options-38">Standard options</h3>
<p>Here are the standard options specific to webdav (Webdav).</p>
<h4 id="webdav-url">--webdav-url</h4>
-<p>URL of http host to connect to</p>
+<p>URL of http host to connect to.</p>
+<p>E.g. https://example.com.</p>
<ul>
<li>Config: url</li>
<li>Env Var: RCLONE_WEBDAV_URL</li>
<li>Type: string</li>
<li>Default: ""</li>
-<li>Examples:
-<ul>
-<li>"https://example.com"
-<ul>
-<li>Connect to example.com</li>
-</ul></li>
-</ul></li>
</ul>
<h4 id="webdav-vendor">--webdav-vendor</h4>
-<p>Name of the Webdav site/service/software you are using</p>
+<p>Name of the Webdav site/service/software you are using.</p>
<ul>
<li>Config: vendor</li>
<li>Env Var: RCLONE_WEBDAV_VENDOR</li>
@@ -20351,11 +21251,11 @@ y/e/d&gt; y</code></pre>
</ul></li>
<li>"sharepoint"
<ul>
-<li>Sharepoint Online, authenticated by Microsoft account.</li>
+<li>Sharepoint Online, authenticated by Microsoft account</li>
</ul></li>
<li>"sharepoint-ntlm"
<ul>
-<li>Sharepoint with NTLM authentication. Usually self-hosted or on-premises.</li>
+<li>Sharepoint with NTLM authentication, usually self-hosted or on-premises</li>
</ul></li>
<li>"other"
<ul>
@@ -20364,7 +21264,8 @@ y/e/d&gt; y</code></pre>
</ul></li>
</ul>
<h4 id="webdav-user">--webdav-user</h4>
-<p>User name. In case NTLM authentication is used, the username should be in the format 'Domain'.</p>
+<p>User name.</p>
+<p>In case NTLM authentication is used, the username should be in the format 'Domain'.</p>
<ul>
<li>Config: user</li>
<li>Env Var: RCLONE_WEBDAV_USER</li>
@@ -20381,17 +21282,17 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="webdav-bearer-token">--webdav-bearer-token</h4>
-<p>Bearer token instead of user/pass (e.g. a Macaroon)</p>
+<p>Bearer token instead of user/pass (e.g. a Macaroon).</p>
<ul>
<li>Config: bearer_token</li>
<li>Env Var: RCLONE_WEBDAV_BEARER_TOKEN</li>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-35">Advanced Options</h3>
+<h3 id="advanced-options-37">Advanced options</h3>
<p>Here are the advanced options specific to webdav (Webdav).</p>
<h4 id="webdav-bearer-token-command">--webdav-bearer-token-command</h4>
-<p>Command to run to get a bearer token</p>
+<p>Command to run to get a bearer token.</p>
<ul>
<li>Config: bearer_token_command</li>
<li>Env Var: RCLONE_WEBDAV_BEARER_TOKEN_COMMAND</li>
@@ -20400,7 +21301,7 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="webdav-encoding">--webdav-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<p>Default encoding is Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Hash,Percent,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8 for sharepoint-ntlm or identity otherwise.</p>
<ul>
<li>Config: encoding</li>
@@ -20409,7 +21310,7 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="webdav-headers">--webdav-headers</h4>
-<p>Set HTTP headers for all transactions</p>
+<p>Set HTTP headers for all transactions.</p>
<p>Use this to set additional HTTP headers for all transactions</p>
<p>The input format is comma separated list of key,value pairs. Standard <a href="https://godoc.org/encoding/csv">CSV encoding</a> may be used.</p>
<p>For example to set a Cookie use 'Cookie,name=value', or '"Cookie","name=value"'.</p>
@@ -20492,6 +21393,7 @@ vendor = other
bearer_token_command = oidc-token XDC</code></pre>
<h1 id="yandex-disk">Yandex Disk</h1>
<p><a href="https://disk.yandex.com">Yandex Disk</a> is a cloud storage solution created by <a href="https://yandex.com">Yandex</a>.</p>
+<h2 id="configuration-41">Configuration</h2>
<p>Here is an example of making a yandex configuration. First run</p>
<pre><code>rclone config</code></pre>
<p>This will guide you through an interactive setup process:</p>
@@ -20544,7 +21446,7 @@ y/e/d&gt; y</code></pre>
<p>Sync <code>/home/local/directory</code> to the remote path, deleting any excess files in the path.</p>
<pre><code>rclone sync -i /home/local/directory remote:directory</code></pre>
<p>Yandex paths may be as deep as required, e.g. <code>remote:directory/subdirectory</code>.</p>
-<h3 id="modified-time-12">Modified time</h3>
+<h3 id="modified-time-13">Modified time</h3>
<p>Modified times are supported and are stored accurate to 1 ns in custom metadata called <code>rclone_modified</code> in RFC3339 with nanoseconds format.</p>
<h3 id="md5-checksums">MD5 checksums</h3>
<p>MD5 checksums are natively supported by Yandex Disk.</p>
@@ -20552,15 +21454,14 @@ y/e/d&gt; y</code></pre>
<p>If you wish to empty your trash you can use the <code>rclone cleanup remote:</code> command which will permanently delete all your trashed files. This command does not take any path arguments.</p>
<h3 id="quota-information-3">Quota information</h3>
<p>To view your current quota you can use the <code>rclone about remote:</code> command which will display your usage limit (quota) and the current usage.</p>
-<h4 id="restricted-filename-characters-28">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-28">Restricted filename characters</h3>
<p>The <a href="https://rclone.org/overview/#restricted-characters">default restricted characters set</a> are replaced.</p>
<p>Invalid UTF-8 bytes will also be <a href="https://rclone.org/overview/#invalid-utf8">replaced</a>, as they can't be used in JSON strings.</p>
-<h3 id="limitations-31">Limitations</h3>
-<p>When uploading very large files (bigger than about 5 GiB) you will need to increase the <code>--timeout</code> parameter. This is because Yandex pauses (perhaps to calculate the MD5SUM for the entire file) before returning confirmation that the file has been uploaded. The default handling of timeouts in rclone is to assume a 5 minute pause is an error and close the connection - you'll see <code>net/http: timeout awaiting response headers</code> errors in the logs if this is happening. Setting the timeout to twice the max size of file in GiB should be enough, so if you want to upload a 30 GiB file set a timeout of <code>2 * 30 = 60m</code>, that is <code>--timeout 60m</code>.</p>
-<h3 id="standard-options-37">Standard Options</h3>
+<h3 id="standard-options-39">Standard options</h3>
<p>Here are the standard options specific to yandex (Yandex Disk).</p>
<h4 id="yandex-client-id">--yandex-client-id</h4>
-<p>OAuth Client Id Leave blank normally.</p>
+<p>OAuth Client Id.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_id</li>
<li>Env Var: RCLONE_YANDEX_CLIENT_ID</li>
@@ -20568,14 +21469,15 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="yandex-client-secret">--yandex-client-secret</h4>
-<p>OAuth Client Secret Leave blank normally.</p>
+<p>OAuth Client Secret.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_secret</li>
<li>Env Var: RCLONE_YANDEX_CLIENT_SECRET</li>
<li>Type: string</li>
<li>Default: ""</li>
</ul>
-<h3 id="advanced-options-36">Advanced Options</h3>
+<h3 id="advanced-options-38">Advanced options</h3>
<p>Here are the advanced options specific to yandex (Yandex Disk).</p>
<h4 id="yandex-token">--yandex-token</h4>
<p>OAuth Access Token as a JSON blob.</p>
@@ -20586,7 +21488,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="yandex-auth-url">--yandex-auth-url</h4>
-<p>Auth server URL. Leave blank to use the provider defaults.</p>
+<p>Auth server URL.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: auth_url</li>
<li>Env Var: RCLONE_YANDEX_AUTH_URL</li>
@@ -20594,7 +21497,8 @@ y/e/d&gt; y</code></pre>
<li>Default: ""</li>
</ul>
<h4 id="yandex-token-url">--yandex-token-url</h4>
-<p>Token server url. Leave blank to use the provider defaults.</p>
+<p>Token server url.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: token_url</li>
<li>Env Var: RCLONE_YANDEX_TOKEN_URL</li>
@@ -20603,15 +21507,20 @@ y/e/d&gt; y</code></pre>
</ul>
<h4 id="yandex-encoding">--yandex-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_YANDEX_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,Del,Ctl,InvalidUtf8,Dot</li>
</ul>
+<h2 id="limitations-31">Limitations</h2>
+<p>When uploading very large files (bigger than about 5 GiB) you will need to increase the <code>--timeout</code> parameter. This is because Yandex pauses (perhaps to calculate the MD5SUM for the entire file) before returning confirmation that the file has been uploaded. The default handling of timeouts in rclone is to assume a 5 minute pause is an error and close the connection - you'll see <code>net/http: timeout awaiting response headers</code> errors in the logs if this is happening. Setting the timeout to twice the max size of file in GiB should be enough, so if you want to upload a 30 GiB file set a timeout of <code>2 * 30 = 60m</code>, that is <code>--timeout 60m</code>.</p>
+<p>Having a Yandex Mail account is mandatory to use the Yandex.Disk subscription. Token generation will work without a mail account, but Rclone won't be able to complete any actions.</p>
+<pre><code>[403 - DiskUnsupportedUserAccountTypeError] User account type is not supported.</code></pre>
<h1 id="zoho-workdrive">Zoho Workdrive</h1>
<p><a href="https://www.zoho.com/workdrive/">Zoho WorkDrive</a> is a cloud storage solution created by <a href="https://zoho.com">Zoho</a>.</p>
+<h2 id="configuration-42">Configuration</h2>
<p>Here is an example of making a zoho configuration. First run</p>
<pre><code>rclone config</code></pre>
<p>This will guide you through an interactive setup process:</p>
@@ -20683,18 +21592,19 @@ y/e/d&gt; </code></pre>
<p>Sync <code>/home/local/directory</code> to the remote path, deleting any excess files in the path.</p>
<pre><code>rclone sync -i /home/local/directory remote:directory</code></pre>
<p>Zoho paths may be as deep as required, eg <code>remote:directory/subdirectory</code>.</p>
-<h3 id="modified-time-13">Modified time</h3>
+<h3 id="modified-time-14">Modified time</h3>
<p>Modified times are currently not supported for Zoho Workdrive</p>
<h3 id="checksums">Checksums</h3>
<p>No checksums are supported.</p>
<h3 id="usage-information-1">Usage information</h3>
<p>To view your current quota you can use the <code>rclone about remote:</code> command which will display your current usage.</p>
-<h4 id="restricted-filename-characters-29">Restricted filename characters</h4>
+<h3 id="restricted-filename-characters-29">Restricted filename characters</h3>
<p>Only control characters and invalid UTF-8 are replaced. In addition most Unicode full-width characters are not supported at all and will be removed from filenames during upload.</p>
-<h3 id="standard-options-38">Standard Options</h3>
+<h3 id="standard-options-40">Standard options</h3>
<p>Here are the standard options specific to zoho (Zoho).</p>
<h4 id="zoho-client-id">--zoho-client-id</h4>
-<p>OAuth Client Id Leave blank normally.</p>
+<p>OAuth Client Id.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_id</li>
<li>Env Var: RCLONE_ZOHO_CLIENT_ID</li>
@@ -20702,7 +21612,8 @@ y/e/d&gt; </code></pre>
<li>Default: ""</li>
</ul>
<h4 id="zoho-client-secret">--zoho-client-secret</h4>
-<p>OAuth Client Secret Leave blank normally.</p>
+<p>OAuth Client Secret.</p>
+<p>Leave blank normally.</p>
<ul>
<li>Config: client_secret</li>
<li>Env Var: RCLONE_ZOHO_CLIENT_SECRET</li>
@@ -20737,7 +21648,7 @@ y/e/d&gt; </code></pre>
</ul></li>
</ul></li>
</ul>
-<h3 id="advanced-options-37">Advanced Options</h3>
+<h3 id="advanced-options-39">Advanced options</h3>
<p>Here are the advanced options specific to zoho (Zoho).</p>
<h4 id="zoho-token">--zoho-token</h4>
<p>OAuth Access Token as a JSON blob.</p>
@@ -20748,7 +21659,8 @@ y/e/d&gt; </code></pre>
<li>Default: ""</li>
</ul>
<h4 id="zoho-auth-url">--zoho-auth-url</h4>
-<p>Auth server URL. Leave blank to use the provider defaults.</p>
+<p>Auth server URL.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: auth_url</li>
<li>Env Var: RCLONE_ZOHO_AUTH_URL</li>
@@ -20756,7 +21668,8 @@ y/e/d&gt; </code></pre>
<li>Default: ""</li>
</ul>
<h4 id="zoho-token-url">--zoho-token-url</h4>
-<p>Token server url. Leave blank to use the provider defaults.</p>
+<p>Token server url.</p>
+<p>Leave blank to use the provider defaults.</p>
<ul>
<li>Config: token_url</li>
<li>Env Var: RCLONE_ZOHO_TOKEN_URL</li>
@@ -20765,7 +21678,7 @@ y/e/d&gt; </code></pre>
</ul>
<h4 id="zoho-encoding">--zoho-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_ZOHO_ENCODING</li>
@@ -20776,8 +21689,9 @@ y/e/d&gt; </code></pre>
<p>Local paths are specified as normal filesystem paths, e.g. <code>/path/to/wherever</code>, so</p>
<pre><code>rclone sync -i /home/source /tmp/destination</code></pre>
<p>Will sync <code>/home/source</code> to <code>/tmp/destination</code>.</p>
+<h2 id="configuration-43">Configuration</h2>
<p>For consistencies sake one can also configure a remote of type <code>local</code> in the config file, and access the local filesystem using rclone remote paths, e.g. <code>remote:path/to/wherever</code>, but it is probably easier not to.</p>
-<h3 id="modified-time-14">Modified time</h3>
+<h3 id="modified-time-15">Modified time</h3>
<p>Rclone reads and writes the modified time using an accuracy determined by the OS. Typically this is 1ns on Linux, 10 ns on Windows and 1 Second on OS X.</p>
<h3 id="filenames">Filenames</h3>
<p>Filenames should be encoded in UTF-8 on disk. This is the normal case for Windows and OS X.</p>
@@ -20785,6 +21699,7 @@ y/e/d&gt; </code></pre>
<p>If an invalid (non-UTF8) filename is read, the invalid characters will be replaced with a quoted representation of the invalid bytes. The name <code>gro\xdf</code> will be transferred as <code>gro‛DF</code>. <code>rclone</code> will emit a debug message in this case (use <code>-v</code> to see), e.g.</p>
<pre><code>Local file system at .: Replacing invalid UTF-8 characters in &quot;gro\xdf&quot;</code></pre>
<h4 id="restricted-characters-1">Restricted characters</h4>
+<p>With the local backend, restrictions on the characters that are usable in file or directory names depend on the operating system. To check what rclone will replace by default on your system, run <code>rclone help flags local-encoding</code>.</p>
<p>On non Windows platforms the following characters are replaced when handling file names.</p>
<table>
<thead>
@@ -21145,10 +22060,10 @@ $ tree /tmp/b
0 file2</code></pre>
<p><strong>NB</strong> Rclone (like most unix tools such as <code>du</code>, <code>rsync</code> and <code>tar</code>) treats a bind mount to the same device as being on the same filesystem.</p>
<p><strong>NB</strong> This flag is only available on Unix based systems. On systems where it isn't supported (e.g. Windows) it will be ignored.</p>
-<h3 id="advanced-options-38">Advanced Options</h3>
+<h3 id="advanced-options-40">Advanced options</h3>
<p>Here are the advanced options specific to local (Local Disk).</p>
<h4 id="local-nounc">--local-nounc</h4>
-<p>Disable UNC (long path names) conversion on Windows</p>
+<p>Disable UNC (long path names) conversion on Windows.</p>
<ul>
<li>Config: nounc</li>
<li>Env Var: RCLONE_LOCAL_NOUNC</li>
@@ -21158,7 +22073,7 @@ $ tree /tmp/b
<ul>
<li>"true"
<ul>
-<li>Disables long file names</li>
+<li>Disables long file names.</li>
</ul></li>
</ul></li>
</ul>
@@ -21171,7 +22086,7 @@ $ tree /tmp/b
<li>Default: false</li>
</ul>
<h4 id="links--l-1">--links / -l</h4>
-<p>Translate symlinks to/from regular files with a '.rclonelink' extension</p>
+<p>Translate symlinks to/from regular files with a '.rclonelink' extension.</p>
<ul>
<li>Config: links</li>
<li>Env Var: RCLONE_LOCAL_LINKS</li>
@@ -21179,7 +22094,8 @@ $ tree /tmp/b
<li>Default: false</li>
</ul>
<h4 id="skip-links">--skip-links</h4>
-<p>Don't warn about skipped symlinks. This flag disables warning messages on skipped symlinks or junction points, as you explicitly acknowledge that they should be skipped.</p>
+<p>Don't warn about skipped symlinks.</p>
+<p>This flag disables warning messages on skipped symlinks or junction points, as you explicitly acknowledge that they should be skipped.</p>
<ul>
<li>Config: skip_links</li>
<li>Env Var: RCLONE_LOCAL_SKIP_LINKS</li>
@@ -21187,14 +22103,14 @@ $ tree /tmp/b
<li>Default: false</li>
</ul>
<h4 id="local-zero-size-links">--local-zero-size-links</h4>
-<p>Assume the Stat size of links is zero (and read them instead) (Deprecated)</p>
-<p>Rclone used to use the Stat size of links as the link size, but this fails in quite a few places</p>
+<p>Assume the Stat size of links is zero (and read them instead) (deprecated).</p>
+<p>Rclone used to use the Stat size of links as the link size, but this fails in quite a few places:</p>
<ul>
<li>Windows</li>
<li>On some virtual filesystems (such ash LucidLink)</li>
<li>Android</li>
</ul>
-<p>So rclone now always reads the link</p>
+<p>So rclone now always reads the link.</p>
<ul>
<li>Config: zero_size_links</li>
<li>Env Var: RCLONE_LOCAL_ZERO_SIZE_LINKS</li>
@@ -21202,7 +22118,7 @@ $ tree /tmp/b
<li>Default: false</li>
</ul>
<h4 id="local-unicode-normalization">--local-unicode-normalization</h4>
-<p>Apply unicode NFC normalization to paths and filenames</p>
+<p>Apply unicode NFC normalization to paths and filenames.</p>
<p>This flag can be used to normalize file names into unicode NFC form that are read from the local filesystem.</p>
<p>Rclone does not normally touch the encoding of file names it reads from the file system.</p>
<p>This can be useful when using macOS as it normally provides decomposed (NFD) unicode which in some language (eg Korean) doesn't display properly on some OSes.</p>
@@ -21214,7 +22130,7 @@ $ tree /tmp/b
<li>Default: false</li>
</ul>
<h4 id="local-no-check-updated">--local-no-check-updated</h4>
-<p>Don't check to see if the files change during upload</p>
+<p>Don't check to see if the files change during upload.</p>
<p>Normally rclone checks the size and modification time of files as they are being uploaded and aborts with a message which starts "can't copy - source file is being updated" if the file changes during upload.</p>
<p>However on some file systems this modification time check may fail (e.g. <a href="https://github.com/rclone/rclone/issues/2206">Glusterfs #2206</a>) so this check can be disabled with this flag.</p>
<p>If this flag is set, rclone will use its best efforts to transfer a file which is being updated. If the file is only having things appended to it (e.g. a log) then rclone will transfer the log file with the size it had the first time rclone saw it.</p>
@@ -21247,7 +22163,7 @@ $ tree /tmp/b
<li>Default: false</li>
</ul>
<h4 id="local-case-insensitive">--local-case-insensitive</h4>
-<p>Force the filesystem to report itself as case insensitive</p>
+<p>Force the filesystem to report itself as case insensitive.</p>
<p>Normally the local backend declares itself as case insensitive on Windows/macOS and case sensitive for everything else. Use this flag to override the default choice.</p>
<ul>
<li>Config: case_insensitive</li>
@@ -21256,7 +22172,7 @@ $ tree /tmp/b
<li>Default: false</li>
</ul>
<h4 id="local-no-preallocate">--local-no-preallocate</h4>
-<p>Disable preallocation of disk space for transferred files</p>
+<p>Disable preallocation of disk space for transferred files.</p>
<p>Preallocation of disk space helps prevent filesystem fragmentation. However, some virtual filesystem layers (such as Google Drive File Stream) may incorrectly set the actual file size equal to the preallocated space, causing checksum and file size checks to fail. Use this flag to disable preallocation.</p>
<ul>
<li>Config: no_preallocate</li>
@@ -21265,7 +22181,7 @@ $ tree /tmp/b
<li>Default: false</li>
</ul>
<h4 id="local-no-sparse">--local-no-sparse</h4>
-<p>Disable sparse files for multi-thread downloads</p>
+<p>Disable sparse files for multi-thread downloads.</p>
<p>On Windows platforms rclone will make sparse files when doing multi-thread downloads. This avoids long pauses on large files where the OS zeros the file. However sparse files may be undesirable as they cause disk fragmentation and can be slow to work with.</p>
<ul>
<li>Config: no_sparse</li>
@@ -21274,7 +22190,7 @@ $ tree /tmp/b
<li>Default: false</li>
</ul>
<h4 id="local-no-set-modtime">--local-no-set-modtime</h4>
-<p>Disable setting modtime</p>
+<p>Disable setting modtime.</p>
<p>Normally rclone updates modification time of files after they are done uploading. This can cause permissions issues on Linux platforms when the user rclone is running as does not own the file uploaded, such as when copying to a CIFS mount owned by another user. If this option is enabled, rclone will no longer update the modtime after copying a file.</p>
<ul>
<li>Config: no_set_modtime</li>
@@ -21284,21 +22200,21 @@ $ tree /tmp/b
</ul>
<h4 id="local-encoding">--local-encoding</h4>
<p>This sets the encoding for the backend.</p>
-<p>See: the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
+<p>See the <a href="https://rclone.org/overview/#encoding">encoding section in the overview</a> for more info.</p>
<ul>
<li>Config: encoding</li>
<li>Env Var: RCLONE_LOCAL_ENCODING</li>
<li>Type: MultiEncoder</li>
<li>Default: Slash,Dot</li>
</ul>
-<h3 id="backend-commands-4">Backend commands</h3>
+<h2 id="backend-commands-5">Backend commands</h2>
<p>Here are the commands specific to the local backend.</p>
<p>Run them with</p>
<pre><code>rclone backend COMMAND remote:</code></pre>
<p>The help below will explain what arguments each command takes.</p>
<p>See <a href="https://rclone.org/commands/rclone_backend/">the "rclone backend" command</a> for more info on how to pass options and arguments.</p>
<p>These can be run on a running backend using the rc command <a href="https://rclone.org/rc/#backend/command">backend/command</a>.</p>
-<h4 id="noop">noop</h4>
+<h3 id="noop">noop</h3>
<p>A null operation for testing backend commands</p>
<pre><code>rclone backend noop remote: [options] [&lt;arguments&gt;+]</code></pre>
<p>This is a test command which has some options you can try to change the output.</p>
@@ -21308,6 +22224,268 @@ $ tree /tmp/b
<li>"error": return an error based on option value</li>
</ul>
<h1 id="changelog">Changelog</h1>
+<h2 id="v1.57.0---2021-11-01">v1.57.0 - 2021-11-01</h2>
+<p><a href="https://github.com/rclone/rclone/compare/v1.56.0...v1.57.0">See commits</a></p>
+<ul>
+<li>New backends
+<ul>
+<li>Sia: for Sia decentralized cloud (Ian Levesque, Matthew Sevey, Ivan Andreev)</li>
+<li>Hasher: caches hashes and enable hashes for backends that don't support them (Ivan Andreev)</li>
+</ul></li>
+<li>New commands
+<ul>
+<li>lsjson --stat: to get info about a single file/dir and <code>operations/stat</code> api (Nick Craig-Wood)</li>
+<li>config paths: show configured paths (albertony)</li>
+</ul></li>
+<li>New Features
+<ul>
+<li>about: Make human-readable output more consistent with other commands (albertony)</li>
+<li>build
+<ul>
+<li>Use go1.17 for building and make go1.14 the minimum supported (Nick Craig-Wood)</li>
+<li>Update Go to 1.16 and NDK to 22b for Android builds (x0b)</li>
+</ul></li>
+<li>config
+<ul>
+<li>Support hyphen in remote name from environment variable (albertony)</li>
+<li>Make temporary directory user-configurable (albertony)</li>
+<li>Convert <code>--cache-dir</code> value to an absolute path (albertony)</li>
+<li>Do not override MIME types from OS defaults (albertony)</li>
+</ul></li>
+<li>docs
+<ul>
+<li>Toc styling and header levels cleanup (albertony)</li>
+<li>Extend documentation on valid remote names (albertony)</li>
+<li>Mention make for building and cmount tag for macos (Alex Chen)</li>
+<li>...and many more contributions to numerous to mention!</li>
+</ul></li>
+<li>fs: Move with <code>--ignore-existing</code> will not delete skipped files (Nathan Collins)</li>
+<li>hashsum
+<ul>
+<li>Treat hash values in sum file as case insensitive (Ivan Andreev)</li>
+<li>Don't put <code>ERROR</code> or <code>UNSUPPORTED</code> in output (Ivan Andreev)</li>
+</ul></li>
+<li>lib/encoder: Add encoding of square brackets (Ivan Andreev)</li>
+<li>lib/file: Improve error message when attempting to create dir on nonexistent drive on windows (albertony)</li>
+<li>lib/http: Factor password hash salt into options with default (Nolan Woods)</li>
+<li>lib/kv: Add key-value database api (Ivan Andreev)</li>
+<li>librclone
+<ul>
+<li>Add <code>RcloneFreeString</code> function (albertony)</li>
+<li>Free strings in python example (albertony)</li>
+</ul></li>
+<li>log: Optionally print pid in logs (Ivan Andreev)</li>
+<li>ls: Introduce <code>--human-readable</code> global option to print human-readable sizes (albertony)</li>
+<li>ncdu: Introduce key <code>u</code> to toggle human-readable (albertony)</li>
+<li>operations: Add <code>rmdirs -v</code> output (Justin Winokur)</li>
+<li>serve sftp
+<ul>
+<li>Generate an ECDSA server key as well as RSA (Nick Craig-Wood)</li>
+<li>Generate an Ed25519 server key as well as ECDSA and RSA (albertony)</li>
+</ul></li>
+<li>serve docker
+<ul>
+<li>Allow to customize proxy settings of docker plugin (Ivan Andreev)</li>
+<li>Build docker plugin for multiple platforms (Thomas Stachl)</li>
+</ul></li>
+<li>size: Include human-readable count (albertony)</li>
+<li>touch: Add support for touching files in directory, with recursive option, filtering and <code>--dry-run</code>/<code>-i</code> (albertony)</li>
+<li>tree: Option to print human-readable sizes removed in favor of global option (albertony)</li>
+</ul></li>
+<li>Bug Fixes
+<ul>
+<li>lib/http
+<ul>
+<li>Fix bad username check in single auth secret provider (Nolan Woods)</li>
+<li>Fix handling of SSL credentials (Nolan Woods)</li>
+</ul></li>
+<li>serve ftp: Ensure modtime is passed as UTC always to fix timezone oddities (Nick Craig-Wood)</li>
+<li>serve sftp: Fix generation of server keys on windows (albertony)</li>
+<li>serve docker: Fix octal umask (Ivan Andreev)</li>
+</ul></li>
+<li>Mount
+<ul>
+<li>Enable rclone to be run as mount helper direct from the fstab (Ivan Andreev)</li>
+<li>Use procfs to validate mount on linux (Ivan Andreev)</li>
+<li>Correctly daemonize for compatibility with automount (Ivan Andreev)</li>
+</ul></li>
+<li>VFS
+<ul>
+<li>Ensure names used in cache path are legal on current OS (albertony)</li>
+<li>Ignore <code>ECLOSED</code> when truncating file handles to fix intermittent bad file descriptor error (Nick Craig-Wood)</li>
+</ul></li>
+<li>Local
+<ul>
+<li>Refactor default OS encoding out from local backend into shared encoder lib (albertony)</li>
+</ul></li>
+<li>Crypt
+<ul>
+<li>Return wrapped object even with <code>--crypt-no-data-encryption</code> (Ivan Andreev)</li>
+<li>Fix uploads with <code>--crypt-no-data-encryption</code> (Nick Craig-Wood)</li>
+</ul></li>
+<li>Azure Blob
+<ul>
+<li>Add <code>--azureblob-no-head-object</code> (Tatsuya Noyori)</li>
+</ul></li>
+<li>Box
+<ul>
+<li>Make listings of heavily used directories more reliable (Nick Craig-Wood)</li>
+<li>When doing cleanup delete as much as possible (Nick Craig-Wood)</li>
+<li>Add <code>--box-list-chunk</code> to control listing chunk size (Nick Craig-Wood)</li>
+<li>Delete items in parallel in cleanup using <code>--checkers</code> threads (Nick Craig-Wood)</li>
+<li>Add <code>--box-owned-by</code> to only show items owned by the login passed (Nick Craig-Wood)</li>
+<li>Retry <code>operation_blocked_temporary</code> errors (Nick Craig-Wood)</li>
+</ul></li>
+<li>Chunker
+<ul>
+<li>Md5all must create metadata if base hash is slow (Ivan Andreev)</li>
+</ul></li>
+<li>Drive
+<ul>
+<li>Speed up directory listings by constraining the API listing using the current filters (fotile96, Ivan Andreev)</li>
+<li>Fix buffering for single request upload for files smaller than <code>--drive-upload-cutoff</code> (YenForYang)</li>
+<li>Add <code>-o config</code> option to <code>backend drives</code> to make config for all shared drives (Nick Craig-Wood)</li>
+</ul></li>
+<li>Dropbox
+<ul>
+<li>Add <code>--dropbox-batch-commit-timeout</code> to control batch timeout (Nick Craig-Wood)</li>
+</ul></li>
+<li>Filefabric
+<ul>
+<li>Make backoff exponential for error_background to fix errors (Nick Craig-Wood)</li>
+<li>Fix directory move after API change (Nick Craig-Wood)</li>
+</ul></li>
+<li>FTP
+<ul>
+<li>Enable tls session cache by default (Ivan Andreev)</li>
+<li>Add option to disable tls13 (Ivan Andreev)</li>
+<li>Fix timeout after long uploads (Ivan Andreev)</li>
+<li>Add support for precise time (Ivan Andreev)</li>
+<li>Enable CI for ProFtpd, PureFtpd, VsFtpd (Ivan Andreev)</li>
+</ul></li>
+<li>Googlephotos
+<ul>
+<li>Use encoder for album names to fix albums with control characters (Parth Shukla)</li>
+</ul></li>
+<li>Jottacloud
+<ul>
+<li>Implement <code>SetModTime</code> to support modtime-only changes (albertony)</li>
+<li>Improved error handling with <code>SetModTime</code> and corrupt files in general (albertony)</li>
+<li>Add support for <code>UserInfo</code> (<code>rclone config userinfo</code>) feature (albertony)</li>
+<li>Return direct download link from <code>rclone link</code> command (albertony)</li>
+</ul></li>
+<li>Koofr
+<ul>
+<li>Create direct share link (Dmitry Bogatov)</li>
+</ul></li>
+<li>Pcloud
+<ul>
+<li>Add sha256 support (Ken Enrique Morel)</li>
+</ul></li>
+<li>Premiumizeme
+<ul>
+<li>Fix directory listing after API changes (Nick Craig-Wood)</li>
+<li>Fix server side move after API change (Nick Craig-Wood)</li>
+<li>Fix server side directory move after API changes (Nick Craig-Wood)</li>
+</ul></li>
+<li>S3
+<ul>
+<li>Add support to use CDN URL to download the file (Logeshwaran)</li>
+<li>Add AWS Snowball Edge to providers examples (r0kk3rz)</li>
+<li>Use a combination of SDK retries and rclone retries (Nick Craig-Wood)</li>
+<li>Fix IAM Role for Service Account not working and other auth problems (Nick Craig-Wood)</li>
+<li>Fix <code>shared_credentials_file</code> auth after reverting incorrect fix (Nick Craig-Wood)</li>
+<li>Fix corrupted on transfer: sizes differ 0 vs xxxx with Ceph (Nick Craig-Wood)</li>
+</ul></li>
+<li>Seafile
+<ul>
+<li>Fix error when not configured for 2fa (Fred)</li>
+</ul></li>
+<li>SFTP
+<ul>
+<li>Fix timeout when doing MD5SUM of large file (Nick Craig-Wood)</li>
+</ul></li>
+<li>Swift
+<ul>
+<li>Update OCI URL (David Liu)</li>
+<li>Document OVH Cloud Archive (HNGamingUK)</li>
+</ul></li>
+<li>Union
+<ul>
+<li>Fix rename not working with union of local disk and bucket based remote (Nick Craig-Wood)</li>
+</ul></li>
+</ul>
+<h2 id="v1.56.2---2021-10-01">v1.56.2 - 2021-10-01</h2>
+<p><a href="https://github.com/rclone/rclone/compare/v1.56.1...v1.56.2">See commits</a></p>
+<ul>
+<li>Bug Fixes
+<ul>
+<li>serve http: Re-add missing auth to http service (Nolan Woods)</li>
+<li>build: Update golang.org/x/sys to fix crash on macOS when compiled with go1.17 (Herby Gillot)</li>
+</ul></li>
+<li>FTP
+<ul>
+<li>Fix deadlock after failed update when concurrency=1 (Ivan Andreev)</li>
+</ul></li>
+</ul>
+<h2 id="v1.56.1---2021-09-19">v1.56.1 - 2021-09-19</h2>
+<p><a href="https://github.com/rclone/rclone/compare/v1.56.0...v1.56.1">See commits</a></p>
+<ul>
+<li>Bug Fixes
+<ul>
+<li>accounting: Fix maximum bwlimit by scaling scale max token bucket size (Nick Craig-Wood)</li>
+<li>rc: Fix speed does not update in core/stats (negative0)</li>
+<li>selfupdate: Fix <code>--quiet</code> option, not quite quiet (yedamo)</li>
+<li>serve http: Fix <code>serve http</code> exiting directly after starting (Cnly)</li>
+<li>build
+<ul>
+<li>Apply gofmt from golang 1.17 (Ivan Andreev)</li>
+<li>Update Go to 1.16 and NDK to 22b for android/any (x0b)</li>
+</ul></li>
+</ul></li>
+<li>Mount
+<ul>
+<li>Fix <code>--daemon</code> mode (Ivan Andreev)</li>
+</ul></li>
+<li>VFS
+<ul>
+<li>Fix duplicates on rename (Nick Craig-Wood)</li>
+<li>Fix crash when truncating a just uploaded object (Nick Craig-Wood)</li>
+<li>Fix issue where empty dirs would build up in cache meta dir (albertony)</li>
+</ul></li>
+<li>Drive
+<ul>
+<li>Fix instructions for auto config (Greg Sadetsky)</li>
+<li>Fix lsf example without drive-impersonate (Greg Sadetsky)</li>
+</ul></li>
+<li>Onedrive
+<ul>
+<li>Handle HTTP 400 better in PublicLink (Alex Chen)</li>
+<li>Clarification of the process for creating custom client_id (Mariano Absatz)</li>
+</ul></li>
+<li>Pcloud
+<ul>
+<li>Return an early error when Put is called with an unknown size (Nick Craig-Wood)</li>
+<li>Try harder to delete a failed upload (Nick Craig-Wood)</li>
+</ul></li>
+<li>S3
+<ul>
+<li>Add Wasabi's AP-Northeast endpoint info (hota)</li>
+<li>Fix typo in s3 documentation (Greg Sadetsky)</li>
+</ul></li>
+<li>Seafile
+<ul>
+<li>Fix 2fa config state machine (Fred)</li>
+</ul></li>
+<li>SFTP
+<ul>
+<li>Remove spurious error message on <code>--sftp-disable-concurrent-reads</code> (Nick Craig-Wood)</li>
+</ul></li>
+<li>Sugarsync
+<ul>
+<li>Fix initial connection after config re-arrangement (Nick Craig-Wood)</li>
+</ul></li>
+</ul>
<h2 id="v1.56.0---2021-07-20">v1.56.0 - 2021-07-20</h2>
<p><a href="https://github.com/rclone/rclone/compare/v1.55.0...v1.56.0">See commits</a></p>
<ul>
@@ -26506,7 +27684,7 @@ $ tree /tmp/b
<li><a href="https://github.com/rclone/rclone/issues?q=is%3Aopen+is%3Aissue+label%3Abug">Reported bugs</a></li>
<li><a href="https://github.com/rclone/rclone/issues?q=is%3Aopen+is%3Aissue+milestone%3A%22Known+Problem%22">Known issues</a></li>
</ul>
-<h2 id="frequently-asked-questions">Frequently Asked Questions</h2>
+<h1 id="frequently-asked-questions">Frequently Asked Questions</h1>
<h3 id="do-all-cloud-storage-systems-support-all-rclone-commands">Do all cloud storage systems support all rclone commands</h3>
<p>Yes they do. All the rclone commands (e.g. <code>sync</code>, <code>copy</code>, etc.) will work on all the remote storage systems.</p>
<h3 id="can-i-copy-the-config-from-one-machine-to-another">Can I copy the config from one machine to another</h3>
@@ -26581,7 +27759,10 @@ dig www.googleapis.com @8.8.8.8 # resolve with Google&#39;s DNS server</code></p
<p>Rclone is written in Go which uses a garbage collector. The default settings for the garbage collector mean that it runs when the heap size has doubled.</p>
<p>However it is possible to tune the garbage collector to use less memory by <a href="https://dave.cheney.net/tag/gogc">setting GOGC</a> to a lower value, say <code>export GOGC=20</code>. This will make the garbage collector work harder, reducing memory size at the expense of CPU usage.</p>
<p>The most common cause of rclone using lots of memory is a single directory with thousands or millions of files in. Rclone has to load this entirely into memory as rclone objects. Each rclone object takes 0.5k-1k of memory.</p>
-<h2 id="license">License</h2>
+<h3 id="rclone-changes-fullwidth-unicode-punctuation-marks-in-file-names">Rclone changes fullwidth Unicode punctuation marks in file names</h3>
+<p>For example: On a Windows system, you have a file with name <code>Test:1.jpg</code>, where <code>:</code> is the Unicode fullwidth colon symbol. When using rclone to copy this to your Google Drive, you will notice that the file gets renamed to <code>Test:1.jpg</code>, where <code>:</code> is the regular (halfwidth) colon.</p>
+<p>The reason for such renames is the way rclone handles different <a href="https://rclone.org/overview/#restricted-filenames">restricted filenames</a> on different cloud storage systems. It tries to avoid ambiguous file names as much and allow moving files between many cloud storage systems transparently, by replacing invalid characters with similar looking Unicode characters when transferring to one storage system, and replacing back again when transferring to a different storage system where the original characters are supported. When the same Unicode characters are intentionally used in file names, this replacement strategy leads to unwanted renames. Read more <a href="https://rclone.org/overview/#restricted-filenames-caveats">here</a>.</p>
+<h1 id="license">License</h1>
<p>This is free software under the terms of MIT the license (check the COPYING file included with the source code).</p>
<pre><code>Copyright (C) 2019 by Nick Craig-Wood https://www.craig-wood.com/nick/
@@ -26602,6 +27783,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.</code></pre>
+<h1 id="authors-and-contributors">Authors and contributors</h1>
<h2 id="authors">Authors</h2>
<ul>
<li>Nick Craig-Wood <a href="mailto:[email protected]" class="email">[email protected]</a></li>
@@ -26876,7 +28058,7 @@ THE SOFTWARE.</code></pre>
<li>Chaitanya Bankanhal <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Michał Matczuk <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Macavirus <a href="mailto:[email protected]" class="email">[email protected]</a></li>
-<li>Abhinav Sharma <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Abhinav Sharma <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>ginvine <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Patrick Wang <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Cenk Alti <a href="mailto:[email protected]" class="email">[email protected]</a></li>
@@ -26908,7 +28090,7 @@ THE SOFTWARE.</code></pre>
<li>Barry Muldrey <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Sebastian Brandt <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Marco Molteni <a href="mailto:[email protected]" class="email">[email protected]</a></li>
-<li>Ankur Gupta <a href="mailto:[email protected]" class="email">[email protected]</a> <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Ankur Gupta <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Maciej Zimnoch <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>anuar45 <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Fernando <a href="mailto:[email protected]" class="email">[email protected]</a></li>
@@ -27054,7 +28236,6 @@ THE SOFTWARE.</code></pre>
<li>Alexey Tabakman <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>David Sze <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>cynthia kwok <a href="mailto:[email protected]" class="email">[email protected]</a></li>
-<li>Ankur Gupta <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Miron Veryanskiy <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>K265 <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Vesnyx <a href="mailto:[email protected]" class="email">[email protected]</a></li>
@@ -27105,6 +28286,30 @@ THE SOFTWARE.</code></pre>
<li>Michael Hanselmann <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Chuan Zh <a href="mailto:[email protected]" class="email">[email protected]</a></li>
<li>Antoine GIRARD <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Justin Winokur (Jwink3101) <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Mariano Absatz (git) <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Greg Sadetsky <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>yedamo <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>hota <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>vinibali <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Ken Enrique Morel <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Justin Hellings <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Parth Shukla <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>wzl <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>HNGamingUK <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Jonta <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>YenForYang <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Joda Stößer <a href="mailto:[email protected]" class="email">[email protected]</a> <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Logeshwaran <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Rajat Goel <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>r0kk3rz <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Matthew Sevey <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Filip Rysavy <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Ian Levesque <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Thomas Stachl <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>Dmitry Bogatov <a href="mailto:git#[email protected]" class="email">git#[email protected]</a></li>
+<li>trevyn <a href="mailto:[email protected]" class="email">[email protected]</a></li>
+<li>David Liu <a href="mailto:[email protected]" class="email">[email protected]</a></li>
</ul>
<h1 id="contact-the-rclone-project">Contact the rclone project</h1>
<h2 id="forum">Forum</h2>
diff --git a/MANUAL.md b/MANUAL.md
index 32c10102c..a02d4a601 100644
--- a/MANUAL.md
+++ b/MANUAL.md
@@ -1,6 +1,6 @@
% rclone(1) User Manual
% Nick Craig-Wood
-% Jul 20, 2021
+% Nov 01, 2021
# Rclone syncs your files to cloud storage
@@ -41,8 +41,9 @@ using local disk.
Virtual backends wrap local and cloud file systems to apply
[encryption](https://rclone.org/crypt/),
-[compression](https://rclone.org/compress/)
-[chunking](https://rclone.org/chunker/) and
+[compression](https://rclone.org/compress/),
+[chunking](https://rclone.org/chunker/),
+[hashing](https://rclone.org/hasher/) and
[joining](https://rclone.org/union/).
Rclone [mounts](https://rclone.org/commands/rclone_mount/) any local, cloud or
@@ -146,6 +147,7 @@ WebDAV or S3, that work out of the box.)
- Seafile
- SeaweedFS
- SFTP
+- Sia
- StackPath
- SugarSync
- Tardigrade
@@ -172,13 +174,13 @@ Rclone is a Go program and comes as a single binary file.
## Quickstart ##
* [Download](https://rclone.org/downloads/) the relevant binary.
- * Extract the `rclone` or `rclone.exe` binary from the archive
+ * Extract the `rclone` executable, `rclone.exe` on Windows, from the archive.
* Run `rclone config` to setup. See [rclone config docs](https://rclone.org/docs/) for more details.
* Optionally configure [automatic execution](#autostart).
See below for some expanded Linux / macOS instructions.
-See the [Usage section](https://rclone.org/docs/#usage) of the docs for how to use rclone, or
+See the [usage](https://rclone.org/docs/) docs for how to use rclone, or
run `rclone -h`.
Already installed rclone can be easily updated to the latest version
@@ -225,6 +227,11 @@ Run `rclone config` to setup. See [rclone config docs](https://rclone.org/docs/)
brew install rclone
+NOTE: This version of rclone will not support `mount` any more (see
+[#5373](https://github.com/rclone/rclone/issues/5373)). If mounting is wanted
+on macOS, either install a precompiled binary or enable the relevant option
+when [installing from source](#install-from-source).
+
## macOS installation from precompiled binary, using curl ##
To avoid problems with macOS gatekeeper enforcing the binary to be signed and
@@ -347,14 +354,17 @@ kill %1
## Install from source ##
-Make sure you have at least [Go](https://golang.org/) go1.13
+Make sure you have at least [Go](https://golang.org/) go1.14
installed. [Download go](https://golang.org/dl/) if necessary. The
latest release is recommended. Then
- git clone https://github.com/rclone/rclone.git
- cd rclone
- go build
- ./rclone version
+```sh
+git clone https://github.com/rclone/rclone.git
+cd rclone
+go build
+# If on macOS and mount is wanted, instead run: make GOTAGS=cmount
+./rclone version
+```
This will leave you a checked out version of rclone you can modify and
send pull requests with. If you use `make` instead of `go build` then
@@ -390,7 +400,27 @@ Instructions
- rclone
```
-# Autostart #
+## Portable installation ##
+
+As mentioned [above](https://rclone.org/install/#quickstart), rclone is single
+executable (`rclone`, or `rclone.exe` on Windows) that you can download as a
+zip archive and extract into a location of your choosing. When executing different
+commands, it may create files in different locations, such as a configuration file
+and various temporary files. By default the locations for these are according to
+your operating system, e.g. configuration file in your user profile directory and
+temporary files in the standard temporary directory, but you can customize all of
+them, e.g. to make a completely self-contained, portable installation.
+
+Run the [config paths](https://rclone.org/commands/rclone_config_paths/) command to see
+the locations that rclone will use.
+
+To override them set the corresponding options (as command-line arguments, or as
+[environment variables](https://rclone.org/docs/#environment-variables)):
+ - [--config](https://rclone.org/docs/#config-config-file)
+ - [--cache-dir](https://rclone.org/docs/#cache-dir-dir)
+ - [--temp-dir](https://rclone.org/docs/#temp-dir-dir)
+
+## Autostart
After installing and configuring rclone, as described above, you are ready to use rclone
as an interactive command line utility. If your goal is to perform *periodic* operations,
@@ -406,14 +436,14 @@ different operating systems.
NOTE: Before setting up autorun it is highly recommended that you have tested your command
manually from a Command Prompt first.
-## Autostart on Windows ##
+### Autostart on Windows
The most relevant alternatives for autostart on Windows are:
- Run at user log on using the Startup folder
- Run at user log on, at system startup or at schedule using Task Scheduler
- Run at system startup using Windows service
-### Running in background
+#### Running in background
Rclone is a console application, so if not starting from an existing Command Prompt,
e.g. when starting rclone.exe from a shortcut, it will open a Command Prompt window.
@@ -429,7 +459,7 @@ Example command to run a sync in background:
c:\rclone\rclone.exe sync c:\files remote:/files --no-console --log-file c:\rclone\logs\sync_files.txt
```
-### User account
+#### User account
As mentioned in the [mount](https://rclone.org/commands/rclone_move/) documentation,
mounted drives created as Administrator are not visible to other accounts, not even the
@@ -448,7 +478,7 @@ the [PsExec](https://docs.microsoft.com/en-us/sysinternals/downloads/psexec)
utility from Microsoft's Sysinternals suite, which takes option `-s` to
execute commands as the `SYSTEM` user.
-### Start from Startup folder ###
+#### Start from Startup folder ###
To quickly execute an rclone command you can simply create a standard
Windows Explorer shortcut for the complete rclone command you want to run. If you
@@ -463,7 +493,7 @@ functionality to set it to run as different user, or to set conditions or
actions on certain events. Setting up a scheduled task as described below
will often give you better results.
-### Start from Task Scheduler ###
+#### Start from Task Scheduler ###
Task Scheduler is an administrative tool built into Windows, and it can be used to
configure rclone to be started automatically in a highly configurable way, e.g.
@@ -473,12 +503,12 @@ be available to all users it can run as the `SYSTEM` user.
For technical information, see
https://docs.microsoft.com/windows/win32/taskschd/task-scheduler-start-page.
-### Run as service ###
+#### Run as service ###
For running rclone at system startup, you can create a Windows service that executes
your rclone command, as an alternative to scheduled task configured to run at startup.
-#### Mount command built-in service integration ####
+##### Mount command built-in service integration ####
For mount commands, Rclone has a built-in Windows service integration via the third party
WinFsp library it uses. Registering as a regular Windows service easy, as you just have to
@@ -500,7 +530,7 @@ Windows standard methods for managing network drives. This is currently not
officially supported by Rclone, but with WinFsp version 2019.3 B2 / v1.5B2 or later
it should be possible through path rewriting as described [here](https://github.com/rclone/rclone/issues/3340).
-#### Third party service integration ####
+##### Third party service integration ####
To Windows service running any rclone command, the excellent third party utility
[NSSM](http://nssm.cc), the "Non-Sucking Service Manager", can be used.
@@ -520,9 +550,9 @@ settings, without having go through manual steps in a GUI. One thing to note is
by default it does not restart the service on error, one have to explicit enable this
in the configuration file (via the "onfailure" parameter).
-## Autostart on Linux
+### Autostart on Linux
-### Start as a service
+#### Start as a service
To always run rclone in background, relevant for mount commands etc,
you can use systemd to set up rclone as a system or user service. Running as a
@@ -530,10 +560,19 @@ system service ensures that it is run at startup even if the user it is running
has no active session. Running rclone as a user service ensures that it only
starts after the configured user has logged into the system.
-### Run periodically from cron
+#### Run periodically from cron
To run a periodic command, such as a copy/sync, you can set up a cron job.
+# Usage
+
+Rclone is a command line program to manage files on cloud storage.
+After [download](https://rclone.org/downloads/) and [install](/install), continue
+here to learn how to use it: Initial [configuration](#configure),
+what the [basic syntax](#basic-syntax) looks like, describes the
+various [subcommands](#subcommands), the various [options](#options),
+and more.
+
Configure
---------
@@ -566,10 +605,11 @@ See the following for detailed instructions for
* [Google Cloud Storage](https://rclone.org/googlecloudstorage/)
* [Google Drive](https://rclone.org/drive/)
* [Google Photos](https://rclone.org/googlephotos/)
+ * [Hasher](https://rclone.org/hasher/) - to handle checksums for other remotes
* [HDFS](https://rclone.org/hdfs/)
* [HTTP](https://rclone.org/http/)
* [Hubic](https://rclone.org/hubic/)
- * [Jottacloud / GetSky.no](https://rclone.org/jottacloud/)
+ * [Jottacloud](https://rclone.org/jottacloud/)
* [Koofr](https://rclone.org/koofr/)
* [Mail.ru Cloud](https://rclone.org/mailru/)
* [Mega](https://rclone.org/mega/)
@@ -584,6 +624,7 @@ See the following for detailed instructions for
* [QingStor](https://rclone.org/qingstor/)
* [Seafile](https://rclone.org/seafile/)
* [SFTP](https://rclone.org/sftp/)
+ * [Sia](https://rclone.org/sia/)
* [SugarSync](https://rclone.org/sugarsync/)
* [Tardigrade](https://rclone.org/tardigrade/)
* [Union](https://rclone.org/union/)
@@ -593,7 +634,7 @@ See the following for detailed instructions for
* [Zoho WorkDrive](https://rclone.org/zoho/)
* [The local filesystem](https://rclone.org/local/)
-Usage
+Basic syntax
-----
Rclone syncs a directory tree from one storage system to another.
@@ -647,11 +688,12 @@ See the [global flags page](https://rclone.org/flags/) for global options not li
* [rclone](https://rclone.org/commands/rclone/) - Show help for rclone commands, flags and backends.
* [rclone config create](https://rclone.org/commands/rclone_config_create/) - Create a new remote with name, type and options.
-* [rclone config delete](https://rclone.org/commands/rclone_config_delete/) - Delete an existing remote `name`.
+* [rclone config delete](https://rclone.org/commands/rclone_config_delete/) - Delete an existing remote.
* [rclone config disconnect](https://rclone.org/commands/rclone_config_disconnect/) - Disconnects user from remote
* [rclone config dump](https://rclone.org/commands/rclone_config_dump/) - Dump the config file as JSON.
* [rclone config file](https://rclone.org/commands/rclone_config_file/) - Show path of configuration file in use.
* [rclone config password](https://rclone.org/commands/rclone_config_password/) - Update password in an existing remote.
+* [rclone config paths](https://rclone.org/commands/rclone_config_paths/) - Show paths used for configuration, cache, temp etc.
* [rclone config providers](https://rclone.org/commands/rclone_config_providers/) - List in JSON format all the providers and options.
* [rclone config reconnect](https://rclone.org/commands/rclone_config_reconnect/) - Re-authenticates user with remote.
* [rclone config show](https://rclone.org/commands/rclone_config_show/) - Print (decrypted) config file, or the config for a single remote.
@@ -661,14 +703,14 @@ See the [global flags page](https://rclone.org/flags/) for global options not li
# rclone copy
-Copy files from source to dest, skipping already copied.
+Copy files from source to dest, skipping identical files.
## Synopsis
-Copy the source to the destination. Doesn't transfer
-unchanged files, testing by size and modification time or
-MD5SUM. Doesn't delete files from the destination.
+Copy the source to the destination. Does not transfer files that are
+identical on source and destination, testing by size and modification
+time or MD5SUM. Doesn't delete files from the destination.
Note that it is always the contents of the directory that is synced,
not the directory so when source:path is a directory, it's the
@@ -743,10 +785,10 @@ Make source and dest identical, modifying destination only.
Sync the source to the destination, changing the destination
-only. Doesn't transfer unchanged files, testing by size and
-modification time or MD5SUM. Destination is updated to match
-source, including deleting files if necessary (except duplicate
-objects, see below).
+only. Doesn't transfer files that are identical on source and
+destination, testing by size and modification time or MD5SUM.
+Destination is updated to match source, including deleting files
+if necessary (except duplicate objects, see below).
**Important**: Since this can cause data loss, test first with the
`--dry-run` or the `--interactive`/`-i` flag.
@@ -1029,7 +1071,7 @@ rclone check source:path dest:path [flags]
-C, --checkfile string Treat source:path as a SUM file with hashes of given type
--combined string Make a combined report of changes to this file
--differ string Report all non-matching files to this file
- --download Check by downloading rather than with hash.
+ --download Check by downloading rather than with hash
--error string Report all files with errors (hashing or reading) to this file
-h, --help help for check
--match string Report all matching files to this file
@@ -1162,7 +1204,7 @@ rclone lsd remote:path [flags]
```
-h, --help help for lsd
- -R, --recursive Recurse into the listing.
+ -R, --recursive Recurse into the listing
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -1313,7 +1355,7 @@ rclone size remote:path [flags]
```
-h, --help help for size
- --json format output as JSON
+ --json Format output as JSON
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -1374,7 +1416,7 @@ rclone version [flags]
## Options
```
- --check Check for new version.
+ --check Check for new version
-h, --help help for version
```
@@ -1533,7 +1575,7 @@ rclone dedupe [mode] remote:path [flags]
```
--by-hash Find indentical hashes rather than names
- --dedupe-mode string Dedupe mode interactive|skip|first|newest|oldest|largest|smallest|rename. (default "interactive")
+ --dedupe-mode string Dedupe mode interactive|skip|first|newest|oldest|largest|smallest|rename (default "interactive")
-h, --help help for dedupe
```
@@ -1555,23 +1597,22 @@ output. The output is typically used, free, quota and trash contents.
E.g. Typical output from `rclone about remote:` is:
- Total: 17G
- Used: 7.444G
- Free: 1.315G
- Trashed: 100.000M
- Other: 8.241G
+ Total: 17 GiB
+ Used: 7.444 GiB
+ Free: 1.315 GiB
+ Trashed: 100.000 MiB
+ Other: 8.241 GiB
Where the fields are:
- * Total: total size available.
- * Used: total size used
- * Free: total space available to this user.
- * Trashed: total space used by trash
- * Other: total amount in other storage (e.g. Gmail, Google Photos)
- * Objects: total number of objects in the storage
+ * Total: Total size available.
+ * Used: Total size used.
+ * Free: Total space available to this user.
+ * Trashed: Total space used by trash.
+ * Other: Total amount in other storage (e.g. Gmail, Google Photos).
+ * Objects: Total number of objects in the storage.
-Not all backends print all fields. Information is not included if it is not
-provided by a backend. Where the value is unlimited it is omitted.
+All sizes are in number of bytes.
Applying a `--full` flag to the command prints the bytes in full, e.g.
@@ -1591,9 +1632,11 @@ A `--json` flag generates conveniently computer readable output, e.g.
"free": 1411001220
}
-Not all backends support the `rclone about` command.
+Not all backends print all fields. Information is not included if it is not
+provided by a backend. Where the value is unlimited it is omitted.
-See [List of backends that do not support about](https://rclone.org/overview/#optional-features)
+Some backends does not support the `rclone about` command at all,
+see complete list in [documentation](https://rclone.org/overview/#optional-features).
```
@@ -1603,7 +1646,7 @@ rclone about remote: [flags]
## Options
```
- --full Full numbers instead of SI units
+ --full Full numbers instead of human-readable
-h, --help help for about
--json Format output as JSON
```
@@ -1687,8 +1730,8 @@ rclone backend <command> remote:path [opts] <args> [flags]
```
-h, --help help for backend
- --json Always output in JSON format.
- -o, --option stringArray Option in the form name=value or name.
+ --json Always output in JSON format
+ -o, --option stringArray Option in the form name=value or name
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -1731,12 +1774,12 @@ rclone cat remote:path [flags]
## Options
```
- --count int Only print N characters. (default -1)
- --discard Discard the output instead of printing.
- --head int Only print the first N characters.
+ --count int Only print N characters (default -1)
+ --discard Discard the output instead of printing
+ --head int Only print the first N characters
-h, --help help for cat
- --offset int Start printing at offset N (or from end if -ve).
- --tail int Only print the last N characters.
+ --offset int Start printing at offset N (or from end if -ve)
+ --tail int Only print the last N characters
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -1760,6 +1803,8 @@ If you supply the `--download` flag, it will download the data from remote
and calculate the contents hash on the fly. This can be useful for remotes
that don't support hashes or if you really want to check all the data.
+Note that hash values in the SUM file are treated as case insensitive.
+
If you supply the `--one-way` flag, it will only check that files in
the source match the files in the destination, not the other way
around. This means that extra files in the destination that are not in
@@ -1791,7 +1836,7 @@ rclone checksum <hash> sumfile src:path [flags]
```
--combined string Make a combined report of changes to this file
--differ string Report all non-matching files to this file
- --download Check by hashing the contents.
+ --download Check by hashing the contents
--error string Report all files with errors (hashing or reading) to this file
-h, --help help for checksum
--match string Report all matching files to this file
@@ -1806,6 +1851,182 @@ See the [global flags page](https://rclone.org/flags/) for global options not li
* [rclone](https://rclone.org/commands/rclone/) - Show help for rclone commands, flags and backends.
+# rclone completion
+
+generate the autocompletion script for the specified shell
+
+## Synopsis
+
+
+Generate the autocompletion script for rclone for the specified shell.
+See each sub-command's help for details on how to use the generated script.
+
+
+## Options
+
+```
+ -h, --help help for completion
+```
+
+See the [global flags page](https://rclone.org/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone](https://rclone.org/commands/rclone/) - Show help for rclone commands, flags and backends.
+* [rclone completion bash](https://rclone.org/commands/rclone_completion_bash/) - generate the autocompletion script for bash
+* [rclone completion fish](https://rclone.org/commands/rclone_completion_fish/) - generate the autocompletion script for fish
+* [rclone completion powershell](https://rclone.org/commands/rclone_completion_powershell/) - generate the autocompletion script for powershell
+* [rclone completion zsh](https://rclone.org/commands/rclone_completion_zsh/) - generate the autocompletion script for zsh
+
+# rclone completion bash
+
+generate the autocompletion script for bash
+
+## Synopsis
+
+
+Generate the autocompletion script for the bash shell.
+
+This script depends on the 'bash-completion' package.
+If it is not installed already, you can install it via your OS's package manager.
+
+To load completions in your current shell session:
+$ source <(rclone completion bash)
+
+To load completions for every new session, execute once:
+Linux:
+ $ rclone completion bash > /etc/bash_completion.d/rclone
+MacOS:
+ $ rclone completion bash > /usr/local/etc/bash_completion.d/rclone
+
+You will need to start a new shell for this setup to take effect.
+
+
+```
+rclone completion bash
+```
+
+## Options
+
+```
+ -h, --help help for bash
+ --no-descriptions disable completion descriptions
+```
+
+See the [global flags page](https://rclone.org/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone completion](https://rclone.org/commands/rclone_completion/) - generate the autocompletion script for the specified shell
+
+# rclone completion fish
+
+generate the autocompletion script for fish
+
+## Synopsis
+
+
+Generate the autocompletion script for the fish shell.
+
+To load completions in your current shell session:
+$ rclone completion fish | source
+
+To load completions for every new session, execute once:
+$ rclone completion fish > ~/.config/fish/completions/rclone.fish
+
+You will need to start a new shell for this setup to take effect.
+
+
+```
+rclone completion fish [flags]
+```
+
+## Options
+
+```
+ -h, --help help for fish
+ --no-descriptions disable completion descriptions
+```
+
+See the [global flags page](https://rclone.org/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone completion](https://rclone.org/commands/rclone_completion/) - generate the autocompletion script for the specified shell
+
+# rclone completion powershell
+
+generate the autocompletion script for powershell
+
+## Synopsis
+
+
+Generate the autocompletion script for powershell.
+
+To load completions in your current shell session:
+PS C:\> rclone completion powershell | Out-String | Invoke-Expression
+
+To load completions for every new session, add the output of the above command
+to your powershell profile.
+
+
+```
+rclone completion powershell [flags]
+```
+
+## Options
+
+```
+ -h, --help help for powershell
+ --no-descriptions disable completion descriptions
+```
+
+See the [global flags page](https://rclone.org/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone completion](https://rclone.org/commands/rclone_completion/) - generate the autocompletion script for the specified shell
+
+# rclone completion zsh
+
+generate the autocompletion script for zsh
+
+## Synopsis
+
+
+Generate the autocompletion script for the zsh shell.
+
+If shell completion is not already enabled in your environment you will need
+to enable it. You can execute the following once:
+
+$ echo "autoload -U compinit; compinit" >> ~/.zshrc
+
+To load completions for every new session, execute once:
+# Linux:
+$ rclone completion zsh > "${fpath[1]}/_rclone"
+# macOS:
+$ rclone completion zsh > /usr/local/share/zsh/site-functions/_rclone
+
+You will need to start a new shell for this setup to take effect.
+
+
+```
+rclone completion zsh [flags]
+```
+
+## Options
+
+```
+ -h, --help help for zsh
+ --no-descriptions disable completion descriptions
+```
+
+See the [global flags page](https://rclone.org/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone completion](https://rclone.org/commands/rclone_completion/) - generate the autocompletion script for the specified shell
+
# rclone config create
Create a new remote with name, type and options.
@@ -1916,20 +2137,20 @@ as a readable demonstration.
```
-rclone config create `name` `type` [`key` `value`]* [flags]
+rclone config create name type [key value]* [flags]
```
## Options
```
- --all Ask the full set of config questions.
- --continue Continue the configuration process with an answer.
+ --all Ask the full set of config questions
+ --continue Continue the configuration process with an answer
-h, --help help for create
- --no-obscure Force any passwords not to be obscured.
- --non-interactive Don't interact with user and return questions.
- --obscure Force any passwords to be obscured.
- --result string Result - use with --continue.
- --state string State - use with --continue.
+ --no-obscure Force any passwords not to be obscured
+ --non-interactive Don't interact with user and return questions
+ --obscure Force any passwords to be obscured
+ --result string Result - use with --continue
+ --state string State - use with --continue
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -1940,10 +2161,10 @@ See the [global flags page](https://rclone.org/flags/) for global options not li
# rclone config delete
-Delete an existing remote `name`.
+Delete an existing remote.
```
-rclone config delete `name` [flags]
+rclone config delete name [flags]
```
## Options
@@ -2076,7 +2297,7 @@ both support obscuring passwords directly.
```
-rclone config password `name` [`key` `value`]+ [flags]
+rclone config password name [key value]+ [flags]
```
## Options
@@ -2091,6 +2312,26 @@ See the [global flags page](https://rclone.org/flags/) for global options not li
* [rclone config](https://rclone.org/commands/rclone_config/) - Enter an interactive configuration session.
+# rclone config paths
+
+Show paths used for configuration, cache, temp etc.
+
+```
+rclone config paths [flags]
+```
+
+## Options
+
+```
+ -h, --help help for paths
+```
+
+See the [global flags page](https://rclone.org/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone config](https://rclone.org/commands/rclone_config/) - Enter an interactive configuration session.
+
# rclone config providers
List in JSON format all the providers and options.
@@ -2291,20 +2532,20 @@ as a readable demonstration.
```
-rclone config update `name` [`key` `value`]+ [flags]
+rclone config update name [key value]+ [flags]
```
## Options
```
- --all Ask the full set of config questions.
- --continue Continue the configuration process with an answer.
+ --all Ask the full set of config questions
+ --continue Continue the configuration process with an answer
-h, --help help for update
- --no-obscure Force any passwords not to be obscured.
- --non-interactive Don't interact with user and return questions.
- --obscure Force any passwords to be obscured.
- --result string Result - use with --continue.
- --state string State - use with --continue.
+ --no-obscure Force any passwords not to be obscured
+ --non-interactive Don't interact with user and return questions
+ --obscure Force any passwords to be obscured
+ --result string Result - use with --continue
+ --state string State - use with --continue
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -2343,7 +2584,7 @@ See the [global flags page](https://rclone.org/flags/) for global options not li
# rclone copyto
-Copy files from source to dest, skipping already copied.
+Copy files from source to dest, skipping identical files.
## Synopsis
@@ -2370,9 +2611,9 @@ This will:
copy it to dst, overwriting existing files if they exist
see copy command for full details
-This doesn't transfer unchanged files, testing by size and
-modification time or MD5SUM. It doesn't delete files from the
-destination.
+This doesn't transfer files that are identical on src and dst, testing
+by size and modification time or MD5SUM. It doesn't delete files from
+the destination.
**Note**: Use the `-P`/`--progress` flag to view real-time transfer statistics
@@ -2777,6 +3018,7 @@ Run without a hash to see the list of all supported hashes, e.g.
* sha1
* whirlpool
* crc32
+ * sha256
* dropbox
* mailru
* quickxor
@@ -2785,7 +3027,7 @@ Then
$ rclone hashsum MD5 remote:path
-Note that hash names are case insensitive.
+Note that hash names are case insensitive and values are output in lower case.
```
@@ -2875,7 +3117,7 @@ rclone listremotes [flags]
```
-h, --help help for listremotes
- --long Show the type as well as names.
+ --long Show the type as well as names
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -3016,16 +3258,16 @@ rclone lsf remote:path [flags]
## Options
```
- --absolute Put a leading / in front of path names.
- --csv Output in CSV format.
- -d, --dir-slash Append a slash to directory names. (default true)
- --dirs-only Only list directories.
- --files-only Only list files.
+ --absolute Put a leading / in front of path names
+ --csv Output in CSV format
+ -d, --dir-slash Append a slash to directory names (default true)
+ --dirs-only Only list directories
+ --files-only Only list files
-F, --format string Output format - see help for details (default "p")
--hash h Use this hash when h is used in the format MD5|SHA-1|DropboxHash (default "md5")
-h, --help help for lsf
- -R, --recursive Recurse into the listing.
- -s, --separator string Separator for the items in the format. (default ";")
+ -R, --recursive Recurse into the listing
+ -s, --separator string Separator for the items in the format (default ";")
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -3084,6 +3326,12 @@ returned
If --files-only is not specified directories in addition to the files
will be returned.
+if --stat is set then a single JSON blob will be returned about the
+item pointed to. This will return an error if the item isn't found.
+However on bucket based backends (like s3, gcs, b2, azureblob etc) if
+the item isn't found it will return an empty directory as it isn't
+possible to tell empty directories from missing directories there.
+
The Path field will only show folders below the remote path being listed.
If "remote:path" contains the file "subfolder/file.txt", the Path for "file.txt"
will be "subfolder/file.txt", not "remote:path/subfolder/file.txt".
@@ -3134,16 +3382,17 @@ rclone lsjson remote:path [flags]
## Options
```
- --dirs-only Show only directories in the listing.
- -M, --encrypted Show the encrypted names.
- --files-only Show only files in the listing.
- --hash Include hashes in the output (may take longer).
- --hash-type stringArray Show only this hash type (may be repeated).
+ --dirs-only Show only directories in the listing
+ -M, --encrypted Show the encrypted names
+ --files-only Show only files in the listing
+ --hash Include hashes in the output (may take longer)
+ --hash-type stringArray Show only this hash type (may be repeated)
-h, --help help for lsjson
- --no-mimetype Don't read the mime type (can speed things up).
- --no-modtime Don't read the modification time (can speed things up).
- --original Show the ID of the underlying Object.
- -R, --recursive Recurse into the listing.
+ --no-mimetype Don't read the mime type (can speed things up)
+ --no-modtime Don't read the modification time (can speed things up)
+ --original Show the ID of the underlying Object
+ -R, --recursive Recurse into the listing
+ --stat Just return the info for the pointed to file
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -3165,9 +3414,15 @@ FUSE.
First set up your remote using `rclone config`. Check it works with `rclone ls` etc.
-On Linux and OSX, you can either run mount in foreground mode or background (daemon) mode.
-Mount runs in foreground mode by default, use the `--daemon` flag to specify background mode.
-You can only run mount in foreground mode on Windows.
+On Linux and macOS, you can run mount in either foreground or background (aka
+daemon) mode. Mount runs in foreground mode by default. Use the `--daemon` flag
+to force background mode. On Windows you can run mount in foreground only,
+the flag is ignored.
+
+In background mode rclone acts as a generic Unix mount program: the main
+program starts, spawns background rclone process to setup and maintain the
+mount, waits until success or timeout and exits with appropriate code
+(killing the child process if it fails).
On Linux/macOS/FreeBSD start the mount like this, where `/path/to/local/mount`
is an **empty** **existing** directory:
@@ -3175,7 +3430,11 @@ is an **empty** **existing** directory:
rclone mount remote:path/to/files /path/to/local/mount
On Windows you can start a mount in different ways. See [below](#mounting-modes-on-windows)
-for details. The following examples will mount to an automatically assigned drive,
+for details. If foreground mount is used interactively from a console window,
+rclone will serve the mount and occupy the console so another window should be
+used to work with the mount until rclone is interrupted e.g. by pressing Ctrl-C.
+
+The following examples will mount to an automatically assigned drive,
to specific drive letter `X:`, to path `C:\path\parent\mount`
(where parent directory or drive must exist, and mount must **not** exist,
and is not supported when [mounting as a network drive](#mounting-modes-on-windows)), and
@@ -3207,9 +3466,6 @@ then an additional 1 PiB of free space is assumed. If the remote does not
[support](https://rclone.org/overview/#optional-features) the about feature
at all, then 1 PiB is set as both the total and the free size.
-**Note**: As of `rclone` 1.52.2, `rclone mount` now requires Go version 1.13
-or newer on some platforms depending on the underlying FUSE library in use.
-
## Installing on Windows
To run rclone mount on Windows, you will need to
@@ -3308,11 +3564,16 @@ By default, the owner and group will be taken from the current user, and the bui
group "Everyone" will be used to represent others. The user/group can be customized
with FUSE options "UserName" and "GroupName",
e.g. `-o UserName=user123 -o GroupName="Authenticated Users"`.
+The permissions on each entry will be set according to [options](#options)
+`--dir-perms` and `--file-perms`, which takes a value in traditional
+[numeric notation](https://en.wikipedia.org/wiki/File-system_permissions#Numeric_notation).
-The permissions on each entry will be set according to
-[options](#options) `--dir-perms` and `--file-perms`,
-which takes a value in traditional [numeric notation](https://en.wikipedia.org/wiki/File-system_permissions#Numeric_notation),
-where the default corresponds to `--file-perms 0666 --dir-perms 0777`.
+The default permissions corresponds to `--file-perms 0666 --dir-perms 0777`,
+i.e. read and write permissions to everyone. This means you will not be able
+to start any programs from the the mount. To be able to do that you must add
+execute permissions, e.g. `--file-perms 0777 --dir-perms 0777` to add it
+to everyone. If the program needs to write files, chances are you will have
+to enable [VFS File Caching](#vfs-file-caching) as well (see also [limitations](#limitations)).
Note that the mapping of permissions is not always trivial, and the result
you see in Windows Explorer may not be exactly like you expected.
@@ -3385,6 +3646,13 @@ Hubic) do not support the concept of empty directories, so empty
directories will have a tendency to disappear once they fall out of
the directory cache.
+When `rclone mount` is invoked on Unix with `--daemon` flag, the main rclone
+program will wait for the background mount to become ready or until the timeout
+specified by the `--daemon-wait` flag. On Linux it can check mount status using
+ProcFS so the flag in fact sets **maximum** time to wait, while the real wait
+can be less. On macOS / BSD the time to wait is constant and the check is
+performed only at the end. We advise you to set wait time on macOS reasonably.
+
Only supported on Linux, FreeBSD, OS X and Windows at the moment.
## rclone mount vs rclone sync/copy
@@ -3441,21 +3709,84 @@ after the mountpoint has been successfully set up.
Units having the rclone mount service specified as a requirement
will see all files and folders immediately in this mode.
-## chunked reading
+Note that systemd runs mount units without any environment variables including
+`PATH` or `HOME`. This means that tilde (`~`) expansion will not work
+and you should provide `--config` and `--cache-dir` explicitly as absolute
+paths via rclone arguments.
+Since mounting requires the `fusermount` program, rclone will use the fallback
+PATH of `/bin:/usr/bin` in this scenario. Please ensure that `fusermount`
+is present on this PATH.
-`--vfs-read-chunk-size` will enable reading the source objects in parts.
-This can reduce the used download quota for some remotes by requesting only chunks
-from the remote that are actually read at the cost of an increased number of requests.
+## Rclone as Unix mount helper
-When `--vfs-read-chunk-size-limit` is also specified and greater than
-`--vfs-read-chunk-size`, the chunk size for each open file will get doubled
-for each chunk read, until the specified value is reached. A value of `-1` will disable
-the limit and the chunk size will grow indefinitely.
+The core Unix program `/bin/mount` normally takes the `-t FSTYPE` argument
+then runs the `/sbin/mount.FSTYPE` helper program passing it mount options
+as `-o key=val,...` or `--opt=...`. Automount (classic or systemd) behaves
+in a similar way.
-With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
-the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
-When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
-0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+rclone by default expects GNU-style flags `--key val`. To run it as a mount
+helper you should symlink rclone binary to `/sbin/mount.rclone` and optionally
+`/usr/bin/rclonefs`, e.g. `ln -s /usr/bin/rclone /sbin/mount.rclone`.
+rclone will detect it and translate command-line arguments appropriately.
+
+Now you can run classic mounts like this:
+```
+mount sftp1:subdir /mnt/data -t rclone -o vfs_cache_mode=writes,sftp_key_file=/path/to/pem
+```
+
+or create systemd mount units:
+```
+# /etc/systemd/system/mnt-data.mount
+[Unit]
+After=network-online.target
+[Mount]
+Type=rclone
+What=sftp1:subdir
+Where=/mnt/data
+Options=rw,allow_other,args2env,vfs-cache-mode=writes,config=/etc/rclone.conf,cache-dir=/var/rclone
+```
+
+optionally accompanied by systemd automount unit
+```
+# /etc/systemd/system/mnt-data.automount
+[Unit]
+After=network-online.target
+Before=remote-fs.target
+[Automount]
+Where=/mnt/data
+TimeoutIdleSec=600
+[Install]
+WantedBy=multi-user.target
+```
+
+or add in `/etc/fstab` a line like
+```
+sftp1:subdir /mnt/data rclone rw,noauto,nofail,_netdev,x-systemd.automount,args2env,vfs_cache_mode=writes,config=/etc/rclone.conf,cache_dir=/var/cache/rclone 0 0
+```
+
+or use classic Automountd.
+Remember to provide explicit `config=...,cache-dir=...` as a workaround for
+mount units being run without `HOME`.
+
+Rclone in the mount helper mode will split `-o` argument(s) by comma, replace `_`
+by `-` and prepend `--` to get the command-line flags. Options containing commas
+or spaces can be wrapped in single or double quotes. Any inner quotes inside outer
+quotes of the same type should be doubled.
+
+Mount option syntax includes a few extra options treated specially:
+
+- `env.NAME=VALUE` will set an environment variable for the mount process.
+ This helps with Automountd and Systemd.mount which don't allow setting
+ custom environment for mount helpers.
+ Typically you will use `env.HTTPS_PROXY=proxy.host:3128` or `env.HOME=/root`
+- `command=cmount` can be used to run `cmount` or any other rclone command
+ rather than the default `mount`.
+- `args2env` will pass mount options to the mount helper running in background
+ via environment variables instead of command line arguments. This allows to
+ hide secrets from such commands as `ps` or `pgrep`.
+- `vv...` will be transformed into appropriate `--verbose=N`
+- standard mount options like `x-systemd.automount`, `_netdev`, `nosuid` and alike
+ are intended only for Automountd and ignored by rclone.
## VFS - Virtual File System
@@ -3478,8 +3809,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -3533,10 +3864,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -3548,8 +3879,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -3618,27 +3949,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -3646,32 +4005,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -3684,7 +4030,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -3729,47 +4075,48 @@ rclone mount remote:path /path/to/mountpoint [flags]
## Options
```
- --allow-non-empty Allow mounting over a non-empty directory. Not supported on Windows.
- --allow-other Allow access to other users. Not supported on Windows.
- --allow-root Allow access to root user. Not supported on Windows.
- --async-read Use asynchronous reads. Not supported on Windows. (default true)
- --attr-timeout duration Time for which file/directory attributes are cached. (default 1s)
- --daemon Run mount as a daemon (background mode). Not supported on Windows.
- --daemon-timeout duration Time limit for rclone to respond to kernel. Not supported on Windows.
- --debug-fuse Debug the FUSE internals - needs -v.
- --default-permissions Makes kernel enforce access control based on the file mode. Not supported on Windows.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --allow-non-empty Allow mounting over a non-empty directory (not supported on Windows)
+ --allow-other Allow access to other users (not supported on Windows)
+ --allow-root Allow access to root user (not supported on Windows)
+ --async-read Use asynchronous reads (not supported on Windows) (default true)
+ --attr-timeout duration Time for which file/directory attributes are cached (default 1s)
+ --daemon Run mount in background and exit parent process (as background output is suppressed, use --log-file with --log-format=pid,... to monitor) (not supported on Windows)
+ --daemon-timeout duration Time limit for rclone to respond to kernel (not supported on Windows)
+ --daemon-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD) (not supported on Windows) (default 1m0s)
+ --debug-fuse Debug the FUSE internals - needs -v
+ --default-permissions Makes kernel enforce access control based on the file mode (not supported on Windows)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp. Repeat if required.
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp (repeat if required)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for mount
- --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads. Not supported on Windows. (default 128Ki)
- --network-mode Mount as remote network drive, instead of fixed disk drive. Supported on Windows only
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --noappledouble Ignore Apple Double (._) and .DS_Store files. Supported on OSX only. (default true)
- --noapplexattr Ignore all "com.apple.*" extended attributes. Supported on OSX only.
- -o, --option stringArray Option for libfuse/WinFsp. Repeat if required.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads (not supported on Windows) (default 128Ki)
+ --network-mode Mount as remote network drive, instead of fixed disk drive (supported on Windows only)
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --noappledouble Ignore Apple Double (._) and .DS_Store files (supported on OSX only) (default true)
+ --noapplexattr Ignore all "com.apple.*" extended attributes (supported on OSX only)
+ -o, --option stringArray Option for libfuse/WinFsp (repeat if required)
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
- --volname string Set the volume name. Supported on Windows and OSX only.
- --write-back-cache Makes kernel buffer writes before sending them to rclone. Without this, writethrough caching is used. Not supported on Windows.
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
+ --volname string Set the volume name (supported on Windows and OSX only)
+ --write-back-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on Windows)
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -3807,9 +4154,9 @@ This will:
move it to dst, overwriting existing files if they exist
see move command for full details
-This doesn't transfer unchanged files, testing by size and
-modification time or MD5SUM. src will be deleted on successful
-transfer.
+This doesn't transfer files that are identical on src and dst, testing
+by size and modification time or MD5SUM. src will be deleted on
+successful transfer.
**Important**: Since this can cause data loss, test first with the
`--dry-run` or the `--interactive`/`-i` flag.
@@ -3859,6 +4206,7 @@ Here are the keys - press '?' to toggle the help on and off
c toggle counts
g toggle graph
a toggle average size in directory
+ u toggle human-readable format
n,s,C,A sort by name,size,count,average size
d delete file/directory
y copy current path to clipboard
@@ -4001,15 +4349,15 @@ rclone rc commands parameter [flags]
## Options
```
- -a, --arg stringArray Argument placed in the "arg" array.
+ -a, --arg stringArray Argument placed in the "arg" array
-h, --help help for rc
- --json string Input JSON - use instead of key=value args.
- --loopback If set connect to this rclone instance not via HTTP.
- --no-output If set, don't output the JSON result.
- -o, --opt stringArray Option in the form name=value or name placed in the "opt" array.
- --pass string Password to use to connect to rclone remote control.
- --url string URL to connect to rclone remote control. (default "http://localhost:5572/")
- --user string Username to use to rclone remote control.
+ --json string Input JSON - use instead of key=value args
+ --loopback If set connect to this rclone instance not via HTTP
+ --no-output If set, don't output the JSON result
+ -o, --opt stringArray Option in the form name=value or name placed in the "opt" array
+ --pass string Password to use to connect to rclone remote control
+ --url string URL to connect to rclone remote control (default "http://localhost:5572/")
+ --user string Username to use to rclone remote control
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -4208,8 +4556,8 @@ rclone selfupdate [flags]
## Options
```
- --beta Install beta release.
- --check Check for latest release, do not download.
+ --beta Install beta release
+ --check Check for latest release, do not download
-h, --help help for selfupdate
--output string Save the downloaded binary at a given path (default: replace running binary)
--package string Package format: zip|deb|rpm (default: zip)
@@ -4309,8 +4657,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -4364,10 +4712,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -4379,8 +4727,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -4449,27 +4797,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -4477,32 +4853,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -4515,7 +4878,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -4560,33 +4923,33 @@ rclone serve dlna remote:path [flags]
## Options
```
- --addr string ip:port or :port to bind the DLNA http server to. (default ":7879")
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --addr string The ip:port or :port to bind the DLNA http server to (default ":7879")
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for dlna
- --log-trace enable trace logging of SOAP traffic
- --name string name of DLNA server
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --log-trace Enable trace logging of SOAP traffic
+ --name string Name of DLNA server
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -4662,8 +5025,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -4717,10 +5080,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -4732,8 +5095,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -4802,27 +5165,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -4830,32 +5221,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -4868,7 +5246,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -4913,52 +5291,53 @@ rclone serve docker [flags]
## Options
```
- --allow-non-empty Allow mounting over a non-empty directory. Not supported on Windows.
- --allow-other Allow access to other users. Not supported on Windows.
- --allow-root Allow access to root user. Not supported on Windows.
- --async-read Use asynchronous reads. Not supported on Windows. (default true)
- --attr-timeout duration Time for which file/directory attributes are cached. (default 1s)
- --base-dir string base directory for volumes (default "/var/lib/docker-volumes/rclone")
- --daemon Run mount as a daemon (background mode). Not supported on Windows.
- --daemon-timeout duration Time limit for rclone to respond to kernel. Not supported on Windows.
- --debug-fuse Debug the FUSE internals - needs -v.
- --default-permissions Makes kernel enforce access control based on the file mode. Not supported on Windows.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --allow-non-empty Allow mounting over a non-empty directory (not supported on Windows)
+ --allow-other Allow access to other users (not supported on Windows)
+ --allow-root Allow access to root user (not supported on Windows)
+ --async-read Use asynchronous reads (not supported on Windows) (default true)
+ --attr-timeout duration Time for which file/directory attributes are cached (default 1s)
+ --base-dir string Base directory for volumes (default "/var/lib/docker-volumes/rclone")
+ --daemon Run mount in background and exit parent process (as background output is suppressed, use --log-file with --log-format=pid,... to monitor) (not supported on Windows)
+ --daemon-timeout duration Time limit for rclone to respond to kernel (not supported on Windows)
+ --daemon-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD) (not supported on Windows) (default 1m0s)
+ --debug-fuse Debug the FUSE internals - needs -v
+ --default-permissions Makes kernel enforce access control based on the file mode (not supported on Windows)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --forget-state skip restoring previous state
- --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp. Repeat if required.
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --forget-state Skip restoring previous state
+ --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp (repeat if required)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for docker
- --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads. Not supported on Windows. (default 128Ki)
- --network-mode Mount as remote network drive, instead of fixed disk drive. Supported on Windows only
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --no-spec do not write spec file
- --noappledouble Ignore Apple Double (._) and .DS_Store files. Supported on OSX only. (default true)
- --noapplexattr Ignore all "com.apple.*" extended attributes. Supported on OSX only.
- -o, --option stringArray Option for libfuse/WinFsp. Repeat if required.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --socket-addr string <host:port> or absolute path (default: /run/docker/plugins/rclone.sock)
+ --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads (not supported on Windows) (default 128Ki)
+ --network-mode Mount as remote network drive, instead of fixed disk drive (supported on Windows only)
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --no-spec Do not write spec file
+ --noappledouble Ignore Apple Double (._) and .DS_Store files (supported on OSX only) (default true)
+ --noapplexattr Ignore all "com.apple.*" extended attributes (supported on OSX only)
+ -o, --option stringArray Option for libfuse/WinFsp (repeat if required)
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --socket-addr string Address <host:port> or absolute path (default: /run/docker/plugins/rclone.sock)
--socket-gid int GID for unix socket (default: current process GID) (default 1000)
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
- --volname string Set the volume name. Supported on Windows and OSX only.
- --write-back-cache Makes kernel buffer writes before sending them to rclone. Without this, writethrough caching is used. Not supported on Windows.
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
+ --volname string Set the volume name (supported on Windows and OSX only)
+ --write-back-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on Windows)
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -5015,8 +5394,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -5070,10 +5449,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -5085,8 +5464,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -5155,27 +5534,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -5183,32 +5590,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -5221,7 +5615,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -5347,38 +5741,38 @@ rclone serve ftp remote:path [flags]
## Options
```
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:2121")
- --auth-proxy string A program to use to create the backend from the auth.
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:2121")
+ --auth-proxy string A program to use to create the backend from the auth
--cert string TLS PEM key (concatenation of certificate and CA certificate)
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for ftp
--key string TLS PEM Private key
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication. (empty value allow every password)
- --passive-port string Passive port range to use. (default "30000-32000")
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --public-ip string Public IP address to advertise for passive connections.
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication. (default "anonymous")
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication (empty value allow every password)
+ --passive-port string Passive port range to use (default "30000-32000")
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --public-ip string Public IP address to advertise for passive connections
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication (default "anonymous")
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -5485,6 +5879,8 @@ The password file can be updated while rclone is running.
Use --realm to set the authentication realm.
+Use --salt to change the password hashing salt from the default.
+
## VFS - Virtual File System
This command uses the VFS layer. This adapts the cloud storage objects
@@ -5506,8 +5902,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -5561,10 +5957,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -5576,8 +5972,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -5646,27 +6042,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -5674,32 +6098,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -5712,7 +6123,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -5757,43 +6168,44 @@ rclone serve http remote:path [flags]
## Options
```
- --addr string IPaddress:Port or :Port to bind server to. (default "127.0.0.1:8080")
- --baseurl string Prefix for URLs - leave blank for root.
+ --addr string IPaddress:Port or :Port to bind server to (default "127.0.0.1:8080")
+ --baseurl string Prefix for URLs - leave blank for root
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for http
- --htpasswd string htpasswd file - if not provided no authentication is done
+ --htpasswd string A htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --realm string realm for authentication
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --realm string Realm for authentication
+ --salt string Password hashing salt (default "dlPL2MqE")
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --template string User Specified Template.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --template string User-specified template
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -5979,24 +6391,24 @@ rclone serve restic remote:path [flags]
## Options
```
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:8080")
- --append-only disallow deletion of repository data
- --baseurl string Prefix for URLs - leave blank for root.
- --cache-objects cache listed objects (default true)
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:8080")
+ --append-only Disallow deletion of repository data
+ --baseurl string Prefix for URLs - leave blank for root
+ --cache-objects Cache listed objects (default true)
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
-h, --help help for restic
--htpasswd string htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --pass string Password for authentication.
- --private-repos users can only access their private repo
+ --pass string Password for authentication
+ --private-repos Users can only access their private repo
--realm string realm for authentication (default "rclone")
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --stdio run an HTTP2 server on stdin/stdout
- --template string User Specified Template.
- --user string User name for authentication.
+ --stdio Run an HTTP2 server on stdin/stdout
+ --template string User-specified template
+ --user string User name for authentication
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -6033,8 +6445,10 @@ that it can provide md5sum/sha1sum/df information for the rclone sftp
backend. This means that is can support SHA1SUMs, MD5SUMs and the
about command when paired with the rclone sftp backend.
-If you don't supply a --key then rclone will generate one and cache it
-for later use.
+If you don't supply a host --key then rclone will generate rsa, ecdsa
+and ed25519 variants, and cache them for later use in rclone's cache
+directory (see "rclone help flags cache-dir") in the "serve-sftp"
+directory.
By default the server binds to localhost:2022 - if you want it to be
reachable externally then supply "--addr :2022" for example.
@@ -6069,8 +6483,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -6124,10 +6538,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -6139,8 +6553,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -6209,27 +6623,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -6237,32 +6679,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -6275,7 +6704,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -6401,38 +6830,38 @@ rclone serve sftp remote:path [flags]
## Options
```
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:2022")
- --auth-proxy string A program to use to create the backend from the auth.
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:2022")
+ --auth-proxy string A program to use to create the backend from the auth
--authorized-keys string Authorized keys file (default "~/.ssh/authorized_keys")
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for sftp
--key stringArray SSH private host key file (Can be multi-valued, leave blank to auto generate)
- --no-auth Allow connections with no authentication if set.
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
+ --no-auth Allow connections with no authentication if set
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
--stdio Run an sftp server on run stdin/stdout
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -6569,8 +6998,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -6624,10 +7053,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -6639,8 +7068,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -6709,27 +7138,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -6737,32 +7194,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -6775,7 +7219,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -6901,46 +7345,46 @@ rclone serve webdav remote:path [flags]
## Options
```
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:8080")
- --auth-proxy string A program to use to create the backend from the auth.
- --baseurl string Prefix for URLs - leave blank for root.
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:8080")
+ --auth-proxy string A program to use to create the backend from the auth
+ --baseurl string Prefix for URLs - leave blank for root
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--disable-dir-list Disable HTML directory list on GET request for a directory
--etag-hash string Which hash to use for the ETag, or auto or blank for off
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for webdav
--htpasswd string htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
--realm string realm for authentication (default "rclone")
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --template string User Specified Template.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --template string User-specified template
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -7042,7 +7486,7 @@ rclone test changenotify remote: [flags]
```
-h, --help help for changenotify
- --poll-interval duration Time to wait between polling for changes. (default 10s)
+ --poll-interval duration Time to wait between polling for changes (default 10s)
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -7101,14 +7545,14 @@ rclone test info [remote:path]+ [flags]
## Options
```
- --all Run all tests.
- --check-control Check control characters.
- --check-length Check max filename length.
- --check-normalization Check UTF-8 Normalization.
- --check-streaming Check uploads with indeterminate file size.
+ --all Run all tests
+ --check-control Check control characters
+ --check-length Check max filename length
+ --check-normalization Check UTF-8 Normalization
+ --check-streaming Check uploads with indeterminate file size
-h, --help help for info
- --upload-wait duration Wait after writing a file.
- --write-json string Write results to file.
+ --upload-wait duration Wait after writing a file
+ --write-json string Write results to file
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -7171,21 +7615,25 @@ Create new file or change file modification time.
## Synopsis
-Set the modification time on object(s) as specified by remote:path to
+Set the modification time on file(s) as specified by remote:path to
have the current time.
-If remote:path does not exist then a zero sized object will be created
-unless the --no-create flag is provided.
+If remote:path does not exist then a zero sized file will be created,
+unless `--no-create` or `--recursive` is provided.
-If --timestamp is used then it will set the modification time to that
+If `--recursive` is used then recursively sets the modification
+time on all existing files that is found under the path. Filters are supported,
+and you can test with the `--dry-run` or the `--interactive` flag.
+
+If `--timestamp` is used then sets the modification time to that
time instead of the current time. Times may be specified as one of:
- 'YYMMDD' - e.g. 17.10.30
- 'YYYY-MM-DDTHH:MM:SS' - e.g. 2006-01-02T15:04:05
- 'YYYY-MM-DDTHH:MM:SS.SSS' - e.g. 2006-01-02T15:04:05.123456789
-Note that --timestamp is in UTC if you want local time then add the
---localtime flag.
+Note that value of `--timestamp` is in UTC. If you want local time
+then add the `--localtime` flag.
```
@@ -7196,9 +7644,10 @@ rclone touch remote:path [flags]
```
-h, --help help for touch
- --localtime Use localtime for timestamp, not UTC.
- -C, --no-create Do not create the file if it does not exist.
- -t, --timestamp string Use specified time instead of the current time of day.
+ --localtime Use localtime for timestamp, not UTC
+ -C, --no-create Do not create the file if it does not exist (implied with --recursive)
+ -R, --recursive Recursively touch all files
+ -t, --timestamp string Use specified time instead of the current time of day
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -7245,27 +7694,27 @@ rclone tree remote:path [flags]
## Options
```
- -a, --all All files are listed (list . files too).
- -C, --color Turn colorization on always.
- -d, --dirs-only List directories only.
- --dirsfirst List directories before files (-U disables).
- --full-path Print the full path prefix for each file.
+ -a, --all All files are listed (list . files too)
+ -C, --color Turn colorization on always
+ -d, --dirs-only List directories only
+ --dirsfirst List directories before files (-U disables)
+ --full-path Print the full path prefix for each file
-h, --help help for tree
--human Print the size in a more human readable way.
- --level int Descend only level directories deep.
+ --level int Descend only level directories deep
-D, --modtime Print the date of last modification.
- --noindent Don't print indentation lines.
- --noreport Turn off file/directory count at end of tree listing.
- -o, --output string Output to file instead of stdout.
+ --noindent Don't print indentation lines
+ --noreport Turn off file/directory count at end of tree listing
+ -o, --output string Output to file instead of stdout
-p, --protections Print the protections for each file.
-Q, --quote Quote filenames with double quotes.
-s, --size Print the size in bytes of each file.
- --sort string Select sort: name,version,size,mtime,ctime.
- --sort-ctime Sort files by last status change time.
- -t, --sort-modtime Sort files by last modification time.
- -r, --sort-reverse Reverse the order of the sort.
- -U, --unsorted Leave files unsorted.
- --version Sort files alphanumerically by version.
+ --sort string Select sort: name,version,size,mtime,ctime
+ --sort-ctime Sort files by last status change time
+ -t, --sort-modtime Sort files by last modification time
+ -r, --sort-reverse Reverse the order of the sort
+ -U, --unsorted Leave files unsorted
+ --version Sort files alphanumerically by version
```
See the [global flags page](https://rclone.org/flags/) for global options not listed here.
@@ -7470,8 +7919,9 @@ Will get their own names
### Valid remote names
- - Remote names may only contain 0-9, A-Z ,a-z ,_ , - and space.
- - Remote names may not start with -.
+Remote names are case sensitive, and must adhere to the following rules:
+ - May only contain `0`-`9`, `A`-`Z`, `a`-`z`, `_`, `-` and space.
+ - May not start with `-` or space.
Quoting and the shell
---------------------
@@ -7578,9 +8028,9 @@ possibly signed sequence of decimal numbers, each with optional
fraction and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid
time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
-Options which use SIZE use KiByte (multiples of 1024 bytes) by default.
-However, a suffix of `B` for Byte, `K` for KiByte, `M` for MiByte,
-`G` for GiByte, `T` for TiByte and `P` for PiByte may be used. These are
+Options which use SIZE use KiB (multiples of 1024 bytes) by default.
+However, a suffix of `B` for Byte, `K` for KiB, `M` for MiB,
+`G` for GiB, `T` for TiB and `P` for PiB may be used. These are
the binary units, e.g. 1, 2\*\*10, 2\*\*20, 2\*\*30 respectively.
### --backup-dir=DIR ###
@@ -7624,9 +8074,9 @@ This option controls the bandwidth limit. For example
--bwlimit 10M
-would mean limit the upload and download bandwidth to 10 MiByte/s.
+would mean limit the upload and download bandwidth to 10 MiB/s.
**NB** this is **bytes** per second not **bits** per second. To use a
-single limit, specify the desired bandwidth in KiByte/s, or use a
+single limit, specify the desired bandwidth in KiB/s, or use a
suffix B|K|M|G|T|P. The default is `0` which means to not limit bandwidth.
The upload and download bandwidth can be specified seperately, as
@@ -7634,13 +8084,13 @@ The upload and download bandwidth can be specified seperately, as
--bwlimit 10M:100k
-would mean limit the upload bandwidth to 10 MiByte/s and the download
-bandwidth to 100 KiByte/s. Either limit can be "off" meaning no limit, so
+would mean limit the upload bandwidth to 10 MiB/s and the download
+bandwidth to 100 KiB/s. Either limit can be "off" meaning no limit, so
to just limit the upload bandwidth you would use
--bwlimit 10M:off
-this would limit the upload bandwidth to 10 MiByte/s but the download
+this would limit the upload bandwidth to 10 MiB/s but the download
bandwidth would be unlimited.
When specified as above the bandwidth limits last for the duration of
@@ -7662,19 +8112,19 @@ working hours could be:
`--bwlimit "08:00,512k 12:00,10M 13:00,512k 18:00,30M 23:00,off"`
-In this example, the transfer bandwidth will be set to 512 KiByte/s
-at 8am every day. At noon, it will rise to 10 MiByte/s, and drop back
-to 512 KiByte/sec at 1pm. At 6pm, the bandwidth limit will be set to
-30 MiByte/s, and at 11pm it will be completely disabled (full speed).
+In this example, the transfer bandwidth will be set to 512 KiB/s
+at 8am every day. At noon, it will rise to 10 MiB/s, and drop back
+to 512 KiB/sec at 1pm. At 6pm, the bandwidth limit will be set to
+30 MiB/s, and at 11pm it will be completely disabled (full speed).
Anything between 11pm and 8am will remain unlimited.
An example of timetable with `WEEKDAY` could be:
`--bwlimit "Mon-00:00,512 Fri-23:59,10M Sat-10:00,1M Sun-20:00,off"`
-It means that, the transfer bandwidth will be set to 512 KiByte/s on
-Monday. It will rise to 10 MiByte/s before the end of Friday. At 10:00
-on Saturday it will be set to 1 MiByte/s. From 20:00 on Sunday it will
+It means that, the transfer bandwidth will be set to 512 KiB/s on
+Monday. It will rise to 10 MiB/s before the end of Friday. At 10:00
+on Saturday it will be set to 1 MiB/s. From 20:00 on Sunday it will
be unlimited.
Timeslots without `WEEKDAY` are extended to the whole week. So this
@@ -7693,7 +8143,7 @@ being the non HTTP backends, `ftp`, `sftp` and `tardigrade`).
Note that the units are **Byte/s**, not **bit/s**. Typically
connections are measured in bit/s - to convert divide by 8. For
example, let's say you have a 10 Mbit/s connection and you wish rclone
-to use half of it - 5 Mbit/s. This is 5/8 = 0.625 MiByte/s so you would
+to use half of it - 5 Mbit/s. This is 5/8 = 0.625 MiB/s so you would
use a `--bwlimit 0.625M` parameter for rclone.
On Unix systems (Linux, macOS, …) the bandwidth limiter can be toggled by
@@ -7714,7 +8164,7 @@ change the bwlimit dynamically:
This option controls per file bandwidth limit. For the options see the
`--bwlimit` flag.
-For example use this to allow no transfers to be faster than 1 MiByte/s
+For example use this to allow no transfers to be faster than 1 MiB/s
--bwlimit-file 1M
@@ -7737,6 +8187,23 @@ Set to `0` to disable the buffering for the minimum memory usage.
Note that the memory allocation of the buffers is influenced by the
[--use-mmap](#use-mmap) flag.
+### --cache-dir=DIR ###
+
+Specify the directory rclone will use for caching, to override
+the default.
+
+Default value is depending on operating system:
+- Windows `%LocalAppData%\rclone`, if `LocalAppData` is defined.
+- macOS `$HOME/Library/Caches/rclone` if `HOME` is defined.
+- Unix `$XDG_CACHE_HOME/rclone` if `XDG_CACHE_HOME` is defined, else `$HOME/.cache/rclone` if `HOME` is defined.
+- Fallback (on all OS) to `$TMPDIR/rclone`, where `TMPDIR` is the value from [--temp-dir](#temp-dir-dir).
+
+You can use the [config paths](https://rclone.org/commands/rclone_config_paths/)
+command to see the current value.
+
+Cache directory is heavily used by the [VFS File Caching](https://rclone.org/commands/rclone_mount/#vfs-file-caching)
+mount feature, but also by [serve](https://rclone.org/commands/rclone_serve/), [GUI](/gui) and other parts of rclone.
+
### --check-first ###
If this flag is set then in a `sync`, `copy` or `move`, rclone will do
@@ -8037,6 +8504,39 @@ rclone sync -i ~/src s3:test/dst --header-upload "Content-Disposition: attachmen
See the GitHub issue [here](https://github.com/rclone/rclone/issues/59) for
currently supported backends.
+### --human-readable ###
+
+Rclone commands output values for sizes (e.g. number of bytes) and
+counts (e.g. number of files) either as *raw* numbers, or
+in *human-readable* format.
+
+In human-readable format the values are scaled to larger units, indicated with
+a suffix shown after the value, and rounded to three decimals. Rclone consistently
+uses binary units (powers of 2) for sizes and decimal units (powers of 10) for counts.
+The unit prefix for size is according to IEC standard notation, e.g. `Ki` for kibi.
+Used with byte unit, `1 KiB` means 1024 Byte. In list type of output, only the
+unit prefix appended to the value (e.g. `9.762Ki`), while in more textual output
+the full unit is shown (e.g. `9.762 KiB`). For counts the SI standard notation is
+used, e.g. prefix `k` for kilo. Used with file counts, `1k` means 1000 files.
+
+The various [list](commands/rclone_ls/) commands output raw numbers by default.
+Option `--human-readable` will make them output values in human-readable format
+instead (with the short unit prefix).
+
+The [about](commands/rclone_about/) command outputs human-readable by default,
+with a command-specific option `--full` to output the raw numbers instead.
+
+Command [size](commands/rclone_size/) outputs both human-readable and raw numbers
+in the same output.
+
+The [tree](commands/rclone_tree/) command also considers `--human-readable`, but
+it will not use the exact same notation as the other commands: It rounds to one
+decimal, and uses single letter suffix, e.g. `K` instead of `Ki`. The reason for
+this is that it relies on an external library.
+
+The interactive command [ncdu](commands/rclone_ncdu/) shows human-readable by
+default, and responds to key `u` for toggling human-readable format.
+
### --ignore-case-sync ###
Using this option will cause rclone to ignore the case of the files
@@ -8061,6 +8561,10 @@ While this isn't a generally recommended option, it can be useful
in cases where your files change due to encryption. However, it cannot
correct partial transfers in case a transfer was interrupted.
+When performing a `move`/`moveto` command, this flag will leave skipped
+files in the source location unchanged when a file with the same name
+exists on the destination.
+
### --ignore-size ###
Normally rclone will look at modification time and size of files to
@@ -8161,7 +8665,7 @@ have a signal to rotate logs.
### --log-format LIST ###
-Comma separated list of log format options. `date`, `time`, `microseconds`, `longfile`, `shortfile`, `UTC`. The default is "`date`,`time`".
+Comma separated list of log format options. Accepted options are `date`, `time`, `microseconds`, `pid`, `longfile`, `shortfile`, `UTC`. Any other keywords will be silently ignored. `pid` will tag log messages with process identifier which useful with `rclone mount --daemon`. Other accepted options are explained in the [go documentation](https://pkg.go.dev/log#pkg-constants). The default log format is "`date`,`time`".
### --log-level LEVEL ###
@@ -8691,6 +9195,22 @@ If using `--syslog` this sets the syslog facility (e.g. `KERN`, `USER`).
See `man syslog` for a list of possible facilities. The default
facility is `DAEMON`.
+### --temp-dir=DIR ###
+
+Specify the directory rclone will use for temporary files, to override
+the default. Make sure the directory exists and have accessible permissions.
+
+By default the operating system's temp directory will be used:
+- On Unix systems, `$TMPDIR` if non-empty, else `/tmp`.
+- On Windows, the first non-empty value from `%TMP%`, `%TEMP%`, `%USERPROFILE%`, or the Windows directory.
+
+When overriding the default with this option, the specified path will be
+set as value of environment variable `TMPDIR` on Unix systems
+and `TMP` and `TEMP` on Windows.
+
+You can use the [config paths](https://rclone.org/commands/rclone_config_paths/)
+command to see the current value.
+
### --tpslimit float ###
Limit transactions per second to this number. Default is 0 which is
@@ -9306,7 +9826,7 @@ file (using unix ways of setting environment variables):
$ export RCLONE_CONFIG_MYS3_TYPE=s3
$ export RCLONE_CONFIG_MYS3_ACCESS_KEY_ID=XXX
$ export RCLONE_CONFIG_MYS3_SECRET_ACCESS_KEY=XXX
-$ rclone lsd MYS3:
+$ rclone lsd mys3:
-1 2016-09-21 12:54:21 -1 my-bucket
$ rclone listremotes | grep mys3
mys3:
@@ -9315,6 +9835,20 @@ mys3:
Note that if you want to create a remote using environment variables
you must create the `..._TYPE` variable as above.
+Note that the name of a remote created using environment variable is
+case insensitive, in contrast to regular remotes stored in config
+file as documented [above](#valid-remote-names).
+You must write the name in uppercase in the environment variable, but
+as seen from example above it will be listed and can be accessed in
+lowercase, while you can also refer to the same remote in uppercase:
+```
+$ rclone lsd mys3:
+ -1 2016-09-21 12:54:21 -1 my-bucket
+$ rclone lsd MYS3:
+ -1 2016-09-21 12:54:21 -1 my-bucket
+```
+
+
Note that you can only set the options of the immediate backend,
so RCLONE_CONFIG_MYS3CRYPT_ACCESS_KEY_ID has no effect, if myS3Crypt is
a crypt remote based on an S3 remote. However RCLONE_S3_ACCESS_KEY_ID will
@@ -10034,17 +10568,17 @@ remote or flag value. The fix then is to quote values containing spaces.
### `--min-size` - Don't transfer any file smaller than this
Controls the minimum size file within the scope of an rclone command.
-Default units are `KiByte` but abbreviations `K`, `M`, `G`, `T` or `P` are valid.
+Default units are `KiB` but abbreviations `K`, `M`, `G`, `T` or `P` are valid.
-E.g. `rclone ls remote: --min-size 50k` lists files on `remote:` of 50 KiByte
+E.g. `rclone ls remote: --min-size 50k` lists files on `remote:` of 50 KiB
size or larger.
### `--max-size` - Don't transfer any file larger than this
Controls the maximum size file within the scope of an rclone command.
-Default units are `KiByte` but abbreviations `K`, `M`, `G`, `T` or `P` are valid.
+Default units are `KiB` but abbreviations `K`, `M`, `G`, `T` or `P` are valid.
-E.g. `rclone ls remote: --max-size 1G` lists files on `remote:` of 1 GiByte
+E.g. `rclone ls remote: --max-size 1G` lists files on `remote:` of 1 GiB
size or smaller.
### `--max-age` - Don't transfer any file older than this
@@ -10098,7 +10632,7 @@ E.g. the scope of `rclone sync -i A: B:` can be restricted:
rclone --min-size 50k --delete-excluded sync A: B:
-All files on `B:` which are less than 50 KiByte are deleted
+All files on `B:` which are less than 50 KiB are deleted
because they are excluded from the rclone sync command.
### `--dump filters` - dump the filters to the output
@@ -10669,18 +11203,18 @@ And this is equivalent to `/tmp/dir`
### backend/command: Runs a backend command. {#backend-command}
-This takes the following parameters
+This takes the following parameters:
- command - a string with the command name
- fs - a remote name string e.g. "drive:"
- arg - a list of arguments for the backend command
- opt - a map of string to string of options
-Returns
+Returns:
- result - result from the backend command
-For example
+Example:
rclone rc backend/command command=noop fs=. -o echo=yes -o blue -a path1 -a path2
@@ -10758,7 +11292,7 @@ Show statistics for the cache remote.
### config/create: create the config for a remote. {#config-create}
-This takes the following parameters
+This takes the following parameters:
- name - name of remote
- parameters - a map of \{ "key": "value" \} pairs
@@ -10819,7 +11353,7 @@ See the [listremotes command](https://rclone.org/commands/rclone_listremotes/) c
### config/password: password the config for a remote. {#config-password}
-This takes the following parameters
+This takes the following parameters:
- name - name of remote
- parameters - a map of \{ "key": "value" \} pairs
@@ -10840,7 +11374,7 @@ See the [config providers command](https://rclone.org/commands/rclone_config_pro
### config/update: update the config for a remote. {#config-update}
-This takes the following parameters
+This takes the following parameters:
- name - name of remote
- parameters - a map of \{ "key": "value" \} pairs
@@ -10906,29 +11440,29 @@ In either case "rate" is returned as a human readable string, and
### core/command: Run a rclone terminal command over rc. {#core-command}
-This takes the following parameters
+This takes the following parameters:
-- command - a string with the command name
-- arg - a list of arguments for the backend command
-- opt - a map of string to string of options
-- returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR")
- - defaults to "COMBINED_OUTPUT" if not set
- - the STREAM returnTypes will write the output to the body of the HTTP message
- - the COMBINED_OUTPUT will write the output to the "result" parameter
+- command - a string with the command name.
+- arg - a list of arguments for the backend command.
+- opt - a map of string to string of options.
+- returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR").
+ - Defaults to "COMBINED_OUTPUT" if not set.
+ - The STREAM returnTypes will write the output to the body of the HTTP message.
+ - The COMBINED_OUTPUT will write the output to the "result" parameter.
-Returns
+Returns:
-- result - result from the backend command
- - only set when using returnType "COMBINED_OUTPUT"
-- error - set if rclone exits with an error code
-- returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR")
+- result - result from the backend command.
+ - Only set when using returnType "COMBINED_OUTPUT".
+- error - set if rclone exits with an error code.
+- returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR").
-For example
+Example:
rclone rc core/command command=ls -a mydrive:/ -o max-depth=1
rclone rc core/command -a ls -a mydrive:/ -o max-depth=1
-Returns
+Returns:
```
{
@@ -10975,17 +11509,17 @@ are explained in the go docs: https://golang.org/pkg/runtime/#MemStats
The most interesting values for most people are:
-* HeapAlloc: This is the amount of memory rclone is actually using
-* HeapSys: This is the amount of memory rclone has obtained from the OS
-* Sys: this is the total amount of memory requested from the OS
- * It is virtual memory so may include unused memory
+- HeapAlloc - this is the amount of memory rclone is actually using
+- HeapSys - this is the amount of memory rclone has obtained from the OS
+- Sys - this is the total amount of memory requested from the OS
+ - It is virtual memory so may include unused memory
### core/obscure: Obscures a string passed in. {#core-obscure}
Pass a clear string and rclone will obscure it for the config file:
- clear - string
-Returns
+Returns:
- obscured - string
### core/pid: Return PID of current process {#core-pid}
@@ -10995,7 +11529,7 @@ Useful for stopping rclone process.
### core/quit: Terminates the app. {#core-quit}
-(optional) Pass an exit code to be used for terminating the app:
+(Optional) Pass an exit code to be used for terminating the app:
- exitCode - int
### core/stats: Returns stats about current transfers. {#core-stats}
@@ -11052,7 +11586,7 @@ The value for "eta" is null if an eta cannot be determined.
### core/stats-delete: Delete stats group. {#core-stats-delete}
-This deletes entire stats group
+This deletes entire stats group.
Parameters
@@ -11102,7 +11636,7 @@ Returns the following values:
### core/version: Shows the current version of rclone and the go runtime. {#core-version}
-This shows the current version of go and the go runtime
+This shows the current version of go and the go runtime:
- version - rclone version, e.g. "v1.53.0"
- decomposed - version number as [major, minor, patch]
@@ -11127,7 +11661,7 @@ After calling this you can use this to see the blocking profile:
go tool pprof http://localhost:5572/debug/pprof/block
-Parameters
+Parameters:
- rate - int
@@ -11144,11 +11678,11 @@ Once this is set you can look use this to profile the mutex contention:
go tool pprof http://localhost:5572/debug/pprof/mutex
-Parameters
+Parameters:
- rate - int
-Results
+Results:
- previousRate - int
@@ -11174,19 +11708,19 @@ Returns
### job/list: Lists the IDs of the running jobs {#job-list}
-Parameters - None
+Parameters: None.
-Results
+Results:
-- jobids - array of integer job ids
+- jobids - array of integer job ids.
### job/status: Reads the status of the job ID {#job-status}
-Parameters
+Parameters:
-- jobid - id of the job (integer)
+- jobid - id of the job (integer).
-Results
+Results:
- finished - boolean
- duration - time in seconds that the job ran for
@@ -11201,13 +11735,13 @@ Results
### job/stop: Stop the running job {#job-stop}
-Parameters
+Parameters:
-- jobid - id of the job (integer)
+- jobid - id of the job (integer).
### mount/listmounts: Show current mount points {#mount-listmounts}
-This shows currently mounted points, which can be used for performing an unmount
+This shows currently mounted points, which can be used for performing an unmount.
This takes no parameters and returns
@@ -11226,22 +11760,22 @@ Rclone's cloud storage systems as a file system with FUSE.
If no mountType is provided, the priority is given as follows: 1. mount 2.cmount 3.mount2
-This takes the following parameters
+This takes the following parameters:
- fs - a remote path to be mounted (required)
- mountPoint: valid path on the local machine (required)
-- mountType: One of the values (mount, cmount, mount2) specifies the mount implementation to use
+- mountType: one of the values (mount, cmount, mount2) specifies the mount implementation to use
- mountOpt: a JSON object with Mount options in.
- vfsOpt: a JSON object with VFS options in.
-Eg
+Example:
rclone rc mount/mount fs=mydrive: mountPoint=/home/<user>/mountPoint
rclone rc mount/mount fs=mydrive: mountPoint=/home/<user>/mountPoint mountType=mount
rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt='{"CacheMode": 2}' mountOpt='{"AllowOther": true}'
The vfsOpt are as described in options/get and can be seen in the the
-"vfs" section when running and the mountOpt can be seen in the "mount" section.
+"vfs" section when running and the mountOpt can be seen in the "mount" section:
rclone rc options/get
@@ -11270,11 +11804,11 @@ rclone allows Linux, FreeBSD, macOS and Windows to
mount any of Rclone's cloud storage systems as a file system with
FUSE.
-This takes the following parameters
+This takes the following parameters:
- mountPoint: valid path on the local machine where the mount was created (required)
-Eg
+Example:
rclone rc mount/unmount mountPoint=/home/<user>/mountPoint
@@ -11282,7 +11816,7 @@ Eg
### mount/unmountall: Show current mount points {#mount-unmountall}
-This shows currently mounted points, which can be used for performing an unmount
+This shows currently mounted points, which can be used for performing an unmount.
This takes no parameters and returns error if unmount does not succeed.
@@ -11294,7 +11828,7 @@ Eg
### operations/about: Return the space used on the remote {#operations-about}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -11306,7 +11840,7 @@ See the [about command](https://rclone.org/commands/rclone_size/) command for mo
### operations/cleanup: Remove trashed files in the remote or path {#operations-cleanup}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -11316,7 +11850,7 @@ See the [cleanup command](https://rclone.org/commands/rclone_cleanup/) command f
### operations/copyfile: Copy a file from source remote to destination remote {#operations-copyfile}
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:" for the source
- srcRemote - a path within that remote e.g. "file.txt" for the source
@@ -11327,7 +11861,7 @@ This takes the following parameters
### operations/copyurl: Copy the URL to the object {#operations-copyurl}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11339,7 +11873,7 @@ See the [copyurl command](https://rclone.org/commands/rclone_copyurl/) command f
### operations/delete: Remove files in the path {#operations-delete}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -11349,7 +11883,7 @@ See the [delete command](https://rclone.org/commands/rclone_delete/) command for
### operations/deletefile: Remove the single file pointed to {#operations-deletefile}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11360,7 +11894,7 @@ See the [deletefile command](https://rclone.org/commands/rclone_deletefile/) com
### operations/fsinfo: Return information about the remote {#operations-fsinfo}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -11417,7 +11951,7 @@ This command does not have a command line equivalent so use this instead:
### operations/list: List the given remote and path in JSON format {#operations-list}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11427,8 +11961,12 @@ This takes the following parameters
- showEncrypted - If set show decrypted names
- showOrigIDs - If set show the IDs for each item if known
- showHash - If set return a dictionary of hashes
+ - noMimeType - If set don't show mime types
+ - dirsOnly - If set only show directories
+ - filesOnly - If set only show files
+ - hashTypes - array of strings of hash types to show if showHash set
-The result is
+Returns:
- list
- This is an array of objects as described in the lsjson command
@@ -11439,7 +11977,7 @@ See the [lsjson command](https://rclone.org/commands/rclone_lsjson/) for more in
### operations/mkdir: Make a destination directory or container {#operations-mkdir}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11450,7 +11988,7 @@ See the [mkdir command](https://rclone.org/commands/rclone_mkdir/) command for m
### operations/movefile: Move a file from source remote to destination remote {#operations-movefile}
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:" for the source
- srcRemote - a path within that remote e.g. "file.txt" for the source
@@ -11461,14 +11999,14 @@ This takes the following parameters
### operations/publiclink: Create or retrieve a public link to the given file or folder. {#operations-publiclink}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
- unlink - boolean - if set removes the link rather than adding it (optional)
- expire - string - the expiry time of the link e.g. "1d" (optional)
-Returns
+Returns:
- url - URL of the resource
@@ -11478,7 +12016,7 @@ See the [link command](https://rclone.org/commands/rclone_link/) command for mor
### operations/purge: Remove a directory or container and all of its contents {#operations-purge}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11489,7 +12027,7 @@ See the [purge command](https://rclone.org/commands/rclone_purge/) command for m
### operations/rmdir: Remove an empty directory or container {#operations-rmdir}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11500,23 +12038,22 @@ See the [rmdir command](https://rclone.org/commands/rclone_rmdir/) command for m
### operations/rmdirs: Remove all the empty directories in the path {#operations-rmdirs}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
- leaveRoot - boolean, set to true not to delete the root
-
See the [rmdirs command](https://rclone.org/commands/rclone_rmdirs/) command for more information on the above.
**Authentication is required for this call.**
### operations/size: Count the number of bytes and files in remote {#operations-size}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:path/to/dir"
-Returns
+Returns:
- count - number of files
- bytes - number of bytes in those files
@@ -11525,10 +12062,30 @@ See the [size command](https://rclone.org/commands/rclone_size/) command for mor
**Authentication is required for this call.**
-### operations/uploadfile: Upload file using multiform/form-data {#operations-uploadfile}
+### operations/stat: Give information about the supplied file or directory {#operations-stat}
This takes the following parameters
+- fs - a remote name string eg "drive:"
+- remote - a path within that remote eg "dir"
+- opt - a dictionary of options to control the listing (optional)
+ - see operations/list for the options
+
+The result is
+
+- item - an object as described in the lsjson command. Will be null if not found.
+
+Note that if you are only interested in files then it is much more
+efficient to set the filesOnly flag in the options.
+
+See the [lsjson command](https://rclone.org/commands/rclone_lsjson/) for more information on the above and examples.
+
+**Authentication is required for this call.**
+
+### operations/uploadfile: Upload file using multiform/form-data {#operations-uploadfile}
+
+This takes the following parameters:
+
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
- each part in body represents a file to be uploaded
@@ -11538,7 +12095,7 @@ See the [uploadfile command](https://rclone.org/commands/rclone_uploadfile/) com
### options/blocks: List all the option blocks {#options-blocks}
-Returns
+Returns:
- options - a list of the options block names
### options/get: Get all the global options {#options-get}
@@ -11571,7 +12128,7 @@ map to the external options very easily with a few exceptions.
### options/set: Set an option {#options-set}
-Parameters
+Parameters:
- option block name containing an object with
- key: value
@@ -11599,13 +12156,13 @@ And this sets NOTICE level logs (normal without -v)
### pluginsctl/addPlugin: Add a plugin using url {#pluginsctl-addPlugin}
-used for adding a plugin to the webgui
+Used for adding a plugin to the webgui.
-This takes the following parameters
+This takes the following parameters:
-- url: http url of the github repo where the plugin is hosted (http://github.com/rclone/rclone-webui-react)
+- url - http url of the github repo where the plugin is hosted (http://github.com/rclone/rclone-webui-react).
-Eg
+Example:
rclone rc pluginsctl/addPlugin
@@ -11613,19 +12170,19 @@ Eg
### pluginsctl/getPluginsForType: Get plugins with type criteria {#pluginsctl-getPluginsForType}
-This shows all possible plugins by a mime type
+This shows all possible plugins by a mime type.
-This takes the following parameters
+This takes the following parameters:
-- type: supported mime type by a loaded plugin e.g. (video/mp4, audio/mp3)
-- pluginType: filter plugins based on their type e.g. (DASHBOARD, FILE_HANDLER, TERMINAL)
+- type - supported mime type by a loaded plugin e.g. (video/mp4, audio/mp3).
+- pluginType - filter plugins based on their type e.g. (DASHBOARD, FILE_HANDLER, TERMINAL).
-and returns
+Returns:
-- loadedPlugins: list of current production plugins
-- testPlugins: list of temporarily loaded development plugins, usually running on a different server.
+- loadedPlugins - list of current production plugins.
+- testPlugins - list of temporarily loaded development plugins, usually running on a different server.
-Eg
+Example:
rclone rc pluginsctl/getPluginsForType type=video/mp4
@@ -11635,12 +12192,12 @@ Eg
This allows you to get the currently enabled plugins and their details.
-This takes no parameters and returns
+This takes no parameters and returns:
-- loadedPlugins: list of current production plugins
-- testPlugins: list of temporarily loaded development plugins, usually running on a different server.
+- loadedPlugins - list of current production plugins.
+- testPlugins - list of temporarily loaded development plugins, usually running on a different server.
-Eg
+E.g.
rclone rc pluginsctl/listPlugins
@@ -11648,13 +12205,13 @@ Eg
### pluginsctl/listTestPlugins: Show currently loaded test plugins {#pluginsctl-listTestPlugins}
-allows listing of test plugins with the rclone.test set to true in package.json of the plugin
+Allows listing of test plugins with the rclone.test set to true in package.json of the plugin.
-This takes no parameters and returns
+This takes no parameters and returns:
-- loadedTestPlugins: list of currently available test plugins
+- loadedTestPlugins - list of currently available test plugins.
-Eg
+E.g.
rclone rc pluginsctl/listTestPlugins
@@ -11662,13 +12219,13 @@ Eg
### pluginsctl/removePlugin: Remove a loaded plugin {#pluginsctl-removePlugin}
-This allows you to remove a plugin using it's name
+This allows you to remove a plugin using it's name.
-This takes parameters
+This takes parameters:
-- name: name of the plugin in the format `author`/`plugin_name`
+- name - name of the plugin in the format `author`/`plugin_name`.
-Eg
+E.g.
rclone rc pluginsctl/removePlugin name=rclone/video-plugin
@@ -11676,13 +12233,13 @@ Eg
### pluginsctl/removeTestPlugin: Remove a test plugin {#pluginsctl-removeTestPlugin}
-This allows you to remove a plugin using it's name
+This allows you to remove a plugin using it's name.
-This takes the following parameters
+This takes the following parameters:
-- name: name of the plugin in the format `author`/`plugin_name`
+- name - name of the plugin in the format `author`/`plugin_name`.
-Eg
+Example:
rclone rc pluginsctl/removeTestPlugin name=rclone/rclone-webui-react
@@ -11714,7 +12271,7 @@ check that parameter passing is working properly.
### sync/copy: copy a directory from source remote to destination remote {#sync-copy}
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:src" for the source
- dstFs - a remote name string e.g. "drive:dst" for the destination
@@ -11727,7 +12284,7 @@ See the [copy command](https://rclone.org/commands/rclone_copy/) command for mor
### sync/move: move a directory from source remote to destination remote {#sync-move}
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:src" for the source
- dstFs - a remote name string e.g. "drive:dst" for the destination
@@ -11741,7 +12298,7 @@ See the [move command](https://rclone.org/commands/rclone_move/) command for mor
### sync/sync: sync a directory from source remote to destination remote {#sync-sync}
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:src" for the source
- dstFs - a remote name string e.g. "drive:dst" for the destination
@@ -12065,7 +12622,7 @@ Here is an overview of the major features of each cloud storage system.
| ---------------------------- |:-----------:|:-------:|:----------------:|:---------------:|:---------:|
| 1Fichier | Whirlpool | No | No | Yes | R |
| Amazon Drive | MD5 | No | Yes | No | R |
-| Amazon S3 | MD5 | Yes | No | No | R/W |
+| Amazon S3 (or S3 compatible) | MD5 | Yes | No | No | R/W |
| Backblaze B2 | SHA1 | Yes | No | No | R/W |
| Box | SHA1 | Yes | Yes | No | - |
| Citrix ShareFile | MD5 | Yes | Yes | No | - |
@@ -12093,6 +12650,7 @@ Here is an overview of the major features of each cloud storage system.
| QingStor | MD5 | No | No | No | R/W |
| Seafile | - | No | No | No | - |
| SFTP | MD5, SHA1 ² | Yes | Depends | No | - |
+| Sia | - | No | No | No | - |
| SugarSync | - | No | No | No | - |
| Tardigrade | - | Yes | No | No | - |
| Uptobox | - | No | No | Yes | - |
@@ -12184,7 +12742,8 @@ Some cloud storage systems might have restrictions on the characters
that are usable in file or directory names.
When `rclone` detects such a name during a file upload, it will
transparently replace the restricted characters with similar looking
-Unicode characters.
+Unicode characters. To handle the different sets of restricted characters
+for different backends, rclone uses something it calls [encoding](#encoding).
This process is designed to avoid ambiguous file names as much as
possible and allow to move files between many cloud storage systems
@@ -12196,14 +12755,60 @@ to ensure correct formatting and not necessarily the actual name used
on the cloud storage.
This transformation is reversed when downloading a file or parsing
-`rclone` arguments.
-For example, when uploading a file named `my file?.txt` to Onedrive
-will be displayed as `my file?.txt` on the console, but stored as
-`my file?.txt` (the `?` gets replaced by the similar looking `?`
-character) to Onedrive.
-The reverse transformation allows to read a file`unusual/name.txt`
-from Google Drive, by passing the name `unusual/name.txt` (the `/` needs
-to be replaced by the similar looking `/` character) on the command line.
+`rclone` arguments. For example, when uploading a file named `my file?.txt`
+to Onedrive, it will be displayed as `my file?.txt` on the console, but
+stored as `my file?.txt` to Onedrive (the `?` gets replaced by the similar
+looking `?` character, the so-called "fullwidth question mark").
+The reverse transformation allows to read a file `unusual/name.txt`
+from Google Drive, by passing the name `unusual/name.txt` on the command line
+(the `/` needs to be replaced by the similar looking `/` character).
+
+#### Caveats {#restricted-filenames-caveats}
+
+The filename encoding system works well in most cases, at least
+where file names are written in English or similar languages.
+You might not even notice it: It just works. In some cases it may
+lead to issues, though. E.g. when file names are written in Chinese,
+or Japanese, where it is always the Unicode fullwidth variants of the
+punctuation marks that are used.
+
+On Windows, the characters `:`, `*` and `?` are examples of restricted
+characters. If these are used in filenames on a remote that supports it,
+Rclone will transparently convert them to their fullwidth Unicode
+variants `*`, `?` and `:` when downloading to Windows, and back again
+when uploading. This way files with names that are not allowed on Windows
+can still be stored.
+
+However, if you have files on your Windows system originally with these same
+Unicode characters in their names, they will be included in the same conversion
+process. E.g. if you create a file in your Windows filesystem with name
+`Test:1.jpg`, where `:` is the Unicode fullwidth colon symbol, and use
+rclone to upload it to Google Drive, which supports regular `:` (halfwidth
+question mark), rclone will replace the fullwidth `:` with the
+halfwidth `:` and store the file as `Test:1.jpg` in Google Drive. Since
+both Windows and Google Drive allows the name `Test:1.jpg`, it would
+probably be better if rclone just kept the name as is in this case.
+
+With the opposite situation; if you have a file named `Test:1.jpg`,
+in your Google Drive, e.g. uploaded from a Linux system where `:` is valid
+in file names. Then later use rclone to copy this file to your Windows
+computer you will notice that on your local disk it gets renamed
+to `Test:1.jpg`. The original filename is not legal on Windows, due to
+the `:`, and rclone therefore renames it to make the copy possible.
+That is all good. However, this can also lead to an issue: If you already
+had a *different* file named `Test:1.jpg` on Windows, and then use rclone
+to copy either way. Rclone will then treat the file originally named
+`Test:1.jpg` on Google Drive and the file originally named `Test:1.jpg`
+on Windows as the same file, and replace the contents from one with the other.
+
+Its virtually impossible to handle all cases like these correctly in all
+situations, but by customizing the [encoding option](#encoding), changing the
+set of characters that rclone should convert, you should be able to
+create a configuration that works well for your specific situation.
+See also the [example](https://rclone.org/overview/#encoding-example-windows) below.
+
+(Windows was used as an example of a file system with many restricted
+characters, and Google drive a storage system with few.)
#### Default restricted characters {#restricted-characters}
@@ -12276,7 +12881,7 @@ names in a different encoding than UTF-8 or UTF-16, like latin1. See the
#### Encoding option {#encoding}
-Most backends have an encoding options, specified as a flag
+Most backends have an encoding option, specified as a flag
`--backend-encoding` where `backend` is the name of the backend, or as
a config parameter `encoding` (you'll need to select the Advanced
config in `rclone config` to see it).
@@ -12286,17 +12891,17 @@ such a way as to preserve the maximum number of characters (see
above).
However this can be incorrect in some scenarios, for example if you
-have a Windows file system with characters such as `*` and `?` that
-you want to remain as those characters on the remote rather than being
-translated to `*` and `?`.
+have a Windows file system with Unicode fullwidth characters
+`*`, `?` or `:`, that you want to remain as those characters on the
+remote rather than being translated to regular (halfwidth) `*`, `?` and `:`.
The `--backend-encoding` flags allow you to change that. You can
disable the encoding completely with `--backend-encoding None` or set
`encoding = None` in the config file.
Encoding takes a comma separated list of encodings. You can see the
-list of all available characters by passing an invalid value to this
-flag, e.g. `--local-encoding "help"` and `rclone help flags encoding`
+list of all possible values by passing an invalid value to this
+flag, e.g. `--local-encoding "help"`. The command `rclone help flags encoding`
will show you the defaults for the backends.
| Encoding | Characters |
@@ -12309,7 +12914,7 @@ will show you the defaults for the backends.
| Ctl | All control characters 0x00-0x1F |
| Del | DEL 0x7F |
| Dollar | `$` |
-| Dot | `.` |
+| Dot | `.` or `..` as entire string |
| DoubleQuote | `"` |
| Hash | `#` |
| InvalidUtf8 | An invalid UTF-8 character (e.g. latin1) |
@@ -12327,6 +12932,9 @@ will show you the defaults for the backends.
| RightSpace | SPACE on the right of a string |
| SingleQuote | `'` |
| Slash | `/` |
+| SquareBracket | `[`, `]` |
+
+##### Encoding example: FTP
To take a specific example, the FTP backend's default encoding is
@@ -12345,14 +12953,42 @@ to the existing ones, giving:
This can be specified using the `--ftp-encoding` flag or using an `encoding` parameter in the config file.
-Or let's say you have a Windows server but you want to preserve `*`
-and `?`, you would then have this as the encoding (the Windows
-encoding minus `Asterisk` and `Question`).
+##### Encoding example: Windows
- Slash,LtGt,DoubleQuote,Colon,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot
+As a nother example, take a Windows system where there is a file with
+name `Test:1.jpg`, where `:` is the Unicode fullwidth colon symbol.
+When using rclone to copy this to a remote which supports `:`,
+the regular (halfwidth) colon (such as Google Drive), you will notice
+that the file gets renamed to `Test:1.jpg`.
-This can be specified using the `--local-encoding` flag or using an
-`encoding` parameter in the config file.
+To avoid this you can change the set of characters rclone should convert
+for the local filesystem, using command-line argument `--local-encoding`.
+Rclone's default behavior on Windows corresponds to
+
+```
+--local-encoding "Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot"
+```
+
+If you want to use fullwidth characters `:`, `*` and `?` in your filenames
+without rclone changing them when uploading to a remote, then set the same as
+the default value but without `Colon,Question,Asterisk`:
+
+```
+--local-encoding "Slash,LtGt,DoubleQuote,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot"
+```
+
+Alternatively, you can disable the conversion of any characters with `--local-encoding None`.
+
+Instead of using command-line argument `--local-encoding`, you may also set it
+as [environment variable](https://rclone.org/docs/#environment-variables) `RCLONE_LOCAL_ENCODING`,
+or [configure](https://rclone.org/docs/#configure) a remote of type `local` in your config,
+and set the `encoding` option there.
+
+The risk by doing this is that if you have a filename with the regular (halfwidth)
+`:`, `*` and `?` in your cloud storage, and you try to download
+it to your Windows filesystem, this will fail. These characters are not
+valid in filenames on Windows, and you have told rclone not to work around
+this by converting them to valid fullwidth variants.
### MIME Type ###
@@ -12509,34 +13145,34 @@ split into two groups, non backend and backend flags.
These flags are available for every command.
```
- --ask-password Allow prompt for password for encrypted configuration. (default true)
- --auto-confirm If enabled, do not request console confirmation.
- --backup-dir string Make backups into hierarchy based in DIR.
- --bind string Local address to bind to for outgoing connections, IPv4, IPv6 or name.
- --buffer-size SizeSuffix In memory buffer size when reading files for each --transfer. (default 16Mi)
- --bwlimit BwTimetable Bandwidth limit in KiByte/s, or use suffix B|K|M|G|T|P or a full timetable.
- --bwlimit-file BwTimetable Bandwidth limit per file in KiByte/s, or use suffix B|K|M|G|T|P or a full timetable.
+ --ask-password Allow prompt for password for encrypted configuration (default true)
+ --auto-confirm If enabled, do not request console confirmation
+ --backup-dir string Make backups into hierarchy based in DIR
+ --bind string Local address to bind to for outgoing connections, IPv4, IPv6 or name
+ --buffer-size SizeSuffix In memory buffer size when reading files for each --transfer (default 16Mi)
+ --bwlimit BwTimetable Bandwidth limit in KiB/s, or use suffix B|K|M|G|T|P or a full timetable
+ --bwlimit-file BwTimetable Bandwidth limit per file in KiB/s, or use suffix B|K|M|G|T|P or a full timetable
--ca-cert string CA certificate used to verify servers
- --cache-dir string Directory rclone will use for caching. (default "$HOME/.cache/rclone")
- --check-first Do all the checks before starting transfers.
- --checkers int Number of checkers to run in parallel. (default 8)
+ --cache-dir string Directory rclone will use for caching (default "$HOME/.cache/rclone")
+ --check-first Do all the checks before starting transfers
+ --checkers int Number of checkers to run in parallel (default 8)
-c, --checksum Skip based on checksum (if available) & size, not mod-time & size
--client-cert string Client SSL certificate (PEM) for mutual TLS auth
--client-key string Client SSL private key (PEM) for mutual TLS auth
- --compare-dest stringArray Include additional comma separated server-side paths during comparison.
- --config string Config file. (default "$HOME/.config/rclone/rclone.conf")
+ --compare-dest stringArray Include additional comma separated server-side paths during comparison
+ --config string Config file (default "$HOME/.config/rclone/rclone.conf")
--contimeout duration Connect timeout (default 1m0s)
- --copy-dest stringArray Implies --compare-dest but also copies files from paths into destination.
+ --copy-dest stringArray Implies --compare-dest but also copies files from paths into destination
--cpuprofile string Write cpu profile to file
--cutoff-mode string Mode to stop transfers when reaching the max transfer limit HARD|SOFT|CAUTIOUS (default "HARD")
--delete-after When synchronizing, delete files on destination after transferring (default)
--delete-before When synchronizing, delete files on destination before transferring
--delete-during When synchronizing, delete files during transfer
--delete-excluded Delete files on dest excluded from sync
- --disable string Disable a comma separated list of features. Use --disable help to see a list.
- --disable-http2 Disable HTTP/2 in the global transport.
+ --disable string Disable a comma separated list of features (use --disable help to see a list)
+ --disable-http2 Disable HTTP/2 in the global transport
-n, --dry-run Do a trial run with no permanent changes
- --dscp string Set DSCP value to connections. Can be value or names, eg. CS1, LE, DF, AF21.
+ --dscp string Set DSCP value to connections, value or name, e.g. CS1, LE, DF, AF21
--dump DumpFlags List of items to dump from: headers,bodies,requests,responses,auth,filters,goroutines,openfiles
--dump-bodies Dump HTTP headers and bodies - may contain sensitive info
--dump-headers Dump HTTP headers - may contain sensitive info
@@ -12545,112 +13181,115 @@ These flags are available for every command.
--exclude-from stringArray Read exclude patterns from file (use - to read from stdin)
--exclude-if-present string Exclude directories if filename is present
--expect-continue-timeout duration Timeout when using expect / 100-continue in HTTP (default 1s)
- --fast-list Use recursive list if available. Uses more memory but fewer transactions.
+ --fast-list Use recursive list if available; uses more memory but fewer transactions
--files-from stringArray Read list of source-file names from file (use - to read from stdin)
--files-from-raw stringArray Read list of source-file names from file without any processing of lines (use - to read from stdin)
-f, --filter stringArray Add a file-filtering rule
--filter-from stringArray Read filtering patterns from a file (use - to read from stdin)
- --fs-cache-expire-duration duration cache remotes for this long (0 to disable caching) (default 5m0s)
- --fs-cache-expire-interval duration interval to check for expired remotes (default 1m0s)
+ --fs-cache-expire-duration duration Cache remotes for this long (0 to disable caching) (default 5m0s)
+ --fs-cache-expire-interval duration Interval to check for expired remotes (default 1m0s)
--header stringArray Set HTTP header for all transactions
--header-download stringArray Set HTTP header for download transactions
--header-upload stringArray Set HTTP header for upload transactions
+ --human-readable Print numbers in a human-readable format, sizes with suffix Ki|Mi|Gi|Ti|Pi
--ignore-case Ignore case in filters (case insensitive)
--ignore-case-sync Ignore case when synchronizing
- --ignore-checksum Skip post copy check of checksums.
- --ignore-errors delete even if there are I/O errors
+ --ignore-checksum Skip post copy check of checksums
+ --ignore-errors Delete even if there are I/O errors
--ignore-existing Skip all files that exist on destination
- --ignore-size Ignore size when skipping use mod-time or checksum.
+ --ignore-size Ignore size when skipping use mod-time or checksum
-I, --ignore-times Don't skip files that match size and time - transfer all files
- --immutable Do not modify files. Fail if existing files have been modified.
+ --immutable Do not modify files, fail if existing files have been modified
--include stringArray Include files matching pattern
--include-from stringArray Read include patterns from file (use - to read from stdin)
-i, --interactive Enable interactive mode
+ --kv-lock-time duration Maximum time to keep key-value database locked by process (default 1s)
--log-file string Log everything to this file
--log-format string Comma separated list of log format options (default "date,time")
--log-level string Log level DEBUG|INFO|NOTICE|ERROR (default "NOTICE")
- --log-systemd Activate systemd integration for the logger.
- --low-level-retries int Number of low level retries to do. (default 10)
+ --log-systemd Activate systemd integration for the logger
+ --low-level-retries int Number of low level retries to do (default 10)
--max-age Duration Only transfer files younger than this in s or suffix ms|s|m|h|d|w|M|y (default off)
- --max-backlog int Maximum number of objects in sync or check backlog. (default 10000)
+ --max-backlog int Maximum number of objects in sync or check backlog (default 10000)
--max-delete int When synchronizing, limit the number of deletes (default -1)
- --max-depth int If set limits the recursion depth to this. (default -1)
- --max-duration duration Maximum duration rclone will transfer data for.
+ --max-depth int If set limits the recursion depth to this (default -1)
+ --max-duration duration Maximum duration rclone will transfer data for
--max-size SizeSuffix Only transfer files smaller than this in KiB or suffix B|K|M|G|T|P (default off)
- --max-stats-groups int Maximum number of stats groups to keep in memory. On max oldest is discarded. (default 1000)
- --max-transfer SizeSuffix Maximum size of data to transfer. (default off)
+ --max-stats-groups int Maximum number of stats groups to keep in memory, on max oldest is discarded (default 1000)
+ --max-transfer SizeSuffix Maximum size of data to transfer (default off)
--memprofile string Write memory profile to file
--min-age Duration Only transfer files older than this in s or suffix ms|s|m|h|d|w|M|y (default off)
--min-size SizeSuffix Only transfer files bigger than this in KiB or suffix B|K|M|G|T|P (default off)
--modify-window duration Max time diff to be considered the same (default 1ns)
- --multi-thread-cutoff SizeSuffix Use multi-thread downloads for files above this size. (default 250Mi)
- --multi-thread-streams int Max number of streams to use for multi-thread downloads. (default 4)
- --no-check-certificate Do not verify the server SSL certificate. Insecure.
- --no-check-dest Don't check the destination, copy regardless.
- --no-console Hide console window. Supported on Windows only.
- --no-gzip-encoding Don't set Accept-Encoding: gzip.
- --no-traverse Don't traverse destination file system on copy.
- --no-unicode-normalization Don't normalize unicode characters in filenames.
- --no-update-modtime Don't update destination mod-time if files identical.
+ --multi-thread-cutoff SizeSuffix Use multi-thread downloads for files above this size (default 250Mi)
+ --multi-thread-streams int Max number of streams to use for multi-thread downloads (default 4)
+ --no-check-certificate Do not verify the server SSL certificate (insecure)
+ --no-check-dest Don't check the destination, copy regardless
+ --no-console Hide console window (supported on Windows only)
+ --no-gzip-encoding Don't set Accept-Encoding: gzip
+ --no-traverse Don't traverse destination file system on copy
+ --no-unicode-normalization Don't normalize unicode characters in filenames
+ --no-update-modtime Don't update destination mod-time if files identical
--order-by string Instructions on how to order the transfers, e.g. 'size,descending'
- --password-command SpaceSepList Command for supplying password for encrypted configuration.
- -P, --progress Show progress during transfer.
- --progress-terminal-title Show progress on the terminal title. Requires -P/--progress.
+ --password-command SpaceSepList Command for supplying password for encrypted configuration
+ -P, --progress Show progress during transfer
+ --progress-terminal-title Show progress on the terminal title (requires -P/--progress)
-q, --quiet Print as little stuff as possible
- --rc Enable the remote control server.
- --rc-addr string IPaddress:Port or :Port to bind server to. (default "localhost:5572")
- --rc-allow-origin string Set the allowed origin for CORS.
- --rc-baseurl string Prefix for URLs - leave blank for root.
+ --rc Enable the remote control server
+ --rc-addr string IPaddress:Port or :Port to bind server to (default "localhost:5572")
+ --rc-allow-origin string Set the allowed origin for CORS
+ --rc-baseurl string Prefix for URLs - leave blank for root
--rc-cert string SSL PEM key (concatenation of certificate and CA certificate)
--rc-client-ca string Client certificate authority to verify clients with
--rc-enable-metrics Enable prometheus metrics on /metrics
- --rc-files string Path to local files to serve on the HTTP server.
+ --rc-files string Path to local files to serve on the HTTP server
--rc-htpasswd string htpasswd file - if not provided no authentication is done
--rc-job-expire-duration duration expire finished async jobs older than this value (default 1m0s)
--rc-job-expire-interval duration interval to check for expired async jobs (default 10s)
--rc-key string SSL PEM Private key
--rc-max-header-bytes int Maximum size of request header (default 4096)
- --rc-no-auth Don't require auth for certain methods.
- --rc-pass string Password for authentication.
+ --rc-no-auth Don't require auth for certain methods
+ --rc-pass string Password for authentication
--rc-realm string realm for authentication (default "rclone")
- --rc-serve Enable the serving of remote objects.
+ --rc-serve Enable the serving of remote objects
--rc-server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--rc-server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --rc-template string User Specified Template.
- --rc-user string User name for authentication.
- --rc-web-fetch-url string URL to fetch the releases for webgui. (default "https://api.github.com/repos/rclone/rclone-webui-react/releases/latest")
+ --rc-template string User-specified template
+ --rc-user string User name for authentication
+ --rc-web-fetch-url string URL to fetch the releases for webgui (default "https://api.github.com/repos/rclone/rclone-webui-react/releases/latest")
--rc-web-gui Launch WebGUI on localhost
--rc-web-gui-force-update Force update to latest version of web gui
--rc-web-gui-no-open-browser Don't open the browser automatically
--rc-web-gui-update Check and update to latest version of web gui
- --refresh-times Refresh the modtime of remote files.
+ --refresh-times Refresh the modtime of remote files
--retries int Retry operations this many times if they fail (default 3)
- --retries-sleep duration Interval between retrying operations if they fail, e.g 500ms, 60s, 5m. (0 to disable)
+ --retries-sleep duration Interval between retrying operations if they fail, e.g. 500ms, 60s, 5m (0 to disable)
--size-only Skip based on size only, not mod-time or checksum
- --stats duration Interval between printing stats, e.g 500ms, 60s, 5m. (0 to disable) (default 1m0s)
- --stats-file-name-length int Max file name length in stats. 0 for no limit (default 45)
+ --stats duration Interval between printing stats, e.g. 500ms, 60s, 5m (0 to disable) (default 1m0s)
+ --stats-file-name-length int Max file name length in stats (0 for no limit) (default 45)
--stats-log-level string Log level to show --stats output DEBUG|INFO|NOTICE|ERROR (default "INFO")
- --stats-one-line Make the stats fit on one line.
- --stats-one-line-date Enables --stats-one-line and add current date/time prefix.
- --stats-one-line-date-format string Enables --stats-one-line-date and uses custom formatted date. Enclose date string in double quotes ("). See https://golang.org/pkg/time/#Time.Format
+ --stats-one-line Make the stats fit on one line
+ --stats-one-line-date Enable --stats-one-line and add current date/time prefix
+ --stats-one-line-date-format string Enable --stats-one-line-date and use custom formatted date: Enclose date string in double quotes ("), see https://golang.org/pkg/time/#Time.Format
--stats-unit string Show data rate in stats as either 'bits' or 'bytes' per second (default "bytes")
- --streaming-upload-cutoff SizeSuffix Cutoff for switching to chunked upload if file size is unknown. Upload starts after reaching cutoff or when file ends. (default 100Ki)
- --suffix string Suffix to add to changed files.
- --suffix-keep-extension Preserve the extension when using --suffix.
+ --streaming-upload-cutoff SizeSuffix Cutoff for switching to chunked upload if file size is unknown, upload starts after reaching cutoff or when file ends (default 100Ki)
+ --suffix string Suffix to add to changed files
+ --suffix-keep-extension Preserve the extension when using --suffix
--syslog Use Syslog for logging
--syslog-facility string Facility for syslog, e.g. KERN,USER,... (default "DAEMON")
+ --temp-dir string Directory rclone will use for temporary files (default "/tmp")
--timeout duration IO idle timeout (default 5m0s)
- --tpslimit float Limit HTTP transactions per second to this.
- --tpslimit-burst int Max burst of transactions for --tpslimit. (default 1)
+ --tpslimit float Limit HTTP transactions per second to this
+ --tpslimit-burst int Max burst of transactions for --tpslimit (default 1)
--track-renames When synchronizing, track file renames and do a server-side move if possible
--track-renames-strategy string Strategies to use when synchronizing using track-renames hash|modtime|leaf (default "hash")
- --transfers int Number of file transfers to run in parallel. (default 4)
- -u, --update Skip files that are newer on the destination.
- --use-cookies Enable session cookiejar.
- --use-json-log Use json log format.
- --use-mmap Use mmap allocator (see docs).
+ --transfers int Number of file transfers to run in parallel (default 4)
+ -u, --update Skip files that are newer on the destination
+ --use-cookies Enable session cookiejar
+ --use-json-log Use json log format
+ --use-mmap Use mmap allocator (see docs)
--use-server-modtime Use server modified time instead of object metadata
- --user-agent string Set the user-agent to a specified string. The default is rclone/ version (default "rclone/v1.56.0")
+ --user-agent string Set the user-agent to a specified string (default "rclone/v1.57.0")
-v, --verbose count Print lots more stuff (repeat for more)
```
@@ -12660,435 +13299,453 @@ These flags are available for every command. They control the backends
and may be set in the config file.
```
- --acd-auth-url string Auth server URL.
- --acd-client-id string OAuth Client Id
- --acd-client-secret string OAuth Client Secret
- --acd-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- --acd-templink-threshold SizeSuffix Files >= this size will be downloaded via their tempLink. (default 9Gi)
- --acd-token string OAuth Access Token as a JSON blob.
- --acd-token-url string Token server url.
- --acd-upload-wait-per-gb Duration Additional time per GiB to wait after a failed complete upload to see if it appears. (default 3m0s)
- --alias-remote string Remote or path to alias.
- --azureblob-access-tier string Access tier of blob: hot, cool or archive.
- --azureblob-account string Storage Account Name (leave blank to use SAS URL or Emulator)
- --azureblob-archive-tier-delete Delete archive tier blobs before overwriting.
- --azureblob-chunk-size SizeSuffix Upload chunk size (<= 100 MiB). (default 4Mi)
- --azureblob-disable-checksum Don't store MD5 checksum with object metadata.
- --azureblob-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8)
- --azureblob-endpoint string Endpoint for the service
- --azureblob-key string Storage Account Key (leave blank to use SAS URL or Emulator)
- --azureblob-list-chunk int Size of blob list. (default 5000)
- --azureblob-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- --azureblob-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool.
- --azureblob-msi-client-id string Object ID of the user-assigned MSI to use, if any. Leave blank if msi_object_id or msi_mi_res_id specified.
- --azureblob-msi-mi-res-id string Azure resource ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_object_id specified.
- --azureblob-msi-object-id string Object ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_mi_res_id specified.
- --azureblob-public-access string Public access level of a container: blob, container.
- --azureblob-sas-url string SAS URL for container level access only
- --azureblob-service-principal-file string Path to file containing credentials for use with a service principal.
- --azureblob-upload-cutoff string Cutoff for switching to chunked upload (<= 256 MiB). (Deprecated)
- --azureblob-use-emulator Uses local storage emulator if provided as 'true' (leave blank if using real azure storage endpoint)
- --azureblob-use-msi Use a managed service identity to authenticate (only works in Azure)
- --b2-account string Account ID or Application Key ID
- --b2-chunk-size SizeSuffix Upload chunk size. Must fit in memory. (default 96Mi)
- --b2-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4Gi)
- --b2-disable-checksum Disable checksums for large (> upload cutoff) files
- --b2-download-auth-duration Duration Time before the authorization token will expire in s or suffix ms|s|m|h|d. (default 1w)
- --b2-download-url string Custom endpoint for downloads.
- --b2-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --b2-endpoint string Endpoint for the service.
- --b2-hard-delete Permanently delete files on remote removal, otherwise hide files.
- --b2-key string Application Key
- --b2-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- --b2-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool.
- --b2-test-mode string A flag string for X-Bz-Test-Mode header for debugging.
- --b2-upload-cutoff SizeSuffix Cutoff for switching to chunked upload. (default 200Mi)
- --b2-versions Include old versions in directory listings.
- --box-access-token string Box App Primary Access Token
- --box-auth-url string Auth server URL.
- --box-box-config-file string Box App config.json location
- --box-box-sub-type string (default "user")
- --box-client-id string OAuth Client Id
- --box-client-secret string OAuth Client Secret
- --box-commit-retries int Max number of times to try committing a multipart file. (default 100)
- --box-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot)
- --box-root-folder-id string Fill in for rclone to use a non root folder as its starting point.
- --box-token string OAuth Access Token as a JSON blob.
- --box-token-url string Token server url.
- --box-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (>= 50 MiB). (default 50Mi)
- --cache-chunk-clean-interval Duration How often should the cache perform cleanups of the chunk storage. (default 1m0s)
- --cache-chunk-no-memory Disable the in-memory cache for storing chunks during streaming.
- --cache-chunk-path string Directory to cache chunk files. (default "$HOME/.cache/rclone/cache-backend")
- --cache-chunk-size SizeSuffix The size of a chunk (partial file data). (default 5Mi)
- --cache-chunk-total-size SizeSuffix The total size that the chunks can take up on the local disk. (default 10Gi)
- --cache-db-path string Directory to store file structure metadata DB. (default "$HOME/.cache/rclone/cache-backend")
- --cache-db-purge Clear all the cached data for this remote on start.
- --cache-db-wait-time Duration How long to wait for the DB to be available - 0 is unlimited (default 1s)
- --cache-info-age Duration How long to cache file structure information (directory listings, file size, times, etc.). (default 6h0m0s)
- --cache-plex-insecure string Skip all certificate verification when connecting to the Plex server
- --cache-plex-password string The password of the Plex user (obscured)
- --cache-plex-url string The URL of the Plex server
- --cache-plex-username string The username of the Plex user
- --cache-read-retries int How many times to retry a read from a cache storage. (default 10)
- --cache-remote string Remote to cache.
- --cache-rps int Limits the number of requests per second to the source FS (-1 to disable) (default -1)
- --cache-tmp-upload-path string Directory to keep temporary files until they are uploaded.
- --cache-tmp-wait-time Duration How long should files be stored in local cache before being uploaded (default 15s)
- --cache-workers int How many workers should run in parallel to download chunks. (default 4)
- --cache-writes Cache file data on writes through the FS
- --chunker-chunk-size SizeSuffix Files larger than chunk size will be split in chunks. (default 2Gi)
- --chunker-fail-hard Choose how chunker should handle files with missing or invalid chunks.
- --chunker-hash-type string Choose how chunker handles hash sums. All modes but "none" require metadata. (default "md5")
- --chunker-remote string Remote to chunk/unchunk.
- --compress-level int GZIP compression level (-2 to 9). (default -1)
- --compress-mode string Compression mode. (default "gzip")
- --compress-ram-cache-limit SizeSuffix Some remotes don't allow the upload of files with unknown size. (default 20Mi)
- --compress-remote string Remote to compress.
- -L, --copy-links Follow symlinks and copy the pointed to item.
- --crypt-directory-name-encryption Option to either encrypt directory names or leave them intact. (default true)
- --crypt-filename-encryption string How to encrypt the filenames. (default "standard")
- --crypt-no-data-encryption Option to either encrypt file data or leave it unencrypted.
- --crypt-password string Password or pass phrase for encryption. (obscured)
- --crypt-password2 string Password or pass phrase for salt. Optional but recommended. (obscured)
- --crypt-remote string Remote to encrypt/decrypt.
- --crypt-server-side-across-configs Allow server-side operations (e.g. copy) to work across different crypt configs.
- --crypt-show-mapping For all files listed show how the names encrypt.
- --drive-acknowledge-abuse Set to allow files which return cannotDownloadAbusiveFile to be downloaded.
- --drive-allow-import-name-change Allow the filetype to change when uploading Google docs (e.g. file.doc to file.docx). This will confuse sync and reupload every time.
- --drive-auth-owner-only Only consider files owned by the authenticated user.
- --drive-auth-url string Auth server URL.
- --drive-chunk-size SizeSuffix Upload chunk size. Must a power of 2 >= 256k. (default 8Mi)
- --drive-client-id string Google Application Client Id
- --drive-client-secret string OAuth Client Secret
- --drive-disable-http2 Disable drive using http2 (default true)
- --drive-encoding MultiEncoder This sets the encoding for the backend. (default InvalidUtf8)
- --drive-export-formats string Comma separated list of preferred formats for downloading Google docs. (default "docx,xlsx,pptx,svg")
- --drive-formats string Deprecated: see export_formats
- --drive-impersonate string Impersonate this user when using a service account.
- --drive-import-formats string Comma separated list of preferred formats for uploading Google docs.
- --drive-keep-revision-forever Keep new head revision of each file forever.
- --drive-list-chunk int Size of listing chunk 100-1000. 0 to disable. (default 1000)
- --drive-pacer-burst int Number of API calls to allow without sleeping. (default 100)
- --drive-pacer-min-sleep Duration Minimum time to sleep between API calls. (default 100ms)
- --drive-root-folder-id string ID of the root folder
- --drive-scope string Scope that rclone should use when requesting access from drive.
- --drive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different drive configs.
- --drive-service-account-credentials string Service Account Credentials JSON blob
- --drive-service-account-file string Service Account Credentials JSON file path
- --drive-shared-with-me Only show files that are shared with me.
- --drive-size-as-quota Show sizes as storage quota usage, not actual size.
- --drive-skip-checksum-gphotos Skip MD5 checksum on Google photos and videos only.
- --drive-skip-gdocs Skip google documents in all listings.
- --drive-skip-shortcuts If set skip shortcut files
- --drive-starred-only Only show files that are starred.
- --drive-stop-on-download-limit Make download limit errors be fatal
- --drive-stop-on-upload-limit Make upload limit errors be fatal
- --drive-team-drive string ID of the Shared Drive (Team Drive)
- --drive-token string OAuth Access Token as a JSON blob.
- --drive-token-url string Token server url.
- --drive-trashed-only Only show files that are in the trash.
- --drive-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 8Mi)
- --drive-use-created-date Use file created date instead of modified date.,
- --drive-use-shared-date Use date file was shared instead of modified date.
- --drive-use-trash Send files to the trash instead of deleting permanently. (default true)
- --drive-v2-download-min-size SizeSuffix If Object's are greater, use drive v2 API to download. (default off)
- --dropbox-auth-url string Auth server URL.
- --dropbox-batch-mode string Upload file batching sync|async|off. (default "sync")
- --dropbox-batch-size int Max number of files in upload batch.
- --dropbox-batch-timeout Duration Max time to allow an idle upload batch before uploading (default 0s)
- --dropbox-chunk-size SizeSuffix Upload chunk size. (< 150Mi). (default 48Mi)
- --dropbox-client-id string OAuth Client Id
- --dropbox-client-secret string OAuth Client Secret
- --dropbox-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot)
- --dropbox-impersonate string Impersonate this user when using a business account.
- --dropbox-shared-files Instructs rclone to work on individual shared files.
- --dropbox-shared-folders Instructs rclone to work on shared folders.
- --dropbox-token string OAuth Access Token as a JSON blob.
- --dropbox-token-url string Token server url.
- --fichier-api-key string Your API Key, get it from https://1fichier.com/console/params.pl
- --fichier-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot)
- --fichier-file-password string If you want to download a shared file that is password protected, add this parameter (obscured)
- --fichier-folder-password string If you want to list the files in a shared folder that is password protected, add this parameter (obscured)
- --fichier-shared-folder string If you want to download a shared folder, add this parameter
- --filefabric-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,InvalidUtf8,Dot)
- --filefabric-permanent-token string Permanent Authentication Token
- --filefabric-root-folder-id string ID of the root folder
- --filefabric-token string Session Token
- --filefabric-token-expiry string Token expiry time
- --filefabric-url string URL of the Enterprise File Fabric to connect to
- --filefabric-version string Version read from the file fabric
- --ftp-close-timeout Duration Maximum time to wait for a response to close. (default 1m0s)
- --ftp-concurrency int Maximum number of FTP simultaneous connections, 0 for unlimited
- --ftp-disable-epsv Disable using EPSV even if server advertises support
- --ftp-disable-mlsd Disable using MLSD even if server advertises support
- --ftp-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,RightSpace,Dot)
- --ftp-explicit-tls Use Explicit FTPS (FTP over TLS)
- --ftp-host string FTP host to connect to
- --ftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
- --ftp-no-check-certificate Do not verify the TLS certificate of the server
- --ftp-pass string FTP password (obscured)
- --ftp-port string FTP port, leave blank to use default (21)
- --ftp-tls Use Implicit FTPS (FTP over TLS)
- --ftp-user string FTP username, leave blank for current username, $USER
- --gcs-anonymous Access public buckets and objects without credentials
- --gcs-auth-url string Auth server URL.
- --gcs-bucket-acl string Access Control List for new buckets.
- --gcs-bucket-policy-only Access checks should use bucket-level IAM policies.
- --gcs-client-id string OAuth Client Id
- --gcs-client-secret string OAuth Client Secret
- --gcs-encoding MultiEncoder This sets the encoding for the backend. (default Slash,CrLf,InvalidUtf8,Dot)
- --gcs-location string Location for the newly created buckets.
- --gcs-object-acl string Access Control List for new objects.
- --gcs-project-number string Project number.
- --gcs-service-account-file string Service Account Credentials JSON file path
- --gcs-storage-class string The storage class to use when storing objects in Google Cloud Storage.
- --gcs-token string OAuth Access Token as a JSON blob.
- --gcs-token-url string Token server url.
- --gphotos-auth-url string Auth server URL.
- --gphotos-client-id string OAuth Client Id
- --gphotos-client-secret string OAuth Client Secret
- --gphotos-include-archived Also view and download archived media.
- --gphotos-read-only Set to make the Google Photos backend read only.
- --gphotos-read-size Set to read the size of media items.
- --gphotos-start-year int Year limits the photos to be downloaded to those which are uploaded after the given year (default 2000)
- --gphotos-token string OAuth Access Token as a JSON blob.
- --gphotos-token-url string Token server url.
- --hdfs-data-transfer-protection string Kerberos data transfer protection: authentication|integrity|privacy
- --hdfs-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Colon,Del,Ctl,InvalidUtf8,Dot)
- --hdfs-namenode string hadoop name node and port
- --hdfs-service-principal-name string Kerberos service principal name for the namenode
- --hdfs-username string hadoop user name
- --http-headers CommaSepList Set HTTP headers for all transactions
- --http-no-head Don't use HEAD requests to find file sizes in dir listing
- --http-no-slash Set this if the site doesn't end directories with /
- --http-url string URL of http host to connect to
- --hubic-auth-url string Auth server URL.
- --hubic-chunk-size SizeSuffix Above this size files will be chunked into a _segments container. (default 5Gi)
- --hubic-client-id string OAuth Client Id
- --hubic-client-secret string OAuth Client Secret
- --hubic-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8)
- --hubic-no-chunk Don't chunk files during streaming upload.
- --hubic-token string OAuth Access Token as a JSON blob.
- --hubic-token-url string Token server url.
- --jottacloud-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
- --jottacloud-hard-delete Delete files permanently rather than putting them into the trash.
- --jottacloud-md5-memory-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required. (default 10Mi)
- --jottacloud-no-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them.
- --jottacloud-trashed-only Only show files that are in the trash.
- --jottacloud-upload-resume-limit SizeSuffix Files bigger than this can be resumed if the upload fail's. (default 10Mi)
- --koofr-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --koofr-endpoint string The Koofr API endpoint to use (default "https://app.koofr.net")
- --koofr-mountid string Mount ID of the mount to use. If omitted, the primary mount is used.
- --koofr-password string Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password) (obscured)
- --koofr-setmtime Does the backend support setting modification time. Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend. (default true)
- --koofr-user string Your Koofr user name
- -l, --links Translate symlinks to/from regular files with a '.rclonelink' extension
- --local-case-insensitive Force the filesystem to report itself as case insensitive
- --local-case-sensitive Force the filesystem to report itself as case sensitive.
- --local-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Dot)
- --local-no-check-updated Don't check to see if the files change during upload
- --local-no-preallocate Disable preallocation of disk space for transferred files
- --local-no-set-modtime Disable setting modtime
- --local-no-sparse Disable sparse files for multi-thread downloads
- --local-nounc string Disable UNC (long path names) conversion on Windows
- --local-unicode-normalization Apply unicode NFC normalization to paths and filenames
- --local-zero-size-links Assume the Stat size of links is zero (and read them instead) (Deprecated)
- --mailru-check-hash What should copy do if file checksum is mismatched or invalid (default true)
- --mailru-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --mailru-pass string Password (obscured)
- --mailru-speedup-enable Skip full upload if there is another file with same data hash. (default true)
- --mailru-speedup-file-patterns string Comma separated list of file name patterns eligible for speedup (put by hash). (default "*.mkv,*.avi,*.mp4,*.mp3,*.zip,*.gz,*.rar,*.pdf")
- --mailru-speedup-max-disk SizeSuffix This option allows you to disable speedup (put by hash) for large files (default 3Gi)
- --mailru-speedup-max-memory SizeSuffix Files larger than the size given below will always be hashed on disk. (default 32Mi)
- --mailru-user string User name (usually email)
- --mega-debug Output more debug from Mega.
- --mega-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- --mega-hard-delete Delete files permanently rather than putting them into the trash.
- --mega-pass string Password. (obscured)
- --mega-user string User name
- -x, --one-file-system Don't cross filesystem boundaries (unix/macOS only).
- --onedrive-auth-url string Auth server URL.
- --onedrive-chunk-size SizeSuffix Chunk size to upload files with - must be multiple of 320k (327,680 bytes). (default 10Mi)
- --onedrive-client-id string OAuth Client Id
- --onedrive-client-secret string OAuth Client Secret
- --onedrive-drive-id string The ID of the drive to use
- --onedrive-drive-type string The type of the drive ( personal | business | documentLibrary )
- --onedrive-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
- --onedrive-expose-onenote-files Set to make OneNote files show up in directory listings.
- --onedrive-link-password string Set the password for links created by the link command.
- --onedrive-link-scope string Set the scope of the links created by the link command. (default "anonymous")
- --onedrive-link-type string Set the type of the links created by the link command. (default "view")
- --onedrive-list-chunk int Size of listing chunk. (default 1000)
- --onedrive-no-versions Remove all versions on modifying operations
- --onedrive-region string Choose national cloud region for OneDrive. (default "global")
- --onedrive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different onedrive configs.
- --onedrive-token string OAuth Access Token as a JSON blob.
- --onedrive-token-url string Token server url.
- --opendrive-chunk-size SizeSuffix Files will be uploaded in chunks this size. (default 10Mi)
- --opendrive-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,LeftSpace,LeftCrLfHtVt,RightSpace,RightCrLfHtVt,InvalidUtf8,Dot)
- --opendrive-password string Password. (obscured)
- --opendrive-username string Username
- --pcloud-auth-url string Auth server URL.
- --pcloud-client-id string OAuth Client Id
- --pcloud-client-secret string OAuth Client Secret
- --pcloud-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --pcloud-hostname string Hostname to connect to. (default "api.pcloud.com")
- --pcloud-root-folder-id string Fill in for rclone to use a non root folder as its starting point. (default "d0")
- --pcloud-token string OAuth Access Token as a JSON blob.
- --pcloud-token-url string Token server url.
- --premiumizeme-encoding MultiEncoder This sets the encoding for the backend. (default Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --putio-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --qingstor-access-key-id string QingStor Access Key ID
- --qingstor-chunk-size SizeSuffix Chunk size to use for uploading. (default 4Mi)
- --qingstor-connection-retries int Number of connection retries. (default 3)
- --qingstor-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Ctl,InvalidUtf8)
- --qingstor-endpoint string Enter an endpoint URL to connection QingStor API.
- --qingstor-env-auth Get QingStor credentials from runtime. Only applies if access_key_id and secret_access_key is blank.
- --qingstor-secret-access-key string QingStor Secret Access Key (password)
- --qingstor-upload-concurrency int Concurrency for multipart uploads. (default 1)
- --qingstor-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
- --qingstor-zone string Zone to connect to.
- --s3-access-key-id string AWS Access Key ID.
- --s3-acl string Canned ACL used when creating buckets and storing or copying objects.
- --s3-bucket-acl string Canned ACL used when creating buckets.
- --s3-chunk-size SizeSuffix Chunk size to use for uploading. (default 5Mi)
- --s3-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
- --s3-disable-checksum Don't store MD5 checksum with object metadata
- --s3-disable-http2 Disable usage of http2 for S3 backends
- --s3-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- --s3-endpoint string Endpoint for S3 API.
- --s3-env-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars).
- --s3-force-path-style If true use path style access if false use virtual hosted style. (default true)
- --s3-leave-parts-on-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery.
- --s3-list-chunk int Size of listing chunk (response list for each ListObject S3 request). (default 1000)
- --s3-location-constraint string Location constraint - must be set to match the Region.
- --s3-max-upload-parts int Maximum number of parts in a multipart upload. (default 10000)
- --s3-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- --s3-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool.
- --s3-no-check-bucket If set, don't attempt to check the bucket exists or create it
- --s3-no-head If set, don't HEAD uploaded objects to check integrity
- --s3-no-head-object If set, don't HEAD objects
- --s3-profile string Profile to use in the shared credentials file
- --s3-provider string Choose your S3 provider.
- --s3-region string Region to connect to.
- --s3-requester-pays Enables requester pays option when interacting with S3 bucket.
- --s3-secret-access-key string AWS Secret Access Key (password)
- --s3-server-side-encryption string The server-side encryption algorithm used when storing this object in S3.
- --s3-session-token string An AWS session token
- --s3-shared-credentials-file string Path to the shared credentials file
- --s3-sse-customer-algorithm string If using SSE-C, the server-side encryption algorithm used when storing this object in S3.
- --s3-sse-customer-key string If using SSE-C you must provide the secret encryption key used to encrypt/decrypt your data.
- --s3-sse-customer-key-md5 string If using SSE-C you may provide the secret encryption key MD5 checksum (optional).
- --s3-sse-kms-key-id string If using KMS ID you must provide the ARN of Key.
- --s3-storage-class string The storage class to use when storing new objects in S3.
- --s3-upload-concurrency int Concurrency for multipart uploads. (default 4)
- --s3-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
- --s3-use-accelerate-endpoint If true use the AWS S3 accelerated endpoint.
- --s3-v2-auth If true use v2 authentication.
- --seafile-2fa Two-factor authentication ('true' if the account has 2FA enabled)
- --seafile-create-library Should rclone create a library if it doesn't exist
- --seafile-encoding MultiEncoder This sets the encoding for the backend. (default Slash,DoubleQuote,BackSlash,Ctl,InvalidUtf8)
- --seafile-library string Name of the library. Leave blank to access all non-encrypted libraries.
- --seafile-library-key string Library password (for encrypted libraries only). Leave blank if you pass it through the command line. (obscured)
- --seafile-pass string Password (obscured)
- --seafile-url string URL of seafile host to connect to
- --seafile-user string User name (usually email address)
- --sftp-ask-password Allow asking for SFTP password when needed.
- --sftp-disable-concurrent-reads If set don't use concurrent reads
- --sftp-disable-concurrent-writes If set don't use concurrent writes
- --sftp-disable-hashcheck Disable the execution of SSH commands to determine if remote file hashing is available.
- --sftp-host string SSH host to connect to
- --sftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
- --sftp-key-file string Path to PEM-encoded private key file, leave blank or set key-use-agent to use ssh-agent.
- --sftp-key-file-pass string The passphrase to decrypt the PEM-encoded private key file. (obscured)
- --sftp-key-pem string Raw PEM-encoded private key, If specified, will override key_file parameter.
- --sftp-key-use-agent When set forces the usage of the ssh-agent.
- --sftp-known-hosts-file string Optional path to known_hosts file.
- --sftp-md5sum-command string The command used to read md5 hashes. Leave blank for autodetect.
- --sftp-pass string SSH password, leave blank to use ssh-agent. (obscured)
- --sftp-path-override string Override path used by SSH connection.
- --sftp-port string SSH port, leave blank to use default (22)
- --sftp-pubkey-file string Optional path to public key file.
- --sftp-server-command string Specifies the path or command to run a sftp server on the remote host.
- --sftp-set-modtime Set the modified time on the remote if set. (default true)
- --sftp-sha1sum-command string The command used to read sha1 hashes. Leave blank for autodetect.
- --sftp-skip-links Set to skip any symlinks and any other non regular files.
- --sftp-subsystem string Specifies the SSH2 subsystem on the remote host. (default "sftp")
- --sftp-use-fstat If set use fstat instead of stat
- --sftp-use-insecure-cipher Enable the use of insecure ciphers and key exchange methods.
- --sftp-user string SSH username, leave blank for current username, $USER
- --sharefile-chunk-size SizeSuffix Upload chunk size. Must a power of 2 >= 256k. (default 64Mi)
- --sharefile-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot)
- --sharefile-endpoint string Endpoint for API calls.
- --sharefile-root-folder-id string ID of the root folder
- --sharefile-upload-cutoff SizeSuffix Cutoff for switching to multipart upload. (default 128Mi)
- --skip-links Don't warn about skipped symlinks.
- --sugarsync-access-key-id string Sugarsync Access Key ID.
- --sugarsync-app-id string Sugarsync App ID.
- --sugarsync-authorization string Sugarsync authorization
- --sugarsync-authorization-expiry string Sugarsync authorization expiry
- --sugarsync-deleted-id string Sugarsync deleted folder id
- --sugarsync-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Ctl,InvalidUtf8,Dot)
- --sugarsync-hard-delete Permanently delete files if true
- --sugarsync-private-access-key string Sugarsync Private Access Key
- --sugarsync-refresh-token string Sugarsync refresh token
- --sugarsync-root-id string Sugarsync root id
- --sugarsync-user string Sugarsync user
- --swift-application-credential-id string Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
- --swift-application-credential-name string Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
- --swift-application-credential-secret string Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
- --swift-auth string Authentication URL for server (OS_AUTH_URL).
- --swift-auth-token string Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
- --swift-auth-version int AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
- --swift-chunk-size SizeSuffix Above this size files will be chunked into a _segments container. (default 5Gi)
- --swift-domain string User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)
- --swift-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8)
- --swift-endpoint-type string Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE) (default "public")
- --swift-env-auth Get swift credentials from environment variables in standard OpenStack form.
- --swift-key string API key or password (OS_PASSWORD).
- --swift-leave-parts-on-error If true avoid calling abort upload on a failure. It should be set to true for resuming uploads across different sessions.
- --swift-no-chunk Don't chunk files during streaming upload.
- --swift-region string Region name - optional (OS_REGION_NAME)
- --swift-storage-policy string The storage policy to use when creating a new container
- --swift-storage-url string Storage URL - optional (OS_STORAGE_URL)
- --swift-tenant string Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
- --swift-tenant-domain string Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
- --swift-tenant-id string Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
- --swift-user string User name to log in (OS_USERNAME).
- --swift-user-id string User ID to log in - optional - most swift systems use user and leave this blank (v3 auth) (OS_USER_ID).
- --tardigrade-access-grant string Access Grant.
- --tardigrade-api-key string API Key.
- --tardigrade-passphrase string Encryption Passphrase. To access existing objects enter passphrase used for uploading.
- --tardigrade-provider string Choose an authentication method. (default "existing")
- --tardigrade-satellite-address <nodeid>@<address>:<port> Satellite Address. Custom satellite address should match the format: <nodeid>@<address>:<port>. (default "us-central-1.tardigrade.io")
- --union-action-policy string Policy to choose upstream on ACTION category. (default "epall")
- --union-cache-time int Cache time of usage and free space (in seconds). This option is only useful when a path preserving policy is used. (default 120)
- --union-create-policy string Policy to choose upstream on CREATE category. (default "epmfs")
- --union-search-policy string Policy to choose upstream on SEARCH category. (default "ff")
- --union-upstreams string List of space separated upstreams.
- --uptobox-access-token string Your access Token, get it from https://uptobox.com/my_account
- --uptobox-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot)
- --webdav-bearer-token string Bearer token instead of user/pass (e.g. a Macaroon)
- --webdav-bearer-token-command string Command to run to get a bearer token
- --webdav-encoding string This sets the encoding for the backend.
- --webdav-headers CommaSepList Set HTTP headers for all transactions
- --webdav-pass string Password. (obscured)
- --webdav-url string URL of http host to connect to
- --webdav-user string User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'.
- --webdav-vendor string Name of the Webdav site/service/software you are using
- --yandex-auth-url string Auth server URL.
- --yandex-client-id string OAuth Client Id
- --yandex-client-secret string OAuth Client Secret
- --yandex-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,InvalidUtf8,Dot)
- --yandex-token string OAuth Access Token as a JSON blob.
- --yandex-token-url string Token server url.
- --zoho-auth-url string Auth server URL.
- --zoho-client-id string OAuth Client Id
- --zoho-client-secret string OAuth Client Secret
- --zoho-encoding MultiEncoder This sets the encoding for the backend. (default Del,Ctl,InvalidUtf8)
- --zoho-region string Zoho region to connect to.
- --zoho-token string OAuth Access Token as a JSON blob.
- --zoho-token-url string Token server url.
+ --acd-auth-url string Auth server URL
+ --acd-client-id string OAuth Client Id
+ --acd-client-secret string OAuth Client Secret
+ --acd-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --acd-templink-threshold SizeSuffix Files >= this size will be downloaded via their tempLink (default 9Gi)
+ --acd-token string OAuth Access Token as a JSON blob
+ --acd-token-url string Token server url
+ --acd-upload-wait-per-gb Duration Additional time per GiB to wait after a failed complete upload to see if it appears (default 3m0s)
+ --alias-remote string Remote or path to alias
+ --azureblob-access-tier string Access tier of blob: hot, cool or archive
+ --azureblob-account string Storage Account Name
+ --azureblob-archive-tier-delete Delete archive tier blobs before overwriting
+ --azureblob-chunk-size SizeSuffix Upload chunk size (<= 100 MiB) (default 4Mi)
+ --azureblob-disable-checksum Don't store MD5 checksum with object metadata
+ --azureblob-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8)
+ --azureblob-endpoint string Endpoint for the service
+ --azureblob-key string Storage Account Key
+ --azureblob-list-chunk int Size of blob list (default 5000)
+ --azureblob-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --azureblob-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --azureblob-msi-client-id string Object ID of the user-assigned MSI to use, if any
+ --azureblob-msi-mi-res-id string Azure resource ID of the user-assigned MSI to use, if any
+ --azureblob-msi-object-id string Object ID of the user-assigned MSI to use, if any
+ --azureblob-no-head-object If set, do not do HEAD before GET when getting objects
+ --azureblob-public-access string Public access level of a container: blob or container
+ --azureblob-sas-url string SAS URL for container level access only
+ --azureblob-service-principal-file string Path to file containing credentials for use with a service principal
+ --azureblob-upload-cutoff string Cutoff for switching to chunked upload (<= 256 MiB) (deprecated)
+ --azureblob-use-emulator Uses local storage emulator if provided as 'true'
+ --azureblob-use-msi Use a managed service identity to authenticate (only works in Azure)
+ --b2-account string Account ID or Application Key ID
+ --b2-chunk-size SizeSuffix Upload chunk size (default 96Mi)
+ --b2-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4Gi)
+ --b2-disable-checksum Disable checksums for large (> upload cutoff) files
+ --b2-download-auth-duration Duration Time before the authorization token will expire in s or suffix ms|s|m|h|d (default 1w)
+ --b2-download-url string Custom endpoint for downloads
+ --b2-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --b2-endpoint string Endpoint for the service
+ --b2-hard-delete Permanently delete files on remote removal, otherwise hide files
+ --b2-key string Application Key
+ --b2-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --b2-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --b2-test-mode string A flag string for X-Bz-Test-Mode header for debugging
+ --b2-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --b2-versions Include old versions in directory listings
+ --box-access-token string Box App Primary Access Token
+ --box-auth-url string Auth server URL
+ --box-box-config-file string Box App config.json location
+ --box-box-sub-type string (default "user")
+ --box-client-id string OAuth Client Id
+ --box-client-secret string OAuth Client Secret
+ --box-commit-retries int Max number of times to try committing a multipart file (default 100)
+ --box-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot)
+ --box-list-chunk int Size of listing chunk 1-1000 (default 1000)
+ --box-owned-by string Only show items owned by the login (email address) passed in
+ --box-root-folder-id string Fill in for rclone to use a non root folder as its starting point
+ --box-token string OAuth Access Token as a JSON blob
+ --box-token-url string Token server url
+ --box-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (>= 50 MiB) (default 50Mi)
+ --cache-chunk-clean-interval Duration How often should the cache perform cleanups of the chunk storage (default 1m0s)
+ --cache-chunk-no-memory Disable the in-memory cache for storing chunks during streaming
+ --cache-chunk-path string Directory to cache chunk files (default "$HOME/.cache/rclone/cache-backend")
+ --cache-chunk-size SizeSuffix The size of a chunk (partial file data) (default 5Mi)
+ --cache-chunk-total-size SizeSuffix The total size that the chunks can take up on the local disk (default 10Gi)
+ --cache-db-path string Directory to store file structure metadata DB (default "$HOME/.cache/rclone/cache-backend")
+ --cache-db-purge Clear all the cached data for this remote on start
+ --cache-db-wait-time Duration How long to wait for the DB to be available - 0 is unlimited (default 1s)
+ --cache-info-age Duration How long to cache file structure information (directory listings, file size, times, etc.) (default 6h0m0s)
+ --cache-plex-insecure string Skip all certificate verification when connecting to the Plex server
+ --cache-plex-password string The password of the Plex user (obscured)
+ --cache-plex-url string The URL of the Plex server
+ --cache-plex-username string The username of the Plex user
+ --cache-read-retries int How many times to retry a read from a cache storage (default 10)
+ --cache-remote string Remote to cache
+ --cache-rps int Limits the number of requests per second to the source FS (-1 to disable) (default -1)
+ --cache-tmp-upload-path string Directory to keep temporary files until they are uploaded
+ --cache-tmp-wait-time Duration How long should files be stored in local cache before being uploaded (default 15s)
+ --cache-workers int How many workers should run in parallel to download chunks (default 4)
+ --cache-writes Cache file data on writes through the FS
+ --chunker-chunk-size SizeSuffix Files larger than chunk size will be split in chunks (default 2Gi)
+ --chunker-fail-hard Choose how chunker should handle files with missing or invalid chunks
+ --chunker-hash-type string Choose how chunker handles hash sums (default "md5")
+ --chunker-remote string Remote to chunk/unchunk
+ --compress-level int GZIP compression level (-2 to 9) (default -1)
+ --compress-mode string Compression mode (default "gzip")
+ --compress-ram-cache-limit SizeSuffix Some remotes don't allow the upload of files with unknown size (default 20Mi)
+ --compress-remote string Remote to compress
+ -L, --copy-links Follow symlinks and copy the pointed to item
+ --crypt-directory-name-encryption Option to either encrypt directory names or leave them intact (default true)
+ --crypt-filename-encryption string How to encrypt the filenames (default "standard")
+ --crypt-no-data-encryption Option to either encrypt file data or leave it unencrypted
+ --crypt-password string Password or pass phrase for encryption (obscured)
+ --crypt-password2 string Password or pass phrase for salt (obscured)
+ --crypt-remote string Remote to encrypt/decrypt
+ --crypt-server-side-across-configs Allow server-side operations (e.g. copy) to work across different crypt configs
+ --crypt-show-mapping For all files listed show how the names encrypt
+ --drive-acknowledge-abuse Set to allow files which return cannotDownloadAbusiveFile to be downloaded
+ --drive-allow-import-name-change Allow the filetype to change when uploading Google docs
+ --drive-auth-owner-only Only consider files owned by the authenticated user
+ --drive-auth-url string Auth server URL
+ --drive-chunk-size SizeSuffix Upload chunk size (default 8Mi)
+ --drive-client-id string Google Application Client Id
+ --drive-client-secret string OAuth Client Secret
+ --drive-disable-http2 Disable drive using http2 (default true)
+ --drive-encoding MultiEncoder This sets the encoding for the backend (default InvalidUtf8)
+ --drive-export-formats string Comma separated list of preferred formats for downloading Google docs (default "docx,xlsx,pptx,svg")
+ --drive-formats string Deprecated: See export_formats
+ --drive-impersonate string Impersonate this user when using a service account
+ --drive-import-formats string Comma separated list of preferred formats for uploading Google docs
+ --drive-keep-revision-forever Keep new head revision of each file forever
+ --drive-list-chunk int Size of listing chunk 100-1000, 0 to disable (default 1000)
+ --drive-pacer-burst int Number of API calls to allow without sleeping (default 100)
+ --drive-pacer-min-sleep Duration Minimum time to sleep between API calls (default 100ms)
+ --drive-root-folder-id string ID of the root folder
+ --drive-scope string Scope that rclone should use when requesting access from drive
+ --drive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different drive configs
+ --drive-service-account-credentials string Service Account Credentials JSON blob
+ --drive-service-account-file string Service Account Credentials JSON file path
+ --drive-shared-with-me Only show files that are shared with me
+ --drive-size-as-quota Show sizes as storage quota usage, not actual size
+ --drive-skip-checksum-gphotos Skip MD5 checksum on Google photos and videos only
+ --drive-skip-gdocs Skip google documents in all listings
+ --drive-skip-shortcuts If set skip shortcut files
+ --drive-starred-only Only show files that are starred
+ --drive-stop-on-download-limit Make download limit errors be fatal
+ --drive-stop-on-upload-limit Make upload limit errors be fatal
+ --drive-team-drive string ID of the Shared Drive (Team Drive)
+ --drive-token string OAuth Access Token as a JSON blob
+ --drive-token-url string Token server url
+ --drive-trashed-only Only show files that are in the trash
+ --drive-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 8Mi)
+ --drive-use-created-date Use file created date instead of modified date
+ --drive-use-shared-date Use date file was shared instead of modified date
+ --drive-use-trash Send files to the trash instead of deleting permanently (default true)
+ --drive-v2-download-min-size SizeSuffix If Object's are greater, use drive v2 API to download (default off)
+ --dropbox-auth-url string Auth server URL
+ --dropbox-batch-commit-timeout Duration Max time to wait for a batch to finish comitting (default 10m0s)
+ --dropbox-batch-mode string Upload file batching sync|async|off (default "sync")
+ --dropbox-batch-size int Max number of files in upload batch
+ --dropbox-batch-timeout Duration Max time to allow an idle upload batch before uploading (default 0s)
+ --dropbox-chunk-size SizeSuffix Upload chunk size (< 150Mi) (default 48Mi)
+ --dropbox-client-id string OAuth Client Id
+ --dropbox-client-secret string OAuth Client Secret
+ --dropbox-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot)
+ --dropbox-impersonate string Impersonate this user when using a business account
+ --dropbox-shared-files Instructs rclone to work on individual shared files
+ --dropbox-shared-folders Instructs rclone to work on shared folders
+ --dropbox-token string OAuth Access Token as a JSON blob
+ --dropbox-token-url string Token server url
+ --fichier-api-key string Your API Key, get it from https://1fichier.com/console/params.pl
+ --fichier-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot)
+ --fichier-file-password string If you want to download a shared file that is password protected, add this parameter (obscured)
+ --fichier-folder-password string If you want to list the files in a shared folder that is password protected, add this parameter (obscured)
+ --fichier-shared-folder string If you want to download a shared folder, add this parameter
+ --filefabric-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
+ --filefabric-permanent-token string Permanent Authentication Token
+ --filefabric-root-folder-id string ID of the root folder
+ --filefabric-token string Session Token
+ --filefabric-token-expiry string Token expiry time
+ --filefabric-url string URL of the Enterprise File Fabric to connect to
+ --filefabric-version string Version read from the file fabric
+ --ftp-close-timeout Duration Maximum time to wait for a response to close (default 1m0s)
+ --ftp-concurrency int Maximum number of FTP simultaneous connections, 0 for unlimited
+ --ftp-disable-epsv Disable using EPSV even if server advertises support
+ --ftp-disable-mlsd Disable using MLSD even if server advertises support
+ --ftp-disable-tls13 Disable TLS 1.3 (workaround for FTP servers with buggy TLS)
+ --ftp-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,RightSpace,Dot)
+ --ftp-explicit-tls Use Explicit FTPS (FTP over TLS)
+ --ftp-host string FTP host to connect to
+ --ftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
+ --ftp-no-check-certificate Do not verify the TLS certificate of the server
+ --ftp-pass string FTP password (obscured)
+ --ftp-port string FTP port, leave blank to use default (21)
+ --ftp-shut-timeout Duration Maximum time to wait for data connection closing status (default 1m0s)
+ --ftp-tls Use Implicit FTPS (FTP over TLS)
+ --ftp-tls-cache-size int Size of TLS session cache for all control and data connections (default 32)
+ --ftp-user string FTP username, leave blank for current username, $USER
+ --ftp-writing-mdtm Use MDTM to set modification time (VsFtpd quirk)
+ --gcs-anonymous Access public buckets and objects without credentials
+ --gcs-auth-url string Auth server URL
+ --gcs-bucket-acl string Access Control List for new buckets
+ --gcs-bucket-policy-only Access checks should use bucket-level IAM policies
+ --gcs-client-id string OAuth Client Id
+ --gcs-client-secret string OAuth Client Secret
+ --gcs-encoding MultiEncoder This sets the encoding for the backend (default Slash,CrLf,InvalidUtf8,Dot)
+ --gcs-location string Location for the newly created buckets
+ --gcs-object-acl string Access Control List for new objects
+ --gcs-project-number string Project number
+ --gcs-service-account-file string Service Account Credentials JSON file path
+ --gcs-storage-class string The storage class to use when storing objects in Google Cloud Storage
+ --gcs-token string OAuth Access Token as a JSON blob
+ --gcs-token-url string Token server url
+ --gphotos-auth-url string Auth server URL
+ --gphotos-client-id string OAuth Client Id
+ --gphotos-client-secret string OAuth Client Secret
+ --gphotos-encoding MultiEncoder This sets the encoding for the backend (default Slash,CrLf,InvalidUtf8,Dot)
+ --gphotos-include-archived Also view and download archived media
+ --gphotos-read-only Set to make the Google Photos backend read only
+ --gphotos-read-size Set to read the size of media items
+ --gphotos-start-year int Year limits the photos to be downloaded to those which are uploaded after the given year (default 2000)
+ --gphotos-token string OAuth Access Token as a JSON blob
+ --gphotos-token-url string Token server url
+ --hasher-auto-size SizeSuffix Auto-update checksum for files smaller than this size (disabled by default)
+ --hasher-hashes CommaSepList Comma separated list of supported checksum types (default md5,sha1)
+ --hasher-max-age Duration Maximum time to keep checksums in cache (0 = no cache, off = cache forever) (default off)
+ --hasher-remote string Remote to cache checksums for (e.g. myRemote:path)
+ --hdfs-data-transfer-protection string Kerberos data transfer protection: authentication|integrity|privacy
+ --hdfs-encoding MultiEncoder This sets the encoding for the backend (default Slash,Colon,Del,Ctl,InvalidUtf8,Dot)
+ --hdfs-namenode string Hadoop name node and port
+ --hdfs-service-principal-name string Kerberos service principal name for the namenode
+ --hdfs-username string Hadoop user name
+ --http-headers CommaSepList Set HTTP headers for all transactions
+ --http-no-head Don't use HEAD requests to find file sizes in dir listing
+ --http-no-slash Set this if the site doesn't end directories with /
+ --http-url string URL of http host to connect to
+ --hubic-auth-url string Auth server URL
+ --hubic-chunk-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
+ --hubic-client-id string OAuth Client Id
+ --hubic-client-secret string OAuth Client Secret
+ --hubic-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
+ --hubic-no-chunk Don't chunk files during streaming upload
+ --hubic-token string OAuth Access Token as a JSON blob
+ --hubic-token-url string Token server url
+ --jottacloud-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
+ --jottacloud-hard-delete Delete files permanently rather than putting them into the trash
+ --jottacloud-md5-memory-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required (default 10Mi)
+ --jottacloud-no-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them
+ --jottacloud-trashed-only Only show files that are in the trash
+ --jottacloud-upload-resume-limit SizeSuffix Files bigger than this can be resumed if the upload fail's (default 10Mi)
+ --koofr-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --koofr-endpoint string The Koofr API endpoint to use (default "https://app.koofr.net")
+ --koofr-mountid string Mount ID of the mount to use
+ --koofr-password string Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password) (obscured)
+ --koofr-setmtime Does the backend support setting modification time (default true)
+ --koofr-user string Your Koofr user name
+ -l, --links Translate symlinks to/from regular files with a '.rclonelink' extension
+ --local-case-insensitive Force the filesystem to report itself as case insensitive
+ --local-case-sensitive Force the filesystem to report itself as case sensitive
+ --local-encoding MultiEncoder This sets the encoding for the backend (default Slash,Dot)
+ --local-no-check-updated Don't check to see if the files change during upload
+ --local-no-preallocate Disable preallocation of disk space for transferred files
+ --local-no-set-modtime Disable setting modtime
+ --local-no-sparse Disable sparse files for multi-thread downloads
+ --local-nounc string Disable UNC (long path names) conversion on Windows
+ --local-unicode-normalization Apply unicode NFC normalization to paths and filenames
+ --local-zero-size-links Assume the Stat size of links is zero (and read them instead) (deprecated)
+ --mailru-check-hash What should copy do if file checksum is mismatched or invalid (default true)
+ --mailru-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --mailru-pass string Password (obscured)
+ --mailru-speedup-enable Skip full upload if there is another file with same data hash (default true)
+ --mailru-speedup-file-patterns string Comma separated list of file name patterns eligible for speedup (put by hash) (default "*.mkv,*.avi,*.mp4,*.mp3,*.zip,*.gz,*.rar,*.pdf")
+ --mailru-speedup-max-disk SizeSuffix This option allows you to disable speedup (put by hash) for large files (default 3Gi)
+ --mailru-speedup-max-memory SizeSuffix Files larger than the size given below will always be hashed on disk (default 32Mi)
+ --mailru-user string User name (usually email)
+ --mega-debug Output more debug from Mega
+ --mega-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --mega-hard-delete Delete files permanently rather than putting them into the trash
+ --mega-pass string Password (obscured)
+ --mega-user string User name
+ -x, --one-file-system Don't cross filesystem boundaries (unix/macOS only)
+ --onedrive-auth-url string Auth server URL
+ --onedrive-chunk-size SizeSuffix Chunk size to upload files with - must be multiple of 320k (327,680 bytes) (default 10Mi)
+ --onedrive-client-id string OAuth Client Id
+ --onedrive-client-secret string OAuth Client Secret
+ --onedrive-drive-id string The ID of the drive to use
+ --onedrive-drive-type string The type of the drive (personal | business | documentLibrary)
+ --onedrive-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
+ --onedrive-expose-onenote-files Set to make OneNote files show up in directory listings
+ --onedrive-link-password string Set the password for links created by the link command
+ --onedrive-link-scope string Set the scope of the links created by the link command (default "anonymous")
+ --onedrive-link-type string Set the type of the links created by the link command (default "view")
+ --onedrive-list-chunk int Size of listing chunk (default 1000)
+ --onedrive-no-versions Remove all versions on modifying operations
+ --onedrive-region string Choose national cloud region for OneDrive (default "global")
+ --onedrive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different onedrive configs
+ --onedrive-token string OAuth Access Token as a JSON blob
+ --onedrive-token-url string Token server url
+ --opendrive-chunk-size SizeSuffix Files will be uploaded in chunks this size (default 10Mi)
+ --opendrive-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,LeftSpace,LeftCrLfHtVt,RightSpace,RightCrLfHtVt,InvalidUtf8,Dot)
+ --opendrive-password string Password (obscured)
+ --opendrive-username string Username
+ --pcloud-auth-url string Auth server URL
+ --pcloud-client-id string OAuth Client Id
+ --pcloud-client-secret string OAuth Client Secret
+ --pcloud-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --pcloud-hostname string Hostname to connect to (default "api.pcloud.com")
+ --pcloud-root-folder-id string Fill in for rclone to use a non root folder as its starting point (default "d0")
+ --pcloud-token string OAuth Access Token as a JSON blob
+ --pcloud-token-url string Token server url
+ --premiumizeme-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --putio-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --qingstor-access-key-id string QingStor Access Key ID
+ --qingstor-chunk-size SizeSuffix Chunk size to use for uploading (default 4Mi)
+ --qingstor-connection-retries int Number of connection retries (default 3)
+ --qingstor-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8)
+ --qingstor-endpoint string Enter an endpoint URL to connection QingStor API
+ --qingstor-env-auth Get QingStor credentials from runtime
+ --qingstor-secret-access-key string QingStor Secret Access Key (password)
+ --qingstor-upload-concurrency int Concurrency for multipart uploads (default 1)
+ --qingstor-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --qingstor-zone string Zone to connect to
+ --s3-access-key-id string AWS Access Key ID
+ --s3-acl string Canned ACL used when creating buckets and storing or copying objects
+ --s3-bucket-acl string Canned ACL used when creating buckets
+ --s3-chunk-size SizeSuffix Chunk size to use for uploading (default 5Mi)
+ --s3-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
+ --s3-disable-checksum Don't store MD5 checksum with object metadata
+ --s3-disable-http2 Disable usage of http2 for S3 backends
+ --s3-download-url string Custom endpoint for downloads
+ --s3-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --s3-endpoint string Endpoint for S3 API
+ --s3-env-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars)
+ --s3-force-path-style If true use path style access if false use virtual hosted style (default true)
+ --s3-leave-parts-on-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery
+ --s3-list-chunk int Size of listing chunk (response list for each ListObject S3 request) (default 1000)
+ --s3-location-constraint string Location constraint - must be set to match the Region
+ --s3-max-upload-parts int Maximum number of parts in a multipart upload (default 10000)
+ --s3-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --s3-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --s3-no-check-bucket If set, don't attempt to check the bucket exists or create it
+ --s3-no-head If set, don't HEAD uploaded objects to check integrity
+ --s3-no-head-object If set, do not do HEAD before GET when getting objects
+ --s3-profile string Profile to use in the shared credentials file
+ --s3-provider string Choose your S3 provider
+ --s3-region string Region to connect to
+ --s3-requester-pays Enables requester pays option when interacting with S3 bucket
+ --s3-secret-access-key string AWS Secret Access Key (password)
+ --s3-server-side-encryption string The server-side encryption algorithm used when storing this object in S3
+ --s3-session-token string An AWS session token
+ --s3-shared-credentials-file string Path to the shared credentials file
+ --s3-sse-customer-algorithm string If using SSE-C, the server-side encryption algorithm used when storing this object in S3
+ --s3-sse-customer-key string If using SSE-C you must provide the secret encryption key used to encrypt/decrypt your data
+ --s3-sse-customer-key-md5 string If using SSE-C you may provide the secret encryption key MD5 checksum (optional)
+ --s3-sse-kms-key-id string If using KMS ID you must provide the ARN of Key
+ --s3-storage-class string The storage class to use when storing new objects in S3
+ --s3-upload-concurrency int Concurrency for multipart uploads (default 4)
+ --s3-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --s3-use-accelerate-endpoint If true use the AWS S3 accelerated endpoint
+ --s3-v2-auth If true use v2 authentication
+ --seafile-2fa Two-factor authentication ('true' if the account has 2FA enabled)
+ --seafile-create-library Should rclone create a library if it doesn't exist
+ --seafile-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Ctl,InvalidUtf8)
+ --seafile-library string Name of the library
+ --seafile-library-key string Library password (for encrypted libraries only) (obscured)
+ --seafile-pass string Password (obscured)
+ --seafile-url string URL of seafile host to connect to
+ --seafile-user string User name (usually email address)
+ --sftp-ask-password Allow asking for SFTP password when needed
+ --sftp-disable-concurrent-reads If set don't use concurrent reads
+ --sftp-disable-concurrent-writes If set don't use concurrent writes
+ --sftp-disable-hashcheck Disable the execution of SSH commands to determine if remote file hashing is available
+ --sftp-host string SSH host to connect to
+ --sftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
+ --sftp-key-file string Path to PEM-encoded private key file
+ --sftp-key-file-pass string The passphrase to decrypt the PEM-encoded private key file (obscured)
+ --sftp-key-pem string Raw PEM-encoded private key
+ --sftp-key-use-agent When set forces the usage of the ssh-agent
+ --sftp-known-hosts-file string Optional path to known_hosts file
+ --sftp-md5sum-command string The command used to read md5 hashes
+ --sftp-pass string SSH password, leave blank to use ssh-agent (obscured)
+ --sftp-path-override string Override path used by SSH connection
+ --sftp-port string SSH port, leave blank to use default (22)
+ --sftp-pubkey-file string Optional path to public key file
+ --sftp-server-command string Specifies the path or command to run a sftp server on the remote host
+ --sftp-set-modtime Set the modified time on the remote if set (default true)
+ --sftp-sha1sum-command string The command used to read sha1 hashes
+ --sftp-skip-links Set to skip any symlinks and any other non regular files
+ --sftp-subsystem string Specifies the SSH2 subsystem on the remote host (default "sftp")
+ --sftp-use-fstat If set use fstat instead of stat
+ --sftp-use-insecure-cipher Enable the use of insecure ciphers and key exchange methods
+ --sftp-user string SSH username, leave blank for current username, $USER
+ --sharefile-chunk-size SizeSuffix Upload chunk size (default 64Mi)
+ --sharefile-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot)
+ --sharefile-endpoint string Endpoint for API calls
+ --sharefile-root-folder-id string ID of the root folder
+ --sharefile-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (default 128Mi)
+ --sia-api-password string Sia Daemon API Password (obscured)
+ --sia-api-url string Sia daemon API URL, like http://sia.daemon.host:9980 (default "http://127.0.0.1:9980")
+ --sia-encoding MultiEncoder This sets the encoding for the backend (default Slash,Question,Hash,Percent,Del,Ctl,InvalidUtf8,Dot)
+ --sia-user-agent string Siad User Agent (default "Sia-Agent")
+ --skip-links Don't warn about skipped symlinks
+ --sugarsync-access-key-id string Sugarsync Access Key ID
+ --sugarsync-app-id string Sugarsync App ID
+ --sugarsync-authorization string Sugarsync authorization
+ --sugarsync-authorization-expiry string Sugarsync authorization expiry
+ --sugarsync-deleted-id string Sugarsync deleted folder id
+ --sugarsync-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8,Dot)
+ --sugarsync-hard-delete Permanently delete files if true
+ --sugarsync-private-access-key string Sugarsync Private Access Key
+ --sugarsync-refresh-token string Sugarsync refresh token
+ --sugarsync-root-id string Sugarsync root id
+ --sugarsync-user string Sugarsync user
+ --swift-application-credential-id string Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
+ --swift-application-credential-name string Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
+ --swift-application-credential-secret string Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
+ --swift-auth string Authentication URL for server (OS_AUTH_URL)
+ --swift-auth-token string Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
+ --swift-auth-version int AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
+ --swift-chunk-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
+ --swift-domain string User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)
+ --swift-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
+ --swift-endpoint-type string Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE) (default "public")
+ --swift-env-auth Get swift credentials from environment variables in standard OpenStack form
+ --swift-key string API key or password (OS_PASSWORD)
+ --swift-leave-parts-on-error If true avoid calling abort upload on a failure
+ --swift-no-chunk Don't chunk files during streaming upload
+ --swift-region string Region name - optional (OS_REGION_NAME)
+ --swift-storage-policy string The storage policy to use when creating a new container
+ --swift-storage-url string Storage URL - optional (OS_STORAGE_URL)
+ --swift-tenant string Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
+ --swift-tenant-domain string Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
+ --swift-tenant-id string Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
+ --swift-user string User name to log in (OS_USERNAME)
+ --swift-user-id string User ID to log in - optional - most swift systems use user and leave this blank (v3 auth) (OS_USER_ID)
+ --tardigrade-access-grant string Access grant
+ --tardigrade-api-key string API key
+ --tardigrade-passphrase string Encryption passphrase
+ --tardigrade-provider string Choose an authentication method (default "existing")
+ --tardigrade-satellite-address string Satellite address (default "us-central-1.tardigrade.io")
+ --union-action-policy string Policy to choose upstream on ACTION category (default "epall")
+ --union-cache-time int Cache time of usage and free space (in seconds) (default 120)
+ --union-create-policy string Policy to choose upstream on CREATE category (default "epmfs")
+ --union-search-policy string Policy to choose upstream on SEARCH category (default "ff")
+ --union-upstreams string List of space separated upstreams
+ --uptobox-access-token string Your access token
+ --uptobox-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot)
+ --webdav-bearer-token string Bearer token instead of user/pass (e.g. a Macaroon)
+ --webdav-bearer-token-command string Command to run to get a bearer token
+ --webdav-encoding string This sets the encoding for the backend
+ --webdav-headers CommaSepList Set HTTP headers for all transactions
+ --webdav-pass string Password (obscured)
+ --webdav-url string URL of http host to connect to
+ --webdav-user string User name
+ --webdav-vendor string Name of the Webdav site/service/software you are using
+ --yandex-auth-url string Auth server URL
+ --yandex-client-id string OAuth Client Id
+ --yandex-client-secret string OAuth Client Secret
+ --yandex-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
+ --yandex-token string OAuth Access Token as a JSON blob
+ --yandex-token-url string Token server url
+ --zoho-auth-url string Auth server URL
+ --zoho-client-id string OAuth Client Id
+ --zoho-client-secret string OAuth Client Secret
+ --zoho-encoding MultiEncoder This sets the encoding for the backend (default Del,Ctl,InvalidUtf8)
+ --zoho-region string Zoho region to connect to
+ --zoho-token string OAuth Access Token as a JSON blob
+ --zoho-token-url string Token server url
```
# Docker Volume Plugin
@@ -13141,9 +13798,9 @@ sudo mkdir -p /var/lib/docker-plugins/rclone/config
sudo mkdir -p /var/lib/docker-plugins/rclone/cache
```
-Install the managed rclone docker plugin:
+Install the managed rclone docker plugin for your architecture (here `amd64`):
```
-docker plugin install rclone/docker-volume-rclone args="-v" --alias rclone --grant-all-permissions
+docker plugin install rclone/docker-volume-rclone:amd64 args="-v" --alias rclone --grant-all-permissions
docker plugin list
```
@@ -13394,6 +14051,8 @@ We maintain the
[docker-volume-rclone](https://hub.docker.com/p/rclone/docker-volume-rclone/)
plugin image on [Docker Hub](https://hub.docker.com).
+Rclone volume plugin requires **Docker Engine >= 19.03.15**
+
The plugin requires presence of two directories on the host before it can
be installed. Note that plugin will **not** create them automatically.
By default they must exist on host at the following locations
@@ -13407,9 +14066,36 @@ By default they must exist on host at the following locations
You can [install managed plugin](https://docs.docker.com/engine/reference/commandline/plugin_install/)
with default settings as follows:
```
-docker plugin install rclone/docker-volume-rclone:latest --grant-all-permissions --alias rclone
+docker plugin install rclone/docker-volume-rclone:amd64 --grant-all-permissions --alias rclone
```
+The `:amd64` part of the image specification after colon is called a _tag_.
+Usually you will want to install the latest plugin for your architecture. In
+this case the tag will just name it, like `amd64` above. The following plugin
+architectures are currently available:
+- `amd64`
+- `arm64`
+- `arm-v7`
+
+Sometimes you might want a concrete plugin version, not the latest one.
+Then you should use image tag in the form `:ARCHITECTURE-VERSION`.
+For example, to install plugin version `v1.56.2` on architecture `arm64`
+you will use tag `arm64-1.56.2` (note the removed `v`) so the full image
+specification becomes `rclone/docker-volume-rclone:arm64-1.56.2`.
+
+We also provide the `latest` plugin tag, but since docker does not support
+multi-architecture plugins as of the time of this writing, this tag is
+currently an **alias for `amd64`**.
+By convention the `latest` tag is the default one and can be omitted, thus
+both `rclone/docker-volume-rclone:latest` and just `rclone/docker-volume-rclone`
+will refer to the latest plugin release for the `amd64` platform.
+
+Also the `amd64` part can be omitted from the versioned rclone plugin tags.
+For example, rclone image reference `rclone/docker-volume-rclone:amd64-1.56.2`
+can be abbreviated as `rclone/docker-volume-rclone:1.56.2` for convenience.
+However, for non-intel architectures you still have to use the full tag as
+`amd64` or `latest` will fail to start.
+
Managed plugin is in fact a special container running in a namespace separate
from normal docker containers. Inside it runs the `rclone serve docker`
command. The config and cache directories are bind-mounted into the
@@ -13433,7 +14119,8 @@ swarm services that use them. This is rather tedious so please carefully
plan in advance.
You can tweak the following settings:
-`args`, `config`, `cache`, and `RCLONE_VERBOSE`.
+`args`, `config`, `cache`, `HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY`
+and `RCLONE_VERBOSE`.
It's _your_ task to keep plugin settings in sync across swarm cluster nodes.
`args` sets command-line arguments for the `rclone serve docker` command
@@ -13475,10 +14162,12 @@ The plugin output by default feeds the docker daemon log on local host.
Log entries are reflected as _errors_ in the docker log but retain their
actual level assigned by rclone in the encapsulated message string.
+`HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY` customize the plugin proxy settings.
+
You can set custom plugin options right when you install it, _in one go_:
```
docker plugin remove rclone
-docker plugin install rclone/docker-volume-rclone:latest \
+docker plugin install rclone/docker-volume-rclone:amd64 \
--alias rclone --grant-all-permissions \
args="-v --allow-other" config=/etc/rclone
docker plugin inspect rclone
@@ -13517,8 +14206,8 @@ sudo apt-get -y install fuse
```
Download two systemd configuration files:
-[docker-volume-rclone.service](https://raw.githubusercontent.com/rclone/rclone/master/cmd/serve/docker/contrib/systemd/docker-volume-rclone.service)
-and [docker-volume-rclone.socket](https://raw.githubusercontent.com/rclone/rclone/master/cmd/serve/docker/contrib/systemd/docker-volume-rclone.socket).
+[docker-volume-rclone.service](https://raw.githubusercontent.com/rclone/rclone/master/contrib/docker-plugin/systemd/docker-volume-rclone.service)
+and [docker-volume-rclone.socket](https://raw.githubusercontent.com/rclone/rclone/master/contrib/docker-plugin/systemd/docker-volume-rclone.socket).
Put them to the `/etc/systemd/system/` directory:
```
@@ -13572,7 +14261,7 @@ Use `journalctl --unit docker` to see managed plugin output as part of
the docker daemon log. Note that docker reflects plugin lines as _errors_
but their actual level can be seen from encapsulated message string.
-You will usually install the latest version of managed plugin.
+You will usually install the latest version of managed plugin for your platform.
Use the following commands to print the actual installed version:
```
PLUGID=$(docker plugin list --no-trunc | awk '/rclone/{print$1}')
@@ -13592,6 +14281,8 @@ sudo curl -H Content-Type:application/json -XPOST -d {} --unix-socket /run/docke
```
though this is rarely needed.
+## Caveats
+
Finally I'd like to mention a _caveat with updating volume settings_.
Docker CLI does not have a dedicated command like `docker volume update`.
It may be tempting to invoke `docker volume create` with updated options
@@ -13623,6 +14314,8 @@ Paths are specified as `remote:path`
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
+## Configuration
+
The initial setup for 1Fichier involves getting the API key from the website which you
need to do in your browser.
@@ -13695,7 +14388,7 @@ normal file system).
Duplicated files cause problems with the syncing and you will see
messages in the log about duplicates.
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -13722,26 +14415,26 @@ Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid
as they can't be used in JSON strings.
-### Standard Options
+### Standard options
Here are the standard options specific to fichier (1Fichier).
#### --fichier-api-key
-Your API Key, get it from https://1fichier.com/console/params.pl
+Your API Key, get it from https://1fichier.com/console/params.pl.
- Config: api_key
- Env Var: RCLONE_FICHIER_API_KEY
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to fichier (1Fichier).
#### --fichier-shared-folder
-If you want to download a shared folder, add this parameter
+If you want to download a shared folder, add this parameter.
- Config: shared_folder
- Env Var: RCLONE_FICHIER_SHARED_FOLDER
@@ -13750,7 +14443,7 @@ If you want to download a shared folder, add this parameter
#### --fichier-file-password
-If you want to download a shared file that is password protected, add this parameter
+If you want to download a shared file that is password protected, add this parameter.
**NB** Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).
@@ -13761,7 +14454,7 @@ If you want to download a shared file that is password protected, add this param
#### --fichier-folder-password
-If you want to list the files in a shared folder that is password protected, add this parameter
+If you want to list the files in a shared folder that is password protected, add this parameter.
**NB** Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).
@@ -13774,7 +14467,7 @@ If you want to list the files in a shared folder that is password protected, add
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_FICHIER_ENCODING
@@ -13782,7 +14475,8 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
- Default: Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot
-### Limitations
+
+## Limitations
`rclone about` is not supported by the 1Fichier backend. Backends without
this capability cannot determine free space for an rclone mount or
@@ -13812,6 +14506,8 @@ Invoking `rclone mkdir backup:../desktop` is exactly the same as invoking
The empty path is not allowed as a remote. To alias the current directory
use `.` instead.
+## Configuration
+
Here is an example of how to make an alias called `remote` for local folder.
First run:
@@ -13876,13 +14572,14 @@ Copy another local directory to the alias directory called source
rclone copy /home/source remote:source
-### Standard Options
+### Standard options
Here are the standard options specific to alias (Alias for an existing remote).
#### --alias-remote
Remote or path to alias.
+
Can be "myremote:path/to/dir", "myremote:bucket", "myremote:" or "/local/path".
- Config: remote
@@ -13911,7 +14608,7 @@ keys see [the forum](https://forum.rclone.org/t/rclone-has-been-banned-from-amaz
If you happen to know anyone who works at Amazon then please ask them
to re-instate rclone into the Amazon Drive developer program - thanks!
-## Setup
+## Configuration
The initial setup for Amazon Drive involves getting a token from
Amazon which you need to do in your browser. `rclone config` walks
@@ -14014,7 +14711,7 @@ To copy a local directory to an Amazon Drive directory called backup
rclone copy /home/source remote:backup
-### Modified time and MD5SUMs ###
+### Modified time and MD5SUMs
Amazon Drive doesn't allow modification times to be changed via
the API so these won't be accurate or used for syncing.
@@ -14022,7 +14719,7 @@ the API so these won't be accurate or used for syncing.
It does store MD5SUMs so for a more accurate sync, you can use the
`--checksum` flag.
-#### Restricted filename characters
+### Restricted filename characters
| Character | Value | Replacement |
| --------- |:-----:|:-----------:|
@@ -14032,7 +14729,7 @@ It does store MD5SUMs so for a more accurate sync, you can use the
Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
as they can't be used in JSON strings.
-### Deleting files ###
+### Deleting files
Any files you delete with rclone will end up in the trash. Amazon
don't provide an API to permanently delete files, nor to empty the
@@ -14040,20 +14737,21 @@ trash, so you will have to do that with one of Amazon's apps or via
the Amazon Drive website. As of November 17, 2016, files are
automatically deleted by Amazon from the trash after 30 days.
-### Using with non `.com` Amazon accounts ###
+### Using with non `.com` Amazon accounts
Let's say you usually use `amazon.co.uk`. When you authenticate with
rclone it will take you to an `amazon.com` page to log in. Your
`amazon.co.uk` email and password should work here just fine.
-### Standard Options
+### Standard options
Here are the standard options specific to amazon cloud drive (Amazon Drive).
#### --acd-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -14063,7 +14761,8 @@ Leave blank normally.
#### --acd-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -14071,7 +14770,7 @@ Leave blank normally.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to amazon cloud drive (Amazon Drive).
@@ -14087,6 +14786,7 @@ OAuth Access Token as a JSON blob.
#### --acd-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -14097,6 +14797,7 @@ Leave blank to use the provider defaults.
#### --acd-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -14164,7 +14865,7 @@ underlying S3 storage.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_ACD_ENCODING
@@ -14173,7 +14874,7 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
-### Limitations ###
+## Limitations
Note that Amazon Drive is case insensitive so you can't have a
file called "Hello.doc" and one called "hello.doc".
@@ -14246,9 +14947,12 @@ files in the bucket.
rclone sync -i /home/local/directory remote:bucket
-## AWS S3 {#amazon-s3}
+## Configuration
+
+Here is an example of making an s3 configuration for the AWS S3 provider.
+Most applies to the other providers as well, any differences are described [below](#providers).
-Here is an example of making an s3 configuration. First run
+First run
rclone config
@@ -14449,10 +15153,10 @@ d) Delete this remote
y/e/d>
```
-### Modified time ###
+### Modified time
The modified time is stored as metadata on the object as
-`X-Amz-Meta-Mtime` as floating point since the epoch accurate to 1 ns.
+`X-Amz-Meta-Mtime` as floating point since the epoch, accurate to 1 ns.
If the modification time needs to be updated rclone will attempt to perform a server
side copy to update the modification if the object can be copied in a single part.
@@ -14553,7 +15257,7 @@ there for more details.
Setting this flag increases the chance for undetected upload failures.
-### Hashes ###
+### Hashes
For small objects which weren't uploaded as multipart uploads (objects
sized below `--s3-upload-cutoff` if uploaded with rclone) rclone uses
@@ -14572,7 +15276,7 @@ This will mean that these objects do not have an MD5 checksum.
Note that reading this from the object takes an additional `HEAD`
request as the metadata isn't returned in object listings.
-### Cleanup ###
+### Cleanup
If you run `rclone cleanup s3:bucket` then it will remove all pending
multipart uploads older than 24 hours. You can use the `-i` flag to
@@ -14582,7 +15286,7 @@ expire all uploads older than one hour. You can use `rclone backend
list-multipart-uploads s3:bucket` to see the pending multipart
uploads.
-#### Restricted filename characters
+### Restricted filename characters
S3 allows any valid UTF-8 string as a key.
@@ -14605,7 +15309,7 @@ work with the SDK properly:
| . | . |
| .. | .. |
-### Multipart uploads ###
+### Multipart uploads
rclone supports multipart uploads with S3 which means that it can
upload files bigger than 5 GiB.
@@ -14636,7 +15340,7 @@ use more memory. The default values are high enough to gain most of
the possible performance without using too much memory.
-### Buckets and Regions ###
+### Buckets and Regions
With Amazon S3 you can list buckets (`rclone lsd`) using any region,
but you can only access the content of a bucket from the region it was
@@ -14644,7 +15348,7 @@ created in. If you attempt to access a bucket from the wrong region,
you will get an error, `incorrect region, the bucket is not in 'XXX'
region`.
-### Authentication ###
+### Authentication
There are a number of ways to supply `rclone` with a set of AWS
credentials, with and without using the environment.
@@ -14671,7 +15375,7 @@ The different authentication methods are tried in this order:
If none of these option actually end up providing `rclone` with AWS
credentials then S3 interaction will be non-authenticated (see below).
-### S3 Permissions ###
+### S3 Permissions
When using the `sync` subcommand of `rclone` the following minimum
permissions are required to be available on the bucket being written to:
@@ -14726,14 +15430,14 @@ Notes on above:
For reference, [here's an Ansible script](https://gist.github.com/ebridges/ebfc9042dd7c756cd101cfa807b7ae2b)
that will generate one or more buckets that will work with `rclone sync`.
-### Key Management System (KMS) ###
+### Key Management System (KMS)
If you are using server-side encryption with KMS then you must make
sure rclone is configured with `server_side_encryption = aws:kms`
otherwise you will find you can't transfer small objects - these will
create checksum errors.
-### Glacier and Glacier Deep Archive ###
+### Glacier and Glacier Deep Archive
You can upload objects using the glacier storage class or transition them to glacier using a [lifecycle policy](http://docs.aws.amazon.com/AmazonS3/latest/user-guide/create-lifecycle.html).
The bucket can still be synced or copied into normally, but if rclone
@@ -14748,7 +15452,7 @@ Note that rclone only speaks the S3 API it does not speak the Glacier
Vault API, so rclone cannot directly access Glacier Vaults.
-### Standard Options
+### Standard options
Here are the standard options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, SeaweedFS, and Tencent COS).
@@ -14793,6 +15497,7 @@ Choose your S3 provider.
#### --s3-env-auth
Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars).
+
Only applies if access_key_id and secret_access_key is blank.
- Config: env_auth
@@ -14801,13 +15506,14 @@ Only applies if access_key_id and secret_access_key is blank.
- Default: false
- Examples:
- "false"
- - Enter AWS credentials in the next step
+ - Enter AWS credentials in the next step.
- "true"
- - Get AWS credentials from the environment (env vars or IAM)
+ - Get AWS credentials from the environment (env vars or IAM).
#### --s3-access-key-id
AWS Access Key ID.
+
Leave blank for anonymous access or runtime credentials.
- Config: access_key_id
@@ -14817,7 +15523,8 @@ Leave blank for anonymous access or runtime credentials.
#### --s3-secret-access-key
-AWS Secret Access Key (password)
+AWS Secret Access Key (password).
+
Leave blank for anonymous access or runtime credentials.
- Config: secret_access_key
@@ -14839,76 +15546,76 @@ Region to connect to.
- US Region, Northern Virginia, or Pacific Northwest.
- Leave location constraint empty.
- "us-east-2"
- - US East (Ohio) Region
+ - US East (Ohio) Region.
- Needs location constraint us-east-2.
- "us-west-1"
- - US West (Northern California) Region
+ - US West (Northern California) Region.
- Needs location constraint us-west-1.
- "us-west-2"
- - US West (Oregon) Region
+ - US West (Oregon) Region.
- Needs location constraint us-west-2.
- "ca-central-1"
- - Canada (Central) Region
+ - Canada (Central) Region.
- Needs location constraint ca-central-1.
- "eu-west-1"
- - EU (Ireland) Region
+ - EU (Ireland) Region.
- Needs location constraint EU or eu-west-1.
- "eu-west-2"
- - EU (London) Region
+ - EU (London) Region.
- Needs location constraint eu-west-2.
- "eu-west-3"
- - EU (Paris) Region
+ - EU (Paris) Region.
- Needs location constraint eu-west-3.
- "eu-north-1"
- - EU (Stockholm) Region
+ - EU (Stockholm) Region.
- Needs location constraint eu-north-1.
- "eu-south-1"
- - EU (Milan) Region
+ - EU (Milan) Region.
- Needs location constraint eu-south-1.
- "eu-central-1"
- - EU (Frankfurt) Region
+ - EU (Frankfurt) Region.
- Needs location constraint eu-central-1.
- "ap-southeast-1"
- - Asia Pacific (Singapore) Region
+ - Asia Pacific (Singapore) Region.
- Needs location constraint ap-southeast-1.
- "ap-southeast-2"
- - Asia Pacific (Sydney) Region
+ - Asia Pacific (Sydney) Region.
- Needs location constraint ap-southeast-2.
- "ap-northeast-1"
- - Asia Pacific (Tokyo) Region
+ - Asia Pacific (Tokyo) Region.
- Needs location constraint ap-northeast-1.
- "ap-northeast-2"
- - Asia Pacific (Seoul)
+ - Asia Pacific (Seoul).
- Needs location constraint ap-northeast-2.
- "ap-northeast-3"
- - Asia Pacific (Osaka-Local)
+ - Asia Pacific (Osaka-Local).
- Needs location constraint ap-northeast-3.
- "ap-south-1"
- - Asia Pacific (Mumbai)
+ - Asia Pacific (Mumbai).
- Needs location constraint ap-south-1.
- "ap-east-1"
- - Asia Pacific (Hong Kong) Region
+ - Asia Pacific (Hong Kong) Region.
- Needs location constraint ap-east-1.
- "sa-east-1"
- - South America (Sao Paulo) Region
+ - South America (Sao Paulo) Region.
- Needs location constraint sa-east-1.
- "me-south-1"
- - Middle East (Bahrain) Region
+ - Middle East (Bahrain) Region.
- Needs location constraint me-south-1.
- "af-south-1"
- - Africa (Cape Town) Region
+ - Africa (Cape Town) Region.
- Needs location constraint af-south-1.
- "cn-north-1"
- - China (Beijing) Region
+ - China (Beijing) Region.
- Needs location constraint cn-north-1.
- "cn-northwest-1"
- - China (Ningxia) Region
+ - China (Ningxia) Region.
- Needs location constraint cn-northwest-1.
- "us-gov-east-1"
- - AWS GovCloud (US-East) Region
+ - AWS GovCloud (US-East) Region.
- Needs location constraint us-gov-east-1.
- "us-gov-west-1"
- - AWS GovCloud (US) Region
+ - AWS GovCloud (US) Region.
- Needs location constraint us-gov-west-1.
#### --s3-region
@@ -14928,6 +15635,7 @@ Region to connect to.
#### --s3-region
Region to connect to.
+
Leave blank if you are using an S3 clone and you don't have a region.
- Config: region
@@ -14936,13 +15644,16 @@ Leave blank if you are using an S3 clone and you don't have a region.
- Default: ""
- Examples:
- ""
- - Use this if unsure. Will use v4 signatures and an empty region.
+ - Use this if unsure.
+ - Will use v4 signatures and an empty region.
- "other-v2-signature"
- - Use this only if v4 signatures don't work, e.g. pre Jewel/v10 CEPH.
+ - Use this only if v4 signatures don't work.
+ - E.g. pre Jewel/v10 CEPH.
#### --s3-endpoint
Endpoint for S3 API.
+
Leave blank if using AWS to use the default endpoint for the region.
- Config: endpoint
@@ -14953,6 +15664,7 @@ Leave blank if using AWS to use the default endpoint for the region.
#### --s3-endpoint
Endpoint for IBM COS S3 API.
+
Specify if using an IBM COS On Premise.
- Config: endpoint
@@ -15185,47 +15897,48 @@ Endpoint for Tencent COS API.
- Default: ""
- Examples:
- "cos.ap-beijing.myqcloud.com"
- - Beijing Region.
+ - Beijing Region
- "cos.ap-nanjing.myqcloud.com"
- - Nanjing Region.
+ - Nanjing Region
- "cos.ap-shanghai.myqcloud.com"
- - Shanghai Region.
+ - Shanghai Region
- "cos.ap-guangzhou.myqcloud.com"
- - Guangzhou Region.
+ - Guangzhou Region
- "cos.ap-nanjing.myqcloud.com"
- - Nanjing Region.
+ - Nanjing Region
- "cos.ap-chengdu.myqcloud.com"
- - Chengdu Region.
+ - Chengdu Region
- "cos.ap-chongqing.myqcloud.com"
- - Chongqing Region.
+ - Chongqing Region
- "cos.ap-hongkong.myqcloud.com"
- - Hong Kong (China) Region.
+ - Hong Kong (China) Region
- "cos.ap-singapore.myqcloud.com"
- - Singapore Region.
+ - Singapore Region
- "cos.ap-mumbai.myqcloud.com"
- - Mumbai Region.
+ - Mumbai Region
- "cos.ap-seoul.myqcloud.com"
- - Seoul Region.
+ - Seoul Region
- "cos.ap-bangkok.myqcloud.com"
- - Bangkok Region.
+ - Bangkok Region
- "cos.ap-tokyo.myqcloud.com"
- - Tokyo Region.
+ - Tokyo Region
- "cos.na-siliconvalley.myqcloud.com"
- - Silicon Valley Region.
+ - Silicon Valley Region
- "cos.na-ashburn.myqcloud.com"
- - Virginia Region.
+ - Virginia Region
- "cos.na-toronto.myqcloud.com"
- - Toronto Region.
+ - Toronto Region
- "cos.eu-frankfurt.myqcloud.com"
- - Frankfurt Region.
+ - Frankfurt Region
- "cos.eu-moscow.myqcloud.com"
- - Moscow Region.
+ - Moscow Region
- "cos.accelerate.myqcloud.com"
- - Use Tencent COS Accelerate Endpoint.
+ - Use Tencent COS Accelerate Endpoint
#### --s3-endpoint
Endpoint for S3 API.
+
Required when using an S3 clone.
- Config: endpoint
@@ -15249,10 +15962,13 @@ Required when using an S3 clone.
- Wasabi US West endpoint
- "s3.eu-central-1.wasabisys.com"
- Wasabi EU Central endpoint
+ - "s3.ap-northeast-1.wasabisys.com"
+ - Wasabi AP Northeast endpoint
#### --s3-location-constraint
Location constraint - must be set to match the Region.
+
Used when creating buckets only.
- Config: location_constraint
@@ -15261,60 +15977,61 @@ Used when creating buckets only.
- Default: ""
- Examples:
- ""
- - Empty for US Region, Northern Virginia, or Pacific Northwest.
+ - Empty for US Region, Northern Virginia, or Pacific Northwest
- "us-east-2"
- - US East (Ohio) Region.
+ - US East (Ohio) Region
- "us-west-1"
- - US West (Northern California) Region.
+ - US West (Northern California) Region
- "us-west-2"
- - US West (Oregon) Region.
+ - US West (Oregon) Region
- "ca-central-1"
- - Canada (Central) Region.
+ - Canada (Central) Region
- "eu-west-1"
- - EU (Ireland) Region.
+ - EU (Ireland) Region
- "eu-west-2"
- - EU (London) Region.
+ - EU (London) Region
- "eu-west-3"
- - EU (Paris) Region.
+ - EU (Paris) Region
- "eu-north-1"
- - EU (Stockholm) Region.
+ - EU (Stockholm) Region
- "eu-south-1"
- - EU (Milan) Region.
+ - EU (Milan) Region
- "EU"
- - EU Region.
+ - EU Region
- "ap-southeast-1"
- - Asia Pacific (Singapore) Region.
+ - Asia Pacific (Singapore) Region
- "ap-southeast-2"
- - Asia Pacific (Sydney) Region.
+ - Asia Pacific (Sydney) Region
- "ap-northeast-1"
- - Asia Pacific (Tokyo) Region.
+ - Asia Pacific (Tokyo) Region
- "ap-northeast-2"
- - Asia Pacific (Seoul) Region.
+ - Asia Pacific (Seoul) Region
- "ap-northeast-3"
- - Asia Pacific (Osaka-Local) Region.
+ - Asia Pacific (Osaka-Local) Region
- "ap-south-1"
- - Asia Pacific (Mumbai) Region.
+ - Asia Pacific (Mumbai) Region
- "ap-east-1"
- - Asia Pacific (Hong Kong) Region.
+ - Asia Pacific (Hong Kong) Region
- "sa-east-1"
- - South America (Sao Paulo) Region.
+ - South America (Sao Paulo) Region
- "me-south-1"
- - Middle East (Bahrain) Region.
+ - Middle East (Bahrain) Region
- "af-south-1"
- - Africa (Cape Town) Region.
+ - Africa (Cape Town) Region
- "cn-north-1"
- China (Beijing) Region
- "cn-northwest-1"
- - China (Ningxia) Region.
+ - China (Ningxia) Region
- "us-gov-east-1"
- - AWS GovCloud (US-East) Region.
+ - AWS GovCloud (US-East) Region
- "us-gov-west-1"
- - AWS GovCloud (US) Region.
+ - AWS GovCloud (US) Region
#### --s3-location-constraint
Location constraint - must match endpoint when using IBM Cloud Public.
-For on-prem COS, do not make a selection from this list, hit enter
+
+For on-prem COS, do not make a selection from this list, hit enter.
- Config: location_constraint
- Env Var: RCLONE_S3_LOCATION_CONSTRAINT
@@ -15389,6 +16106,7 @@ For on-prem COS, do not make a selection from this list, hit enter
#### --s3-location-constraint
Location constraint - must be set to match the Region.
+
Leave blank if not sure. Used when creating buckets only.
- Config: location_constraint
@@ -15413,30 +16131,45 @@ doesn't copy the ACL from the source but rather writes a fresh one.
- Default: ""
- Examples:
- "default"
- - Owner gets Full_CONTROL. No one else has access rights (default).
+ - Owner gets Full_CONTROL.
+ - No one else has access rights (default).
- "private"
- - Owner gets FULL_CONTROL. No one else has access rights (default).
+ - Owner gets FULL_CONTROL.
+ - No one else has access rights (default).
- "public-read"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ access.
- "public-read-write"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ and WRITE access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ and WRITE access.
- Granting this on a bucket is generally not recommended.
- "authenticated-read"
- - Owner gets FULL_CONTROL. The AuthenticatedUsers group gets READ access.
+ - Owner gets FULL_CONTROL.
+ - The AuthenticatedUsers group gets READ access.
- "bucket-owner-read"
- - Object owner gets FULL_CONTROL. Bucket owner gets READ access.
+ - Object owner gets FULL_CONTROL.
+ - Bucket owner gets READ access.
- If you specify this canned ACL when creating a bucket, Amazon S3 ignores it.
- "bucket-owner-full-control"
- Both the object owner and the bucket owner get FULL_CONTROL over the object.
- If you specify this canned ACL when creating a bucket, Amazon S3 ignores it.
- "private"
- - Owner gets FULL_CONTROL. No one else has access rights (default). This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise COS
+ - Owner gets FULL_CONTROL.
+ - No one else has access rights (default).
+ - This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise COS.
- "public-read"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ access. This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise IBM COS
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ access.
+ - This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise IBM COS.
- "public-read-write"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ and WRITE access. This acl is available on IBM Cloud (Infra), On-Premise IBM COS
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ and WRITE access.
+ - This acl is available on IBM Cloud (Infra), On-Premise IBM COS.
- "authenticated-read"
- - Owner gets FULL_CONTROL. The AuthenticatedUsers group gets READ access. Not supported on Buckets. This acl is available on IBM Cloud (Infra) and On-Premise IBM COS
+ - Owner gets FULL_CONTROL.
+ - The AuthenticatedUsers group gets READ access.
+ - Not supported on Buckets.
+ - This acl is available on IBM Cloud (Infra) and On-Premise IBM COS.
#### --s3-server-side-encryption
@@ -15508,9 +16241,9 @@ The storage class to use when storing new objects in OSS.
- "STANDARD"
- Standard storage class
- "GLACIER"
- - Archive storage mode.
+ - Archive storage mode
- "STANDARD_IA"
- - Infrequent access storage mode.
+ - Infrequent access storage mode
#### --s3-storage-class
@@ -15526,9 +16259,9 @@ The storage class to use when storing new objects in Tencent COS.
- "STANDARD"
- Standard storage class
- "ARCHIVE"
- - Archive storage mode.
+ - Archive storage mode
- "STANDARD_IA"
- - Infrequent access storage mode.
+ - Infrequent access storage mode
#### --s3-storage-class
@@ -15540,13 +16273,15 @@ The storage class to use when storing new objects in S3.
- Default: ""
- Examples:
- ""
- - Default
+ - Default.
- "STANDARD"
- - The Standard class for any upload; suitable for on-demand content like streaming or CDN.
+ - The Standard class for any upload.
+ - Suitable for on-demand content like streaming or CDN.
- "GLACIER"
- - Archived storage; prices are lower, but it needs to be restored first to be accessed.
+ - Archived storage.
+ - Prices are lower, but it needs to be restored first to be accessed.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, SeaweedFS, and Tencent COS).
@@ -15565,14 +16300,18 @@ isn't set then "acl" is used instead.
- Default: ""
- Examples:
- "private"
- - Owner gets FULL_CONTROL. No one else has access rights (default).
+ - Owner gets FULL_CONTROL.
+ - No one else has access rights (default).
- "public-read"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ access.
- "public-read-write"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ and WRITE access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ and WRITE access.
- Granting this on a bucket is generally not recommended.
- "authenticated-read"
- - Owner gets FULL_CONTROL. The AuthenticatedUsers group gets READ access.
+ - Owner gets FULL_CONTROL.
+ - The AuthenticatedUsers group gets READ access.
#### --s3-requester-pays
@@ -15626,7 +16365,7 @@ If you leave it blank, this is calculated automatically from the sse_customer_ke
#### --s3-upload-cutoff
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
Any files larger than this will be uploaded in chunks of chunk_size.
The minimum is 0 and the maximum is 5 GiB.
@@ -15686,7 +16425,7 @@ large file of a known size to stay below this number of chunks limit.
#### --s3-copy-cutoff
-Cutoff for switching to multipart copy
+Cutoff for switching to multipart copy.
Any files larger than this that need to be server-side copied will be
copied in chunks of this size.
@@ -15700,7 +16439,7 @@ The minimum is 0 and the maximum is 5 GiB.
#### --s3-disable-checksum
-Don't store MD5 checksum with object metadata
+Don't store MD5 checksum with object metadata.
Normally rclone will calculate the MD5 checksum of the input before
uploading it so it can add it to metadata on the object. This is great
@@ -15714,7 +16453,7 @@ to start uploading.
#### --s3-shared-credentials-file
-Path to the shared credentials file
+Path to the shared credentials file.
If env_auth = true then rclone can use a shared credentials file.
@@ -15733,7 +16472,7 @@ it will default to the current user's home directory.
#### --s3-profile
-Profile to use in the shared credentials file
+Profile to use in the shared credentials file.
If env_auth = true then rclone can use a shared credentials file. This
variable controls which profile is used in that file.
@@ -15749,7 +16488,7 @@ If empty it will default to the environment variable "AWS_PROFILE" or
#### --s3-session-token
-An AWS session token
+An AWS session token.
- Config: session_token
- Env Var: RCLONE_S3_SESSION_TOKEN
@@ -15846,7 +16585,7 @@ In Ceph, this can be increased with the "rgw list buckets max chunk" option.
#### --s3-no-check-bucket
-If set, don't attempt to check the bucket exists or create it
+If set, don't attempt to check the bucket exists or create it.
This can be useful when trying to minimise the number of transactions
rclone does if you know the bucket exists already.
@@ -15863,7 +16602,7 @@ due to a bug.
#### --s3-no-head
-If set, don't HEAD uploaded objects to check integrity
+If set, don't HEAD uploaded objects to check integrity.
This can be useful when trying to minimise the number of transactions
rclone does.
@@ -15900,7 +16639,7 @@ very small even with this flag.
#### --s3-no-head-object
-If set, don't HEAD objects
+If set, do not do HEAD before GET when getting objects.
- Config: no_head_object
- Env Var: RCLONE_S3_NO_HEAD_OBJECT
@@ -15911,7 +16650,7 @@ If set, don't HEAD objects
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_S3_ENCODING
@@ -15921,6 +16660,7 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
#### --s3-memory-pool-flush-time
How often internal memory buffer pools will be flushed.
+
Uploads which requires additional buffers (f.e multipart) will use memory pool for allocations.
This option controls how often unused buffers will be removed from the pool.
@@ -15940,7 +16680,7 @@ Whether to use mmap buffers in internal memory pool.
#### --s3-disable-http2
-Disable usage of http2 for S3 backends
+Disable usage of http2 for S3 backends.
There is currently an unsolved issue with the s3 (specifically minio) backend
and HTTP/2. HTTP/2 is enabled by default for the s3 backend but can be
@@ -15955,7 +16695,18 @@ See: https://github.com/rclone/rclone/issues/4673, https://github.com/rclone/rcl
- Type: bool
- Default: false
-### Backend commands
+#### --s3-download-url
+
+Custom endpoint for downloads.
+This is usually set to a CloudFront CDN URL as AWS S3 offers
+cheaper egress for data downloaded through the CloudFront network.
+
+- Config: download_url
+- Env Var: RCLONE_S3_DOWNLOAD_URL
+- Type: string
+- Default: ""
+
+## Backend commands
Here are the commands specific to the s3 backend.
@@ -15971,7 +16722,7 @@ info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](https://rclone.org/rc/#backend/command).
-#### restore
+### restore
Restore objects from GLACIER to normal storage
@@ -16017,7 +16768,7 @@ Options:
- "lifetime": Lifetime of the active copy in days
- "priority": Priority of restore: Standard|Expedited|Bulk
-#### list-multipart-uploads
+### list-multipart-uploads
List the unfinished multipart uploads
@@ -16056,7 +16807,7 @@ a bucket or with a bucket and path.
-#### cleanup
+### cleanup
Remove unfinished multipart uploads.
@@ -16107,7 +16858,32 @@ Then use it as normal with the name of the public bucket, e.g.
You will be able to list and copy data but not upload it.
-## Ceph
+## Providers
+
+### AWS S3
+
+This is the provider used as main example and described in the [configuration](#configuration) section above.
+
+### AWS Snowball Edge
+[AWS Snowball](https://aws.amazon.com/snowball/) is a hardware appliance used for transferring
+bulk data back to AWS. Its main software interface is S3 object storage.
+
+To use rclone with AWS Snowball Edge devices, configure as standard for an 'S3 Compatible Service'
+be sure to set `upload_cutoff = 0` otherwise you will run into authentication header issues as
+the snowball device does not support query parameter based authentication.
+
+eg.
+```
+[snowball]
+type = s3
+provider = Other
+access_key_id = YOUR_ACCESS_KEY
+secret_access_key = YOUR_SECRET_KEY
+endpoint = http://[IP of Snowball]:8080
+upload_cutoff = 0
+```
+
+### Ceph
[Ceph](https://ceph.com/) is an open source unified, distributed
storage system designed for excellent performance, reliability and
@@ -16163,7 +16939,7 @@ removed).
Because this is a json dump, it is encoding the `/` as `\/`, so if you
use the secret key as `xxxxxx/xxxx` it will work fine.
-## Dreamhost
+### Dreamhost
Dreamhost [DreamObjects](https://www.dreamhost.com/cloud/storage/) is
an object storage system based on CEPH.
@@ -16187,7 +16963,7 @@ server_side_encryption =
storage_class =
```
-## DigitalOcean Spaces
+### DigitalOcean Spaces
[Spaces](https://www.digitalocean.com/products/object-storage/) is an [S3-interoperable](https://developers.digitalocean.com/documentation/spaces/) object storage service from cloud provider DigitalOcean.
@@ -16233,7 +17009,7 @@ rclone mkdir spaces:my-new-space
rclone copy /path/to/files spaces:my-new-space
```
-## IBM COS (S3)
+### IBM COS (S3)
Information stored with IBM Cloud Object Storage is encrypted and dispersed across multiple geographic locations, and accessed through an implementation of the S3 API. This service makes use of the distributed storage technologies provided by IBM’s Cloud Object Storage System (formerly Cleversafe). For more information visit: (http://www.ibm.com/cloud/object-storage)
@@ -16405,7 +17181,7 @@ acl> 1
rclone delete IBM-COS-XREGION:newbucket/file.txt
```
-## Minio
+### Minio
[Minio](https://minio.io/) is an object storage server built for cloud application developers and devops.
@@ -16472,7 +17248,7 @@ So once set up, for example to copy files into a bucket
rclone copy /path/to/files minio:bucket
```
-## Scaleway
+### Scaleway
[Scaleway](https://www.scaleway.com/object-storage/) The Object Storage platform allows you to store anything from backups, logs and web assets to documents and photos.
Files can be dropped from the Scaleway console or transferred through our API and CLI or using any S3-compatible tool.
@@ -16494,7 +17270,7 @@ server_side_encryption =
storage_class =
```
-## SeaweedFS
+### SeaweedFS
[SeaweedFS](https://github.com/chrislusf/seaweedfs/) is a distributed storage system for
blobs, objects, files, and data lake, with O(1) disk seek and a scalable file metadata store.
@@ -16544,7 +17320,7 @@ So once set up, for example to copy files into a bucket
rclone copy /path/to/files seaweedfs_s3:foo
```
-## Wasabi
+### Wasabi
[Wasabi](https://wasabi.com) is a cloud-based object storage service for a
broad range of applications and use cases. Wasabi is designed for
@@ -16657,7 +17433,7 @@ server_side_encryption =
storage_class =
```
-## Alibaba OSS {#alibaba-oss}
+### Alibaba OSS {#alibaba-oss}
Here is an example of making an [Alibaba Cloud (Aliyun) OSS](https://www.alibabacloud.com/product/oss/)
configuration. First run:
@@ -16767,7 +17543,7 @@ d) Delete this remote
y/e/d> y
```
-## Tencent COS {#tencent-cos}
+### Tencent COS {#tencent-cos}
[Tencent Cloud Object Storage (COS)](https://intl.cloud.tencent.com/product/cos) is a distributed storage service offered by Tencent Cloud for unstructured data. It is secure, stable, massive, convenient, low-delay and low-cost.
@@ -16899,7 +17675,7 @@ Name Type
cos s3
```
-## Netease NOS
+### Netease NOS
For Netease NOS configure as per the configurator `rclone config`
setting the provider `Netease`. This will automatically set
@@ -16922,6 +17698,8 @@ B2 is [Backblaze's cloud storage system](https://www.backblaze.com/b2/).
Paths are specified as `remote:bucket` (or `remote:` for the `lsd`
command.) You may put subdirectories in too, e.g. `remote:bucket/path/to/dir`.
+## Configuration
+
Here is an example of making a b2 configuration. First run
rclone config
@@ -16983,7 +17761,7 @@ excess files in the bucket.
rclone sync -i /home/local/directory remote:bucket
-### Application Keys ###
+### Application Keys
B2 supports multiple [Application Keys for different access permission
to B2 Buckets](https://www.backblaze.com/b2/docs/application_keys.html).
@@ -16999,13 +17777,13 @@ Note that you must put the _applicationKeyId_ as the `account` – you
can't use the master Account ID. If you try then B2 will return 401
errors.
-### --fast-list ###
+### --fast-list
This remote supports `--fast-list` which allows you to use fewer
transactions in exchange for more memory. See the [rclone
docs](https://rclone.org/docs/#fast-list) for more details.
-### Modified time ###
+### Modified time
The modified time is stored as metadata on the object as
`X-Bz-Info-src_last_modified_millis` as milliseconds since 1970-01-01
@@ -17016,7 +17794,7 @@ Modified times are used in syncing and are fully supported. Note that
if a modification time needs to be updated on an object then it will
create a new version of the object.
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -17034,7 +17812,7 @@ re-transfer files. If you want rclone not to replace \ then see the
`--b2-encoding` flag below and remove the `BackSlash` from the
string. This can be set in the config.
-### SHA1 checksums ###
+### SHA1 checksums
The SHA1 checksums of the files are checked on upload and download and
will be used in the syncing process.
@@ -17056,7 +17834,7 @@ large files without SHA1 checksums. This may be fixed in the future
Files sizes below `--b2-upload-cutoff` will always have an SHA1
regardless of the source.
-### Transfers ###
+### Transfers
Backblaze recommends that you do lots of transfers simultaneously for
maximum speed. In tests from my SSD equipped laptop the optimum
@@ -17071,7 +17849,7 @@ a 96 MiB RAM buffer by default. There can be at most `--transfers` of
these in use at any moment, so this sets the upper limit on the memory
used.
-### Versions ###
+### Versions
When rclone uploads a new version of a file it creates a [new version
of it](https://www.backblaze.com/b2/docs/file_versions.html).
@@ -17135,7 +17913,7 @@ $ rclone -q --b2-versions ls b2:cleanup-test
9 one.txt
```
-### Data usage ###
+### Data usage
It is useful to know how many requests are sent to the server in different scenarios.
@@ -17173,7 +17951,7 @@ start and finish the upload) and another 2 requests for each chunk:
/b2api/v1/b2_finish_large_file
```
-#### Versions ####
+#### Versions
Versions can be viewed with the `--b2-versions` flag. When it is set
rclone will show and act on older versions of files. For example
@@ -17202,7 +17980,7 @@ server to the nearest millisecond appended to them.
Note that when using `--b2-versions` no file write operations are
permitted, so you can't upload files or delete them.
-### B2 and rclone link ###
+### B2 and rclone link
Rclone supports generating file share links for private B2 buckets.
They can either be for a file for example:
@@ -17231,13 +18009,13 @@ https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxx
```
-### Standard Options
+### Standard options
Here are the standard options specific to b2 (Backblaze B2).
#### --b2-account
-Account ID or Application Key ID
+Account ID or Application Key ID.
- Config: account
- Env Var: RCLONE_B2_ACCOUNT
@@ -17246,7 +18024,7 @@ Account ID or Application Key ID
#### --b2-key
-Application Key
+Application Key.
- Config: key
- Env Var: RCLONE_B2_KEY
@@ -17262,13 +18040,14 @@ Permanently delete files on remote removal, otherwise hide files.
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to b2 (Backblaze B2).
#### --b2-endpoint
Endpoint for the service.
+
Leave blank normally.
- Config: endpoint
@@ -17298,6 +18077,7 @@ in the [b2 integrations checklist](https://www.backblaze.com/b2/docs/integration
#### --b2-versions
Include old versions in directory listings.
+
Note that when using this no file write operations are permitted,
so you can't upload files or delete them.
@@ -17321,7 +18101,7 @@ This value should be set no larger than 4.657 GiB (== 5 GB).
#### --b2-copy-cutoff
-Cutoff for switching to multipart copy
+Cutoff for switching to multipart copy.
Any files larger than this that need to be server-side copied will be
copied in chunks of this size.
@@ -17335,12 +18115,14 @@ The minimum is 0 and the maximum is 4.6 GiB.
#### --b2-chunk-size
-Upload chunk size. Must fit in memory.
+Upload chunk size.
-When uploading large files, chunk the file into this size. Note that
-these chunks are buffered in memory and there might a maximum of
-"--transfers" chunks in progress at once. 5,000,000 Bytes is the
-minimum size.
+When uploading large files, chunk the file into this size.
+
+Must fit in memory. These chunks are buffered in memory and there
+might a maximum of "--transfers" chunks in progress at once.
+
+5,000,000 Bytes is the minimum size.
- Config: chunk_size
- Env Var: RCLONE_B2_CHUNK_SIZE
@@ -17349,7 +18131,7 @@ minimum size.
#### --b2-disable-checksum
-Disable checksums for large (> upload cutoff) files
+Disable checksums for large (> upload cutoff) files.
Normally rclone will calculate the SHA1 checksum of the input before
uploading it so it can add it to metadata on the object. This is great
@@ -17413,7 +18195,7 @@ Whether to use mmap buffers in internal memory pool.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_B2_ENCODING
@@ -17421,7 +18203,8 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
- Default: Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot
-### Limitations
+
+## Limitations
`rclone about` is not supported by the B2 backend. Backends without
this capability cannot determine free space for an rclone mount or
@@ -17441,6 +18224,8 @@ The initial setup for Box involves getting a token from Box which you
can do either in your browser, or with a config.json downloaded from Box
to use JWT authentication. `rclone config` walks you through it.
+## Configuration
+
Here is an example of how to make a remote called `remote`. First run:
rclone config
@@ -17527,7 +18312,7 @@ To copy a local directory to an Box directory called backup
rclone copy /home/source remote:backup
-### Using rclone with an Enterprise account with SSO ###
+### Using rclone with an Enterprise account with SSO
If you have an "Enterprise" account type with Box with single sign on
(SSO), you need to create a password to use Box with rclone. This can
@@ -17538,7 +18323,7 @@ Once you have done this, you can setup your Enterprise Box account
using the same procedure detailed above in the, using the password you
have just set.
-### Invalid refresh token ###
+### Invalid refresh token
According to the [box docs](https://developer.box.com/v2.0/docs/oauth-20#section-6-using-the-access-and-refresh-tokens):
@@ -17622,7 +18407,7 @@ d) Delete this remote
y/e/d> y
```
-### Modified time and hashes ###
+### Modified time and hashes
Box allows modification times to be set on objects accurate to 1
second. These will be used to detect whether objects need syncing or
@@ -17631,7 +18416,7 @@ not.
Box supports SHA1 type hashes, so you can use the `--checksum`
flag.
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -17650,14 +18435,14 @@ These only get replaced if they are the last character in the name:
Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
as they can't be used in JSON strings.
-### Transfers ###
+### Transfers
For files above 50 MiB rclone will use a chunked transfer. Rclone will
upload up to `--transfers` chunks at the same time (shared among all
the multipart uploads). Chunks are buffered in memory and are
normally 8 MiB so increasing `--transfers` will increase memory use.
-### Deleting files ###
+### Deleting files
Depending on the enterprise settings for your user, the item will
either be actually deleted from Box or moved to the trash.
@@ -17668,7 +18453,7 @@ may take a very long time.
Emptying the trash via the WebUI does not have this limitation
so it is advised to empty the trash via the WebUI.
-### Root folder ID ###
+### Root folder ID
You can set the `root_folder_id` for rclone. This is the directory
(identified by its `Folder ID`) that rclone considers to be the root
@@ -17691,13 +18476,14 @@ in the browser, then you use `11xxxxxxxxx8` as
the `root_folder_id` in the config.
-### Standard Options
+### Standard options
Here are the standard options specific to box (Box).
#### --box-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -17707,7 +18493,8 @@ Leave blank normally.
#### --box-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -17718,11 +18505,11 @@ Leave blank normally.
#### --box-box-config-file
Box App config.json location
+
Leave blank normally.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
-
- Config: box_config_file
- Env Var: RCLONE_BOX_BOX_CONFIG_FILE
- Type: string
@@ -17731,6 +18518,7 @@ Leading `~` will be expanded in the file name as will environment variables such
#### --box-access-token
Box App Primary Access Token
+
Leave blank normally.
- Config: access_token
@@ -17748,11 +18536,11 @@ Leave blank normally.
- Default: "user"
- Examples:
- "user"
- - Rclone should act on behalf of a user
+ - Rclone should act on behalf of a user.
- "enterprise"
- - Rclone should act on behalf of a service account
+ - Rclone should act on behalf of a service account.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to box (Box).
@@ -17768,6 +18556,7 @@ OAuth Access Token as a JSON blob.
#### --box-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -17778,6 +18567,7 @@ Leave blank to use the provider defaults.
#### --box-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -17812,11 +18602,29 @@ Max number of times to try committing a multipart file.
- Type: int
- Default: 100
+#### --box-list-chunk
+
+Size of listing chunk 1-1000.
+
+- Config: list_chunk
+- Env Var: RCLONE_BOX_LIST_CHUNK
+- Type: int
+- Default: 1000
+
+#### --box-owned-by
+
+Only show items owned by the login (email address) passed in.
+
+- Config: owned_by
+- Env Var: RCLONE_BOX_OWNED_BY
+- Type: string
+- Default: ""
+
#### --box-encoding
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_BOX_ENCODING
@@ -17825,7 +18633,7 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
-### Limitations ###
+## Limitations
Note that Box is case insensitive so you can't have a file called
"Hello.doc" and one called "hello.doc".
@@ -17863,7 +18671,7 @@ the use of the cache backend to minimize API hits and by-and-large
these are out of date and the cache backend isn't needed in those
scenarios any more.
-## Setup
+## Configuration
To get started you just need to have an existing remote which can be configured
with `cache`.
@@ -18146,13 +18954,14 @@ Params:
- **withData** = true/false to delete cached data (chunks) as well _(optional, false by default)_
-### Standard Options
+### Standard options
Here are the standard options specific to cache (Cache a remote).
#### --cache-remote
Remote to cache.
+
Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
"myremote:bucket" or maybe "myremote:" (not recommended).
@@ -18163,7 +18972,7 @@ Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
#### --cache-plex-url
-The URL of the Plex server
+The URL of the Plex server.
- Config: plex_url
- Env Var: RCLONE_CACHE_PLEX_URL
@@ -18172,7 +18981,7 @@ The URL of the Plex server
#### --cache-plex-username
-The username of the Plex user
+The username of the Plex user.
- Config: plex_username
- Env Var: RCLONE_CACHE_PLEX_USERNAME
@@ -18181,7 +18990,7 @@ The username of the Plex user
#### --cache-plex-password
-The password of the Plex user
+The password of the Plex user.
**NB** Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).
@@ -18247,13 +19056,13 @@ oldest chunks until it goes under this value.
- "10G"
- 10 GiB
-### Advanced Options
+### Advanced options
Here are the advanced options specific to cache (Cache a remote).
#### --cache-plex-token
-The plex token for authentication - auto set normally
+The plex token for authentication - auto set normally.
- Config: plex_token
- Env Var: RCLONE_CACHE_PLEX_TOKEN
@@ -18262,7 +19071,7 @@ The plex token for authentication - auto set normally
#### --cache-plex-insecure
-Skip all certificate verification when connecting to the Plex server
+Skip all certificate verification when connecting to the Plex server.
- Config: plex_insecure
- Env Var: RCLONE_CACHE_PLEX_INSECURE
@@ -18272,6 +19081,7 @@ Skip all certificate verification when connecting to the Plex server
#### --cache-db-path
Directory to store file structure metadata DB.
+
The remote name is used as the DB file name.
- Config: db_path
@@ -18307,6 +19117,7 @@ Clear all the cached data for this remote on start.
#### --cache-chunk-clean-interval
How often should the cache perform cleanups of the chunk storage.
+
The default value should be ok for most people. If you find that the
cache goes over "cache-chunk-total-size" too often then try to lower
this value to force it to perform cleanups more often.
@@ -18376,7 +19187,7 @@ available on the local machine.
#### --cache-rps
-Limits the number of requests per second to the source FS (-1 to disable)
+Limits the number of requests per second to the source FS (-1 to disable).
This setting places a hard limit on the number of requests per second
that cache will be doing to the cloud provider remote and try to
@@ -18401,7 +19212,7 @@ still pass.
#### --cache-writes
-Cache file data on writes through the FS
+Cache file data on writes through the FS.
If you need to read files immediately after you upload them through
cache you can enable this flag to have their data stored in the
@@ -18430,7 +19241,7 @@ provider
#### --cache-tmp-wait-time
-How long should files be stored in local cache before being uploaded
+How long should files be stored in local cache before being uploaded.
This is the duration that a file must wait in the temporary location
_cache-tmp-upload-path_ before it is selected for upload.
@@ -18445,7 +19256,7 @@ to start the upload if a queue formed for this purpose.
#### --cache-db-wait-time
-How long to wait for the DB to be available - 0 is unlimited
+How long to wait for the DB to be available - 0 is unlimited.
Only one process can have the DB open at any one time, so rclone waits
for this duration for the DB to become available before it gives an
@@ -18458,7 +19269,7 @@ If you set it to 0 then it will wait forever.
- Type: Duration
- Default: 1s
-### Backend commands
+## Backend commands
Here are the commands specific to the cache backend.
@@ -18474,7 +19285,7 @@ info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](https://rclone.org/rc/#backend/command).
-#### stats
+### stats
Print stats on the cache backend in JSON format.
@@ -18489,6 +19300,8 @@ during upload to wrapped remote and transparently assembles them back
when the file is downloaded. This allows to effectively overcome size limits
imposed by storage providers.
+## Configuration
+
To use it, first set up the underlying remote following the configuration
instructions for that remote. You can also use a local pathname instead of
a remote.
@@ -18788,13 +19601,14 @@ to keep rclone up-to-date to avoid data corruption.
Changing `transactions` is dangerous and requires explicit migration.
-### Standard Options
+### Standard options
Here are the standard options specific to chunker (Transparently chunk/split large files).
#### --chunker-remote
Remote to chunk/unchunk.
+
Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
"myremote:bucket" or maybe "myremote:" (not recommended).
@@ -18814,7 +19628,9 @@ Files larger than chunk size will be split in chunks.
#### --chunker-hash-type
-Choose how chunker handles hash sums. All modes but "none" require metadata.
+Choose how chunker handles hash sums.
+
+All modes but "none" require metadata.
- Config: hash_type
- Env Var: RCLONE_CHUNKER_HASH_TYPE
@@ -18822,27 +19638,30 @@ Choose how chunker handles hash sums. All modes but "none" require metadata.
- Default: "md5"
- Examples:
- "none"
- - Pass any hash supported by wrapped remote for non-chunked files, return nothing otherwise
+ - Pass any hash supported by wrapped remote for non-chunked files.
+ - Return nothing otherwise.
- "md5"
- - MD5 for composite files
+ - MD5 for composite files.
- "sha1"
- - SHA1 for composite files
+ - SHA1 for composite files.
- "md5all"
- - MD5 for all files
+ - MD5 for all files.
- "sha1all"
- - SHA1 for all files
+ - SHA1 for all files.
- "md5quick"
- - Copying a file to chunker will request MD5 from the source falling back to SHA1 if unsupported
+ - Copying a file to chunker will request MD5 from the source.
+ - Falling back to SHA1 if unsupported.
- "sha1quick"
- - Similar to "md5quick" but prefers SHA1 over MD5
+ - Similar to "md5quick" but prefers SHA1 over MD5.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to chunker (Transparently chunk/split large files).
#### --chunker-name-format
String format of chunk file names.
+
The two placeholders are: base file name (*) and chunk number (#...).
There must be one and only one asterisk and one or more consecutive hash characters.
If chunk number has less digits than the number of hashes, it is left-padded by zeros.
@@ -18857,6 +19676,7 @@ Possible chunk files are ignored if their name does not match given format.
#### --chunker-start-from
Minimum valid chunk number. Usually 0 or 1.
+
By default chunk numbers start from 1.
- Config: start_from
@@ -18866,7 +19686,9 @@ By default chunk numbers start from 1.
#### --chunker-meta-format
-Format of the metadata object or "none". By default "simplejson".
+Format of the metadata object or "none".
+
+By default "simplejson".
Metadata is a small JSON file named after the composite file.
- Config: meta_format
@@ -18875,9 +19697,11 @@ Metadata is a small JSON file named after the composite file.
- Default: "simplejson"
- Examples:
- "none"
- - Do not use metadata files at all. Requires hash type "none".
+ - Do not use metadata files at all.
+ - Requires hash type "none".
- "simplejson"
- Simple JSON supports hash sums and chunk validation.
+ -
- It has the following fields: ver, size, nchunks, md5, sha1.
#### --chunker-fail-hard
@@ -18923,6 +19747,8 @@ Choose how chunker should handle temporary files during transactions.
[Citrix ShareFile](https://sharefile.com) is a secure file sharing and transfer service aimed as business.
+## Configuration
+
The initial setup for Citrix ShareFile involves getting a token from
Citrix ShareFile which you can in your browser. `rclone config` walks you
through it.
@@ -19017,7 +19843,7 @@ To copy a local directory to an ShareFile directory called backup
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
-### Modified time and hashes ###
+### Modified time and hashes
ShareFile allows modification times to be set on objects accurate to 1
second. These will be used to detect whether objects need syncing or
@@ -19026,21 +19852,14 @@ not.
ShareFile supports MD5 type hashes, so you can use the `--checksum`
flag.
-### Transfers ###
+### Transfers
For files above 128 MiB rclone will use a chunked transfer. Rclone will
upload up to `--transfers` chunks at the same time (shared among all
the multipart uploads). Chunks are buffered in memory and are
normally 64 MiB so increasing `--transfers` will increase memory use.
-### Limitations ###
-
-Note that ShareFile is case insensitive so you can't have a file called
-"Hello.doc" and one called "hello.doc".
-
-ShareFile only supports filenames up to 256 characters in length.
-
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -19069,13 +19888,13 @@ Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid
as they can't be used in JSON strings.
-### Standard Options
+### Standard options
Here are the standard options specific to sharefile (Citrix Sharefile).
#### --sharefile-root-folder-id
-ID of the root folder
+ID of the root folder.
Leave blank to access "Personal Folders". You can use one of the
standard values here or any folder ID (long hex number ID).
@@ -19086,7 +19905,7 @@ standard values here or any folder ID (long hex number ID).
- Default: ""
- Examples:
- ""
- - Access the Personal Folders. (Default)
+ - Access the Personal Folders (default).
- "favorites"
- Access the Favorites folder.
- "allshared"
@@ -19096,7 +19915,7 @@ standard values here or any folder ID (long hex number ID).
- "top"
- Access the home, favorites, and shared folders as well as the connectors.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to sharefile (Citrix Sharefile).
@@ -19111,7 +19930,9 @@ Cutoff for switching to multipart upload.
#### --sharefile-chunk-size
-Upload chunk size. Must a power of 2 >= 256k.
+Upload chunk size.
+
+Must a power of 2 >= 256k.
Making this larger will improve performance, but note that each chunk
is buffered in memory one per transfer.
@@ -19140,7 +19961,7 @@ be set manually to something like: https://XXX.sharefile.com
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_SHAREFILE_ENCODING
@@ -19148,7 +19969,12 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
- Default: Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot
-### Limitations
+## Limitations
+
+Note that ShareFile is case insensitive so you can't have a file called
+"Hello.doc" and one called "hello.doc".
+
+ShareFile only supports filenames up to 256 characters in length.
`rclone about` is not supported by the Citrix ShareFile backend. Backends without
this capability cannot determine free space for an rclone mount or
@@ -19214,7 +20040,7 @@ based on XSalsa20 cipher and Poly1305 for integrity.
by default, but this has some implications and is therefore
possible to turned off.
-### Configuration
+## Configuration
Here is an example of how to make a remote called `secret`.
@@ -19264,12 +20090,14 @@ Enter a string value. Press Enter for the default ("").
remote> remote:path
How to encrypt the filenames.
Enter a string value. Press Enter for the default ("standard").
-Choose a number from below, or type in your own value
- 1 / Encrypt the filenames see the docs for the details.
+Choose a number from below, or type in your own value.
+ / Encrypt the filenames.
+ 1 | See the docs for the details.
\ "standard"
2 / Very simple filename obfuscation.
\ "obfuscate"
- 3 / Don't encrypt the file names. Adds a ".bin" extension only.
+ / Don't encrypt the file names.
+ 3 | Adds a ".bin" extension only.
\ "off"
filename_encryption>
Option to either encrypt directory names or leave them intact.
@@ -19562,13 +20390,14 @@ integrity of a crypted remote instead of `rclone check` which can't
check the checksums properly.
-### Standard Options
+### Standard options
Here are the standard options specific to crypt (Encrypt/Decrypt a remote).
#### --crypt-remote
Remote to encrypt/decrypt.
+
Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
"myremote:bucket" or maybe "myremote:" (not recommended).
@@ -19587,11 +20416,13 @@ How to encrypt the filenames.
- Default: "standard"
- Examples:
- "standard"
- - Encrypt the filenames see the docs for the details.
+ - Encrypt the filenames.
+ - See the docs for the details.
- "obfuscate"
- Very simple filename obfuscation.
- "off"
- - Don't encrypt the file names. Adds a ".bin" extension only.
+ - Don't encrypt the file names.
+ - Adds a ".bin" extension only.
#### --crypt-directory-name-encryption
@@ -19622,7 +20453,9 @@ Password or pass phrase for encryption.
#### --crypt-password2
-Password or pass phrase for salt. Optional but recommended.
+Password or pass phrase for salt.
+
+Optional but recommended.
Should be different to the previous password.
**NB** Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).
@@ -19632,7 +20465,7 @@ Should be different to the previous password.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to crypt (Encrypt/Decrypt a remote).
@@ -19685,7 +20518,7 @@ Option to either encrypt file data or leave it unencrypted.
- "false"
- Encrypt file data.
-### Backend commands
+## Backend commands
Here are the commands specific to the crypt backend.
@@ -19701,7 +20534,7 @@ info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](https://rclone.org/rc/#backend/command).
-#### encode
+### encode
Encode the given filename(s)
@@ -19716,7 +20549,7 @@ Usage Example:
rclone rc backend/command command=encode fs=crypt: file1 [file2...]
-#### decode
+### decode
Decode the given filename(s)
@@ -19866,7 +20699,8 @@ a salt.
# Compress (Experimental)
-### Warning
+## Warning
+
This remote is currently **experimental**. Things may break and data may be lost. Anything you do with this remote is
at your own risk. Please understand the risks associated with using experimental code and don't use this remote in
critical applications.
@@ -19874,6 +20708,8 @@ critical applications.
The `Compress` remote adds compression to another remote. It is best used with remotes containing
many large compressible files.
+## Configuration
+
To use this remote, all you need to do is specify another remote and a compression mode to use:
```
@@ -19927,12 +20763,14 @@ y/e/d> y
```
### Compression Modes
-Currently only gzip compression is supported, it provides a decent balance between speed and strength and is well
-supported by other application. Compression strength can further be configured via an advanced setting where 0 is no
+
+Currently only gzip compression is supported. It provides a decent balance between speed and size and is well
+supported by other applications. Compression strength can further be configured via an advanced setting where 0 is no
compression and 9 is strongest compression.
-#### Filetype
-If you open a remote wrapped by press, you will see that there are many files with an extension corresponding to
+### File types
+
+If you open a remote wrapped by compress, you will see that there are many files with an extension corresponding to
the compression algorithm you chose. These files are standard files that can be opened by various archive programs,
but they have some hidden metadata that allows them to be used by rclone.
While you may download and decompress these files at will, do **not** manually delete or rename files. Files without
@@ -19944,7 +20782,7 @@ The compressed files will be named `*.###########.gz` where `*` is the base file
size of the uncompressed file. The file names should not be changed by anything other than the rclone compression backend.
-### Standard Options
+### Standard options
Here are the standard options specific to compress (Compress a remote).
@@ -19969,7 +20807,7 @@ Compression mode.
- "gzip"
- Standard gzip compression with fastest parameters.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to compress (Compress a remote).
@@ -19977,13 +20815,13 @@ Here are the advanced options specific to compress (Compress a remote).
GZIP compression level (-2 to 9).
- Generally -1 (default, equivalent to 5) is recommended.
- Levels 1 to 9 increase compressiong at the cost of speed.. Going past 6
- generally offers very little return.
-
- Level -2 uses Huffmann encoding only. Only use if you now what you
- are doing
- Level 0 turns off compression.
+Generally -1 (default, equivalent to 5) is recommended.
+Levels 1 to 9 increase compression at the cost of speed. Going past 6
+generally offers very little return.
+
+Level -2 uses Huffmann encoding only. Only use if you know what you
+are doing.
+Level 0 turns off compression.
- Config: level
- Env Var: RCLONE_COMPRESS_LEVEL
@@ -19993,11 +20831,11 @@ GZIP compression level (-2 to 9).
#### --compress-ram-cache-limit
Some remotes don't allow the upload of files with unknown size.
- In this case the compressed file will need to be cached to determine
- it's size.
-
- Files smaller than this limit will be cached in RAM, file larger than
- this limit will be cached on disk
+In this case the compressed file will need to be cached to determine
+it's size.
+
+Files smaller than this limit will be cached in RAM, files larger than
+this limit will be cached on disk.
- Config: ram_cache_limit
- Env Var: RCLONE_COMPRESS_RAM_CACHE_LIMIT
@@ -20013,6 +20851,8 @@ Paths are specified as `remote:path`
Dropbox paths may be as deep as required, e.g.
`remote:directory/subdirectory`.
+## Configuration
+
The initial setup for dropbox involves getting a token from Dropbox
which you need to do in your browser. `rclone config` walks you
through it.
@@ -20070,7 +20910,7 @@ To copy a local directory to a dropbox directory called backup
rclone copy /home/source remote:backup
-### Dropbox for business ###
+### Dropbox for business
Rclone supports Dropbox for business and Team Folders.
@@ -20087,7 +20927,7 @@ You can then use team folders like this `remote:/TeamFolder` and
A leading `/` for a Dropbox personal account will do nothing, but it
will take an extra HTTP transaction so it should be avoided.
-### Modified time and Hashes ###
+### Modified time and Hashes
Dropbox supports modified times, but the only way to set a
modification time is to re-upload the file.
@@ -20181,13 +21021,14 @@ finishes up the last batch using this mode.
-### Standard Options
+### Standard options
Here are the standard options specific to dropbox (Dropbox).
#### --dropbox-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -20197,7 +21038,8 @@ Leave blank normally.
#### --dropbox-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -20205,7 +21047,7 @@ Leave blank normally.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to dropbox (Dropbox).
@@ -20221,6 +21063,7 @@ OAuth Access Token as a JSON blob.
#### --dropbox-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -20231,6 +21074,7 @@ Leave blank to use the provider defaults.
#### --dropbox-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -20240,7 +21084,7 @@ Leave blank to use the provider defaults.
#### --dropbox-chunk-size
-Upload chunk size. (< 150Mi).
+Upload chunk size (< 150Mi).
Any files larger than this will be uploaded in chunks of this size.
@@ -20362,7 +21206,7 @@ maximise throughput.
#### --dropbox-batch-timeout
-Max time to allow an idle upload batch before uploading
+Max time to allow an idle upload batch before uploading.
If an upload batch is idle for more than this long then it will be
uploaded.
@@ -20380,11 +21224,20 @@ default based on the batch_mode in use.
- Type: Duration
- Default: 0s
+#### --dropbox-batch-commit-timeout
+
+Max time to wait for a batch to finish comitting
+
+- Config: batch_commit_timeout
+- Env Var: RCLONE_DROPBOX_BATCH_COMMIT_TIMEOUT
+- Type: Duration
+- Default: 10m0s
+
#### --dropbox-encoding
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_DROPBOX_ENCODING
@@ -20393,7 +21246,7 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
-### Limitations ###
+## Limitations
Note that Dropbox is case insensitive so you can't have a file called
"Hello.doc" and one called "hello.doc".
@@ -20421,7 +21274,7 @@ non-personal account otherwise the visibility may not be correct.
[forum discussion](https://forum.rclone.org/t/rclone-link-dropbox-permissions/23211) and the
[dropbox SDK issue](https://github.com/dropbox/dropbox-sdk-go-unofficial/issues/75).
-### Get your own Dropbox App ID ###
+## Get your own Dropbox App ID
When you use rclone with Dropbox in its default configuration you are using rclone's App ID. This is shared between all the rclone users.
@@ -20451,6 +21304,8 @@ Fabric™](https://storagemadeeasy.com/about/) which provides a software
solution to integrate and unify File and Object Storage accessible
through a global file system.
+## Configuration
+
The initial setup for the Enterprise File Fabric backend involves
getting a token from the the Enterprise File Fabric which you need to
do in your browser. `rclone config` walks you through it.
@@ -20591,13 +21446,13 @@ $ rclone lsf --dirs-only -Fip --csv filefabric:
The ID for "S3 Storage" would be `120673761`.
-### Standard Options
+### Standard options
Here are the standard options specific to filefabric (Enterprise File Fabric).
#### --filefabric-url
-URL of the Enterprise File Fabric to connect to
+URL of the Enterprise File Fabric to connect to.
- Config: url
- Env Var: RCLONE_FILEFABRIC_URL
@@ -20613,7 +21468,8 @@ URL of the Enterprise File Fabric to connect to
#### --filefabric-root-folder-id
-ID of the root folder
+ID of the root folder.
+
Leave blank normally.
Fill in to make rclone start with directory of a given ID.
@@ -20626,7 +21482,7 @@ Fill in to make rclone start with directory of a given ID.
#### --filefabric-permanent-token
-Permanent Authentication Token
+Permanent Authentication Token.
A Permanent Authentication Token can be created in the Enterprise File
Fabric, on the users Dashboard under Security, there is an entry
@@ -20643,13 +21499,13 @@ For more info see: https://docs.storagemadeeasy.com/organisationcloud/api-tokens
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to filefabric (Enterprise File Fabric).
#### --filefabric-token
-Session Token
+Session Token.
This is a session token which rclone caches in the config file. It is
usually valid for 1 hour.
@@ -20664,7 +21520,7 @@ Don't set this value - rclone will set it automatically.
#### --filefabric-token-expiry
-Token expiry time
+Token expiry time.
Don't set this value - rclone will set it automatically.
@@ -20676,7 +21532,7 @@ Don't set this value - rclone will set it automatically.
#### --filefabric-version
-Version read from the file fabric
+Version read from the file fabric.
Don't set this value - rclone will set it automatically.
@@ -20690,7 +21546,7 @@ Don't set this value - rclone will set it automatically.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_FILEFABRIC_ENCODING
@@ -20705,12 +21561,14 @@ FTP is the File Transfer Protocol. Rclone FTP support is provided using the
[github.com/jlaffaye/ftp](https://godoc.org/github.com/jlaffaye/ftp)
package.
-[Limitations of Rclone's FTP backend](#Limitations)
+[Limitations of Rclone's FTP backend](#limitations)
Paths are specified as `remote:path`. If the path does not begin with
a `/` it is relative to the home directory of the user. An empty path
`remote:` refers to the user's home directory.
+## Configuration
+
To create an FTP configuration named `remote`, run
rclone config
@@ -20799,7 +21657,6 @@ excess files in the directory.
rclone lsf :ftp: --ftp-host=speedtest.tele2.net --ftp-user=anonymous --ftp-pass=`rclone obscure dummy`
-
### Implicit TLS ###
Rlone FTP supports implicit FTP over TLS servers (FTPS). This has to
@@ -20807,26 +21664,48 @@ be enabled in the FTP backend config for the remote, or with
[`--ftp-tls`](#ftp-tls). The default FTPS port is `990`, not `21` and
can be set with [`--ftp-port`](#ftp-port).
+### Restricted filename characters
+
+In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
+the following characters are also replaced:
+
+File names cannot end with the following characters. Repacement is
+limited to the last character in a file name:
+
+| Character | Value | Replacement |
+| --------- |:-----:|:-----------:|
+| SP | 0x20 | ␠ |
+
+Not all FTP servers can have all characters in file names, for example:
+
+| FTP Server| Forbidden characters |
+| --------- |:--------------------:|
+| proftpd | `*` |
+| pureftpd | `\ [ ]` |
+
+This backend's interactive configuration wizard provides a selection of
+sensible encoding settings for major FTP servers: ProFTPd, PureFTPd, VsFTPd.
+Just hit a selection number when prompted.
+
-### Standard Options
+### Standard options
Here are the standard options specific to ftp (FTP Connection).
#### --ftp-host
-FTP host to connect to
+FTP host to connect to.
+
+E.g. "ftp.example.com".
- Config: host
- Env Var: RCLONE_FTP_HOST
- Type: string
- Default: ""
-- Examples:
- - "ftp.example.com"
- - Connect to ftp.example.com
#### --ftp-user
-FTP username, leave blank for current username, $USER
+FTP username, leave blank for current username, $USER.
- Config: user
- Env Var: RCLONE_FTP_USER
@@ -20835,7 +21714,7 @@ FTP username, leave blank for current username, $USER
#### --ftp-port
-FTP port, leave blank to use default (21)
+FTP port, leave blank to use default (21).
- Config: port
- Env Var: RCLONE_FTP_PORT
@@ -20844,7 +21723,7 @@ FTP port, leave blank to use default (21)
#### --ftp-pass
-FTP password
+FTP password.
**NB** Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).
@@ -20855,7 +21734,8 @@ FTP password
#### --ftp-tls
-Use Implicit FTPS (FTP over TLS)
+Use Implicit FTPS (FTP over TLS).
+
When using implicit FTP over TLS the client connects using TLS
right from the start which breaks compatibility with
non-TLS-aware servers. This is usually served over port 990 rather
@@ -20868,7 +21748,8 @@ than port 21. Cannot be used in combination with explicit FTP.
#### --ftp-explicit-tls
-Use Explicit FTPS (FTP over TLS)
+Use Explicit FTPS (FTP over TLS).
+
When using explicit FTP over TLS the client explicitly requests
security from the server in order to upgrade a plain text connection
to an encrypted one. Cannot be used in combination with implicit FTP.
@@ -20878,13 +21759,13 @@ to an encrypted one. Cannot be used in combination with implicit FTP.
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to ftp (FTP Connection).
#### --ftp-concurrency
-Maximum number of FTP simultaneous connections, 0 for unlimited
+Maximum number of FTP simultaneous connections, 0 for unlimited.
- Config: concurrency
- Env Var: RCLONE_FTP_CONCURRENCY
@@ -20893,7 +21774,7 @@ Maximum number of FTP simultaneous connections, 0 for unlimited
#### --ftp-no-check-certificate
-Do not verify the TLS certificate of the server
+Do not verify the TLS certificate of the server.
- Config: no_check_certificate
- Env Var: RCLONE_FTP_NO_CHECK_CERTIFICATE
@@ -20902,7 +21783,7 @@ Do not verify the TLS certificate of the server
#### --ftp-disable-epsv
-Disable using EPSV even if server advertises support
+Disable using EPSV even if server advertises support.
- Config: disable_epsv
- Env Var: RCLONE_FTP_DISABLE_EPSV
@@ -20911,16 +21792,25 @@ Disable using EPSV even if server advertises support
#### --ftp-disable-mlsd
-Disable using MLSD even if server advertises support
+Disable using MLSD even if server advertises support.
- Config: disable_mlsd
- Env Var: RCLONE_FTP_DISABLE_MLSD
- Type: bool
- Default: false
+#### --ftp-writing-mdtm
+
+Use MDTM to set modification time (VsFtpd quirk)
+
+- Config: writing_mdtm
+- Env Var: RCLONE_FTP_WRITING_MDTM
+- Type: bool
+- Default: false
+
#### --ftp-idle-timeout
-Max time before closing idle connections
+Max time before closing idle connections.
If no connections have been returned to the connection pool in the time
given, rclone will empty the connection pool.
@@ -20942,23 +21832,64 @@ Maximum time to wait for a response to close.
- Type: Duration
- Default: 1m0s
+#### --ftp-tls-cache-size
+
+Size of TLS session cache for all control and data connections.
+
+TLS cache allows to resume TLS sessions and reuse PSK between connections.
+Increase if default size is not enough resulting in TLS resumption errors.
+Enabled by default. Use 0 to disable.
+
+- Config: tls_cache_size
+- Env Var: RCLONE_FTP_TLS_CACHE_SIZE
+- Type: int
+- Default: 32
+
+#### --ftp-disable-tls13
+
+Disable TLS 1.3 (workaround for FTP servers with buggy TLS)
+
+- Config: disable_tls13
+- Env Var: RCLONE_FTP_DISABLE_TLS13
+- Type: bool
+- Default: false
+
+#### --ftp-shut-timeout
+
+Maximum time to wait for data connection closing status.
+
+- Config: shut_timeout
+- Env Var: RCLONE_FTP_SHUT_TIMEOUT
+- Type: Duration
+- Default: 1m0s
+
#### --ftp-encoding
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_FTP_ENCODING
- Type: MultiEncoder
- Default: Slash,Del,Ctl,RightSpace,Dot
+- Examples:
+ - "Asterisk,Ctl,Dot,Slash"
+ - ProFTPd can't handle '*' in file names
+ - "BackSlash,Ctl,Del,Dot,RightSpace,Slash,SquareBracket"
+ - PureFTPd can't handle '[]' or '*' in file names
+ - "Ctl,LeftPeriod,Slash"
+ - VsFTPd can't handle file names starting with dot
-### Limitations ###
+## Limitations
-Modified times are not supported. Times you see on the FTP server
-through rclone are those of upload.
+FTP servers acting as rclone remotes must support `passive` mode.
+The mode cannot be configured as `passive` is the only supported one.
+Rclone's FTP implementation is not compatible with `active` mode
+as [the library it uses doesn't support it](https://github.com/jlaffaye/ftp/issues/29).
+This will likely never be supported due to security concerns.
Rclone's FTP backend does not support any checksums but can compare
file sizes.
@@ -20984,34 +21915,33 @@ at present.
The `ftp_proxy` environment variable is not currently supported.
-FTP servers acting as rclone remotes must support 'passive'
-mode. Rclone's FTP implementation is not compatible with 'active'
-mode.
+#### Modified time
-#### Restricted filename characters
+File modification time (timestamps) is supported to 1 second resolution
+for major FTP servers: ProFTPd, PureFTPd, VsFTPd, and FileZilla FTP server.
+The `VsFTPd` server has non-standard implementation of time related protocol
+commands and needs a special configuration setting: `writing_mdtm = true`.
-In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
-the following characters are also replaced:
+Support for precise file time with other FTP servers varies depending on what
+protocol extensions they advertise. If all the `MLSD`, `MDTM` and `MFTM`
+extensions are present, rclone will use them together to provide precise time.
+Otherwise the times you see on the FTP server through rclone are those of the
+last file upload.
-File names cannot end with the following characters. Repacement is
-limited to the last character in a file name:
-
-| Character | Value | Replacement |
-| --------- |:-----:|:-----------:|
-| SP | 0x20 | ␠ |
-
-Not all FTP servers can have all characters in file names, for example:
-
-| FTP Server| Forbidden characters |
-| --------- |:--------------------:|
-| proftpd | `*` |
-| pureftpd | `\ [ ]` |
+You can use the following command to check whether rclone can use precise time
+with your FTP server: `rclone backend features your_ftp_remote:` (the trailing
+colon is important). Look for the number in the line tagged by `Precision`
+designating the remote time precision expressed as nanoseconds. A value of
+`1000000000` means that file time precision of 1 second is available.
+A value of `3153600000000000000` (or another large number) means "unsupported".
# Google Cloud Storage
Paths are specified as `remote:bucket` (or `remote:` for the `lsd`
command.) You may put subdirectories in too, e.g. `remote:bucket/path/to/dir`.
+## Configuration
+
The initial setup for google cloud storage involves getting a token from Google Cloud Storage
which you need to do in your browser. `rclone config` walks you
through it.
@@ -21273,13 +22203,14 @@ Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid
as they can't be used in JSON strings.
-### Standard Options
+### Standard options
Here are the standard options specific to google cloud storage (Google Cloud Storage (this is not Google Drive)).
#### --gcs-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -21289,7 +22220,8 @@ Leave blank normally.
#### --gcs-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -21300,6 +22232,7 @@ Leave blank normally.
#### --gcs-project-number
Project number.
+
Optional - needed only for list/create/delete buckets - see your developer console.
- Config: project_number
@@ -21309,13 +22242,13 @@ Optional - needed only for list/create/delete buckets - see your developer conso
#### --gcs-service-account-file
-Service Account Credentials JSON file path
+Service Account Credentials JSON file path.
+
Leave blank normally.
Needed only if you want use SA instead of interactive login.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
-
- Config: service_account_file
- Env Var: RCLONE_GCS_SERVICE_ACCOUNT_FILE
- Type: string
@@ -21323,7 +22256,8 @@ Leading `~` will be expanded in the file name as will environment variables such
#### --gcs-service-account-credentials
-Service Account Credentials JSON blob
+Service Account Credentials JSON blob.
+
Leave blank normally.
Needed only if you want use SA instead of interactive login.
@@ -21334,7 +22268,8 @@ Needed only if you want use SA instead of interactive login.
#### --gcs-anonymous
-Access public buckets and objects without credentials
+Access public buckets and objects without credentials.
+
Set to 'true' if you just want to download files and don't configure credentials.
- Config: anonymous
@@ -21352,17 +22287,23 @@ Access Control List for new objects.
- Default: ""
- Examples:
- "authenticatedRead"
- - Object owner gets OWNER access, and all Authenticated Users get READER access.
+ - Object owner gets OWNER access.
+ - All Authenticated Users get READER access.
- "bucketOwnerFullControl"
- - Object owner gets OWNER access, and project team owners get OWNER access.
+ - Object owner gets OWNER access.
+ - Project team owners get OWNER access.
- "bucketOwnerRead"
- - Object owner gets OWNER access, and project team owners get READER access.
+ - Object owner gets OWNER access.
+ - Project team owners get READER access.
- "private"
- - Object owner gets OWNER access [default if left blank].
+ - Object owner gets OWNER access.
+ - Default if left blank.
- "projectPrivate"
- - Object owner gets OWNER access, and project team members get access according to their roles.
+ - Object owner gets OWNER access.
+ - Project team members get access according to their roles.
- "publicRead"
- - Object owner gets OWNER access, and all Users get READER access.
+ - Object owner gets OWNER access.
+ - All Users get READER access.
#### --gcs-bucket-acl
@@ -21374,15 +22315,19 @@ Access Control List for new buckets.
- Default: ""
- Examples:
- "authenticatedRead"
- - Project team owners get OWNER access, and all Authenticated Users get READER access.
+ - Project team owners get OWNER access.
+ - All Authenticated Users get READER access.
- "private"
- - Project team owners get OWNER access [default if left blank].
+ - Project team owners get OWNER access.
+ - Default if left blank.
- "projectPrivate"
- Project team members get access according to their roles.
- "publicRead"
- - Project team owners get OWNER access, and all Users get READER access.
+ - Project team owners get OWNER access.
+ - All Users get READER access.
- "publicReadWrite"
- - Project team owners get OWNER access, and all Users get WRITER access.
+ - Project team owners get OWNER access.
+ - All Users get WRITER access.
#### --gcs-bucket-policy-only
@@ -21415,45 +22360,45 @@ Location for the newly created buckets.
- Default: ""
- Examples:
- ""
- - Empty for default location (US).
+ - Empty for default location (US)
- "asia"
- - Multi-regional location for Asia.
+ - Multi-regional location for Asia
- "eu"
- - Multi-regional location for Europe.
+ - Multi-regional location for Europe
- "us"
- - Multi-regional location for United States.
+ - Multi-regional location for United States
- "asia-east1"
- - Taiwan.
+ - Taiwan
- "asia-east2"
- - Hong Kong.
+ - Hong Kong
- "asia-northeast1"
- - Tokyo.
+ - Tokyo
- "asia-south1"
- - Mumbai.
+ - Mumbai
- "asia-southeast1"
- - Singapore.
+ - Singapore
- "australia-southeast1"
- - Sydney.
+ - Sydney
- "europe-north1"
- - Finland.
+ - Finland
- "europe-west1"
- - Belgium.
+ - Belgium
- "europe-west2"
- - London.
+ - London
- "europe-west3"
- - Frankfurt.
+ - Frankfurt
- "europe-west4"
- - Netherlands.
+ - Netherlands
- "us-central1"
- - Iowa.
+ - Iowa
- "us-east1"
- - South Carolina.
+ - South Carolina
- "us-east4"
- - Northern Virginia.
+ - Northern Virginia
- "us-west1"
- - Oregon.
+ - Oregon
- "us-west2"
- - California.
+ - California
#### --gcs-storage-class
@@ -21479,7 +22424,7 @@ The storage class to use when storing objects in Google Cloud Storage.
- "DURABLE_REDUCED_AVAILABILITY"
- Durable reduced availability storage class
-### Advanced Options
+### Advanced options
Here are the advanced options specific to google cloud storage (Google Cloud Storage (this is not Google Drive)).
@@ -21495,6 +22440,7 @@ OAuth Access Token as a JSON blob.
#### --gcs-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -21505,6 +22451,7 @@ Leave blank to use the provider defaults.
#### --gcs-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -21516,7 +22463,7 @@ Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_GCS_ENCODING
@@ -21524,7 +22471,8 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
- Default: Slash,CrLf,InvalidUtf8,Dot
-### Limitations
+
+## Limitations
`rclone about` is not supported by the Google Cloud Storage backend. Backends without
this capability cannot determine free space for an rclone mount or
@@ -21540,6 +22488,8 @@ Paths are specified as `drive:path`
Drive paths may be as deep as required, e.g. `drive:directory/subdirectory`.
+## Configuration
+
The initial setup for drive involves getting a token from Google drive
which you need to do in your browser. `rclone config` walks you
through it.
@@ -21642,7 +22592,7 @@ To copy a local directory to a drive directory called backup
rclone copy /home/source remote:backup
-### Scopes ###
+### Scopes
Rclone allows you to select which scope you would like for rclone to
use. This changes what type of token is granted to rclone. [The
@@ -21651,19 +22601,19 @@ here](https://developers.google.com/drive/v3/web/about-auth).
The scope are
-#### drive ####
+#### drive
This is the default scope and allows full access to all files, except
for the Application Data Folder (see below).
Choose this one if you aren't sure.
-#### drive.readonly ####
+#### drive.readonly
This allows read only access to all files. Files may be listed and
downloaded but not uploaded, renamed or deleted.
-#### drive.file ####
+#### drive.file
With this scope rclone can read/view/modify only those files and
folders it creates.
@@ -21676,19 +22626,19 @@ to be sure confidential data on your drive is not visible to rclone.
Files created with this scope are visible in the web interface.
-#### drive.appfolder ####
+#### drive.appfolder
This gives rclone its own private area to store files. Rclone will
not be able to see any other files on your drive and you won't be able
to see rclone's files from the web interface either.
-#### drive.metadata.readonly ####
+#### drive.metadata.readonly
This allows read only access to file names only. It does not allow
rclone to download or upload data, or rename or delete files or
directories.
-### Root folder ID ###
+### Root folder ID
You can set the `root_folder_id` for rclone. This is the directory
(identified by its `Folder ID`) that rclone considers to be the root
@@ -21721,7 +22671,7 @@ There doesn't appear to be an API to discover the folder IDs of the
Note also that rclone can't access any data under the "Backups" tab on
the google drive web interface yet.
-### Service Account support ###
+### Service Account support
You can set up rclone with Google Drive in an unattended mode,
i.e. not tied to a specific end-user Google account. This is useful
@@ -21736,7 +22686,7 @@ credentials file into the rclone config file, you can set
`service_account_credentials` with the actual contents of the file
instead, or set the equivalent environment variable.
-#### Use case - Google Apps/G-suite account and individual Drive ####
+#### Use case - Google Apps/G-suite account and individual Drive
Let's say that you are the administrator of a Google Apps (old) or
G-suite account.
@@ -21747,7 +22697,7 @@ We'll call the domain **example.com**, and the user
There's a few steps we need to go through to accomplish this:
-##### 1. Create a service account for example.com #####
+##### 1. Create a service account for example.com
- To create a service account and obtain its credentials, go to the
[Google Developer Console](https://console.developers.google.com).
- You must have a project - create one if you don't.
@@ -21762,7 +22712,7 @@ with something that identifies your client. "Role" can be empty.
If you ever need to remove access, press the "Delete service
account key" button.
-##### 2. Allowing API access to example.com Google Drive #####
+##### 2. Allowing API access to example.com Google Drive
- Go to example.com's admin console
- Go into "Security" (or use the search bar)
- Select "Show more" and then "Advanced settings"
@@ -21776,7 +22726,7 @@ It is a ~21 character numerical string.
`https://www.googleapis.com/auth/drive`
to grant access to Google Drive specifically.
-##### 3. Configure rclone, assuming a new install #####
+##### 3. Configure rclone, assuming a new install
```
rclone config
@@ -21789,11 +22739,11 @@ client_secret> # Can be left blank
scope> # Select your scope, 1 for example
root_folder_id> # Can be left blank
service_account_file> /home/foo/myJSONfile.json # This is where the JSON file goes!
-y/n> # Auto config, y
+y/n> # Auto config, n
```
-##### 4. Verify that it's working #####
+##### 4. Verify that it's working
- `rclone -v --drive-impersonate [email protected] lsf gdrive:backup`
- The arguments do:
- `-v` - verbose logging
@@ -21806,10 +22756,10 @@ the folder named backup.
Note: in case you configured a specific root folder on gdrive and rclone is unable to access the contents of that folder when using `--drive-impersonate`, do this instead:
- in the gdrive web interface, share your root folder with the user/email of the new Service Account you created/selected at step #1
- use rclone without specifying the `--drive-impersonate` option, like this:
- `rclone -v [email protected] lsf gdrive:backup`
+ `rclone -v lsf gdrive:backup`
-### Shared drives (team drives) ###
+### Shared drives (team drives)
If you want to configure the remote to point to a Google Shared Drive
(previously known as Team Drives) then answer `y` to the question
@@ -21848,7 +22798,7 @@ d) Delete this remote
y/e/d> y
```
-### --fast-list ###
+### --fast-list
This remote supports `--fast-list` which allows you to use fewer
transactions in exchange for more memory. See the [rclone
@@ -21887,11 +22837,11 @@ large folder (10600 directories, 39000 files):
- without `--fast-list`: 22:05 min
- with `--fast-list`: 58s
-### Modified time ###
+### Modified time
Google drive stores modification times accurate to 1 ms.
-#### Restricted filename characters
+### Restricted filename characters
Only Invalid UTF-8 bytes will be [replaced](https://rclone.org/overview/#invalid-utf8),
as they can't be used in JSON strings.
@@ -21899,7 +22849,7 @@ as they can't be used in JSON strings.
In contrast to other backends, `/` can also be used in names and `.`
or `..` are valid names.
-### Revisions ###
+### Revisions
Google drive stores revisions of files. When you upload a change to
an existing file to google drive using rclone it will create a new
@@ -21911,14 +22861,14 @@ was
* They are deleted after 30 days or 100 revisions (whatever comes first).
* They do not count towards a user storage quota.
-### Deleting files ###
+### Deleting files
By default rclone will send all files to the trash when deleting
files. If deleting them permanently is required then use the
`--drive-use-trash=false` flag, or set the equivalent environment
variable.
-### Shortcuts ###
+### Shortcuts
In March 2020 Google introduced a new feature in Google Drive called
[drive shortcuts](https://support.google.com/drive/answer/9700156)
@@ -21958,7 +22908,7 @@ The [rclone backend](https://rclone.org/commands/rclone_backend/) command can be
Shortcuts can be completely ignored with the `--drive-skip-shortcuts` flag
or the corresponding `skip_shortcuts` configuration setting.
-### Emptying trash ###
+### Emptying trash
If you wish to empty your trash you can use the `rclone cleanup remote:`
command which will permanently delete all your trashed files. This command
@@ -21968,7 +22918,7 @@ Note that Google Drive takes some time (minutes to days) to empty the
trash even though the command returns within a few seconds. No output
is echoed, so there will be no confirmation even using -v or -vv.
-### Quota information ###
+### Quota information
To view your current quota you can use the `rclone about remote:`
command which will display your usage limit (quota), the usage in Google
@@ -21976,7 +22926,7 @@ Drive, the size of all files in the Trash and the space used by other
Google services such as Gmail. This command does not take any path
arguments.
-#### Import/Export of google documents ####
+#### Import/Export of google documents
Google documents can be exported from and uploaded to Google Drive.
@@ -22072,7 +23022,7 @@ Google Documents.
| webloc | macOS specific XML format | macOS |
-### Standard Options
+### Standard options
Here are the standard options specific to drive (Google Drive).
@@ -22090,7 +23040,8 @@ If you leave this blank, it will use an internal key which is low performance.
#### --drive-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -22124,7 +23075,7 @@ Scope that rclone should use when requesting access from drive.
#### --drive-root-folder-id
-ID of the root folder
+ID of the root folder.
Leave blank normally.
Fill in to access "Computers" folders (see docs), or for rclone to use
@@ -22138,13 +23089,13 @@ a non root folder as its starting point.
#### --drive-service-account-file
-Service Account Credentials JSON file path
+Service Account Credentials JSON file path.
+
Leave blank normally.
Needed only if you want use SA instead of interactive login.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
-
- Config: service_account_file
- Env Var: RCLONE_DRIVE_SERVICE_ACCOUNT_FILE
- Type: string
@@ -22152,14 +23103,14 @@ Leading `~` will be expanded in the file name as will environment variables such
#### --drive-alternate-export
-Deprecated: no longer needed
+Deprecated: No longer needed.
- Config: alternate_export
- Env Var: RCLONE_DRIVE_ALTERNATE_EXPORT
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to drive (Google Drive).
@@ -22175,6 +23126,7 @@ OAuth Access Token as a JSON blob.
#### --drive-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -22185,6 +23137,7 @@ Leave blank to use the provider defaults.
#### --drive-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -22194,7 +23147,8 @@ Leave blank to use the provider defaults.
#### --drive-service-account-credentials
-Service Account Credentials JSON blob
+Service Account Credentials JSON blob.
+
Leave blank normally.
Needed only if you want use SA instead of interactive login.
@@ -22205,7 +23159,7 @@ Needed only if you want use SA instead of interactive login.
#### --drive-team-drive
-ID of the Shared Drive (Team Drive)
+ID of the Shared Drive (Team Drive).
- Config: team_drive
- Env Var: RCLONE_DRIVE_TEAM_DRIVE
@@ -22224,6 +23178,7 @@ Only consider files owned by the authenticated user.
#### --drive-use-trash
Send files to the trash instead of deleting permanently.
+
Defaults to true, namely sending files to the trash.
Use `--drive-use-trash=false` to delete files permanently instead.
@@ -22235,6 +23190,7 @@ Use `--drive-use-trash=false` to delete files permanently instead.
#### --drive-skip-gdocs
Skip google documents in all listings.
+
If given, gdocs practically become invisible to rclone.
- Config: skip_gdocs
@@ -22281,6 +23237,7 @@ commands (copy, sync, etc.), and with all other commands too.
#### --drive-trashed-only
Only show files that are in the trash.
+
This will show trashed files in their original directory structure.
- Config: trashed_only
@@ -22299,7 +23256,7 @@ Only show files that are starred.
#### --drive-formats
-Deprecated: see export_formats
+Deprecated: See export_formats.
- Config: formats
- Env Var: RCLONE_DRIVE_FORMATS
@@ -22326,7 +23283,9 @@ Comma separated list of preferred formats for uploading Google docs.
#### --drive-allow-import-name-change
-Allow the filetype to change when uploading Google docs (e.g. file.doc to file.docx). This will confuse sync and reupload every time.
+Allow the filetype to change when uploading Google docs.
+
+E.g. file.doc to file.docx. This will confuse sync and reupload every time.
- Config: allow_import_name_change
- Env Var: RCLONE_DRIVE_ALLOW_IMPORT_NAME_CHANGE
@@ -22335,7 +23294,7 @@ Allow the filetype to change when uploading Google docs (e.g. file.doc to file.d
#### --drive-use-created-date
-Use file created date instead of modified date.,
+Use file created date instead of modified date.
Useful when downloading data and you want the creation date used in
place of the last modified date.
@@ -22375,7 +23334,7 @@ date is used.
#### --drive-list-chunk
-Size of listing chunk 100-1000. 0 to disable.
+Size of listing chunk 100-1000, 0 to disable.
- Config: list_chunk
- Env Var: RCLONE_DRIVE_LIST_CHUNK
@@ -22393,7 +23352,7 @@ Impersonate this user when using a service account.
#### --drive-upload-cutoff
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
- Config: upload_cutoff
- Env Var: RCLONE_DRIVE_UPLOAD_CUTOFF
@@ -22402,7 +23361,9 @@ Cutoff for switching to chunked upload
#### --drive-chunk-size
-Upload chunk size. Must a power of 2 >= 256k.
+Upload chunk size.
+
+Must a power of 2 >= 256k.
Making this larger will improve performance, but note that each chunk
is buffered in memory one per transfer.
@@ -22503,7 +23464,7 @@ configurations.
#### --drive-disable-http2
-Disable drive using http2
+Disable drive using http2.
There is currently an unsolved issue with the google drive backend and
HTTP/2. HTTP/2 is therefore disabled by default for the drive backend
@@ -22521,7 +23482,7 @@ See: https://github.com/rclone/rclone/issues/3631
#### --drive-stop-on-upload-limit
-Make upload limit errors be fatal
+Make upload limit errors be fatal.
At the time of writing it is only possible to upload 750 GiB of data to
Google Drive a day (this is an undocumented limit). When this limit is
@@ -22542,7 +23503,7 @@ See: https://github.com/rclone/rclone/issues/3857
#### --drive-stop-on-download-limit
-Make download limit errors be fatal
+Make download limit errors be fatal.
At the time of writing it is only possible to download 10 TiB of data from
Google Drive a day (this is an undocumented limit). When this limit is
@@ -22561,7 +23522,7 @@ Google don't document so it may break in the future.
#### --drive-skip-shortcuts
-If set skip shortcut files
+If set skip shortcut files.
Normally rclone dereferences shortcut files making them appear as if
they are the original file (see [the shortcuts section](#shortcuts)).
@@ -22577,14 +23538,14 @@ If this flag is set then rclone will ignore shortcut files completely.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_DRIVE_ENCODING
- Type: MultiEncoder
- Default: InvalidUtf8
-### Backend commands
+## Backend commands
Here are the commands specific to the drive backend.
@@ -22600,7 +23561,7 @@ info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](https://rclone.org/rc/#backend/command).
-#### get
+### get
Get command for fetching the drive config parameters
@@ -22619,7 +23580,7 @@ Options:
- "chunk_size": show the current upload chunk size
- "service_account_file": show the current service account file
-#### set
+### set
Set command for updating the drive config parameters
@@ -22638,7 +23599,7 @@ Options:
- "chunk_size": update the current upload chunk size
- "service_account_file": update the current service account file
-#### shortcut
+### shortcut
Create shortcuts from files or directories
@@ -22666,7 +23627,7 @@ Options:
- "target": optional target remote for the shortcut destination
-#### drives
+### drives
List the Shared Drives available to this account
@@ -22677,7 +23638,7 @@ account.
Usage:
- rclone backend drives drive:
+ rclone backend [-o config] drives drive:
This will return a JSON list of objects like this
@@ -22694,9 +23655,25 @@ This will return a JSON list of objects like this
}
]
+With the -o config parameter it will output the list in a format
+suitable for adding to a config file to make aliases for all the
+drives found.
+
+ [My Drive]
+ type = alias
+ remote = drive,team_drive=0ABCDEF-01234567890,root_folder_id=:
+
+ [Test Drive]
+ type = alias
+ remote = drive,team_drive=0ABCDEFabcdefghijkl,root_folder_id=:
+
+Adding this to the rclone config file will cause those team drives to
+be accessible with the aliases shown. This may require manual editing
+of the names.
-#### untrash
+
+### untrash
Untrash files and directories
@@ -22723,7 +23700,7 @@ Result:
}
-#### copyid
+### copyid
Copy files by ID
@@ -22752,11 +23729,11 @@ Use the -i flag to see what would be copied before copying.
-### Limitations ###
+## Limitations
Drive has quite a lot of rate limiting. This causes rclone to be
limited to transferring about 2 files per second only. Individual
-files may be transferred much faster at 100s of MiByte/s but lots of
+files may be transferred much faster at 100s of MiB/s but lots of
small files can take a long time.
Server side copies are also subject to a separate rate limit. If you
@@ -22764,7 +23741,7 @@ see User rate limit exceeded errors, wait at least 24 hours and retry.
You can disable server-side copies with `--disable copy` to download
and upload the files if you prefer.
-#### Limitations of Google Docs ####
+### Limitations of Google Docs
Google docs will appear as size -1 in `rclone ls` and as size 0 in
anything which uses the VFS layer, e.g. `rclone mount`, `rclone serve`.
@@ -22782,7 +23759,7 @@ correct size and be downloadable. Whether it will work on not depends
on the application accessing the mount and the OS you are running -
experiment to find out if it does work for you!
-### Duplicated files ###
+### Duplicated files
Sometimes, for no reason I've been able to track down, drive will
duplicate a file that rclone uploads. Drive unlike all the other
@@ -22796,7 +23773,7 @@ Use `rclone dedupe` to fix duplicated files.
Note that this isn't just a problem with rclone, even Google Photos on
Android duplicates files on drive sometimes.
-### Rclone appears to be re-copying files it shouldn't ###
+### Rclone appears to be re-copying files it shouldn't
The most likely cause of this is the duplicated file issue above - run
`rclone dedupe` and check your logs for duplicate object or directory
@@ -22811,7 +23788,7 @@ Waiting a moderate period of time between attempts (estimated to be
approximately 1 hour) and/or not using --fast-list both seem to be
effective in preventing the problem.
-### Making your own client_id ###
+## Making your own client_id
When you use rclone with Google drive in its default configuration you
are using rclone's client_id. This is shared between all the rclone
@@ -22851,8 +23828,7 @@ of "External" above, but this has not been tested/documented so far).
6. Click on the "+ CREATE CREDENTIALS" button at the top of the screen,
then select "OAuth client ID".
-7. Choose an application type of "Desktop app" if you using a Google account or "Other" if
-you using a GSuite account and click "Create". (the default name is fine)
+7. Choose an application type of "Desktop app" and click "Create". (the default name is fine)
8. It will show you a client ID and client secret. Make a note of these.
@@ -22860,6 +23836,9 @@ you using a GSuite account and click "Create". (the default name is fine)
10. Provide the noted client ID and client secret to rclone.
+11. Click "OAuth consent screen", then click "PUBLISH APP" button and
+confirm, or add your account under "Test users".
+
Be aware that, due to the "enhanced security" recently introduced by
Google, you are theoretically expected to "submit your app for verification"
and then wait a few weeks(!) for their response; in practice, you can go right
@@ -22887,7 +23866,7 @@ Google Photos.
limitations, so please read the [limitations section](#limitations)
carefully to make sure it is suitable for your use.
-## Configuring Google Photos
+## Configuration
The initial setup for google cloud storage involves getting a token from Google Photos
which you need to do in your browser. `rclone config` walks you
@@ -22987,7 +23966,7 @@ files in the album.
rclone sync -i /home/local/image remote:album/newAlbum
-## Layout
+### Layout
As Google Photos is not a general purpose cloud storage system the
backend is laid out to help you navigate it.
@@ -23095,6 +24074,138 @@ filesystem and it is a good target for repeated syncing.
The `shared-album` directory shows albums shared with you or by you.
This is similar to the Sharing tab in the Google Photos web interface.
+
+### Standard options
+
+Here are the standard options specific to google photos (Google Photos).
+
+#### --gphotos-client-id
+
+OAuth Client Id.
+
+Leave blank normally.
+
+- Config: client_id
+- Env Var: RCLONE_GPHOTOS_CLIENT_ID
+- Type: string
+- Default: ""
+
+#### --gphotos-client-secret
+
+OAuth Client Secret.
+
+Leave blank normally.
+
+- Config: client_secret
+- Env Var: RCLONE_GPHOTOS_CLIENT_SECRET
+- Type: string
+- Default: ""
+
+#### --gphotos-read-only
+
+Set to make the Google Photos backend read only.
+
+If you choose read only then rclone will only request read only access
+to your photos, otherwise rclone will request full access.
+
+- Config: read_only
+- Env Var: RCLONE_GPHOTOS_READ_ONLY
+- Type: bool
+- Default: false
+
+### Advanced options
+
+Here are the advanced options specific to google photos (Google Photos).
+
+#### --gphotos-token
+
+OAuth Access Token as a JSON blob.
+
+- Config: token
+- Env Var: RCLONE_GPHOTOS_TOKEN
+- Type: string
+- Default: ""
+
+#### --gphotos-auth-url
+
+Auth server URL.
+
+Leave blank to use the provider defaults.
+
+- Config: auth_url
+- Env Var: RCLONE_GPHOTOS_AUTH_URL
+- Type: string
+- Default: ""
+
+#### --gphotos-token-url
+
+Token server url.
+
+Leave blank to use the provider defaults.
+
+- Config: token_url
+- Env Var: RCLONE_GPHOTOS_TOKEN_URL
+- Type: string
+- Default: ""
+
+#### --gphotos-read-size
+
+Set to read the size of media items.
+
+Normally rclone does not read the size of media items since this takes
+another transaction. This isn't necessary for syncing. However
+rclone mount needs to know the size of files in advance of reading
+them, so setting this flag when using rclone mount is recommended if
+you want to read the media.
+
+- Config: read_size
+- Env Var: RCLONE_GPHOTOS_READ_SIZE
+- Type: bool
+- Default: false
+
+#### --gphotos-start-year
+
+Year limits the photos to be downloaded to those which are uploaded after the given year.
+
+- Config: start_year
+- Env Var: RCLONE_GPHOTOS_START_YEAR
+- Type: int
+- Default: 2000
+
+#### --gphotos-include-archived
+
+Also view and download archived media.
+
+By default rclone does not request archived media. Thus, when syncing,
+archived media is not visible in directory listings or transferred.
+
+Note that media in albums is always visible and synced, no matter
+their archive status.
+
+With this flag, archived media are always visible in directory
+listings and transferred.
+
+Without this flag, archived media will not be visible in directory
+listings and won't be transferred.
+
+- Config: include_archived
+- Env Var: RCLONE_GPHOTOS_INCLUDE_ARCHIVED
+- Type: bool
+- Default: false
+
+#### --gphotos-encoding
+
+This sets the encoding for the backend.
+
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+
+- Config: encoding
+- Env Var: RCLONE_GPHOTOS_ENCODING
+- Type: MultiEncoder
+- Default: Slash,CrLf,InvalidUtf8,Dot
+
+
+
## Limitations
Only images and videos can be uploaded. If you attempt to upload non
@@ -23189,122 +24300,331 @@ Rclone cannot delete files anywhere except under `album`.
The Google Photos API does not support deleting albums - see [bug #135714733](https://issuetracker.google.com/issues/135714733).
+# Hasher (EXPERIMENTAL)
-### Standard Options
+Hasher is a special overlay backend to create remotes which handle
+checksums for other remotes. It's main functions include:
+- Emulate hash types unimplemented by backends
+- Cache checksums to help with slow hashing of large local or (S)FTP files
+- Warm up checksum cache from external SUM files
-Here are the standard options specific to google photos (Google Photos).
+## Getting started
-#### --gphotos-client-id
+To use Hasher, first set up the underlying remote following the configuration
+instructions for that remote. You can also use a local pathname instead of
+a remote. Check that your base remote is working.
-OAuth Client Id
-Leave blank normally.
+Let's call the base remote `myRemote:path` here. Note that anything inside
+`myRemote:path` will be handled by hasher and anything outside won't.
+This means that if you are using a bucket based remote (S3, B2, Swift)
+then you should put the bucket in the remote `s3:bucket`.
-- Config: client_id
-- Env Var: RCLONE_GPHOTOS_CLIENT_ID
-- Type: string
-- Default: ""
+Now proceed to interactive or manual configuration.
-#### --gphotos-client-secret
+### Interactive configuration
-OAuth Client Secret
-Leave blank normally.
+Run `rclone config`:
+```
+No remotes found - make a new one
+n) New remote
+s) Set configuration password
+q) Quit config
+n/s/q> n
+name> Hasher1
+Type of storage to configure.
+Choose a number from below, or type in your own value
+[snip]
+XX / Handle checksums for other remotes
+ \ "hasher"
+[snip]
+Storage> hasher
+Remote to cache checksums for, like myremote:mypath.
+Enter a string value. Press Enter for the default ("").
+remote> myRemote:path
+Comma separated list of supported checksum types.
+Enter a string value. Press Enter for the default ("md5,sha1").
+hashsums> md5
+Maximum time to keep checksums in cache. 0 = no cache, off = cache forever.
+max_age> off
+Edit advanced config? (y/n)
+y) Yes
+n) No
+y/n> n
+Remote config
+--------------------
+[Hasher1]
+type = hasher
+remote = myRemote:path
+hashsums = md5
+max_age = off
+--------------------
+y) Yes this is OK
+e) Edit this remote
+d) Delete this remote
+y/e/d> y
+```
-- Config: client_secret
-- Env Var: RCLONE_GPHOTOS_CLIENT_SECRET
-- Type: string
-- Default: ""
+### Manual configuration
-#### --gphotos-read-only
+Run `rclone config path` to see the path of current active config file,
+usually `YOURHOME/.config/rclone/rclone.conf`.
+Open it in your favorite text editor, find section for the base remote
+and create new section for hasher like in the following examples:
-Set to make the Google Photos backend read only.
+```
+[Hasher1]
+type = hasher
+remote = myRemote:path
+hashes = md5
+max_age = off
-If you choose read only then rclone will only request read only access
-to your photos, otherwise rclone will request full access.
+[Hasher2]
+type = hasher
+remote = /local/path
+hashes = dropbox,sha1
+max_age = 24h
+```
-- Config: read_only
-- Env Var: RCLONE_GPHOTOS_READ_ONLY
-- Type: bool
-- Default: false
+Hasher takes basically the following parameters:
+- `remote` is required,
+- `hashes` is a comma separated list of supported checksums
+ (by default `md5,sha1`),
+- `max_age` - maximum time to keep a checksum value in the cache,
+ `0` will disable caching completely,
+ `off` will cache "forever" (that is until the files get changed).
-### Advanced Options
+Make sure the `remote` has `:` (colon) in. If you specify the remote without
+a colon then rclone will use a local directory of that name. So if you use
+a remote of `/local/path` then rclone will handle hashes for that directory.
+If you use `remote = name` literally then rclone will put files
+**in a directory called `name` located under current directory**.
-Here are the advanced options specific to google photos (Google Photos).
+## Usage
-#### --gphotos-token
+### Basic operations
-OAuth Access Token as a JSON blob.
+Now you can use it as `Hasher2:subdir/file` instead of base remote.
+Hasher will transparently update cache with new checksums when a file
+is fully read or overwritten, like:
+```
+rclone copy External:path/file Hasher:dest/path
-- Config: token
-- Env Var: RCLONE_GPHOTOS_TOKEN
-- Type: string
-- Default: ""
+rclone cat Hasher:path/to/file > /dev/null
+```
-#### --gphotos-auth-url
+The way to refresh **all** cached checksums (even unsupported by the base backend)
+for a subtree is to **re-download** all files in the subtree. For example,
+use `hashsum --download` using **any** supported hashsum on the command line
+(we just care to re-read):
+```
+rclone hashsum MD5 --download Hasher:path/to/subtree > /dev/null
-Auth server URL.
-Leave blank to use the provider defaults.
+rclone backend dump Hasher:path/to/subtree
+```
-- Config: auth_url
-- Env Var: RCLONE_GPHOTOS_AUTH_URL
-- Type: string
-- Default: ""
+You can print or drop hashsum cache using custom backend commands:
+```
+rclone backend dump Hasher:dir/subdir
-#### --gphotos-token-url
+rclone backend drop Hasher:
+```
-Token server url.
-Leave blank to use the provider defaults.
+### Pre-Seed from a SUM File
-- Config: token_url
-- Env Var: RCLONE_GPHOTOS_TOKEN_URL
+Hasher supports two backend commands: generic SUM file `import` and faster
+but less consistent `stickyimport`.
+
+```
+rclone backend import Hasher:dir/subdir SHA1 /path/to/SHA1SUM [--checkers 4]
+```
+
+Instead of SHA1 it can be any hash supported by the remote. The last argument
+can point to either a local or an `other-remote:path` text file in SUM format.
+The command will parse the SUM file, then walk down the path given by the
+first argument, snapshot current fingerprints and fill in the cache entries
+correspondingly.
+- Paths in the SUM file are treated as relative to `hasher:dir/subdir`.
+- The command will **not** check that supplied values are correct.
+ You **must know** what you are doing.
+- This is a one-time action. The SUM file will not get "attached" to the
+ remote. Cache entries can still be overwritten later, should the object's
+ fingerprint change.
+- The tree walk can take long depending on the tree size. You can increase
+ `--checkers` to make it faster. Or use `stickyimport` if you don't care
+ about fingerprints and consistency.
+
+```
+rclone backend stickyimport hasher:path/to/data sha1 remote:/path/to/sum.sha1
+```
+
+`stickyimport` is similar to `import` but works much faster because it
+does not need to stat existing files and skips initial tree walk.
+Instead of binding cache entries to file fingerprints it creates _sticky_
+entries bound to the file name alone ignoring size, modification time etc.
+Such hash entries can be replaced only by `purge`, `delete`, `backend drop`
+or by full re-read/re-write of the files.
+
+## Configuration reference
+
+
+### Standard options
+
+Here are the standard options specific to hasher (Better checksums for other remotes).
+
+#### --hasher-remote
+
+Remote to cache checksums for (e.g. myRemote:path).
+
+- Config: remote
+- Env Var: RCLONE_HASHER_REMOTE
- Type: string
- Default: ""
-#### --gphotos-read-size
+#### --hasher-hashes
-Set to read the size of media items.
+Comma separated list of supported checksum types.
-Normally rclone does not read the size of media items since this takes
-another transaction. This isn't necessary for syncing. However
-rclone mount needs to know the size of files in advance of reading
-them, so setting this flag when using rclone mount is recommended if
-you want to read the media.
+- Config: hashes
+- Env Var: RCLONE_HASHER_HASHES
+- Type: CommaSepList
+- Default: md5,sha1
-- Config: read_size
-- Env Var: RCLONE_GPHOTOS_READ_SIZE
-- Type: bool
-- Default: false
+#### --hasher-max-age
-#### --gphotos-start-year
+Maximum time to keep checksums in cache (0 = no cache, off = cache forever).
-Year limits the photos to be downloaded to those which are uploaded after the given year
+- Config: max_age
+- Env Var: RCLONE_HASHER_MAX_AGE
+- Type: Duration
+- Default: off
-- Config: start_year
-- Env Var: RCLONE_GPHOTOS_START_YEAR
-- Type: int
-- Default: 2000
+### Advanced options
-#### --gphotos-include-archived
+Here are the advanced options specific to hasher (Better checksums for other remotes).
-Also view and download archived media.
+#### --hasher-auto-size
-By default rclone does not request archived media. Thus, when syncing,
-archived media is not visible in directory listings or transferred.
+Auto-update checksum for files smaller than this size (disabled by default).
-Note that media in albums is always visible and synced, no matter
-their archive status.
+- Config: auto_size
+- Env Var: RCLONE_HASHER_AUTO_SIZE
+- Type: SizeSuffix
+- Default: 0
-With this flag, archived media are always visible in directory
-listings and transferred.
+## Backend commands
-Without this flag, archived media will not be visible in directory
-listings and won't be transferred.
+Here are the commands specific to the hasher backend.
+
+Run them with
+
+ rclone backend COMMAND remote:
+
+The help below will explain what arguments each command takes.
+
+See [the "rclone backend" command](https://rclone.org/commands/rclone_backend/) for more
+info on how to pass options and arguments.
+
+These can be run on a running backend using the rc command
+[backend/command](https://rclone.org/rc/#backend/command).
+
+### drop
+
+Drop cache
+
+ rclone backend drop remote: [options] [<arguments>+]
+
+Completely drop checksum cache.
+Usage Example:
+ rclone backend drop hasher:
+
+
+### dump
+
+Dump the database
+
+ rclone backend dump remote: [options] [<arguments>+]
+
+Dump cache records covered by the current remote
+
+### fulldump
+
+Full dump of the database
+
+ rclone backend fulldump remote: [options] [<arguments>+]
+
+Dump all cache records in the database
+
+### import
+
+Import a SUM file
+
+ rclone backend import remote: [options] [<arguments>+]
+
+Amend hash cache from a SUM file and bind checksums to files by size/time.
+Usage Example:
+ rclone backend import hasher:subdir md5 /path/to/sum.md5
-- Config: include_archived
-- Env Var: RCLONE_GPHOTOS_INCLUDE_ARCHIVED
-- Type: bool
-- Default: false
+### stickyimport
+Perform fast import of a SUM file
+
+ rclone backend stickyimport remote: [options] [<arguments>+]
+
+Fill hash cache from a SUM file without verifying file fingerprints.
+Usage Example:
+ rclone backend stickyimport hasher:subdir md5 remote:path/to/sum.md5
+
+
+
+
+## Implementation details (advanced)
+
+This section explains how various rclone operations work on a hasher remote.
+
+**Disclaimer. This section describes current implementation which can
+change in future rclone versions!.**
+
+### Hashsum command
+
+The `rclone hashsum` (or `md5sum` or `sha1sum`) command will:
+
+1. if requested hash is supported by lower level, just pass it.
+2. if object size is below `auto_size` then download object and calculate
+ _requested_ hashes on the fly.
+3. if unsupported and the size is big enough, build object `fingerprint`
+ (including size, modtime if supported, first-found _other_ hash if any).
+4. if the strict match is found in cache for the requested remote, return
+ the stored hash.
+5. if remote found but fingerprint mismatched, then purge the entry and
+ proceed to step 6.
+6. if remote not found or had no requested hash type or after step 5:
+ download object, calculate all _supported_ hashes on the fly and store
+ in cache; return requested hash.
+
+### Other operations
+
+- whenever a file is uploaded or downloaded **in full**, capture the stream
+ to calculate all supported hashes on the fly and update database
+- server-side `move` will update keys of existing cache entries
+- `deletefile` will remove a single cache entry
+- `purge` will remove all cache entries under the purged path
+
+Note that setting `max_age = 0` will disable checksum caching completely.
+
+If you set `max_age = off`, checksums in cache will never age, unless you
+fully rewrite or delete the file.
+
+### Cache storage
+
+Cached checksums are stored as `bolt` database files under rclone cache
+directory, usually `~/.cache/rclone/kv/`. Databases are maintained
+one per _base_ backend, named like `BaseRemote~hasher.bolt`.
+Checksums for multiple `alias`-es into a single base backend
+will be stored in the single database. All local paths are treated as
+aliases into the `local` backend (unless crypted or chunked) and stored
+in `~/.cache/rclone/kv/local~hasher.bolt`.
+Databases can be shared between multiple rclone processes.
# HDFS
@@ -23313,6 +24633,8 @@ distributed file-system, part of the [Apache Hadoop](https://hadoop.apache.org/)
Paths are specified as `remote:` or `remote:path/to/dir`.
+## Configuration
+
Here is an example of how to make a remote called `remote`. First run:
rclone config
@@ -23449,31 +24771,25 @@ the following characters are also replaced:
Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8).
-### Limitations
-
-- No server-side `Move` or `DirMove`.
-- Checksums not implemented.
-
-### Standard Options
+### Standard options
Here are the standard options specific to hdfs (Hadoop distributed file system).
#### --hdfs-namenode
-hadoop name node and port
+Hadoop name node and port.
+
+E.g. "namenode:8020" to connect to host namenode at port 8020.
- Config: namenode
- Env Var: RCLONE_HDFS_NAMENODE
- Type: string
- Default: ""
-- Examples:
- - "namenode:8020"
- - Connect to host namenode at port 8020
#### --hdfs-username
-hadoop user name
+Hadoop user name.
- Config: username
- Env Var: RCLONE_HDFS_USERNAME
@@ -23481,30 +24797,28 @@ hadoop user name
- Default: ""
- Examples:
- "root"
- - Connect to hdfs as root
+ - Connect to hdfs as root.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to hdfs (Hadoop distributed file system).
#### --hdfs-service-principal-name
-Kerberos service principal name for the namenode
+Kerberos service principal name for the namenode.
Enables KERBEROS authentication. Specifies the Service Principal Name
-(SERVICE/FQDN) for the namenode.
+(SERVICE/FQDN) for the namenode. E.g. \"hdfs/namenode.hadoop.docker\"
+for namenode running as service 'hdfs' with FQDN 'namenode.hadoop.docker'.
- Config: service_principal_name
- Env Var: RCLONE_HDFS_SERVICE_PRINCIPAL_NAME
- Type: string
- Default: ""
-- Examples:
- - "hdfs/namenode.hadoop.docker"
- - Namenode running as service 'hdfs' with FQDN 'namenode.hadoop.docker'.
#### --hdfs-data-transfer-protection
-Kerberos data transfer protection: authentication|integrity|privacy
+Kerberos data transfer protection: authentication|integrity|privacy.
Specifies whether or not authentication, data signature integrity
checks, and wire encryption is required when communicating the the
@@ -23523,7 +24837,7 @@ datanodes. Possible values are 'authentication', 'integrity' and
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_HDFS_ENCODING
@@ -23532,6 +24846,11 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
+## Limitations
+
+- No server-side `Move` or `DirMove`.
+- Checksums not implemented.
+
# HTTP
The HTTP remote is a read only remote for reading files of a
@@ -23543,6 +24862,8 @@ issue, or send a pull request!)
Paths are specified as `remote:` or `remote:path/to/dir`.
+## Configuration
+
Here is an example of how to make a remote called `remote`. First
run:
@@ -23628,33 +24949,30 @@ without a config file:
rclone lsd --http-url https://beta.rclone.org :http:
-### Standard Options
+### Standard options
Here are the standard options specific to http (http Connection).
#### --http-url
-URL of http host to connect to
+URL of http host to connect to.
+
+E.g. "https://example.com", or "https://user:[email protected]" to use a username and password.
- Config: url
- Env Var: RCLONE_HTTP_URL
- Type: string
- Default: ""
-- Examples:
- - "https://example.com"
- - Connect to example.com
- - "https://user:[email protected]"
- - Connect to example.com using a username and password
-### Advanced Options
+### Advanced options
Here are the advanced options specific to http (http Connection).
#### --http-headers
-Set HTTP headers for all transactions
+Set HTTP headers for all transactions.
-Use this to set additional HTTP headers for all transactions
+Use this to set additional HTTP headers for all transactions.
The input format is comma separated list of key,value pairs. Standard
[CSV encoding](https://godoc.org/encoding/csv) may be used.
@@ -23671,7 +24989,7 @@ You can set multiple headers, e.g. '"Cookie","name=value","Authorization","xxx"'
#### --http-no-slash
-Set this if the site doesn't end directories with /
+Set this if the site doesn't end directories with /.
Use this if your target website does not use / on the end of
directories.
@@ -23691,7 +25009,7 @@ directories.
#### --http-no-head
-Don't use HEAD requests to find file sizes in dir listing
+Don't use HEAD requests to find file sizes in dir listing.
If your site is being very slow to load then you can try this option.
Normally rclone does a HEAD request for each potential file in a
@@ -23714,7 +25032,8 @@ If you set this option, rclone will not do the HEAD request. This will mean
- Default: false
-### Limitations
+
+## Limitations
`rclone about` is not supported by the HTTP backend. Backends without
this capability cannot determine free space for an rclone mount or
@@ -23731,6 +25050,8 @@ Paths are specified as `remote:path`
Paths are specified as `remote:container` (or `remote:` for the `lsd`
command.) You may put subdirectories in too, e.g. `remote:container/path/to/dir`.
+## Configuration
+
The initial setup for Hubic involves getting a token from Hubic which
you need to do in your browser. `rclone config` walks you through it.
@@ -23826,13 +25147,14 @@ Note that Hubic wraps the Swift backend, so most of the properties of
are the same.
-### Standard Options
+### Standard options
Here are the standard options specific to hubic (Hubic).
#### --hubic-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -23842,7 +25164,8 @@ Leave blank normally.
#### --hubic-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -23850,7 +25173,7 @@ Leave blank normally.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to hubic (Hubic).
@@ -23866,6 +25189,7 @@ OAuth Access Token as a JSON blob.
#### --hubic-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -23876,6 +25200,7 @@ Leave blank to use the provider defaults.
#### --hubic-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -23917,7 +25242,7 @@ copy operations.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_HUBIC_ENCODING
@@ -23926,7 +25251,7 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
-### Limitations ###
+## Limitations
This uses the normal OpenStack Swift mechanism to refresh the Swift
API credentials and ignores the expires field returned by the Hubic
@@ -23938,39 +25263,55 @@ MD5SUM for these.
# Jottacloud
-Jottacloud is a cloud storage service provider from a Norwegian company, using its own datacenters in Norway.
-
-In addition to the official service at [jottacloud.com](https://www.jottacloud.com/), there are
-also several whitelabel versions which should work with this backend.
+Jottacloud is a cloud storage service provider from a Norwegian company, using its own datacenters
+in Norway. In addition to the official service at [jottacloud.com](https://www.jottacloud.com/),
+it also provides white-label solutions to different companies, such as:
+* Telia
+ * Telia Cloud (cloud.telia.se)
+ * Telia Sky (sky.telia.no)
+* Tele2
+ * Tele2 Cloud (mittcloud.tele2.se)
+* Elkjøp (with subsidiaries):
+ * Elkjøp Cloud (cloud.elkjop.no)
+ * Elgiganten Sweden (cloud.elgiganten.se)
+ * Elgiganten Denmark (cloud.elgiganten.dk)
+ * Giganti Cloud (cloud.gigantti.fi)
+ * ELKO Clouud (cloud.elko.is)
+
+Most of the white-label versions are supported by this backend, although may require different
+authentication setup - described below.
Paths are specified as `remote:path`
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
-## Setup
+## Authentication types
+
+Some of the whitelabel versions uses a different authentication method than the official service,
+and you have to choose the correct one when setting up the remote.
-### Default Setup
+### Standard authentication
To configure Jottacloud you will need to generate a personal security token in the Jottacloud web interface.
You will the option to do in your [account security settings](https://www.jottacloud.com/web/secure)
(for whitelabel version you need to find this page in its web interface).
Note that the web interface may refer to this token as a JottaCli token.
-### Legacy Setup
+### Legacy authentication
-If you are using one of the whitelabel versions (Elgiganten, Com Hem Cloud) you may not have the option
+If you are using one of the whitelabel versions (e.g. from Elkjøp or Tele2) you may not have the option
to generate a CLI token. In this case you'll have to use the legacy authentication. To to this select
yes when the setup asks for legacy authentication and enter your username and password.
The rest of the setup is identical to the default setup.
-### Telia Cloud Setup
+### Telia Cloud authentication
Similar to other whitelabel versions Telia Cloud doesn't offer the option of creating a CLI token, and
additionally uses a separate authentication flow where the username is generated internally. To setup
rclone to use Telia Cloud, choose Telia Cloud authentication in the setup. The rest of the setup is
identical to the default setup.
-### Example
+## Configuration
Here is an example of how to make a remote called `remote` with the default setup. First run:
@@ -24097,7 +25438,7 @@ true for crypted remotes (in older versions the crypt backend would not
calculate hashes for uploads from local disk, so the Jottacloud
backend had to do it as described above).
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -24137,7 +25478,7 @@ command which will display your usage limit (unless it is unlimited)
and the current usage.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to jottacloud (Jottacloud).
@@ -24153,6 +25494,7 @@ Files bigger than this will be cached on disk to calculate the MD5 if required.
#### --jottacloud-trashed-only
Only show files that are in the trash.
+
This will show trashed files in their original directory structure.
- Config: trashed_only
@@ -24191,7 +25533,7 @@ Avoid server side versioning by deleting files and recreating files instead of o
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_JOTTACLOUD_ENCODING
@@ -24200,7 +25542,7 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
-### Limitations
+## Limitations
Note that Jottacloud is case insensitive so you can't have a file called
"Hello.doc" and one called "hello.doc".
@@ -24210,7 +25552,7 @@ looking unicode equivalent. For example if a file has a ? in it will be mapped t
Jottacloud only supports filenames up to 255 characters in length.
-### Troubleshooting
+## Troubleshooting
Jottacloud exhibits some inconsistent behaviours regarding deleted files and folders which may cause Copy, Move and DirMove
operations to previously deleted paths to fail. Emptying the trash should help in such cases.
@@ -24221,6 +25563,8 @@ Paths are specified as `remote:path`
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
+## Configuration
+
The initial setup for Koofr involves creating an application password for
rclone. You can do that by opening the Koofr
[web application](https://app.koofr.net/app/admin/preferences/password),
@@ -24296,7 +25640,7 @@ To copy a local directory to an Koofr directory called backup
rclone copy /home/source remote:backup
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -24309,13 +25653,13 @@ Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid
as they can't be used in XML strings.
-### Standard Options
+### Standard options
Here are the standard options specific to koofr (Koofr).
#### --koofr-user
-Your Koofr user name
+Your Koofr user name.
- Config: user
- Env Var: RCLONE_KOOFR_USER
@@ -24324,7 +25668,7 @@ Your Koofr user name
#### --koofr-password
-Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password)
+Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password).
**NB** Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).
@@ -24333,13 +25677,13 @@ Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to koofr (Koofr).
#### --koofr-endpoint
-The Koofr API endpoint to use
+The Koofr API endpoint to use.
- Config: endpoint
- Env Var: RCLONE_KOOFR_ENDPOINT
@@ -24348,7 +25692,9 @@ The Koofr API endpoint to use
#### --koofr-mountid
-Mount ID of the mount to use. If omitted, the primary mount is used.
+Mount ID of the mount to use.
+
+If omitted, the primary mount is used.
- Config: mountid
- Env Var: RCLONE_KOOFR_MOUNTID
@@ -24357,7 +25703,9 @@ Mount ID of the mount to use. If omitted, the primary mount is used.
#### --koofr-setmtime
-Does the backend support setting modification time. Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend.
+Does the backend support setting modification time.
+
+Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend.
- Config: setmtime
- Env Var: RCLONE_KOOFR_SETMTIME
@@ -24368,7 +25716,7 @@ Does the backend support setting modification time. Set this to false if you use
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_KOOFR_ENCODING
@@ -24377,7 +25725,7 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
-### Limitations ###
+## Limitations
Note that Koofr is case insensitive so you can't have a file called
"Hello.doc" and one called "hello.doc".
@@ -24388,7 +25736,7 @@ Note that Koofr is case insensitive so you can't have a file called
Currently it is recommended to disable 2FA on Mail.ru accounts intended for rclone until it gets eventually implemented.
-### Features highlights ###
+## Features highlights
- Paths may be as deep as required, e.g. `remote:directory/subdirectory`
- Files have a `last modified time` property, directories don't
@@ -24401,7 +25749,7 @@ Currently it is recommended to disable 2FA on Mail.ru accounts intended for rclo
- If a particular file is already present in storage, one can quickly submit file hash
instead of long file upload (this optimization is supported by rclone)
-### Configuration ###
+## Configuration
Here is an example of making a mailru configuration. First create a Mail.ru Cloud
account and choose a tariff, then run
@@ -24486,12 +25834,12 @@ excess files in the path.
rclone sync -i /home/local/directory remote:directory
-### Modified time ###
+### Modified time
Files support a modification time attribute with up to 1 second precision.
Directories do not have a modification time, which is shown as "Jan 1 1970".
-### Hash checksums ###
+### Hash checksums
Hash sums use a custom Mail.ru algorithm based on SHA1.
If file size is less than or equal to the SHA1 block size (20 bytes),
@@ -24499,7 +25847,7 @@ its hash is simply its data right-padded with zero bytes.
Hash sum of a larger file is computed as a SHA1 sum of the file data
bytes concatenated with a decimal representation of the data length.
-### Emptying Trash ###
+### Emptying Trash
Removing a file or directory actually moves it to the trash, which is not
visible to rclone but can be seen in a web browser. The trashed file
@@ -24508,12 +25856,12 @@ and free some quota, you can use the `rclone cleanup remote:` command,
which will permanently delete all your trashed files.
This command does not take any path arguments.
-### Quota information ###
+### Quota information
To view your current quota you can use the `rclone about remote:`
command which will display your usage limit (quota) and the current usage.
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -24532,23 +25880,14 @@ the following characters are also replaced:
Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
as they can't be used in JSON strings.
-### Limitations ###
-File size limits depend on your account. A single file size is limited by 2G
-for a free account and unlimited for paid tariffs. Please refer to the Mail.ru
-site for the total uploaded size limits.
-
-Note that Mailru is case insensitive so you can't have a file called
-"Hello.doc" and one called "hello.doc".
-
-
-### Standard Options
+### Standard options
Here are the standard options specific to mailru (Mail.ru Cloud).
#### --mailru-user
-User name (usually email)
+User name (usually email).
- Config: user
- Env Var: RCLONE_MAILRU_USER
@@ -24557,7 +25896,7 @@ User name (usually email)
#### --mailru-pass
-Password
+Password.
**NB** Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).
@@ -24569,6 +25908,7 @@ Password
#### --mailru-speedup-enable
Skip full upload if there is another file with same data hash.
+
This feature is called "speedup" or "put by hash". It is especially efficient
in case of generally available files like popular books, video or audio clips,
because files are searched by hash in all accounts of all mailru users.
@@ -24588,13 +25928,14 @@ streaming or partial uploads), it will not even try this optimization.
- "false"
- Disable
-### Advanced Options
+### Advanced options
Here are the advanced options specific to mailru (Mail.ru Cloud).
#### --mailru-speedup-file-patterns
Comma separated list of file name patterns eligible for speedup (put by hash).
+
Patterns are case insensitive and can contain '*' or '?' meta characters.
- Config: speedup_file_patterns
@@ -24613,8 +25954,9 @@ Patterns are case insensitive and can contain '*' or '?' meta characters.
#### --mailru-speedup-max-disk
-This option allows you to disable speedup (put by hash) for large files
-(because preliminary hashing can exhaust you RAM or disk space)
+This option allows you to disable speedup (put by hash) for large files.
+
+Reason is that preliminary hashing can exhaust your RAM or disk space.
- Config: speedup_max_disk
- Env Var: RCLONE_MAILRU_SPEEDUP_MAX_DISK
@@ -24646,7 +25988,7 @@ Files larger than the size given below will always be hashed on disk.
#### --mailru-check-hash
-What should copy do if file checksum is mismatched or invalid
+What should copy do if file checksum is mismatched or invalid.
- Config: check_hash
- Env Var: RCLONE_MAILRU_CHECK_HASH
@@ -24661,6 +26003,7 @@ What should copy do if file checksum is mismatched or invalid
#### --mailru-user-agent
HTTP user agent used internally by client.
+
Defaults to "rclone/VERSION" or "--user-agent" provided on command line.
- Config: user_agent
@@ -24671,6 +26014,7 @@ Defaults to "rclone/VERSION" or "--user-agent" provided on command line.
#### --mailru-quirks
Comma separated list of internal maintenance flags.
+
This option must not be used by an ordinary user. It is intended only to
facilitate remote troubleshooting of backend issues. Strict meaning of
flags is not documented and not guaranteed to persist between releases.
@@ -24686,7 +26030,7 @@ Supported quirks: atomicmkdir binlist unknowndirs
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_MAILRU_ENCODING
@@ -24695,6 +26039,15 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
+## Limitations
+
+File size limits depend on your account. A single file size is limited by 2G
+for a free account and unlimited for paid tariffs. Please refer to the Mail.ru
+site for the total uploaded size limits.
+
+Note that Mailru is case insensitive so you can't have a file called
+"Hello.doc" and one called "hello.doc".
+
# Mega
[Mega](https://mega.nz/) is a cloud storage and file hosting service
@@ -24710,6 +26063,8 @@ Paths are specified as `remote:path`
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
+## Configuration
+
Here is an example of how to make a remote called `remote`. First run:
rclone config
@@ -24771,11 +26126,11 @@ To copy a local directory to an Mega directory called backup
rclone copy /home/source remote:backup
-### Modified time and hashes ###
+### Modified time and hashes
Mega does not support modification times or hashes yet.
-#### Restricted filename characters
+### Restricted filename characters
| Character | Value | Replacement |
| --------- |:-----:|:-----------:|
@@ -24785,7 +26140,7 @@ Mega does not support modification times or hashes yet.
Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
as they can't be used in JSON strings.
-### Duplicated files ###
+### Duplicated files
Mega can have two files with exactly the same name and path (unlike a
normal file system).
@@ -24795,7 +26150,7 @@ messages in the log about duplicates.
Use `rclone dedupe` to fix duplicated files.
-### Failure to log-in ###
+### Failure to log-in
Mega remotes seem to get blocked (reject logins) under "heavy use".
We haven't worked out the exact blocking rules but it seems to be
@@ -24842,13 +26197,13 @@ and you are sure the user and the password are correct, likely you
have got the remote blocked for a while.
-### Standard Options
+### Standard options
Here are the standard options specific to mega (Mega).
#### --mega-user
-User name
+User name.
- Config: user
- Env Var: RCLONE_MEGA_USER
@@ -24866,7 +26221,7 @@ Password.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to mega (Mega).
@@ -24899,7 +26254,7 @@ permanently delete objects instead.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_MEGA_ENCODING
@@ -24908,7 +26263,7 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
-### Limitations ###
+## Limitations
This backend uses the [go-mega go library](https://github.com/t3rm1n4l/go-mega) which is an opensource
go library implementing the Mega API. There doesn't appear to be any
@@ -24926,6 +26281,8 @@ The memory backend behaves like a bucket based remote (e.g. like
s3). Because it has no parameters you can just use it with the
`:memory:` remote name.
+## Configuration
+
You can configure it as a remote like this with `rclone config` too if
you want to:
@@ -24965,11 +26322,11 @@ testing or with an rclone server or rclone mount, e.g.
rclone serve webdav :memory:
rclone serve sftp :memory:
-### Modified time and hashes ###
+### Modified time and hashes
The memory backend supports MD5 hashes and modification times accurate to 1 nS.
-#### Restricted filename characters
+### Restricted filename characters
The memory backend replaces the [default restricted characters
set](https://rclone.org/overview/#restricted-characters).
@@ -24983,6 +26340,8 @@ Paths are specified as `remote:container` (or `remote:` for the `lsd`
command.) You may put subdirectories in too, e.g.
`remote:container/path/to/dir`.
+## Configuration
+
Here is an example of making a Microsoft Azure Blob Storage
configuration. For a remote called `remote`. First run:
@@ -25040,13 +26399,13 @@ files in the container.
rclone sync -i /home/local/directory remote:container
-### --fast-list ###
+### --fast-list
This remote supports `--fast-list` which allows you to use fewer
transactions in exchange for more memory. See the [rclone
docs](https://rclone.org/docs/#fast-list) for more details.
-### Modified time ###
+### Modified time
The modified time is stored as metadata on the object with the `mtime`
key. It is stored using RFC3339 Format time with nanosecond
@@ -25073,7 +26432,7 @@ These only get replaced if they are the last character in the name:
Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
as they can't be used in JSON strings.
-### Hashes ###
+### Hashes
MD5 hashes are stored with blobs. However blobs that were uploaded in
chunks only have an MD5 if the source remote was capable of MD5
@@ -25120,13 +26479,15 @@ parties access to a single container or putting credentials into an
untrusted environment such as a CI build server.
-### Standard Options
+### Standard options
Here are the standard options specific to azureblob (Microsoft Azure Blob Storage).
#### --azureblob-account
-Storage Account Name (leave blank to use SAS URL or Emulator)
+Storage Account Name.
+
+Leave blank to use SAS URL or Emulator.
- Config: account
- Env Var: RCLONE_AZUREBLOB_ACCOUNT
@@ -25154,7 +26515,9 @@ See ["Create an Azure service principal"](https://docs.microsoft.com/en-us/cli/a
#### --azureblob-key
-Storage Account Key (leave blank to use SAS URL or Emulator)
+Storage Account Key.
+
+Leave blank to use SAS URL or Emulator.
- Config: key
- Env Var: RCLONE_AZUREBLOB_KEY
@@ -25163,8 +26526,9 @@ Storage Account Key (leave blank to use SAS URL or Emulator)
#### --azureblob-sas-url
-SAS URL for container level access only
-(leave blank if using account/key or Emulator)
+SAS URL for container level access only.
+
+Leave blank if using account/key or Emulator.
- Config: sas_url
- Env Var: RCLONE_AZUREBLOB_SAS_URL
@@ -25173,7 +26537,7 @@ SAS URL for container level access only
#### --azureblob-use-msi
-Use a managed service identity to authenticate (only works in Azure)
+Use a managed service identity to authenticate (only works in Azure).
When true, use a [managed service identity](https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/)
to authenticate to Azure Storage instead of a SAS token or account key.
@@ -25191,20 +26555,24 @@ msi_client_id, or msi_mi_res_id parameters.
#### --azureblob-use-emulator
-Uses local storage emulator if provided as 'true' (leave blank if using real azure storage endpoint)
+Uses local storage emulator if provided as 'true'.
+
+Leave blank if using real azure storage endpoint.
- Config: use_emulator
- Env Var: RCLONE_AZUREBLOB_USE_EMULATOR
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to azureblob (Microsoft Azure Blob Storage).
#### --azureblob-msi-object-id
-Object ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_mi_res_id specified.
+Object ID of the user-assigned MSI to use, if any.
+
+Leave blank if msi_client_id or msi_mi_res_id specified.
- Config: msi_object_id
- Env Var: RCLONE_AZUREBLOB_MSI_OBJECT_ID
@@ -25213,7 +26581,9 @@ Object ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id
#### --azureblob-msi-client-id
-Object ID of the user-assigned MSI to use, if any. Leave blank if msi_object_id or msi_mi_res_id specified.
+Object ID of the user-assigned MSI to use, if any.
+
+Leave blank if msi_object_id or msi_mi_res_id specified.
- Config: msi_client_id
- Env Var: RCLONE_AZUREBLOB_MSI_CLIENT_ID
@@ -25222,7 +26592,9 @@ Object ID of the user-assigned MSI to use, if any. Leave blank if msi_object_id
#### --azureblob-msi-mi-res-id
-Azure resource ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_object_id specified.
+Azure resource ID of the user-assigned MSI to use, if any.
+
+Leave blank if msi_client_id or msi_object_id specified.
- Config: msi_mi_res_id
- Env Var: RCLONE_AZUREBLOB_MSI_MI_RES_ID
@@ -25231,7 +26603,8 @@ Azure resource ID of the user-assigned MSI to use, if any. Leave blank if msi_cl
#### --azureblob-endpoint
-Endpoint for the service
+Endpoint for the service.
+
Leave blank normally.
- Config: endpoint
@@ -25241,7 +26614,7 @@ Leave blank normally.
#### --azureblob-upload-cutoff
-Cutoff for switching to chunked upload (<= 256 MiB). (Deprecated)
+Cutoff for switching to chunked upload (<= 256 MiB) (deprecated).
- Config: upload_cutoff
- Env Var: RCLONE_AZUREBLOB_UPLOAD_CUTOFF
@@ -25336,6 +26709,7 @@ to start uploading.
#### --azureblob-memory-pool-flush-time
How often internal memory buffer pools will be flushed.
+
Uploads which requires additional buffers (f.e multipart) will use memory pool for allocations.
This option controls how often unused buffers will be removed from the pool.
@@ -25357,7 +26731,7 @@ Whether to use mmap buffers in internal memory pool.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_AZUREBLOB_ENCODING
@@ -25366,7 +26740,7 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
#### --azureblob-public-access
-Public access level of a container: blob, container.
+Public access level of a container: blob or container.
- Config: public_access
- Env Var: RCLONE_AZUREBLOB_PUBLIC_ACCESS
@@ -25374,14 +26748,25 @@ Public access level of a container: blob, container.
- Default: ""
- Examples:
- ""
- - The container and its blobs can be accessed only with an authorized request. It's a default value
+ - The container and its blobs can be accessed only with an authorized request.
+ - It's a default value.
- "blob"
- Blob data within this container can be read via anonymous request.
- "container"
- Allow full public read access for container and blob data.
+#### --azureblob-no-head-object
+
+If set, do not do HEAD before GET when getting objects.
+
+- Config: no_head_object
+- Env Var: RCLONE_AZUREBLOB_NO_HEAD_OBJECT
+- Type: bool
+- Default: false
+
-### Limitations ###
+
+## Limitations
MD5 sums are only uploaded with chunked files if the source has an MD5
sum. This will always be the case for a local to azure copy.
@@ -25394,7 +26779,8 @@ remote.
See [List of backends that do not support rclone about](https://rclone.org/overview/#optional-features)
See [rclone about](https://rclone.org/commands/rclone_about/)
-### Azure Storage Emulator Support ###
+## Azure Storage Emulator Support
+
You can test rclone with storage emulator locally, to do this make sure azure storage emulator
installed locally and set up a new remote with `rclone config` follow instructions described in
introduction, set `use_emulator` config as `true`, you do not need to provide default account name
@@ -25406,6 +26792,8 @@ Paths are specified as `remote:path`
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
+## Configuration
+
The initial setup for OneDrive involves getting a token from
Microsoft which you need to do in your browser. `rclone config` walks
you through it.
@@ -25513,7 +26901,7 @@ To copy a local directory to an OneDrive directory called backup
rclone copy /home/source remote:backup
-### Getting your own Client ID and Key ###
+### Getting your own Client ID and Key
You can use your own Client ID if the default (`client_id` left blank)
one doesn't work for you or you see lots of throttling. The default
@@ -25525,14 +26913,14 @@ Client ID and Key by following the steps below:
1. Open https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade and then click `New registration`.
2. Enter a name for your app, choose account type `Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)`, select `Web` in `Redirect URI`, then type (do not copy and paste) `http://localhost:53682/` and click Register. Copy and keep the `Application (client) ID` under the app name for later use.
-3. Under `manage` select `Certificates & secrets`, click `New client secret`. Copy and keep that secret for later use.
+3. Under `manage` select `Certificates & secrets`, click `New client secret`. Enter a description (can be anything) and set `Expires` to 24 months. Copy and keep that secret _Value_ for later use (you _won't_ be able to see this value afterwards).
4. Under `manage` select `API permissions`, click `Add a permission` and select `Microsoft Graph` then select `delegated permissions`.
5. Search and select the following permissions: `Files.Read`, `Files.ReadWrite`, `Files.Read.All`, `Files.ReadWrite.All`, `offline_access`, `User.Read`. Once selected click `Add permissions` at the bottom.
Now the application is complete. Run `rclone config` to create or edit a OneDrive remote.
Supply the app ID and password as Client ID and Secret, respectively. rclone will walk you through the remaining steps.
-### Modification time and hashes ###
+### Modification time and hashes
OneDrive allows modification times to be set on objects accurate to 1
second. These will be used to detect whether objects need syncing or
@@ -25544,7 +26932,7 @@ Sharepoint Server support
For all types of OneDrive you can use the `--checksum` flag.
-### Restricted filename characters ###
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -25579,7 +26967,7 @@ These only get replaced if they are the first character in the name:
Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
as they can't be used in JSON strings.
-### Deleting files ###
+### Deleting files
Any files you delete with rclone will end up in the trash. Microsoft
doesn't provide an API to permanently delete files, nor to empty the
@@ -25587,13 +26975,14 @@ trash, so you will have to do that with one of Microsoft's apps or via
the OneDrive website.
-### Standard Options
+### Standard options
Here are the standard options specific to onedrive (Microsoft OneDrive).
#### --onedrive-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -25603,7 +26992,8 @@ Leave blank normally.
#### --onedrive-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -25629,7 +27019,7 @@ Choose national cloud region for OneDrive.
- "cn"
- Azure and Office 365 operated by 21Vianet in China
-### Advanced Options
+### Advanced options
Here are the advanced options specific to onedrive (Microsoft OneDrive).
@@ -25645,6 +27035,7 @@ OAuth Access Token as a JSON blob.
#### --onedrive-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -25655,6 +27046,7 @@ Leave blank to use the provider defaults.
#### --onedrive-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -25677,7 +27069,7 @@ Note that the chunks will be buffered into memory.
#### --onedrive-drive-id
-The ID of the drive to use
+The ID of the drive to use.
- Config: drive_id
- Env Var: RCLONE_ONEDRIVE_DRIVE_ID
@@ -25686,7 +27078,7 @@ The ID of the drive to use
#### --onedrive-drive-type
-The type of the drive ( personal | business | documentLibrary )
+The type of the drive (personal | business | documentLibrary).
- Config: drive_type
- Env Var: RCLONE_ONEDRIVE_DRIVE_TYPE
@@ -25732,7 +27124,7 @@ Size of listing chunk.
#### --onedrive-no-versions
-Remove all versions on modifying operations
+Remove all versions on modifying operations.
Onedrive for business creates versions when rclone uploads new files
overwriting an existing one and when it sets the modification time.
@@ -25761,9 +27153,12 @@ Set the scope of the links created by the link command.
- Default: "anonymous"
- Examples:
- "anonymous"
- - Anyone with the link has access, without needing to sign in. This may include people outside of your organization. Anonymous link support may be disabled by an administrator.
+ - Anyone with the link has access, without needing to sign in.
+ - This may include people outside of your organization.
+ - Anonymous link support may be disabled by an administrator.
- "organization"
- - Anyone signed into your organization (tenant) can use the link to get access. Only available in OneDrive for Business and SharePoint.
+ - Anyone signed into your organization (tenant) can use the link to get access.
+ - Only available in OneDrive for Business and SharePoint.
#### --onedrive-link-type
@@ -25797,7 +27192,7 @@ At the time of writing this only works with OneDrive personal paid accounts.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_ONEDRIVE_ENCODING
@@ -25806,14 +27201,14 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
-### Limitations
+## Limitations
If you don't use rclone for 90 days the refresh token will
expire. This will result in authorization problems. This is easy to
fix by running the `rclone config reconnect remote:` command to get a
new token and refresh token.
-#### Naming ####
+### Naming
Note that OneDrive is case insensitive so you can't have a
file called "Hello.doc" and one called "hello.doc".
@@ -25824,15 +27219,15 @@ platforms they are common. Rclone will map these names to and from an
identical looking unicode equivalent. For example if a file has a `?`
in it will be mapped to `?` instead.
-#### File sizes ####
+### File sizes
The largest allowed file size is 250 GiB for both OneDrive Personal and OneDrive for Business [(Updated 13 Jan 2021)](https://support.microsoft.com/en-us/office/invalid-file-names-and-file-types-in-onedrive-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa?ui=en-us&rs=en-us&ad=us#individualfilesize).
-#### Path length ####
+### Path length
The entire path, including the file name, must contain fewer than 400 characters for OneDrive, OneDrive for Business and SharePoint Online. If you are encrypting file and folder names with rclone, you may want to pay attention to this limitation because the encrypted names are typically longer than the original ones.
-#### Number of files ####
+### Number of files
OneDrive seems to be OK with at least 50,000 files in a folder, but at
100,000 rclone will get errors listing the directory like `couldn’t
@@ -25841,7 +27236,7 @@ list files: UnknownError:`. See
An official document about the limitations for different types of OneDrive can be found [here](https://support.office.com/en-us/article/invalid-file-names-and-file-types-in-onedrive-onedrive-for-business-and-sharepoint-64883a5d-228e-48f5-b3d2-eb39e07630fa).
-### Versions
+## Versions
Every change in a file OneDrive causes the service to create a new
version of the the file. This counts against a users quota. For
@@ -25897,7 +27292,7 @@ Note: This will disable the creation of new file versions, but will not remove a
8. Use rclone to upload or modify files. (I also use the --no-update-modtime flag)
9. Restore the versioning settings after using rclone. (Optional)
-### Cleanup
+## Cleanup
OneDrive supports `rclone cleanup` which causes rclone to look through
every file under the path supplied and delete all version but the
@@ -25911,15 +27306,15 @@ is a great way to see what it would do.
**NB** Onedrive personal can't currently delete versions
-### Troubleshooting ###
+## Troubleshooting ##
-#### Excessive throttling or blocked on SharePoint
+### Excessive throttling or blocked on SharePoint
If you experience excessive throttling or is being blocked on SharePoint then it may help to set the user agent explicitly with a flag like this: `--user-agent "ISV|rclone.org|rclone/v1.55.1"`
The specific details can be found in the Microsoft document: [Avoid getting throttled or blocked in SharePoint Online](https://docs.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online#how-to-decorate-your-http-traffic-to-avoid-throttling)
-#### Unexpected file size/hash differences on Sharepoint ####
+### Unexpected file size/hash differences on Sharepoint ####
It is a
[known](https://github.com/OneDrive/onedrive-api-docs/issues/935#issuecomment-441741631)
@@ -25943,7 +27338,7 @@ file to be converted in place to a format that is functionally equivalent
but which will no longer trigger the size discrepancy. Once all problematic files
are converted you will no longer need the ignore options above.
-#### Replacing/deleting existing files on Sharepoint gets "item not found" ####
+### Replacing/deleting existing files on Sharepoint gets "item not found" ####
It is a [known](https://github.com/OneDrive/onedrive-api-docs/issues/1068) issue
that Sharepoint (not OneDrive or OneDrive for Business) may return "item not
@@ -25958,7 +27353,7 @@ the directory `rclone-backup-dir` on backend `mysharepoint`, you may use:
--backup-dir mysharepoint:rclone-backup-dir
```
-#### access\_denied (AADSTS65005) ####
+### access\_denied (AADSTS65005) ####
```
Error: access_denied
@@ -25970,7 +27365,7 @@ This means that rclone can't use the OneDrive for Business API with your account
However, there are other ways to interact with your OneDrive account. Have a look at the webdav backend: https://rclone.org/webdav/#sharepoint
-#### invalid\_grant (AADSTS50076) ####
+### invalid\_grant (AADSTS50076) ####
```
Error: invalid_grant
@@ -25980,12 +27375,23 @@ Description: Due to a configuration change made by your administrator, or becaus
If you see the error above after enabling multi-factor authentication for your account, you can fix it by refreshing your OAuth refresh token. To do that, run `rclone config`, and choose to edit your OneDrive backend. Then, you don't need to actually make any changes until you reach this question: `Already have a token - refresh?`. For this question, answer `y` and go through the process to refresh your token, just like the first time the backend is configured. After this, rclone should work again for this backend.
+### Invalid request when making public links ####
+
+On Sharepoint and OneDrive for Business, `rclone link` may return an "Invalid
+request" error. A possible cause is that the organisation admin didn't allow
+public links to be made for the organisation/sharepoint library. To fix the
+permissions as an admin, take a look at the docs:
+[1](https://docs.microsoft.com/en-us/sharepoint/turn-external-sharing-on-or-off),
+[2](https://support.microsoft.com/en-us/office/set-up-and-manage-access-requests-94b26e0b-2822-49d4-929a-8455698654b3).
+
# OpenDrive
Paths are specified as `remote:path`
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
+## Configuration
+
Here is an example of how to make a remote called `remote`. First run:
rclone config
@@ -26038,13 +27444,13 @@ To copy a local directory to an OpenDrive directory called backup
rclone copy /home/source remote:backup
-### Modified time and MD5SUMs ###
+### Modified time and MD5SUMs
OpenDrive allows modification times to be set on objects accurate to 1
second. These will be used to detect whether objects need syncing or
not.
-#### Restricted filename characters
+### Restricted filename characters
| Character | Value | Replacement |
| --------- |:-----:|:-----------:|
@@ -26075,13 +27481,13 @@ Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid
as they can't be used in JSON strings.
-### Standard Options
+### Standard options
Here are the standard options specific to opendrive (OpenDrive).
#### --opendrive-username
-Username
+Username.
- Config: username
- Env Var: RCLONE_OPENDRIVE_USERNAME
@@ -26099,7 +27505,7 @@ Password.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to opendrive (OpenDrive).
@@ -26107,7 +27513,7 @@ Here are the advanced options specific to opendrive (OpenDrive).
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_OPENDRIVE_ENCODING
@@ -26128,7 +27534,7 @@ increase memory use.
-### Limitations ###
+## Limitations
Note that OpenDrive is case insensitive so you can't have a
file called "Hello.doc" and one called "hello.doc".
@@ -26152,6 +27558,8 @@ See [rclone about](https://rclone.org/commands/rclone_about/)
Paths are specified as `remote:bucket` (or `remote:` for the `lsd`
command.) You may put subdirectories in too, e.g. `remote:bucket/path/to/dir`.
+## Configuration
+
Here is an example of making an QingStor configuration. First run
rclone config
@@ -26235,13 +27643,13 @@ files in the bucket.
rclone sync -i /home/local/directory remote:bucket
-### --fast-list ###
+### --fast-list
This remote supports `--fast-list` which allows you to use fewer
transactions in exchange for more memory. See the [rclone
docs](https://rclone.org/docs/#fast-list) for more details.
-### Multipart uploads ###
+### Multipart uploads
rclone supports multipart uploads with QingStor which means that it can
upload files bigger than 5 GiB. Note that files uploaded with multipart
@@ -26253,7 +27661,7 @@ removed with `rclone cleanup remote:bucket` just for one bucket
remove incomplete multipart uploads so it may be necessary to run this
from time to time.
-### Buckets and Zone ###
+### Buckets and Zone
With QingStor you can list buckets (`rclone lsd`) using any zone,
but you can only access the content of a bucket from the zone it was
@@ -26261,7 +27669,7 @@ created in. If you attempt to access a bucket from the wrong zone,
you will get an error, `incorrect zone, the bucket is not in 'XXX'
zone`.
-### Authentication ###
+### Authentication
There are two ways to supply `rclone` with a set of QingStor
credentials. In order of precedence:
@@ -26284,13 +27692,15 @@ Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid
as they can't be used in JSON strings.
-### Standard Options
+### Standard options
Here are the standard options specific to qingstor (QingCloud Object Storage).
#### --qingstor-env-auth
-Get QingStor credentials from runtime. Only applies if access_key_id and secret_access_key is blank.
+Get QingStor credentials from runtime.
+
+Only applies if access_key_id and secret_access_key is blank.
- Config: env_auth
- Env Var: RCLONE_QINGSTOR_ENV_AUTH
@@ -26298,13 +27708,14 @@ Get QingStor credentials from runtime. Only applies if access_key_id and secret_
- Default: false
- Examples:
- "false"
- - Enter QingStor credentials in the next step
+ - Enter QingStor credentials in the next step.
- "true"
- - Get QingStor credentials from the environment (env vars or IAM)
+ - Get QingStor credentials from the environment (env vars or IAM).
#### --qingstor-access-key-id
-QingStor Access Key ID
+QingStor Access Key ID.
+
Leave blank for anonymous access or runtime credentials.
- Config: access_key_id
@@ -26314,7 +27725,8 @@ Leave blank for anonymous access or runtime credentials.
#### --qingstor-secret-access-key
-QingStor Secret Access Key (password)
+QingStor Secret Access Key (password).
+
Leave blank for anonymous access or runtime credentials.
- Config: secret_access_key
@@ -26325,7 +27737,8 @@ Leave blank for anonymous access or runtime credentials.
#### --qingstor-endpoint
Enter an endpoint URL to connection QingStor API.
-Leave blank will use the default value "https://qingstor.com:443"
+
+Leave blank will use the default value "https://qingstor.com:443".
- Config: endpoint
- Env Var: RCLONE_QINGSTOR_ENDPOINT
@@ -26335,6 +27748,7 @@ Leave blank will use the default value "https://qingstor.com:443"
#### --qingstor-zone
Zone to connect to.
+
Default is "pek3a".
- Config: zone
@@ -26343,16 +27757,16 @@ Default is "pek3a".
- Default: ""
- Examples:
- "pek3a"
- - The Beijing (China) Three Zone
+ - The Beijing (China) Three Zone.
- Needs location constraint pek3a.
- "sh1a"
- - The Shanghai (China) First Zone
+ - The Shanghai (China) First Zone.
- Needs location constraint sh1a.
- "gd2a"
- - The Guangdong (China) Second Zone
+ - The Guangdong (China) Second Zone.
- Needs location constraint gd2a.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to qingstor (QingCloud Object Storage).
@@ -26367,7 +27781,7 @@ Number of connection retries.
#### --qingstor-upload-cutoff
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
Any files larger than this will be uploaded in chunks of chunk_size.
The minimum is 0 and the maximum is 5 GiB.
@@ -26418,7 +27832,7 @@ this may help to speed up the transfers.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_QINGSTOR_ENCODING
@@ -26426,7 +27840,8 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
- Default: Slash,Ctl,InvalidUtf8
-### Limitations
+
+## Limitations
`rclone about` is not supported by the qingstor backend. Backends without
this capability cannot determine free space for an rclone mount or
@@ -26436,6 +27851,200 @@ remote.
See [List of backends that do not support rclone about](https://rclone.org/overview/#optional-features)
See [rclone about](https://rclone.org/commands/rclone_about/)
+# Sia
+
+Sia ([sia.tech](https://sia.tech/)) is a decentralized cloud storage platform
+based on the [blockchain](https://wikipedia.org/wiki/Blockchain) technology.
+With rclone you can use it like any other remote filesystem or mount Sia folders
+locally. The technology behind it involves a number of new concepts such as
+Siacoins and Wallet, Blockchain and Consensus, Renting and Hosting, and so on.
+If you are new to it, you'd better first familiarize yourself using their
+excellent [support documentation](https://support.sia.tech/).
+
+## Introduction
+
+Before you can use rclone with Sia, you will need to have a running copy of
+`Sia-UI` or `siad` (the Sia daemon) locally on your computer or on local
+network (e.g. a NAS). Please follow the [Get started](https://sia.tech/get-started)
+guide and install one.
+
+rclone interacts with Sia network by talking to the Sia daemon via [HTTP API](https://sia.tech/docs/)
+which is usually available on port _9980_. By default you will run the daemon
+locally on the same computer so it's safe to leave the API password blank
+(the API URL will be `http://127.0.0.1:9980` making external access impossible).
+
+However, if you want to access Sia daemon running on another node, for example
+due to memory constraints or because you want to share single daemon between
+several rclone and Sia-UI instances, you'll need to make a few more provisions:
+- Ensure you have _Sia daemon_ installed directly or in
+ a [docker container](https://github.com/SiaFoundation/siad/pkgs/container/siad)
+ because Sia-UI does not support this mode natively.
+- Run it on externally accessible port, for example provide `--api-addr :9980`
+ and `--disable-api-security` arguments on the daemon command line.
+- Enforce API password for the `siad` daemon via environment variable
+ `SIA_API_PASSWORD` or text file named `apipassword` in the daemon directory.
+- Set rclone backend option `api_password` taking it from above locations.
+
+
+Notes:
+1. If your wallet is locked, rclone cannot unlock it automatically.
+ You should either unlock it in advance by using Sia-UI or via command line
+ `siac wallet unlock`.
+ Alternatively you can make `siad` unlock your wallet automatically upon
+ startup by running it with environment variable `SIA_WALLET_PASSWORD`.
+2. If `siad` cannot find the `SIA_API_PASSWORD` variable or the `apipassword` file
+ in the `SIA_DIR` directory, it will generate a random password and store in the
+ text file named `apipassword` under `YOUR_HOME/.sia/` directory on Unix
+ or `C:\Users\YOUR_HOME\AppData\Local\Sia\apipassword` on Windows.
+ Remember this when you configure password in rclone.
+3. The only way to use `siad` without API password is to run it **on localhost**
+ with command line argument `--authorize-api=false`, but this is insecure and
+ **strongly discouraged**.
+
+## Configuration
+
+Here is an example of how to make a `sia` remote called `mySia`.
+First, run:
+
+ rclone config
+
+This will guide you through an interactive setup process:
+
+```
+No remotes found - make a new one
+n) New remote
+s) Set configuration password
+q) Quit config
+n/s/q> n
+name> mySia
+Type of storage to configure.
+Enter a string value. Press Enter for the default ("").
+Choose a number from below, or type in your own value
+...
+29 / Sia Decentralized Cloud
+ \ "sia"
+...
+Storage> sia
+Sia daemon API URL, like http://sia.daemon.host:9980.
+Note that siad must run with --disable-api-security to open API port for other hosts (not recommended).
+Keep default if Sia daemon runs on localhost.
+Enter a string value. Press Enter for the default ("http://127.0.0.1:9980").
+api_url> http://127.0.0.1:9980
+Sia Daemon API Password.
+Can be found in the apipassword file located in HOME/.sia/ or in the daemon directory.
+y) Yes type in my own password
+g) Generate random password
+n) No leave this optional password blank (default)
+y/g/n> y
+Enter the password:
+password:
+Confirm the password:
+password:
+Edit advanced config?
+y) Yes
+n) No (default)
+y/n> n
+--------------------
+[mySia]
+type = sia
+api_url = http://127.0.0.1:9980
+api_password = *** ENCRYPTED ***
+--------------------
+y) Yes this is OK (default)
+e) Edit this remote
+d) Delete this remote
+y/e/d> y
+```
+
+Once configured, you can then use `rclone` like this:
+
+- List directories in top level of your Sia storage
+
+```
+rclone lsd mySia:
+```
+
+- List all the files in your Sia storage
+
+```
+rclone ls mySia:
+```
+
+- Upload a local directory to the Sia directory called _backup_
+
+```
+rclone copy /home/source mySia:backup
+```
+
+
+### Standard options
+
+Here are the standard options specific to sia (Sia Decentralized Cloud).
+
+#### --sia-api-url
+
+Sia daemon API URL, like http://sia.daemon.host:9980.
+
+Note that siad must run with --disable-api-security to open API port for other hosts (not recommended).
+Keep default if Sia daemon runs on localhost.
+
+- Config: api_url
+- Env Var: RCLONE_SIA_API_URL
+- Type: string
+- Default: "http://127.0.0.1:9980"
+
+#### --sia-api-password
+
+Sia Daemon API Password.
+
+Can be found in the apipassword file located in HOME/.sia/ or in the daemon directory.
+
+**NB** Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).
+
+- Config: api_password
+- Env Var: RCLONE_SIA_API_PASSWORD
+- Type: string
+- Default: ""
+
+### Advanced options
+
+Here are the advanced options specific to sia (Sia Decentralized Cloud).
+
+#### --sia-user-agent
+
+Siad User Agent
+
+Sia daemon requires the 'Sia-Agent' user agent by default for security
+
+- Config: user_agent
+- Env Var: RCLONE_SIA_USER_AGENT
+- Type: string
+- Default: "Sia-Agent"
+
+#### --sia-encoding
+
+This sets the encoding for the backend.
+
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+
+- Config: encoding
+- Env Var: RCLONE_SIA_ENCODING
+- Type: MultiEncoder
+- Default: Slash,Question,Hash,Percent,Del,Ctl,InvalidUtf8,Dot
+
+
+
+## Limitations
+
+- Modification times not supported
+- Checksums not supported
+- `rclone about` not supported
+- rclone can work only with _Siad_ or _Sia-UI_ at the moment,
+ the **SkyNet daemon is not supported yet.**
+- Sia does not allow control characters or symbols like question and pound
+ signs in file names. rclone will transparently [encode](https://rclone.org/overview/#encoding)
+ them for you, but you'd better be aware
+
# Swift
Swift refers to [OpenStack Object Storage](https://docs.openstack.org/swift/latest/).
@@ -26444,12 +28053,14 @@ Commercial implementations of that being:
* [Rackspace Cloud Files](https://www.rackspace.com/cloud/files/)
* [Memset Memstore](https://www.memset.com/cloud/storage/)
* [OVH Object Storage](https://www.ovh.co.uk/public-cloud/storage/object-storage/)
- * [Oracle Cloud Storage](https://cloud.oracle.com/storage-opc)
+ * [Oracle Cloud Storage](https://cloud.oracle.com/object-storage/buckets)
* [IBM Bluemix Cloud ObjectStorage Swift](https://console.bluemix.net/docs/infrastructure/objectstorage-swift/index.html)
Paths are specified as `remote:container` (or `remote:` for the `lsd`
command.) You may put subdirectories in too, e.g. `remote:container/path/to/dir`.
+## Configuration
+
Here is an example of making a swift configuration. First run
rclone config
@@ -26566,7 +28177,7 @@ excess files in the container.
rclone sync -i /home/local/directory remote:container
-### Configuration from an OpenStack credentials file ###
+### Configuration from an OpenStack credentials file
An OpenStack credentials file typically looks something something
like this (without the comments)
@@ -26598,7 +28209,7 @@ tenant = $OS_TENANT_NAME
Note that you may (or may not) need to set `region` too - try without first.
-### Configuration from the environment ###
+### Configuration from the environment
If you prefer you can configure rclone to use swift using a standard
set of OpenStack environment variables.
@@ -26612,7 +28223,7 @@ the
variables](https://godoc.org/github.com/ncw/swift#Connection.ApplyEnvironment)
in the docs for the swift library.
-### Using an alternate authentication method ###
+### Using an alternate authentication method
If your OpenStack installation uses a non-standard authentication method
that might not be yet supported by rclone or the underlying swift library,
@@ -26623,7 +28234,7 @@ If they are both provided, the other variables are ignored. rclone will
not try to authenticate but instead assume it is already authenticated
and use these two variables to access the OpenStack installation.
-#### Using rclone without a config file ####
+#### Using rclone without a config file
You can use rclone with swift without a config file, if desired, like
this:
@@ -26635,13 +28246,13 @@ export RCLONE_CONFIG_MYREMOTE_ENV_AUTH=true
rclone lsd myremote:
```
-### --fast-list ###
+### --fast-list
This remote supports `--fast-list` which allows you to use fewer
transactions in exchange for more memory. See the [rclone
docs](https://rclone.org/docs/#fast-list) for more details.
-### --update and --use-server-modtime ###
+### --update and --use-server-modtime
As noted below, the modified time is stored on metadata on the object. It is
used by default for all operations that require checking the time a file was
@@ -26654,8 +28265,27 @@ sufficient to determine if it is "dirty". By using `--update` along with
`--use-server-modtime`, you can avoid the extra API call and simply upload
files whose local modtime is newer than the time it was last uploaded.
+### Modified time
+
+The modified time is stored as metadata on the object as
+`X-Object-Meta-Mtime` as floating point since the epoch accurate to 1
+ns.
+
+This is a de facto standard (used in the official python-swiftclient
+amongst others) for storing the modification time for an object.
+
+### Restricted filename characters
+
+| Character | Value | Replacement |
+| --------- |:-----:|:-----------:|
+| NUL | 0x00 | ␀ |
+| / | 0x2F | / |
+
+Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
+as they can't be used in JSON strings.
+
-### Standard Options
+### Standard options
Here are the standard options specific to swift (OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)).
@@ -26669,9 +28299,10 @@ Get swift credentials from environment variables in standard OpenStack form.
- Default: false
- Examples:
- "false"
- - Enter swift credentials in the next step
+ - Enter swift credentials in the next step.
- "true"
- - Get swift credentials from environment vars. Leave other fields blank if using this.
+ - Get swift credentials from environment vars.
+ - Leave other fields blank if using this.
#### --swift-user
@@ -26733,7 +28364,7 @@ User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)
#### --swift-tenant
-Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
+Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME).
- Config: tenant
- Env Var: RCLONE_SWIFT_TENANT
@@ -26742,7 +28373,7 @@ Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TEN
#### --swift-tenant-id
-Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
+Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID).
- Config: tenant_id
- Env Var: RCLONE_SWIFT_TENANT_ID
@@ -26751,7 +28382,7 @@ Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_I
#### --swift-tenant-domain
-Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
+Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME).
- Config: tenant_domain
- Env Var: RCLONE_SWIFT_TENANT_DOMAIN
@@ -26760,7 +28391,7 @@ Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
#### --swift-region
-Region name - optional (OS_REGION_NAME)
+Region name - optional (OS_REGION_NAME).
- Config: region
- Env Var: RCLONE_SWIFT_REGION
@@ -26769,7 +28400,7 @@ Region name - optional (OS_REGION_NAME)
#### --swift-storage-url
-Storage URL - optional (OS_STORAGE_URL)
+Storage URL - optional (OS_STORAGE_URL).
- Config: storage_url
- Env Var: RCLONE_SWIFT_STORAGE_URL
@@ -26778,7 +28409,7 @@ Storage URL - optional (OS_STORAGE_URL)
#### --swift-auth-token
-Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
+Auth Token from alternate authentication - optional (OS_AUTH_TOKEN).
- Config: auth_token
- Env Var: RCLONE_SWIFT_AUTH_TOKEN
@@ -26787,7 +28418,7 @@ Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
#### --swift-application-credential-id
-Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
+Application Credential ID (OS_APPLICATION_CREDENTIAL_ID).
- Config: application_credential_id
- Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_ID
@@ -26796,7 +28427,7 @@ Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
#### --swift-application-credential-name
-Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
+Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME).
- Config: application_credential_name
- Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_NAME
@@ -26805,7 +28436,7 @@ Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
#### --swift-application-credential-secret
-Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
+Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET).
- Config: application_credential_secret
- Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_SECRET
@@ -26814,7 +28445,7 @@ Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
#### --swift-auth-version
-AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
+AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION).
- Config: auth_version
- Env Var: RCLONE_SWIFT_AUTH_VERSION
@@ -26823,7 +28454,7 @@ AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH
#### --swift-endpoint-type
-Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE)
+Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE).
- Config: endpoint_type
- Env Var: RCLONE_SWIFT_ENDPOINT_TYPE
@@ -26839,7 +28470,7 @@ Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE)
#### --swift-storage-policy
-The storage policy to use when creating a new container
+The storage policy to use when creating a new container.
This applies the specified storage policy when creating a new
container. The policy cannot be changed afterwards. The allowed
@@ -26858,13 +28489,15 @@ provider.
- "pca"
- OVH Public Cloud Archive
-### Advanced Options
+### Advanced options
Here are the advanced options specific to swift (OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)).
#### --swift-leave-parts-on-error
-If true avoid calling abort upload on a failure. It should be set to true for resuming uploads across different sessions.
+If true avoid calling abort upload on a failure.
+
+It should be set to true for resuming uploads across different sessions.
- Config: leave_parts_on_error
- Env Var: RCLONE_SWIFT_LEAVE_PARTS_ON_ERROR
@@ -26905,7 +28538,7 @@ copy operations.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_SWIFT_ENCODING
@@ -26914,34 +28547,15 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
-### Modified time ###
-
-The modified time is stored as metadata on the object as
-`X-Object-Meta-Mtime` as floating point since the epoch accurate to 1
-ns.
-
-This is a de facto standard (used in the official python-swiftclient
-amongst others) for storing the modification time for an object.
-
-### Restricted filename characters
-
-| Character | Value | Replacement |
-| --------- |:-----:|:-----------:|
-| NUL | 0x00 | ␀ |
-| / | 0x2F | / |
-
-Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
-as they can't be used in JSON strings.
-
-### Limitations ###
+## Limitations
The Swift API doesn't return a correct MD5SUM for segmented files
(Dynamic or Static Large Objects) so rclone won't check or use the
MD5SUM for these.
-### Troubleshooting ###
+## Troubleshooting
-#### Rclone gives Failed to create file system for "remote:": Bad Request ####
+### Rclone gives Failed to create file system for "remote:": Bad Request
Due to an oddity of the underlying swift library, it gives a "Bad
Request" error rather than a more sensible error when the
@@ -26953,17 +28567,35 @@ investigate further with the `--dump-bodies` flag.
This may also be caused by specifying the region when you shouldn't
have (e.g. OVH).
-#### Rclone gives Failed to create file system: Response didn't have storage url and auth token ####
+### Rclone gives Failed to create file system: Response didn't have storage url and auth token
This is most likely caused by forgetting to specify your tenant when
setting up a swift remote.
+## OVH Cloud Archive
+
+To use rclone with OVH cloud archive, first use `rclone config` to set up a `swift` backend with OVH, choosing `pca` as the `storage_policy`.
+
+### Uploading Objects
+
+Uploading objects to OVH cloud archive is no different to object storage, you just simply run the command you like (move, copy or sync) to upload the objects. Once uploaded the objects will show in a "Frozen" state within the OVH control panel.
+
+### Retrieving Objects
+
+To retrieve objects use `rclone copy` as normal. If the objects are in a frozen state then rclone will ask for them all to be unfrozen and it will wait at the end of the output with a message like the following:
+
+`2019/03/23 13:06:33 NOTICE: Received retry after error - sleeping until 2019-03-23T13:16:33.481657164+01:00 (9m59.99985121s)`
+
+Rclone will wait for the time specified then retry the copy.
+
# pCloud
Paths are specified as `remote:path`
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
+## Configuration
+
The initial setup for pCloud involves getting a token from pCloud which you
need to do in your browser. `rclone config` walks you through it.
@@ -27044,13 +28676,10 @@ second. These will be used to detect whether objects need syncing or
not. In order to set a Modification time pCloud requires the object
be re-uploaded.
-pCloud supports MD5 and SHA1 type hashes in the US region but and SHA1
-only in the EU region, so you can use the `--checksum` flag.
+pCloud supports MD5 and SHA1 hashes in the US region, and SHA1 and SHA256
+hashes in the EU region, so you can use the `--checksum` flag.
-(Note that pCloud also support SHA256 in the EU region, but rclone
-does not have support for that yet.)
-
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -27062,13 +28691,13 @@ the following characters are also replaced:
Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
as they can't be used in JSON strings.
-### Deleting files ###
+### Deleting files
Deleted files will be moved to the trash. Your subscription level
will determine how long items stay in the trash. `rclone cleanup` can
be used to empty the trash.
-### Root folder ID ###
+### Root folder ID
You can set the `root_folder_id` for rclone. This is the directory
(identified by its `Folder ID`) that rclone considers to be the root
@@ -27091,13 +28720,14 @@ in the browser, then you use `5xxxxxxxx8` as
the `root_folder_id` in the config.
-### Standard Options
+### Standard options
Here are the standard options specific to pcloud (Pcloud).
#### --pcloud-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -27107,7 +28737,8 @@ Leave blank normally.
#### --pcloud-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -27115,7 +28746,7 @@ Leave blank normally.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to pcloud (Pcloud).
@@ -27131,6 +28762,7 @@ OAuth Access Token as a JSON blob.
#### --pcloud-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -27141,6 +28773,7 @@ Leave blank to use the provider defaults.
#### --pcloud-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -27152,7 +28785,7 @@ Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_PCLOUD_ENCODING
@@ -27195,6 +28828,8 @@ Paths are specified as `remote:path`
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
+## Configuration
+
The initial setup for [premiumize.me](https://premiumize.me/) involves getting a token from premiumize.me which you
need to do in your browser. `rclone config` walks you through it.
@@ -27266,13 +28901,13 @@ To copy a local directory to an premiumize.me directory called backup
rclone copy /home/source remote:backup
-### Modified time and hashes ###
+### Modified time and hashes
premiumize.me does not support modification times or hashes, therefore
syncing will default to `--size-only` checking. Note that using
`--update` will work.
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -27286,7 +28921,7 @@ Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid
as they can't be used in JSON strings.
-### Standard Options
+### Standard options
Here are the standard options specific to premiumizeme (premiumize.me).
@@ -27302,7 +28937,7 @@ This is not normally used - use oauth instead.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to premiumizeme (premiumize.me).
@@ -27310,7 +28945,7 @@ Here are the advanced options specific to premiumizeme (premiumize.me).
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_PREMIUMIZEME_ENCODING
@@ -27319,7 +28954,7 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
-### Limitations ###
+## Limitations
Note that premiumize.me is case insensitive so you can't have a file called
"Hello.doc" and one called "hello.doc".
@@ -27337,6 +28972,8 @@ Paths are specified as `remote:path`
put.io paths may be as deep as required, e.g.
`remote:directory/subdirectory`.
+## Configuration
+
The initial setup for put.io involves getting a token from put.io
which you need to do in your browser. `rclone config` walks you
through it.
@@ -27421,7 +29058,7 @@ To copy a local directory to a put.io directory called backup
rclone copy /home/source remote:backup
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -27434,7 +29071,7 @@ Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid
as they can't be used in JSON strings.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to putio (Put.io).
@@ -27442,7 +29079,7 @@ Here are the advanced options specific to putio (Put.io).
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_PUTIO_ENCODING
@@ -27459,7 +29096,7 @@ This is a backend for the [Seafile](https://www.seafile.com/) storage service:
- Encrypted libraries are also supported.
- It supports 2FA enabled users
-### Root mode vs Library mode ###
+## Configuration
There are two distinct modes you can setup your remote:
- you point your remote to the **root of the server**, meaning you don't specify a library during the configuration:
@@ -27467,7 +29104,7 @@ Paths are specified as `remote:library`. You may put subdirectories in too, e.g.
- you point your remote to a specific library during the configuration:
Paths are specified as `remote:path/to/dir`. **This is the recommended mode when using encrypted libraries**. (_This mode is possibly slightly faster than the root mode_)
-### Configuration in root mode ###
+### Configuration in root mode
Here is an example of making a seafile configuration for a user with **no** two-factor authentication. First run
@@ -27561,7 +29198,7 @@ excess files in the library.
rclone sync -i /home/local/directory seafile:library
-### Configuration in library mode ###
+### Configuration in library mode
Here's an example of a configuration in library mode with a user that has the two-factor authentication enabled. Your 2FA code will be asked at the end of the configuration, and will attempt to authenticate you:
@@ -27658,7 +29295,7 @@ excess files in the library.
rclone sync -i /home/local/directory seafile:
-### --fast-list ###
+### --fast-list
Seafile version 7+ supports `--fast-list` which allows you to use fewer
transactions in exchange for more memory. See the [rclone
@@ -27666,7 +29303,7 @@ docs](https://rclone.org/docs/#fast-list) for more details.
Please note this is not supported on seafile server version 6.x
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -27680,7 +29317,7 @@ the following characters are also replaced:
Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
as they can't be used in JSON strings.
-### Seafile and rclone link ###
+### Seafile and rclone link
Rclone supports generating share links for non-encrypted libraries only.
They can either be for a file or a directory:
@@ -27701,7 +29338,7 @@ http://my.seafile.server/d/9ea2455f6f55478bbb0d/
Please note a share link is unique for each file or directory. If you run a link command on a file/dir
that has already been shared, you will get the exact same link.
-### Compatibility ###
+### Compatibility
It has been actively tested using the [seafile docker image](https://github.com/haiwen/seafile-docker) of these versions:
- 6.3.4 community edition
@@ -27712,13 +29349,13 @@ Versions below 6.0 are not supported.
Versions between 6.0 and 6.3 haven't been tested and might not work properly.
-### Standard Options
+### Standard options
Here are the standard options specific to seafile (seafile).
#### --seafile-url
-URL of seafile host to connect to
+URL of seafile host to connect to.
- Config: url
- Env Var: RCLONE_SEAFILE_URL
@@ -27726,11 +29363,11 @@ URL of seafile host to connect to
- Default: ""
- Examples:
- "https://cloud.seafile.com/"
- - Connect to cloud.seafile.com
+ - Connect to cloud.seafile.com.
#### --seafile-user
-User name (usually email address)
+User name (usually email address).
- Config: user
- Env Var: RCLONE_SEAFILE_USER
@@ -27739,7 +29376,7 @@ User name (usually email address)
#### --seafile-pass
-Password
+Password.
**NB** Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).
@@ -27750,7 +29387,7 @@ Password
#### --seafile-2fa
-Two-factor authentication ('true' if the account has 2FA enabled)
+Two-factor authentication ('true' if the account has 2FA enabled).
- Config: 2fa
- Env Var: RCLONE_SEAFILE_2FA
@@ -27759,7 +29396,9 @@ Two-factor authentication ('true' if the account has 2FA enabled)
#### --seafile-library
-Name of the library. Leave blank to access all non-encrypted libraries.
+Name of the library.
+
+Leave blank to access all non-encrypted libraries.
- Config: library
- Env Var: RCLONE_SEAFILE_LIBRARY
@@ -27768,7 +29407,9 @@ Name of the library. Leave blank to access all non-encrypted libraries.
#### --seafile-library-key
-Library password (for encrypted libraries only). Leave blank if you pass it through the command line.
+Library password (for encrypted libraries only).
+
+Leave blank if you pass it through the command line.
**NB** Input to this must be obscured - see [rclone obscure](https://rclone.org/commands/rclone_obscure/).
@@ -27779,20 +29420,20 @@ Library password (for encrypted libraries only). Leave blank if you pass it thro
#### --seafile-auth-token
-Authentication token
+Authentication token.
- Config: auth_token
- Env Var: RCLONE_SEAFILE_AUTH_TOKEN
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to seafile (seafile).
#### --seafile-create-library
-Should rclone create a library if it doesn't exist
+Should rclone create a library if it doesn't exist.
- Config: create_library
- Env Var: RCLONE_SEAFILE_CREATE_LIBRARY
@@ -27803,7 +29444,7 @@ Should rclone create a library if it doesn't exist
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_SEAFILE_ENCODING
@@ -27834,10 +29475,12 @@ would list the home directory of the user cofigured in the rclone remote config
(`i.e /home/sftpuser`). However, `rclone lsd remote:/` would list the root
directory for remote machine (i.e. `/`)
-"Note that some SFTP servers will need the leading / - Synology is a
+Note that some SFTP servers will need the leading / - Synology is a
good example of this. rsync.net, on the other hand, requires users to
OMIT the leading /.
+## Configuration
+
Here is an example of making an SFTP configuration. First run
rclone config
@@ -27917,7 +29560,7 @@ Mount the remote path `/srv/www-data/` to the local path
rclone mount remote:/srv/www-data/ /mnt/www-data
-### SSH Authentication ###
+### SSH Authentication
The SFTP remote supports three authentication methods:
@@ -27930,25 +29573,39 @@ Only unencrypted OpenSSH or PEM encrypted files are supported.
The key file can be specified in either an external file (key_file) or contained within the
rclone config file (key_pem). If using key_pem in the config file, the entry should be on a
-single line with new line ('\n' or '\r\n') separating lines. i.e.
+single line with new line ('\n' or '\r\n') separating lines. i.e.
-key_pem = -----BEGIN RSA PRIVATE KEY-----\nMaMbaIXtE\n0gAMbMbaSsd\nMbaass\n-----END RSA PRIVATE KEY-----
+ key_pem = -----BEGIN RSA PRIVATE KEY-----\nMaMbaIXtE\n0gAMbMbaSsd\nMbaass\n-----END RSA PRIVATE KEY-----
-This will generate it correctly for key_pem for use in the config:
+This will generate it correctly for key_pem for use in the config:
awk '{printf "%s\\n", $0}' < ~/.ssh/id_rsa
-If you don't specify `pass`, `key_file`, or `key_pem` then rclone will attempt to contact an ssh-agent.
-
-You can also specify `key_use_agent` to force the usage of an ssh-agent. In this case
-`key_file` or `key_pem` can also be specified to force the usage of a specific key in the ssh-agent.
+If you don't specify `pass`, `key_file`, or `key_pem` or `ask_password` then
+rclone will attempt to contact an ssh-agent. You can also specify `key_use_agent`
+to force the usage of an ssh-agent. In this case `key_file` or `key_pem` can
+also be specified to force the usage of a specific key in the ssh-agent.
Using an ssh-agent is the only way to load encrypted OpenSSH keys at the moment.
-If you set the `--sftp-ask-password` option, rclone will prompt for a
-password when needed and no password has been configured.
+If you set the `ask_password` option, rclone will prompt for a password when
+needed and no password has been configured.
+
+#### Certificate-signed keys
-If you have a certificate then you can provide the path to the public key that contains the certificate. For example:
+With traditional key-based authentication, you configure your private key only,
+and the public key built into it will be used during the authentication process.
+
+If you have a certificate you may use it to sign your public key, creating a
+separate SSH user certificate that should be used instead of the plain public key
+extracted from the private key. Then you must provide the path to the
+user certificate public key file in `pubkey_file`.
+
+Note: This is not the traditional public key paired with your private key,
+typically saved as `/home/$USER/.ssh/id_rsa.pub`. Setting this path in
+`pubkey_file` will not work.
+
+Example:
```
[remote]
@@ -27968,7 +29625,7 @@ Note: the cert must come first in the file. e.g.
cat id_rsa-cert.pub id_rsa > merged_key
```
-### Host key validation ###
+### Host key validation
By default rclone will not check the server's host key for validation. This
can allow an attacker to replace a server with their own and if you use
@@ -28019,7 +29676,7 @@ and you will need to add the appropriate `@cert-authority` entry.
The `known_hosts_file` setting can be set during `rclone config` as an
advanced option.
-### ssh-agent on macOS ###
+### ssh-agent on macOS
Note that there seem to be various problems with using an ssh-agent on
macOS due to recent changes in the OS. The most effective work-around
@@ -28033,7 +29690,7 @@ And then at the end of the session
These commands can be used in scripts of course.
-### Modified time ###
+### Modified time
Modified times are stored on the server to 1 second precision.
@@ -28045,25 +29702,24 @@ are using one of these servers, you can set the option `set_modtime = false` in
your RClone backend configuration to disable this behaviour.
-### Standard Options
+### Standard options
Here are the standard options specific to sftp (SSH/SFTP Connection).
#### --sftp-host
-SSH host to connect to
+SSH host to connect to.
+
+E.g. "example.com".
- Config: host
- Env Var: RCLONE_SFTP_HOST
- Type: string
- Default: ""
-- Examples:
- - "example.com"
- - Connect to example.com
#### --sftp-user
-SSH username, leave blank for current username, $USER
+SSH username, leave blank for current username, $USER.
- Config: user
- Env Var: RCLONE_SFTP_USER
@@ -28072,7 +29728,7 @@ SSH username, leave blank for current username, $USER
#### --sftp-port
-SSH port, leave blank to use default (22)
+SSH port, leave blank to use default (22).
- Config: port
- Env Var: RCLONE_SFTP_PORT
@@ -28092,7 +29748,9 @@ SSH password, leave blank to use ssh-agent.
#### --sftp-key-pem
-Raw PEM-encoded private key, If specified, will override key_file parameter.
+Raw PEM-encoded private key.
+
+If specified, will override key_file parameter.
- Config: key_pem
- Env Var: RCLONE_SFTP_KEY_PEM
@@ -28101,10 +29759,11 @@ Raw PEM-encoded private key, If specified, will override key_file parameter.
#### --sftp-key-file
-Path to PEM-encoded private key file, leave blank or set key-use-agent to use ssh-agent.
+Path to PEM-encoded private key file.
-Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
+Leave blank or set key-use-agent to use ssh-agent.
+Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
- Config: key_file
- Env Var: RCLONE_SFTP_KEY_FILE
@@ -28133,7 +29792,6 @@ Set this if you have a signed certificate you want to use for authentication.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
-
- Config: pubkey_file
- Env Var: RCLONE_SFTP_PUBKEY_FILE
- Type: string
@@ -28180,6 +29838,7 @@ Those algorithms are insecure and may allow plaintext data to be recovered by an
#### --sftp-disable-hashcheck
Disable the execution of SSH commands to determine if remote file hashing is available.
+
Leave blank or set to false to enable hashing (recommended), set to true to disable hashing.
- Config: disable_hashcheck
@@ -28187,7 +29846,7 @@ Leave blank or set to false to enable hashing (recommended), set to true to disa
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to sftp (SSH/SFTP Connection).
@@ -28199,14 +29858,13 @@ Set this value to enable server host key validation.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
-
- Config: known_hosts_file
- Env Var: RCLONE_SFTP_KNOWN_HOSTS_FILE
- Type: string
- Default: ""
- Examples:
- "~/.ssh/known_hosts"
- - Use OpenSSH's known_hosts file
+ - Use OpenSSH's known_hosts file.
#### --sftp-ask-password
@@ -28253,7 +29911,9 @@ Set the modified time on the remote if set.
#### --sftp-md5sum-command
-The command used to read md5 hashes. Leave blank for autodetect.
+The command used to read md5 hashes.
+
+Leave blank for autodetect.
- Config: md5sum_command
- Env Var: RCLONE_SFTP_MD5SUM_COMMAND
@@ -28262,7 +29922,9 @@ The command used to read md5 hashes. Leave blank for autodetect.
#### --sftp-sha1sum-command
-The command used to read sha1 hashes. Leave blank for autodetect.
+The command used to read sha1 hashes.
+
+Leave blank for autodetect.
- Config: sha1sum_command
- Env Var: RCLONE_SFTP_SHA1SUM_COMMAND
@@ -28300,7 +29962,7 @@ The subsystem option is ignored when server_command is defined.
#### --sftp-use-fstat
-If set use fstat instead of stat
+If set use fstat instead of stat.
Some servers limit the amount of open files and calling Stat after opening
the file will throw an error from the server. Setting this flag will call
@@ -28318,7 +29980,7 @@ any given time.
#### --sftp-disable-concurrent-reads
-If set don't use concurrent reads
+If set don't use concurrent reads.
Normally concurrent reads are safe to use and not using them will
degrade performance, so this option is disabled by default.
@@ -28341,7 +30003,7 @@ If concurrent reads are disabled, the use_fstat option is ignored.
#### --sftp-disable-concurrent-writes
-If set don't use concurrent writes
+If set don't use concurrent writes.
Normally rclone uses concurrent writes to upload files. This improves
the performance greatly, especially for distant servers.
@@ -28356,7 +30018,7 @@ This option disables concurrent writes should that be necessary.
#### --sftp-idle-timeout
-Max time before closing idle connections
+Max time before closing idle connections.
If no connections have been returned to the connection pool in the time
given, rclone will empty the connection pool.
@@ -28371,7 +30033,7 @@ Set to 0 to keep connections indefinitely.
-### Limitations ###
+## Limitations
SFTP supports checksums if the same login has shell access and `md5sum`
or `sha1sum` as well as `echo` are in the remote's PATH.
@@ -28429,6 +30091,8 @@ See [rsync.net's documentation of rclone examples](https://www.rsync.net/product
active synchronization of files across computers and other devices for
file backup, access, syncing, and sharing.
+## Configuration
+
The initial setup for SugarSync involves getting a token from SugarSync which you
can do with rclone. `rclone config` walks you through it.
@@ -28515,13 +30179,13 @@ Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
create a folder, which rclone will create as a "Sync Folder" with
SugarSync.
-### Modified time and hashes ###
+### Modified time and hashes
SugarSync does not support modification times or hashes, therefore
syncing will default to `--size-only` checking. Note that using
`--update` will work as rclone can read the time files were uploaded.
-#### Restricted filename characters
+### Restricted filename characters
SugarSync replaces the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
except for DEL.
@@ -28529,7 +30193,7 @@ except for DEL.
Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
as they can't be used in XML strings.
-### Deleting files ###
+### Deleting files
Deleted files will be moved to the "Deleted items" folder by default.
@@ -28539,7 +30203,7 @@ deleted straight away.
-### Standard Options
+### Standard options
Here are the standard options specific to sugarsync (Sugarsync).
@@ -28567,7 +30231,7 @@ Leave blank to use rclone's.
#### --sugarsync-private-access-key
-Sugarsync Private Access Key
+Sugarsync Private Access Key.
Leave blank to use rclone's.
@@ -28586,13 +30250,13 @@ otherwise put them in the deleted files.
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to sugarsync (Sugarsync).
#### --sugarsync-refresh-token
-Sugarsync refresh token
+Sugarsync refresh token.
Leave blank normally, will be auto configured by rclone.
@@ -28603,7 +30267,7 @@ Leave blank normally, will be auto configured by rclone.
#### --sugarsync-authorization
-Sugarsync authorization
+Sugarsync authorization.
Leave blank normally, will be auto configured by rclone.
@@ -28614,7 +30278,7 @@ Leave blank normally, will be auto configured by rclone.
#### --sugarsync-authorization-expiry
-Sugarsync authorization expiry
+Sugarsync authorization expiry.
Leave blank normally, will be auto configured by rclone.
@@ -28625,7 +30289,7 @@ Leave blank normally, will be auto configured by rclone.
#### --sugarsync-user
-Sugarsync user
+Sugarsync user.
Leave blank normally, will be auto configured by rclone.
@@ -28636,7 +30300,7 @@ Leave blank normally, will be auto configured by rclone.
#### --sugarsync-root-id
-Sugarsync root id
+Sugarsync root id.
Leave blank normally, will be auto configured by rclone.
@@ -28647,7 +30311,7 @@ Leave blank normally, will be auto configured by rclone.
#### --sugarsync-deleted-id
-Sugarsync deleted folder id
+Sugarsync deleted folder id.
Leave blank normally, will be auto configured by rclone.
@@ -28660,7 +30324,7 @@ Leave blank normally, will be auto configured by rclone.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_SUGARSYNC_ENCODING
@@ -28668,7 +30332,8 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
- Default: Slash,Ctl,InvalidUtf8,Dot
-### Limitations
+
+## Limitations
`rclone about` is not supported by the SugarSync backend. Backends without
this capability cannot determine free space for an rclone mount or
@@ -28684,7 +30349,7 @@ See [rclone about](https://rclone.org/commands/rclone_about/)
cost-effective object storage service that enables you to store, back up, and
archive large amounts of data in a decentralized manner.
-## Setup
+## Configuration
To make a new Tardigrade configuration you need one of the following:
* Access Grant that someone else shared with you.
@@ -28797,6 +30462,74 @@ d) Delete this remote
y/e/d> y
```
+
+### Standard options
+
+Here are the standard options specific to tardigrade (Tardigrade Decentralized Cloud Storage).
+
+#### --tardigrade-provider
+
+Choose an authentication method.
+
+- Config: provider
+- Env Var: RCLONE_TARDIGRADE_PROVIDER
+- Type: string
+- Default: "existing"
+- Examples:
+ - "existing"
+ - Use an existing access grant.
+ - "new"
+ - Create a new access grant from satellite address, API key, and passphrase.
+
+#### --tardigrade-access-grant
+
+Access grant.
+
+- Config: access_grant
+- Env Var: RCLONE_TARDIGRADE_ACCESS_GRANT
+- Type: string
+- Default: ""
+
+#### --tardigrade-satellite-address
+
+Satellite address.
+
+Custom satellite address should match the format: `<nodeid>@<address>:<port>`.
+
+- Config: satellite_address
+- Env Var: RCLONE_TARDIGRADE_SATELLITE_ADDRESS
+- Type: string
+- Default: "us-central-1.tardigrade.io"
+- Examples:
+ - "us-central-1.tardigrade.io"
+ - US Central 1
+ - "europe-west-1.tardigrade.io"
+ - Europe West 1
+ - "asia-east-1.tardigrade.io"
+ - Asia East 1
+
+#### --tardigrade-api-key
+
+API key.
+
+- Config: api_key
+- Env Var: RCLONE_TARDIGRADE_API_KEY
+- Type: string
+- Default: ""
+
+#### --tardigrade-passphrase
+
+Encryption passphrase.
+
+To access existing objects enter passphrase used for uploading.
+
+- Config: passphrase
+- Env Var: RCLONE_TARDIGRADE_PASSPHRASE
+- Type: string
+- Default: ""
+
+
+
## Usage
Paths are specified as `remote:bucket` (or `remote:` for the `lsf`
@@ -28911,70 +30644,7 @@ Or even between another cloud storage and Tardigrade.
rclone sync -i --progress s3:bucket/path/to/dir/ tardigrade:bucket/path/to/dir/
-
-### Standard Options
-
-Here are the standard options specific to tardigrade (Tardigrade Decentralized Cloud Storage).
-
-#### --tardigrade-provider
-
-Choose an authentication method.
-
-- Config: provider
-- Env Var: RCLONE_TARDIGRADE_PROVIDER
-- Type: string
-- Default: "existing"
-- Examples:
- - "existing"
- - Use an existing access grant.
- - "new"
- - Create a new access grant from satellite address, API key, and passphrase.
-
-#### --tardigrade-access-grant
-
-Access Grant.
-
-- Config: access_grant
-- Env Var: RCLONE_TARDIGRADE_ACCESS_GRANT
-- Type: string
-- Default: ""
-
-#### --tardigrade-satellite-address
-
-Satellite Address. Custom satellite address should match the format: `<nodeid>@<address>:<port>`.
-
-- Config: satellite_address
-- Env Var: RCLONE_TARDIGRADE_SATELLITE_ADDRESS
-- Type: string
-- Default: "us-central-1.tardigrade.io"
-- Examples:
- - "us-central-1.tardigrade.io"
- - US Central 1
- - "europe-west-1.tardigrade.io"
- - Europe West 1
- - "asia-east-1.tardigrade.io"
- - Asia East 1
-
-#### --tardigrade-api-key
-
-API Key.
-
-- Config: api_key
-- Env Var: RCLONE_TARDIGRADE_API_KEY
-- Type: string
-- Default: ""
-
-#### --tardigrade-passphrase
-
-Encryption Passphrase. To access existing objects enter passphrase used for uploading.
-
-- Config: passphrase
-- Env Var: RCLONE_TARDIGRADE_PASSPHRASE
-- Type: string
-- Default: ""
-
-
-### Limitations
+## Limitations
`rclone about` is not supported by the rclone Tardigrade backend. Backends without
this capability cannot determine free space for an rclone mount or
@@ -28984,7 +30654,7 @@ remote.
See [List of backends that do not support rclone about](https://rclone.org/overview/#optional-features)
See [rclone about](https://rclone.org/commands/rclone_about/)
-### Known issues
+## Known issues
If you get errors like `too many open files` this usually happens when the default `ulimit` for system max open files is exceeded. Native Storj protocol opens a large number of TCP connections (each of which is counted as an open file). For a single upload stream you can expect 110 TCP connections to be opened. For a single download stream you can expect 35. This batch of connections will be opened for every 64 MiB segment and you should also expect TCP connections to be reused. If you do many transfers you eventually open a connection to most storage nodes (thousands of nodes).
@@ -28999,14 +30669,11 @@ Paths are specified as `remote:path`
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
-### Setup
+## Configuration
To configure an Uptobox backend you'll need your personal api token. You'll find it in your
[account settings](https://uptobox.com/my_account)
-
-### Example
-
Here is an example of how to make a remote called `remote` with the default setup. First run:
rclone config
@@ -29075,7 +30742,7 @@ To copy a local directory to an Uptobox directory called backup
Uptobox supports neither modified times nor checksums.
-#### Restricted filename characters
+### Restricted filename characters
In addition to the [default restricted characters set](https://rclone.org/overview/#restricted-characters)
the following characters are also replaced:
@@ -29089,20 +30756,22 @@ Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid
as they can't be used in XML strings.
-### Standard Options
+### Standard options
Here are the standard options specific to uptobox (Uptobox).
#### --uptobox-access-token
-Your access Token, get it from https://uptobox.com/my_account
+Your access token.
+
+Get it from https://uptobox.com/my_account.
- Config: access_token
- Env Var: RCLONE_UPTOBOX_ACCESS_TOKEN
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to uptobox (Uptobox).
@@ -29110,7 +30779,7 @@ Here are the advanced options specific to uptobox (Uptobox).
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_UPTOBOX_ENCODING
@@ -29119,7 +30788,7 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
-### Limitations
+## Limitations
Uptobox will delete inactive files that have not been accessed in 60 days.
@@ -29147,75 +30816,7 @@ There will be no special handling of paths containing `..` segments.
Invoking `rclone mkdir backup:../desktop` is exactly the same as invoking
`rclone mkdir mydrive:private/backup/../desktop`.
-### Behavior / Policies
-
-The behavior of union backend is inspired by [trapexit/mergerfs](https://github.com/trapexit/mergerfs). All functions are grouped into 3 categories: **action**, **create** and **search**. These functions and categories can be assigned a policy which dictates what file or directory is chosen when performing that behavior. Any policy can be assigned to a function or category though some may not be very useful in practice. For instance: **rand** (random) may be useful for file creation (create) but could lead to very odd behavior if used for `delete` if there were more than one copy of the file.
-
-#### Function / Category classifications
-
-| Category | Description | Functions |
-|----------|--------------------------|-------------------------------------------------------------------------------------|
-| action | Writing Existing file | move, rmdir, rmdirs, delete, purge and copy, sync (as destination when file exist) |
-| create | Create non-existing file | copy, sync (as destination when file not exist) |
-| search | Reading and listing file | ls, lsd, lsl, cat, md5sum, sha1sum and copy, sync (as source) |
-| N/A | | size, about |
-
-#### Path Preservation
-
-Policies, as described below, are of two basic types. `path preserving` and `non-path preserving`.
-
-All policies which start with `ep` (**epff**, **eplfs**, **eplus**, **epmfs**, **eprand**) are `path preserving`. `ep` stands for `existing path`.
-
-A path preserving policy will only consider upstreams where the relative path being accessed already exists.
-
-When using non-path preserving policies paths will be created in target upstreams as necessary.
-
-#### Quota Relevant Policies
-
-Some policies rely on quota information. These policies should be used only if your upstreams support the respective quota fields.
-
-| Policy | Required Field |
-|------------|----------------|
-| lfs, eplfs | Free |
-| mfs, epmfs | Free |
-| lus, eplus | Used |
-| lno, eplno | Objects |
-
-To check if your upstream supports the field, run `rclone about remote: [flags]` and see if the required field exists.
-
-#### Filters
-
-Policies basically search upstream remotes and create a list of files / paths for functions to work on. The policy is responsible for filtering and sorting. The policy type defines the sorting but filtering is mostly uniform as described below.
-
-* No **search** policies filter.
-* All **action** policies will filter out remotes which are tagged as **read-only**.
-* All **create** policies will filter out remotes which are tagged **read-only** or **no-create**.
-
-If all remotes are filtered an error will be returned.
-
-#### Policy descriptions
-
-The policies definition are inspired by [trapexit/mergerfs](https://github.com/trapexit/mergerfs) but not exactly the same. Some policy definition could be different due to the much larger latency of remote file systems.
-
-| Policy | Description |
-|------------------|------------------------------------------------------------|
-| all | Search category: same as **epall**. Action category: same as **epall**. Create category: act on all upstreams. |
-| epall (existing path, all) | Search category: Given this order configured, act on the first one found where the relative path exists. Action category: apply to all found. Create category: act on all upstreams where the relative path exists. |
-| epff (existing path, first found) | Act on the first one found, by the time upstreams reply, where the relative path exists. |
-| eplfs (existing path, least free space) | Of all the upstreams on which the relative path exists choose the one with the least free space. |
-| eplus (existing path, least used space) | Of all the upstreams on which the relative path exists choose the one with the least used space. |
-| eplno (existing path, least number of objects) | Of all the upstreams on which the relative path exists choose the one with the least number of objects. |
-| epmfs (existing path, most free space) | Of all the upstreams on which the relative path exists choose the one with the most free space. |
-| eprand (existing path, random) | Calls **epall** and then randomizes. Returns only one upstream. |
-| ff (first found) | Search category: same as **epff**. Action category: same as **epff**. Create category: Act on the first one found by the time upstreams reply. |
-| lfs (least free space) | Search category: same as **eplfs**. Action category: same as **eplfs**. Create category: Pick the upstream with the least available free space. |
-| lus (least used space) | Search category: same as **eplus**. Action category: same as **eplus**. Create category: Pick the upstream with the least used space. |
-| lno (least number of objects) | Search category: same as **eplno**. Action category: same as **eplno**. Create category: Pick the upstream with the least number of objects. |
-| mfs (most free space) | Search category: same as **epmfs**. Action category: same as **epmfs**. Create category: Pick the upstream with the most available free space. |
-| newest | Pick the file / directory with the largest mtime. |
-| rand (random) | Calls **all** and then randomizes. Returns only one upstream. |
-
-### Setup
+## Configuration
Here is an example of how to make a union called `remote` for local folders.
First run:
@@ -29294,16 +30895,84 @@ Copy another local directory to the union directory called source, which will be
rclone copy C:\source remote:source
+### Behavior / Policies
+
+The behavior of union backend is inspired by [trapexit/mergerfs](https://github.com/trapexit/mergerfs). All functions are grouped into 3 categories: **action**, **create** and **search**. These functions and categories can be assigned a policy which dictates what file or directory is chosen when performing that behavior. Any policy can be assigned to a function or category though some may not be very useful in practice. For instance: **rand** (random) may be useful for file creation (create) but could lead to very odd behavior if used for `delete` if there were more than one copy of the file.
-### Standard Options
+### Function / Category classifications
+
+| Category | Description | Functions |
+|----------|--------------------------|-------------------------------------------------------------------------------------|
+| action | Writing Existing file | move, rmdir, rmdirs, delete, purge and copy, sync (as destination when file exist) |
+| create | Create non-existing file | copy, sync (as destination when file not exist) |
+| search | Reading and listing file | ls, lsd, lsl, cat, md5sum, sha1sum and copy, sync (as source) |
+| N/A | | size, about |
+
+### Path Preservation
+
+Policies, as described below, are of two basic types. `path preserving` and `non-path preserving`.
+
+All policies which start with `ep` (**epff**, **eplfs**, **eplus**, **epmfs**, **eprand**) are `path preserving`. `ep` stands for `existing path`.
+
+A path preserving policy will only consider upstreams where the relative path being accessed already exists.
+
+When using non-path preserving policies paths will be created in target upstreams as necessary.
+
+### Quota Relevant Policies
+
+Some policies rely on quota information. These policies should be used only if your upstreams support the respective quota fields.
+
+| Policy | Required Field |
+|------------|----------------|
+| lfs, eplfs | Free |
+| mfs, epmfs | Free |
+| lus, eplus | Used |
+| lno, eplno | Objects |
+
+To check if your upstream supports the field, run `rclone about remote: [flags]` and see if the required field exists.
+
+### Filters
+
+Policies basically search upstream remotes and create a list of files / paths for functions to work on. The policy is responsible for filtering and sorting. The policy type defines the sorting but filtering is mostly uniform as described below.
+
+* No **search** policies filter.
+* All **action** policies will filter out remotes which are tagged as **read-only**.
+* All **create** policies will filter out remotes which are tagged **read-only** or **no-create**.
+
+If all remotes are filtered an error will be returned.
+
+### Policy descriptions
+
+The policies definition are inspired by [trapexit/mergerfs](https://github.com/trapexit/mergerfs) but not exactly the same. Some policy definition could be different due to the much larger latency of remote file systems.
+
+| Policy | Description |
+|------------------|------------------------------------------------------------|
+| all | Search category: same as **epall**. Action category: same as **epall**. Create category: act on all upstreams. |
+| epall (existing path, all) | Search category: Given this order configured, act on the first one found where the relative path exists. Action category: apply to all found. Create category: act on all upstreams where the relative path exists. |
+| epff (existing path, first found) | Act on the first one found, by the time upstreams reply, where the relative path exists. |
+| eplfs (existing path, least free space) | Of all the upstreams on which the relative path exists choose the one with the least free space. |
+| eplus (existing path, least used space) | Of all the upstreams on which the relative path exists choose the one with the least used space. |
+| eplno (existing path, least number of objects) | Of all the upstreams on which the relative path exists choose the one with the least number of objects. |
+| epmfs (existing path, most free space) | Of all the upstreams on which the relative path exists choose the one with the most free space. |
+| eprand (existing path, random) | Calls **epall** and then randomizes. Returns only one upstream. |
+| ff (first found) | Search category: same as **epff**. Action category: same as **epff**. Create category: Act on the first one found by the time upstreams reply. |
+| lfs (least free space) | Search category: same as **eplfs**. Action category: same as **eplfs**. Create category: Pick the upstream with the least available free space. |
+| lus (least used space) | Search category: same as **eplus**. Action category: same as **eplus**. Create category: Pick the upstream with the least used space. |
+| lno (least number of objects) | Search category: same as **eplno**. Action category: same as **eplno**. Create category: Pick the upstream with the least number of objects. |
+| mfs (most free space) | Search category: same as **epmfs**. Action category: same as **epmfs**. Create category: Pick the upstream with the most available free space. |
+| newest | Pick the file / directory with the largest mtime. |
+| rand (random) | Calls **all** and then randomizes. Returns only one upstream. |
+
+
+### Standard options
Here are the standard options specific to union (Union merges the contents of several upstream fs).
#### --union-upstreams
List of space separated upstreams.
-Can be 'upstreama:test/dir upstreamb:', '"upstreama:test/space:ro dir" upstreamb:', etc.
+Can be 'upstreama:test/dir upstreamb:', '"upstreama:test/space:ro dir" upstreamb:', etc.
- Config: upstreams
- Env Var: RCLONE_UNION_UPSTREAMS
@@ -29339,7 +31008,9 @@ Policy to choose upstream on SEARCH category.
#### --union-cache-time
-Cache time of usage and free space (in seconds). This option is only useful when a path preserving policy is used.
+Cache time of usage and free space (in seconds).
+
+This option is only useful when a path preserving policy is used.
- Config: cache_time
- Env Var: RCLONE_UNION_CACHE_TIME
@@ -29354,6 +31025,8 @@ Paths are specified as `remote:path`
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
+## Configuration
+
To configure the WebDAV remote you will need to have a URL for it, and
a username and password. If you know what kind of system you are
connecting to then rclone can enable extra features.
@@ -29451,25 +31124,24 @@ appear on all objects, or only on objects which had a hash uploaded
with them.
-### Standard Options
+### Standard options
Here are the standard options specific to webdav (Webdav).
#### --webdav-url
-URL of http host to connect to
+URL of http host to connect to.
+
+E.g. https://example.com.
- Config: url
- Env Var: RCLONE_WEBDAV_URL
- Type: string
- Default: ""
-- Examples:
- - "https://example.com"
- - Connect to example.com
#### --webdav-vendor
-Name of the Webdav site/service/software you are using
+Name of the Webdav site/service/software you are using.
- Config: vendor
- Env Var: RCLONE_WEBDAV_VENDOR
@@ -29481,15 +31153,17 @@ Name of the Webdav site/service/software you are using
- "owncloud"
- Owncloud
- "sharepoint"
- - Sharepoint Online, authenticated by Microsoft account.
+ - Sharepoint Online, authenticated by Microsoft account
- "sharepoint-ntlm"
- - Sharepoint with NTLM authentication. Usually self-hosted or on-premises.
+ - Sharepoint with NTLM authentication, usually self-hosted or on-premises
- "other"
- Other site/service or software
#### --webdav-user
-User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'.
+User name.
+
+In case NTLM authentication is used, the username should be in the format 'Domain\User'.
- Config: user
- Env Var: RCLONE_WEBDAV_USER
@@ -29509,20 +31183,20 @@ Password.
#### --webdav-bearer-token
-Bearer token instead of user/pass (e.g. a Macaroon)
+Bearer token instead of user/pass (e.g. a Macaroon).
- Config: bearer_token
- Env Var: RCLONE_WEBDAV_BEARER_TOKEN
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to webdav (Webdav).
#### --webdav-bearer-token-command
-Command to run to get a bearer token
+Command to run to get a bearer token.
- Config: bearer_token_command
- Env Var: RCLONE_WEBDAV_BEARER_TOKEN_COMMAND
@@ -29533,7 +31207,7 @@ Command to run to get a bearer token
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
Default encoding is Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Hash,Percent,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8 for sharepoint-ntlm or identity otherwise.
@@ -29544,7 +31218,7 @@ Default encoding is Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Hash,Per
#### --webdav-headers
-Set HTTP headers for all transactions
+Set HTTP headers for all transactions.
Use this to set additional HTTP headers for all transactions
@@ -29563,11 +31237,11 @@ You can set multiple headers, e.g. '"Cookie","name=value","Authorization","xxx"'
-## Provider notes ##
+## Provider notes
See below for notes on specific providers.
-### Owncloud ###
+### Owncloud
Click on the settings cog in the bottom right of the page and this
will show the WebDAV URL that rclone needs in the config step. It
@@ -29575,13 +31249,13 @@ will look something like `https://example.com/remote.php/webdav/`.
Owncloud supports modified times using the `X-OC-Mtime` header.
-### Nextcloud ###
+### Nextcloud
This is configured in an identical way to Owncloud. Note that
Nextcloud initially did not support streaming of files (`rcat`) whereas
Owncloud did, but [this](https://github.com/nextcloud/nextcloud-snap/issues/365) seems to be fixed as of 2020-11-27 (tested with rclone v1.53.1 and Nextcloud Server v19).
-### Sharepoint Online ###
+### Sharepoint Online
Rclone can be used with Sharepoint provided by OneDrive for Business
or Office365 Education Accounts.
@@ -29622,7 +31296,7 @@ user = YourEmailAddress
pass = encryptedpassword
```
-### Sharepoint with NTLM Authentication ###
+### Sharepoint with NTLM Authentication
Use this option in case your (hosted) Sharepoint is not tied to OneDrive accounts and uses NTLM authentication.
@@ -29651,7 +31325,9 @@ vendor = sharepoint-ntlm
user = DOMAIN\user
pass = encryptedpassword
```
-#### Required Flags for SharePoint ####
+
+#### Required Flags for SharePoint
+
As SharePoint does some special things with uploaded documents, you won't be able to use the documents size or the documents hash to compare if a file has been changed since the upload / which file is newer.
For Rclone calls copying files (especially Office files such as .docx, .xlsx, etc.) from/to SharePoint (like copy, sync, etc.), you should append these flags to ensure Rclone uses the "Last Modified" datetime property to compare your documents:
@@ -29660,7 +31336,7 @@ For Rclone calls copying files (especially Office files such as .docx, .xlsx, et
--ignore-size --ignore-checksum --update
```
-### dCache ###
+### dCache
dCache is a storage system that supports many protocols and
authentication/authorisation schemes. For WebDAV clients, it allows
@@ -29691,7 +31367,7 @@ obtains a Macaroon from a dCache WebDAV endpoint, and creates an rclone config f
Macaroons may also be obtained from the dCacheView
web-browser/JavaScript client that comes with dCache.
-### OpenID-Connect ###
+### OpenID-Connect
dCache also supports authenticating with OpenID-Connect access tokens.
OpenID-Connect is a protocol (based on OAuth 2.0) that allows services
@@ -29741,6 +31417,8 @@ bearer_token_command = oidc-token XDC
[Yandex Disk](https://disk.yandex.com) is a cloud storage solution created by [Yandex](https://yandex.com).
+## Configuration
+
Here is an example of making a yandex configuration. First run
rclone config
@@ -29817,27 +31495,27 @@ excess files in the path.
Yandex paths may be as deep as required, e.g. `remote:directory/subdirectory`.
-### Modified time ###
+### Modified time
Modified times are supported and are stored accurate to 1 ns in custom
metadata called `rclone_modified` in RFC3339 with nanoseconds format.
-### MD5 checksums ###
+### MD5 checksums
MD5 checksums are natively supported by Yandex Disk.
-### Emptying Trash ###
+### Emptying Trash
If you wish to empty your trash you can use the `rclone cleanup remote:`
command which will permanently delete all your trashed files. This command
does not take any path arguments.
-### Quota information ###
+### Quota information
To view your current quota you can use the `rclone about remote:`
command which will display your usage limit (quota) and the current usage.
-#### Restricted filename characters
+### Restricted filename characters
The [default restricted characters set](https://rclone.org/overview/#restricted-characters)
are replaced.
@@ -29845,27 +31523,15 @@ are replaced.
Invalid UTF-8 bytes will also be [replaced](https://rclone.org/overview/#invalid-utf8),
as they can't be used in JSON strings.
-### Limitations ###
-
-When uploading very large files (bigger than about 5 GiB) you will need
-to increase the `--timeout` parameter. This is because Yandex pauses
-(perhaps to calculate the MD5SUM for the entire file) before returning
-confirmation that the file has been uploaded. The default handling of
-timeouts in rclone is to assume a 5 minute pause is an error and close
-the connection - you'll see `net/http: timeout awaiting response
-headers` errors in the logs if this is happening. Setting the timeout
-to twice the max size of file in GiB should be enough, so if you want
-to upload a 30 GiB file set a timeout of `2 * 30 = 60m`, that is
-`--timeout 60m`.
-
-### Standard Options
+### Standard options
Here are the standard options specific to yandex (Yandex Disk).
#### --yandex-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -29875,7 +31541,8 @@ Leave blank normally.
#### --yandex-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -29883,7 +31550,7 @@ Leave blank normally.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to yandex (Yandex Disk).
@@ -29899,6 +31566,7 @@ OAuth Access Token as a JSON blob.
#### --yandex-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -29909,6 +31577,7 @@ Leave blank to use the provider defaults.
#### --yandex-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -29920,7 +31589,7 @@ Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_YANDEX_ENCODING
@@ -29929,10 +31598,31 @@ See: the [encoding section in the overview](https://rclone.org/overview/#encodin
+## Limitations
+
+When uploading very large files (bigger than about 5 GiB) you will need
+to increase the `--timeout` parameter. This is because Yandex pauses
+(perhaps to calculate the MD5SUM for the entire file) before returning
+confirmation that the file has been uploaded. The default handling of
+timeouts in rclone is to assume a 5 minute pause is an error and close
+the connection - you'll see `net/http: timeout awaiting response
+headers` errors in the logs if this is happening. Setting the timeout
+to twice the max size of file in GiB should be enough, so if you want
+to upload a 30 GiB file set a timeout of `2 * 30 = 60m`, that is
+`--timeout 60m`.
+
+Having a Yandex Mail account is mandatory to use the Yandex.Disk subscription.
+Token generation will work without a mail account, but Rclone won't be able to complete any actions.
+```
+[403 - DiskUnsupportedUserAccountTypeError] User account type is not supported.
+```
+
# Zoho Workdrive
[Zoho WorkDrive](https://www.zoho.com/workdrive/) is a cloud storage solution created by [Zoho](https://zoho.com).
+## Configuration
+
Here is an example of making a zoho configuration. First run
rclone config
@@ -30029,33 +31719,34 @@ excess files in the path.
Zoho paths may be as deep as required, eg `remote:directory/subdirectory`.
-### Modified time ###
+### Modified time
Modified times are currently not supported for Zoho Workdrive
-### Checksums ###
+### Checksums
No checksums are supported.
-### Usage information ###
+### Usage information
To view your current quota you can use the `rclone about remote:`
command which will display your current usage.
-#### Restricted filename characters
+### Restricted filename characters
Only control characters and invalid UTF-8 are replaced. In addition most
Unicode full-width characters are not supported at all and will be removed
from filenames during upload.
-### Standard Options
+### Standard options
Here are the standard options specific to zoho (Zoho).
#### --zoho-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -30065,7 +31756,8 @@ Leave blank normally.
#### --zoho-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -30095,7 +31787,7 @@ browser.
- "com.au"
- Australia
-### Advanced Options
+### Advanced options
Here are the advanced options specific to zoho (Zoho).
@@ -30111,6 +31803,7 @@ OAuth Access Token as a JSON blob.
#### --zoho-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -30121,6 +31814,7 @@ Leave blank to use the provider defaults.
#### --zoho-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -30132,7 +31826,7 @@ Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_ZOHO_ENCODING
@@ -30149,6 +31843,8 @@ Local paths are specified as normal filesystem paths, e.g. `/path/to/wherever`,
Will sync `/home/source` to `/tmp/destination`.
+## Configuration
+
For consistencies sake one can also configure a remote of type
`local` in the config file, and access the local filesystem using
rclone remote paths, e.g. `remote:path/to/wherever`, but it is probably
@@ -30182,6 +31878,10 @@ Local file system at .: Replacing invalid UTF-8 characters in "gro\xdf"
#### Restricted characters
+With the local backend, restrictions on the characters that are usable in
+file or directory names depend on the operating system. To check what
+rclone will replace by default on your system, run `rclone help flags local-encoding`.
+
On non Windows platforms the following characters are replaced when
handling file names.
@@ -30457,13 +32157,13 @@ filesystem.
where it isn't supported (e.g. Windows) it will be ignored.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to local (Local Disk).
#### --local-nounc
-Disable UNC (long path names) conversion on Windows
+Disable UNC (long path names) conversion on Windows.
- Config: nounc
- Env Var: RCLONE_LOCAL_NOUNC
@@ -30471,7 +32171,7 @@ Disable UNC (long path names) conversion on Windows
- Default: ""
- Examples:
- "true"
- - Disables long file names
+ - Disables long file names.
#### --copy-links / -L
@@ -30484,7 +32184,7 @@ Follow symlinks and copy the pointed to item.
#### --links / -l
-Translate symlinks to/from regular files with a '.rclonelink' extension
+Translate symlinks to/from regular files with a '.rclonelink' extension.
- Config: links
- Env Var: RCLONE_LOCAL_LINKS
@@ -30494,6 +32194,7 @@ Translate symlinks to/from regular files with a '.rclonelink' extension
#### --skip-links
Don't warn about skipped symlinks.
+
This flag disables warning messages on skipped symlinks or junction
points, as you explicitly acknowledge that they should be skipped.
@@ -30504,15 +32205,15 @@ points, as you explicitly acknowledge that they should be skipped.
#### --local-zero-size-links
-Assume the Stat size of links is zero (and read them instead) (Deprecated)
+Assume the Stat size of links is zero (and read them instead) (deprecated).
-Rclone used to use the Stat size of links as the link size, but this fails in quite a few places
+Rclone used to use the Stat size of links as the link size, but this fails in quite a few places:
- Windows
- On some virtual filesystems (such ash LucidLink)
- Android
-So rclone now always reads the link
+So rclone now always reads the link.
- Config: zero_size_links
@@ -30522,7 +32223,7 @@ So rclone now always reads the link
#### --local-unicode-normalization
-Apply unicode NFC normalization to paths and filenames
+Apply unicode NFC normalization to paths and filenames.
This flag can be used to normalize file names into unicode NFC form
that are read from the local filesystem.
@@ -30544,7 +32245,7 @@ routine so this flag shouldn't normally be used.
#### --local-no-check-updated
-Don't check to see if the files change during upload
+Don't check to see if the files change during upload.
Normally rclone checks the size and modification time of files as they
are being uploaded and aborts with a message which starts "can't copy
@@ -30600,7 +32301,7 @@ to override the default choice.
#### --local-case-insensitive
-Force the filesystem to report itself as case insensitive
+Force the filesystem to report itself as case insensitive.
Normally the local backend declares itself as case insensitive on
Windows/macOS and case sensitive for everything else. Use this flag
@@ -30613,7 +32314,7 @@ to override the default choice.
#### --local-no-preallocate
-Disable preallocation of disk space for transferred files
+Disable preallocation of disk space for transferred files.
Preallocation of disk space helps prevent filesystem fragmentation.
However, some virtual filesystem layers (such as Google Drive File
@@ -30628,7 +32329,7 @@ Use this flag to disable preallocation.
#### --local-no-sparse
-Disable sparse files for multi-thread downloads
+Disable sparse files for multi-thread downloads.
On Windows platforms rclone will make sparse files when doing
multi-thread downloads. This avoids long pauses on large files where
@@ -30642,7 +32343,7 @@ cause disk fragmentation and can be slow to work with.
#### --local-no-set-modtime
-Disable setting modtime
+Disable setting modtime.
Normally rclone updates modification time of files after they are done
uploading. This can cause permissions issues on Linux platforms when
@@ -30659,14 +32360,14 @@ enabled, rclone will no longer update the modtime after copying a file.
This sets the encoding for the backend.
-See: the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
+See the [encoding section in the overview](https://rclone.org/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_LOCAL_ENCODING
- Type: MultiEncoder
- Default: Slash,Dot
-### Backend commands
+## Backend commands
Here are the commands specific to the local backend.
@@ -30682,7 +32383,7 @@ info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](https://rclone.org/rc/#backend/command).
-#### noop
+### noop
A null operation for testing backend commands
@@ -30700,6 +32401,179 @@ Options:
# Changelog
+## v1.57.0 - 2021-11-01
+
+[See commits](https://github.com/rclone/rclone/compare/v1.56.0...v1.57.0)
+
+* New backends
+ * Sia: for Sia decentralized cloud (Ian Levesque, Matthew Sevey, Ivan Andreev)
+ * Hasher: caches hashes and enable hashes for backends that don't support them (Ivan Andreev)
+* New commands
+ * lsjson --stat: to get info about a single file/dir and `operations/stat` api (Nick Craig-Wood)
+ * config paths: show configured paths (albertony)
+* New Features
+ * about: Make human-readable output more consistent with other commands (albertony)
+ * build
+ * Use go1.17 for building and make go1.14 the minimum supported (Nick Craig-Wood)
+ * Update Go to 1.16 and NDK to 22b for Android builds (x0b)
+ * config
+ * Support hyphen in remote name from environment variable (albertony)
+ * Make temporary directory user-configurable (albertony)
+ * Convert `--cache-dir` value to an absolute path (albertony)
+ * Do not override MIME types from OS defaults (albertony)
+ * docs
+ * Toc styling and header levels cleanup (albertony)
+ * Extend documentation on valid remote names (albertony)
+ * Mention make for building and cmount tag for macos (Alex Chen)
+ * ...and many more contributions to numerous to mention!
+ * fs: Move with `--ignore-existing` will not delete skipped files (Nathan Collins)
+ * hashsum
+ * Treat hash values in sum file as case insensitive (Ivan Andreev)
+ * Don't put `ERROR` or `UNSUPPORTED` in output (Ivan Andreev)
+ * lib/encoder: Add encoding of square brackets (Ivan Andreev)
+ * lib/file: Improve error message when attempting to create dir on nonexistent drive on windows (albertony)
+ * lib/http: Factor password hash salt into options with default (Nolan Woods)
+ * lib/kv: Add key-value database api (Ivan Andreev)
+ * librclone
+ * Add `RcloneFreeString` function (albertony)
+ * Free strings in python example (albertony)
+ * log: Optionally print pid in logs (Ivan Andreev)
+ * ls: Introduce `--human-readable` global option to print human-readable sizes (albertony)
+ * ncdu: Introduce key `u` to toggle human-readable (albertony)
+ * operations: Add `rmdirs -v` output (Justin Winokur)
+ * serve sftp
+ * Generate an ECDSA server key as well as RSA (Nick Craig-Wood)
+ * Generate an Ed25519 server key as well as ECDSA and RSA (albertony)
+ * serve docker
+ * Allow to customize proxy settings of docker plugin (Ivan Andreev)
+ * Build docker plugin for multiple platforms (Thomas Stachl)
+ * size: Include human-readable count (albertony)
+ * touch: Add support for touching files in directory, with recursive option, filtering and `--dry-run`/`-i` (albertony)
+ * tree: Option to print human-readable sizes removed in favor of global option (albertony)
+* Bug Fixes
+ * lib/http
+ * Fix bad username check in single auth secret provider (Nolan Woods)
+ * Fix handling of SSL credentials (Nolan Woods)
+ * serve ftp: Ensure modtime is passed as UTC always to fix timezone oddities (Nick Craig-Wood)
+ * serve sftp: Fix generation of server keys on windows (albertony)
+ * serve docker: Fix octal umask (Ivan Andreev)
+* Mount
+ * Enable rclone to be run as mount helper direct from the fstab (Ivan Andreev)
+ * Use procfs to validate mount on linux (Ivan Andreev)
+ * Correctly daemonize for compatibility with automount (Ivan Andreev)
+* VFS
+ * Ensure names used in cache path are legal on current OS (albertony)
+ * Ignore `ECLOSED` when truncating file handles to fix intermittent bad file descriptor error (Nick Craig-Wood)
+* Local
+ * Refactor default OS encoding out from local backend into shared encoder lib (albertony)
+* Crypt
+ * Return wrapped object even with `--crypt-no-data-encryption` (Ivan Andreev)
+ * Fix uploads with `--crypt-no-data-encryption` (Nick Craig-Wood)
+* Azure Blob
+ * Add `--azureblob-no-head-object` (Tatsuya Noyori)
+* Box
+ * Make listings of heavily used directories more reliable (Nick Craig-Wood)
+ * When doing cleanup delete as much as possible (Nick Craig-Wood)
+ * Add `--box-list-chunk` to control listing chunk size (Nick Craig-Wood)
+ * Delete items in parallel in cleanup using `--checkers` threads (Nick Craig-Wood)
+ * Add `--box-owned-by` to only show items owned by the login passed (Nick Craig-Wood)
+ * Retry `operation_blocked_temporary` errors (Nick Craig-Wood)
+* Chunker
+ * Md5all must create metadata if base hash is slow (Ivan Andreev)
+* Drive
+ * Speed up directory listings by constraining the API listing using the current filters (fotile96, Ivan Andreev)
+ * Fix buffering for single request upload for files smaller than `--drive-upload-cutoff` (YenForYang)
+ * Add `-o config` option to `backend drives` to make config for all shared drives (Nick Craig-Wood)
+* Dropbox
+ * Add `--dropbox-batch-commit-timeout` to control batch timeout (Nick Craig-Wood)
+* Filefabric
+ * Make backoff exponential for error_background to fix errors (Nick Craig-Wood)
+ * Fix directory move after API change (Nick Craig-Wood)
+* FTP
+ * Enable tls session cache by default (Ivan Andreev)
+ * Add option to disable tls13 (Ivan Andreev)
+ * Fix timeout after long uploads (Ivan Andreev)
+ * Add support for precise time (Ivan Andreev)
+ * Enable CI for ProFtpd, PureFtpd, VsFtpd (Ivan Andreev)
+* Googlephotos
+ * Use encoder for album names to fix albums with control characters (Parth Shukla)
+* Jottacloud
+ * Implement `SetModTime` to support modtime-only changes (albertony)
+ * Improved error handling with `SetModTime` and corrupt files in general (albertony)
+ * Add support for `UserInfo` (`rclone config userinfo`) feature (albertony)
+ * Return direct download link from `rclone link` command (albertony)
+* Koofr
+ * Create direct share link (Dmitry Bogatov)
+* Pcloud
+ * Add sha256 support (Ken Enrique Morel)
+* Premiumizeme
+ * Fix directory listing after API changes (Nick Craig-Wood)
+ * Fix server side move after API change (Nick Craig-Wood)
+ * Fix server side directory move after API changes (Nick Craig-Wood)
+* S3
+ * Add support to use CDN URL to download the file (Logeshwaran)
+ * Add AWS Snowball Edge to providers examples (r0kk3rz)
+ * Use a combination of SDK retries and rclone retries (Nick Craig-Wood)
+ * Fix IAM Role for Service Account not working and other auth problems (Nick Craig-Wood)
+ * Fix `shared_credentials_file` auth after reverting incorrect fix (Nick Craig-Wood)
+ * Fix corrupted on transfer: sizes differ 0 vs xxxx with Ceph (Nick Craig-Wood)
+* Seafile
+ * Fix error when not configured for 2fa (Fred)
+* SFTP
+ * Fix timeout when doing MD5SUM of large file (Nick Craig-Wood)
+* Swift
+ * Update OCI URL (David Liu)
+ * Document OVH Cloud Archive (HNGamingUK)
+* Union
+ * Fix rename not working with union of local disk and bucket based remote (Nick Craig-Wood)
+
+## v1.56.2 - 2021-10-01
+
+[See commits](https://github.com/rclone/rclone/compare/v1.56.1...v1.56.2)
+
+* Bug Fixes
+ * serve http: Re-add missing auth to http service (Nolan Woods)
+ * build: Update golang.org/x/sys to fix crash on macOS when compiled with go1.17 (Herby Gillot)
+* FTP
+ * Fix deadlock after failed update when concurrency=1 (Ivan Andreev)
+
+## v1.56.1 - 2021-09-19
+
+[See commits](https://github.com/rclone/rclone/compare/v1.56.0...v1.56.1)
+
+* Bug Fixes
+ * accounting: Fix maximum bwlimit by scaling scale max token bucket size (Nick Craig-Wood)
+ * rc: Fix speed does not update in core/stats (negative0)
+ * selfupdate: Fix `--quiet` option, not quite quiet (yedamo)
+ * serve http: Fix `serve http` exiting directly after starting (Cnly)
+ * build
+ * Apply gofmt from golang 1.17 (Ivan Andreev)
+ * Update Go to 1.16 and NDK to 22b for android/any (x0b)
+* Mount
+ * Fix `--daemon` mode (Ivan Andreev)
+* VFS
+ * Fix duplicates on rename (Nick Craig-Wood)
+ * Fix crash when truncating a just uploaded object (Nick Craig-Wood)
+ * Fix issue where empty dirs would build up in cache meta dir (albertony)
+* Drive
+ * Fix instructions for auto config (Greg Sadetsky)
+ * Fix lsf example without drive-impersonate (Greg Sadetsky)
+* Onedrive
+ * Handle HTTP 400 better in PublicLink (Alex Chen)
+ * Clarification of the process for creating custom client_id (Mariano Absatz)
+* Pcloud
+ * Return an early error when Put is called with an unknown size (Nick Craig-Wood)
+ * Try harder to delete a failed upload (Nick Craig-Wood)
+* S3
+ * Add Wasabi's AP-Northeast endpoint info (hota)
+ * Fix typo in s3 documentation (Greg Sadetsky)
+* Seafile
+ * Fix 2fa config state machine (Fred)
+* SFTP
+ * Remove spurious error message on `--sftp-disable-concurrent-reads` (Nick Craig-Wood)
+* Sugarsync
+ * Fix initial connection after config re-arrangement (Nick Craig-Wood)
+
## v1.56.0 - 2021-07-20
[See commits](https://github.com/rclone/rclone/compare/v1.55.0...v1.56.0)
@@ -34270,8 +36144,7 @@ Bugs are stored in rclone's GitHub project:
* [Reported bugs](https://github.com/rclone/rclone/issues?q=is%3Aopen+is%3Aissue+label%3Abug)
* [Known issues](https://github.com/rclone/rclone/issues?q=is%3Aopen+is%3Aissue+milestone%3A%22Known+Problem%22)
-Frequently Asked Questions
---------------------------
+# Frequently Asked Questions
### Do all cloud storage systems support all rclone commands ###
@@ -34478,8 +36351,25 @@ directory with thousands or millions of files in. Rclone has to load
this entirely into memory as rclone objects. Each rclone object takes
0.5k-1k of memory.
-License
--------
+### Rclone changes fullwidth Unicode punctuation marks in file names
+
+For example: On a Windows system, you have a file with name `Test:1.jpg`,
+where `:` is the Unicode fullwidth colon symbol. When using rclone
+to copy this to your Google Drive, you will notice that the file
+gets renamed to `Test:1.jpg`, where `:` is the regular (halfwidth) colon.
+
+The reason for such renames is the way rclone handles different
+[restricted filenames](https://rclone.org/overview/#restricted-filenames) on different
+cloud storage systems. It tries to avoid ambiguous file names as
+much and allow moving files between many cloud storage systems
+transparently, by replacing invalid characters with similar looking
+Unicode characters when transferring to one storage system, and replacing
+back again when transferring to a different storage system where the
+original characters are supported. When the same Unicode characters
+are intentionally used in file names, this replacement strategy leads
+to unwanted renames. Read more [here](https://rclone.org/overview/#restricted-filenames-caveats).
+
+# License
This is free software under the terms of MIT the license (check the
COPYING file included with the source code).
@@ -34506,6 +36396,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
```
+# Authors and contributors
+
Authors
-------
@@ -34785,7 +36677,7 @@ put them back in again.` >}}
* Chaitanya Bankanhal <[email protected]>
* Michał Matczuk <[email protected]>
* Macavirus <[email protected]>
- * Abhinav Sharma <[email protected]>
+ * Abhinav Sharma <[email protected]>
* ginvine <[email protected]>
* Patrick Wang <[email protected]>
* Cenk Alti <[email protected]>
@@ -34817,7 +36709,7 @@ put them back in again.` >}}
* Barry Muldrey <[email protected]>
* Sebastian Brandt <[email protected]>
* Marco Molteni <[email protected]>
+ * Ankur Gupta <[email protected]>
* Maciej Zimnoch <[email protected]>
* anuar45 <[email protected]>
* Fernando <[email protected]>
@@ -34963,7 +36855,6 @@ put them back in again.` >}}
* Alexey Tabakman <[email protected]>
* David Sze <[email protected]>
* cynthia kwok <[email protected]>
- * Ankur Gupta <[email protected]>
* Miron Veryanskiy <[email protected]>
* Vesnyx <[email protected]>
@@ -35014,6 +36905,30 @@ put them back in again.` >}}
* Michael Hanselmann <[email protected]>
* Chuan Zh <[email protected]>
* Antoine GIRARD <[email protected]>
+ * Justin Winokur (Jwink3101) <[email protected]>
+ * Mariano Absatz (git) <[email protected]>
+ * Greg Sadetsky <[email protected]>
+ * yedamo <[email protected]>
+ * vinibali <[email protected]>
+ * Ken Enrique Morel <[email protected]>
+ * Justin Hellings <[email protected]>
+ * Parth Shukla <[email protected]>
+ * HNGamingUK <[email protected]>
+ * Jonta <[email protected]>
+ * YenForYang <[email protected]>
+ * Logeshwaran <[email protected]>
+ * Rajat Goel <[email protected]>
+ * r0kk3rz <[email protected]>
+ * Matthew Sevey <[email protected]>
+ * Filip Rysavy <[email protected]>
+ * Ian Levesque <[email protected]>
+ * Thomas Stachl <[email protected]>
+ * Dmitry Bogatov <git#[email protected]>
+ * trevyn <[email protected]>
+ * David Liu <[email protected]>
# Contact the rclone project #
diff --git a/MANUAL.txt b/MANUAL.txt
index 5ea0a75d9..96e83e5c6 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -1,6 +1,6 @@
rclone(1) User Manual
Nick Craig-Wood
-Jul 20, 2021
+Nov 01, 2021
@@ -41,7 +41,7 @@ bandwidth use and transfers from one provider to another without using
local disk.
Virtual backends wrap local and cloud file systems to apply encryption,
-compression chunking and joining.
+compression, chunking, hashing and joining.
Rclone mounts any local, cloud or virtual filesystem as a disk on
Windows, macOS, linux and FreeBSD, and also serves these over SFTP,
@@ -143,6 +143,7 @@ S3, that work out of the box.)
- Seafile
- SeaweedFS
- SFTP
+- Sia
- StackPath
- SugarSync
- Tardigrade
@@ -172,14 +173,14 @@ Rclone is a Go program and comes as a single binary file.
Quickstart
- Download the relevant binary.
-- Extract the rclone or rclone.exe binary from the archive
+- Extract the rclone executable, rclone.exe on Windows, from the
+ archive.
- Run rclone config to setup. See rclone config docs for more details.
- Optionally configure automatic execution.
See below for some expanded Linux / macOS instructions.
-See the Usage section of the docs for how to use rclone, or run
-rclone -h.
+See the usage docs for how to use rclone, or run rclone -h.
Already installed rclone can be easily updated to the latest version
using the rclone selfupdate command.
@@ -228,6 +229,10 @@ macOS installation with brew
brew install rclone
+NOTE: This version of rclone will not support mount any more (see
+#5373). If mounting is wanted on macOS, either install a precompiled
+binary or enable the relevant option when installing from source.
+
macOS installation from precompiled binary, using curl
@@ -354,12 +359,13 @@ Here are some commands tested on an Ubuntu 18.04.3 host:
Install from source
-Make sure you have at least Go go1.13 installed. Download go if
+Make sure you have at least Go go1.14 installed. Download go if
necessary. The latest release is recommended. Then
git clone https://github.com/rclone/rclone.git
cd rclone
go build
+ # If on macOS and mount is wanted, instead run: make GOTAGS=cmount
./rclone version
This will leave you a checked out version of rclone you can modify and
@@ -396,10 +402,27 @@ Instructions
- rclone
+Portable installation
+
+As mentioned above, rclone is single executable (rclone, or rclone.exe
+on Windows) that you can download as a zip archive and extract into a
+location of your choosing. When executing different commands, it may
+create files in different locations, such as a configuration file and
+various temporary files. By default the locations for these are
+according to your operating system, e.g. configuration file in your user
+profile directory and temporary files in the standard temporary
+directory, but you can customize all of them, e.g. to make a completely
+self-contained, portable installation.
+
+Run the config paths command to see the locations that rclone will use.
-AUTOSTART
+To override them set the corresponding options (as command-line
+arguments, or as environment variables): - --config - --cache-dir -
+--temp-dir
+Autostart
+
After installing and configuring rclone, as described above, you are
ready to use rclone as an interactive command line utility. If your goal
is to perform _periodic_ operations, such as a regular sync, you will
@@ -413,7 +436,6 @@ alternatives on how to achieve this on different operating systems.
NOTE: Before setting up autorun it is highly recommended that you have
tested your command manually from a Command Prompt first.
-
Autostart on Windows
The most relevant alternatives for autostart on Windows are: - Run at
@@ -533,7 +555,6 @@ through manual steps in a GUI. One thing to note is that by default it
does not restart the service on error, one have to explicit enable this
in the configuration file (via the "onfailure" parameter).
-
Autostart on Linux
Start as a service
@@ -551,6 +572,16 @@ To run a periodic command, such as a copy/sync, you can set up a cron
job.
+
+USAGE
+
+
+Rclone is a command line program to manage files on cloud storage. After
+download and install, continue here to learn how to use it: Initial
+configuration, what the basic syntax looks like, describes the various
+subcommands, the various options, and more.
+
+
Configure
First, you'll need to configure rclone. As the object storage systems
@@ -582,10 +613,11 @@ See the following for detailed instructions for
- Google Cloud Storage
- Google Drive
- Google Photos
+- Hasher - to handle checksums for other remotes
- HDFS
- HTTP
- Hubic
-- Jottacloud / GetSky.no
+- Jottacloud
- Koofr
- Mail.ru Cloud
- Mega
@@ -600,6 +632,7 @@ See the following for detailed instructions for
- QingStor
- Seafile
- SFTP
+- Sia
- SugarSync
- Tardigrade
- Union
@@ -610,7 +643,7 @@ See the following for detailed instructions for
- The local filesystem
-Usage
+Basic syntax
Rclone syncs a directory tree from one storage system to another.
@@ -665,11 +698,13 @@ SEE ALSO
- rclone - Show help for rclone commands, flags and backends.
- rclone config create - Create a new remote with name, type and
options.
-- rclone config delete - Delete an existing remote name.
+- rclone config delete - Delete an existing remote.
- rclone config disconnect - Disconnects user from remote
- rclone config dump - Dump the config file as JSON.
- rclone config file - Show path of configuration file in use.
- rclone config password - Update password in an existing remote.
+- rclone config paths - Show paths used for configuration, cache, temp
+ etc.
- rclone config providers - List in JSON format all the providers and
options.
- rclone config reconnect - Re-authenticates user with remote.
@@ -684,14 +719,14 @@ SEE ALSO
RCLONE COPY
-Copy files from source to dest, skipping already copied.
+Copy files from source to dest, skipping identical files.
Synopsis
-Copy the source to the destination. Doesn't transfer unchanged files,
-testing by size and modification time or MD5SUM. Doesn't delete files
-from the destination.
+Copy the source to the destination. Does not transfer files that are
+identical on source and destination, testing by size and modification
+time or MD5SUM. Doesn't delete files from the destination.
Note that it is always the contents of the directory that is synced, not
the directory so when source:path is a directory, it's the contents of
@@ -765,9 +800,10 @@ Make source and dest identical, modifying destination only.
Synopsis
Sync the source to the destination, changing the destination only.
-Doesn't transfer unchanged files, testing by size and modification time
-or MD5SUM. Destination is updated to match source, including deleting
-files if necessary (except duplicate objects, see below).
+Doesn't transfer files that are identical on source and destination,
+testing by size and modification time or MD5SUM. Destination is updated
+to match source, including deleting files if necessary (except duplicate
+objects, see below).
IMPORTANT: Since this can cause data loss, test first with the --dry-run
or the --interactive/-i flag.
@@ -1051,7 +1087,7 @@ Options
-C, --checkfile string Treat source:path as a SUM file with hashes of given type
--combined string Make a combined report of changes to this file
--differ string Report all non-matching files to this file
- --download Check by downloading rather than with hash.
+ --download Check by downloading rather than with hash
--error string Report all files with errors (hashing or reading) to this file
-h, --help help for check
--match string Report all matching files to this file
@@ -1184,7 +1220,7 @@ bucket based remotes).
Options
-h, --help help for lsd
- -R, --recursive Recurse into the listing.
+ -R, --recursive Recurse into the listing
See the global flags page for global options not listed here.
@@ -1337,7 +1373,7 @@ Prints the total size and number of objects in remote:path.
Options
-h, --help help for size
- --json format output as JSON
+ --json Format output as JSON
See the global flags page for global options not listed here.
@@ -1397,7 +1433,7 @@ Or
Options
- --check Check for new version.
+ --check Check for new version
-h, --help help for version
See the global flags page for global options not listed here.
@@ -1566,7 +1602,7 @@ Or
Options
--by-hash Find indentical hashes rather than names
- --dedupe-mode string Dedupe mode interactive|skip|first|newest|oldest|largest|smallest|rename. (default "interactive")
+ --dedupe-mode string Dedupe mode interactive|skip|first|newest|oldest|largest|smallest|rename (default "interactive")
-h, --help help for dedupe
See the global flags page for global options not listed here.
@@ -1591,23 +1627,22 @@ The output is typically used, free, quota and trash contents.
E.g. Typical output from rclone about remote: is:
- Total: 17G
- Used: 7.444G
- Free: 1.315G
- Trashed: 100.000M
- Other: 8.241G
+ Total: 17 GiB
+ Used: 7.444 GiB
+ Free: 1.315 GiB
+ Trashed: 100.000 MiB
+ Other: 8.241 GiB
Where the fields are:
-- Total: total size available.
-- Used: total size used
-- Free: total space available to this user.
-- Trashed: total space used by trash
-- Other: total amount in other storage (e.g. Gmail, Google Photos)
-- Objects: total number of objects in the storage
+- Total: Total size available.
+- Used: Total size used.
+- Free: Total space available to this user.
+- Trashed: Total space used by trash.
+- Other: Total amount in other storage (e.g. Gmail, Google Photos).
+- Objects: Total number of objects in the storage.
-Not all backends print all fields. Information is not included if it is
-not provided by a backend. Where the value is unlimited it is omitted.
+All sizes are in number of bytes.
Applying a --full flag to the command prints the bytes in full, e.g.
@@ -1627,16 +1662,18 @@ A --json flag generates conveniently computer readable output, e.g.
"free": 1411001220
}
-Not all backends support the rclone about command.
+Not all backends print all fields. Information is not included if it is
+not provided by a backend. Where the value is unlimited it is omitted.
-See List of backends that do not support about
+Some backends does not support the rclone about command at all, see
+complete list in documentation.
rclone about remote: [flags]
Options
- --full Full numbers instead of SI units
+ --full Full numbers instead of human-readable
-h, --help help for about
--json Format output as JSON
@@ -1720,8 +1757,8 @@ in the rc docs.
Options
-h, --help help for backend
- --json Always output in JSON format.
- -o, --option stringArray Option in the form name=value or name.
+ --json Always output in JSON format
+ -o, --option stringArray Option in the form name=value or name
See the global flags page for global options not listed here.
@@ -1764,12 +1801,12 @@ that if offset is negative it will count from the end, so
Options
- --count int Only print N characters. (default -1)
- --discard Discard the output instead of printing.
- --head int Only print the first N characters.
+ --count int Only print N characters (default -1)
+ --discard Discard the output instead of printing
+ --head int Only print the first N characters
-h, --help help for cat
- --offset int Start printing at offset N (or from end if -ve).
- --tail int Only print the last N characters.
+ --offset int Start printing at offset N (or from end if -ve)
+ --tail int Only print the last N characters
See the global flags page for global options not listed here.
@@ -1797,6 +1834,8 @@ and calculate the contents hash on the fly. This can be useful for
remotes that don't support hashes or if you really want to check all the
data.
+Note that hash values in the SUM file are treated as case insensitive.
+
If you supply the --one-way flag, it will only check that files in the
source match the files in the destination, not the other way around.
This means that extra files in the destination that are not in the
@@ -1830,7 +1869,7 @@ Options
--combined string Make a combined report of changes to this file
--differ string Report all non-matching files to this file
- --download Check by hashing the contents.
+ --download Check by hashing the contents
--error string Report all files with errors (hashing or reading) to this file
-h, --help help for checksum
--match string Report all matching files to this file
@@ -1847,6 +1886,186 @@ SEE ALSO
+RCLONE COMPLETION
+
+
+generate the autocompletion script for the specified shell
+
+
+Synopsis
+
+Generate the autocompletion script for rclone for the specified shell.
+See each sub-command's help for details on how to use the generated
+script.
+
+
+Options
+
+ -h, --help help for completion
+
+See the global flags page for global options not listed here.
+
+
+SEE ALSO
+
+- rclone - Show help for rclone commands, flags and backends.
+- rclone completion bash - generate the autocompletion script for bash
+- rclone completion fish - generate the autocompletion script for fish
+- rclone completion powershell - generate the autocompletion script
+ for powershell
+- rclone completion zsh - generate the autocompletion script for zsh
+
+
+
+RCLONE COMPLETION BASH
+
+
+generate the autocompletion script for bash
+
+
+Synopsis
+
+Generate the autocompletion script for the bash shell.
+
+This script depends on the 'bash-completion' package. If it is not
+installed already, you can install it via your OS's package manager.
+
+To load completions in your current shell session: $ source <(rclone
+completion bash)
+
+To load completions for every new session, execute once: Linux: $ rclone
+completion bash > /etc/bash_completion.d/rclone MacOS: $ rclone
+completion bash > /usr/local/etc/bash_completion.d/rclone
+
+You will need to start a new shell for this setup to take effect.
+
+ rclone completion bash
+
+
+Options
+
+ -h, --help help for bash
+ --no-descriptions disable completion descriptions
+
+See the global flags page for global options not listed here.
+
+
+SEE ALSO
+
+- rclone completion - generate the autocompletion script for the
+ specified shell
+
+
+
+RCLONE COMPLETION FISH
+
+
+generate the autocompletion script for fish
+
+
+Synopsis
+
+Generate the autocompletion script for the fish shell.
+
+To load completions in your current shell session: $ rclone completion
+fish | source
+
+To load completions for every new session, execute once: $ rclone
+completion fish > ~/.config/fish/completions/rclone.fish
+
+You will need to start a new shell for this setup to take effect.
+
+ rclone completion fish [flags]
+
+
+Options
+
+ -h, --help help for fish
+ --no-descriptions disable completion descriptions
+
+See the global flags page for global options not listed here.
+
+
+SEE ALSO
+
+- rclone completion - generate the autocompletion script for the
+ specified shell
+
+
+
+RCLONE COMPLETION POWERSHELL
+
+
+generate the autocompletion script for powershell
+
+
+Synopsis
+
+Generate the autocompletion script for powershell.
+
+To load completions in your current shell session: PS C:> rclone
+completion powershell | Out-String | Invoke-Expression
+
+To load completions for every new session, add the output of the above
+command to your powershell profile.
+
+ rclone completion powershell [flags]
+
+
+Options
+
+ -h, --help help for powershell
+ --no-descriptions disable completion descriptions
+
+See the global flags page for global options not listed here.
+
+
+SEE ALSO
+
+- rclone completion - generate the autocompletion script for the
+ specified shell
+
+
+
+RCLONE COMPLETION ZSH
+
+
+generate the autocompletion script for zsh
+
+
+Synopsis
+
+Generate the autocompletion script for the zsh shell.
+
+If shell completion is not already enabled in your environment you will
+need to enable it. You can execute the following once:
+
+$ echo "autoload -U compinit; compinit" >> ~/.zshrc
+
+To load completions for every new session, execute once: # Linux: $
+rclone completion zsh > "${fpath[1]}/_rclone" # macOS: $ rclone
+completion zsh > /usr/local/share/zsh/site-functions/_rclone
+
+You will need to start a new shell for this setup to take effect.
+
+ rclone completion zsh [flags]
+
+
+Options
+
+ -h, --help help for zsh
+ --no-descriptions disable completion descriptions
+
+See the global flags page for global options not listed here.
+
+
+SEE ALSO
+
+- rclone completion - generate the autocompletion script for the
+ specified shell
+
+
+
RCLONE CONFIG CREATE
@@ -1955,19 +2174,19 @@ questions as usual.
Note that bin/config.py in the rclone source implements this protocol as
a readable demonstration.
- rclone config create `name` `type` [`key` `value`]* [flags]
+ rclone config create name type [key value]* [flags]
Options
- --all Ask the full set of config questions.
- --continue Continue the configuration process with an answer.
+ --all Ask the full set of config questions
+ --continue Continue the configuration process with an answer
-h, --help help for create
- --no-obscure Force any passwords not to be obscured.
- --non-interactive Don't interact with user and return questions.
- --obscure Force any passwords to be obscured.
- --result string Result - use with --continue.
- --state string State - use with --continue.
+ --no-obscure Force any passwords not to be obscured
+ --non-interactive Don't interact with user and return questions
+ --obscure Force any passwords to be obscured
+ --result string Result - use with --continue
+ --state string State - use with --continue
See the global flags page for global options not listed here.
@@ -1981,9 +2200,9 @@ SEE ALSO
RCLONE CONFIG DELETE
-Delete an existing remote name.
+Delete an existing remote.
- rclone config delete `name` [flags]
+ rclone config delete name [flags]
Options
@@ -2125,7 +2344,7 @@ For example to set password of a remote of name myremote you would do:
This command is obsolete now that "config update" and "config create"
both support obscuring passwords directly.
- rclone config password `name` [`key` `value`]+ [flags]
+ rclone config password name [key value]+ [flags]
Options
@@ -2141,6 +2360,27 @@ SEE ALSO
+RCLONE CONFIG PATHS
+
+
+Show paths used for configuration, cache, temp etc.
+
+ rclone config paths [flags]
+
+
+Options
+
+ -h, --help help for paths
+
+See the global flags page for global options not listed here.
+
+
+SEE ALSO
+
+- rclone config - Enter an interactive configuration session.
+
+
+
RCLONE CONFIG PROVIDERS
@@ -2342,19 +2582,19 @@ questions as usual.
Note that bin/config.py in the rclone source implements this protocol as
a readable demonstration.
- rclone config update `name` [`key` `value`]+ [flags]
+ rclone config update name [key value]+ [flags]
Options
- --all Ask the full set of config questions.
- --continue Continue the configuration process with an answer.
+ --all Ask the full set of config questions
+ --continue Continue the configuration process with an answer
-h, --help help for update
- --no-obscure Force any passwords not to be obscured.
- --non-interactive Don't interact with user and return questions.
- --obscure Force any passwords to be obscured.
- --result string Result - use with --continue.
- --state string State - use with --continue.
+ --no-obscure Force any passwords not to be obscured
+ --non-interactive Don't interact with user and return questions
+ --obscure Force any passwords to be obscured
+ --result string Result - use with --continue
+ --state string State - use with --continue
See the global flags page for global options not listed here.
@@ -2396,7 +2636,7 @@ SEE ALSO
RCLONE COPYTO
-Copy files from source to dest, skipping already copied.
+Copy files from source to dest, skipping identical files.
Synopsis
@@ -2423,8 +2663,9 @@ This will:
copy it to dst, overwriting existing files if they exist
see copy command for full details
-This doesn't transfer unchanged files, testing by size and modification
-time or MD5SUM. It doesn't delete files from the destination.
+This doesn't transfer files that are identical on src and dst, testing
+by size and modification time or MD5SUM. It doesn't delete files from
+the destination.
NOTE: Use the -P/--progress flag to view real-time transfer statistics
@@ -2837,6 +3078,7 @@ Run without a hash to see the list of all supported hashes, e.g.
* sha1
* whirlpool
* crc32
+ * sha256
* dropbox
* mailru
* quickxor
@@ -2845,7 +3087,8 @@ Then
$ rclone hashsum MD5 remote:path
-Note that hash names are case insensitive.
+Note that hash names are case insensitive and values are output in lower
+case.
rclone hashsum <hash> remote:path [flags]
@@ -2933,7 +3176,7 @@ When uses with the -l flag it lists the types too.
Options
-h, --help help for listremotes
- --long Show the type as well as names.
+ --long Show the type as well as names
See the global flags page for global options not listed here.
@@ -3072,16 +3315,16 @@ bucket based remotes).
Options
- --absolute Put a leading / in front of path names.
- --csv Output in CSV format.
- -d, --dir-slash Append a slash to directory names. (default true)
- --dirs-only Only list directories.
- --files-only Only list files.
+ --absolute Put a leading / in front of path names
+ --csv Output in CSV format
+ -d, --dir-slash Append a slash to directory names (default true)
+ --dirs-only Only list directories
+ --files-only Only list files
-F, --format string Output format - see help for details (default "p")
--hash h Use this hash when h is used in the format MD5|SHA-1|DropboxHash (default "md5")
-h, --help help for lsf
- -R, --recursive Recurse into the listing.
- -s, --separator string Separator for the items in the format. (default ";")
+ -R, --recursive Recurse into the listing
+ -s, --separator string Separator for the items in the format (default ";")
See the global flags page for global options not listed here.
@@ -3134,6 +3377,12 @@ returned
If --files-only is not specified directories in addition to the files
will be returned.
+if --stat is set then a single JSON blob will be returned about the item
+pointed to. This will return an error if the item isn't found. However
+on bucket based backends (like s3, gcs, b2, azureblob etc) if the item
+isn't found it will return an empty directory as it isn't possible to
+tell empty directories from missing directories there.
+
The Path field will only show folders below the remote path being
listed. If "remote:path" contains the file "subfolder/file.txt", the
Path for "file.txt" will be "subfolder/file.txt", not
@@ -3182,16 +3431,17 @@ bucket based remotes).
Options
- --dirs-only Show only directories in the listing.
- -M, --encrypted Show the encrypted names.
- --files-only Show only files in the listing.
- --hash Include hashes in the output (may take longer).
- --hash-type stringArray Show only this hash type (may be repeated).
+ --dirs-only Show only directories in the listing
+ -M, --encrypted Show the encrypted names
+ --files-only Show only files in the listing
+ --hash Include hashes in the output (may take longer)
+ --hash-type stringArray Show only this hash type (may be repeated)
-h, --help help for lsjson
- --no-mimetype Don't read the mime type (can speed things up).
- --no-modtime Don't read the modification time (can speed things up).
- --original Show the ID of the underlying Object.
- -R, --recursive Recurse into the listing.
+ --no-mimetype Don't read the mime type (can speed things up)
+ --no-modtime Don't read the modification time (can speed things up)
+ --original Show the ID of the underlying Object
+ -R, --recursive Recurse into the listing
+ --stat Just return the info for the pointed to file
See the global flags page for global options not listed here.
@@ -3216,10 +3466,15 @@ Rclone's cloud storage systems as a file system with FUSE.
First set up your remote using rclone config. Check it works with
rclone ls etc.
-On Linux and OSX, you can either run mount in foreground mode or
-background (daemon) mode. Mount runs in foreground mode by default, use
-the --daemon flag to specify background mode. You can only run mount in
-foreground mode on Windows.
+On Linux and macOS, you can run mount in either foreground or background
+(aka daemon) mode. Mount runs in foreground mode by default. Use the
+--daemon flag to force background mode. On Windows you can run mount in
+foreground only, the flag is ignored.
+
+In background mode rclone acts as a generic Unix mount program: the main
+program starts, spawns background rclone process to setup and maintain
+the mount, waits until success or timeout and exits with appropriate
+code (killing the child process if it fails).
On Linux/macOS/FreeBSD start the mount like this, where
/path/to/local/mount is an EMPTY EXISTING directory:
@@ -3227,12 +3482,17 @@ On Linux/macOS/FreeBSD start the mount like this, where
rclone mount remote:path/to/files /path/to/local/mount
On Windows you can start a mount in different ways. See below for
-details. The following examples will mount to an automatically assigned
-drive, to specific drive letter X:, to path C:\path\parent\mount (where
-parent directory or drive must exist, and mount must NOT exist, and is
-not supported when mounting as a network drive), and the last example
-will mount as network share \\cloud\remote and map it to an
-automatically assigned drive:
+details. If foreground mount is used interactively from a console
+window, rclone will serve the mount and occupy the console so another
+window should be used to work with the mount until rclone is interrupted
+e.g. by pressing Ctrl-C.
+
+The following examples will mount to an automatically assigned drive, to
+specific drive letter X:, to path C:\path\parent\mount (where parent
+directory or drive must exist, and mount must NOT exist, and is not
+supported when mounting as a network drive), and the last example will
+mount as network share \\cloud\remote and map it to an automatically
+assigned drive:
rclone mount remote:path/to/files *
rclone mount remote:path/to/files X:
@@ -3262,9 +3522,6 @@ then an additional 1 PiB of free space is assumed. If the remote does
not support the about feature at all, then 1 PiB is set as both the
total and the free size.
-NOTE: As of rclone 1.52.2, rclone mount now requires Go version 1.13 or
-newer on some platforms depending on the underlying FUSE library in use.
-
Installing on Windows
@@ -3368,12 +3625,17 @@ permission scopes: Owner, group and others. By default, the owner and
group will be taken from the current user, and the built-in group
"Everyone" will be used to represent others. The user/group can be
customized with FUSE options "UserName" and "GroupName", e.g.
--o UserName=user123 -o GroupName="Authenticated Users".
-
-The permissions on each entry will be set according to options
---dir-perms and --file-perms, which takes a value in traditional numeric
-notation, where the default corresponds to
---file-perms 0666 --dir-perms 0777.
+-o UserName=user123 -o GroupName="Authenticated Users". The permissions
+on each entry will be set according to options --dir-perms and
+--file-perms, which takes a value in traditional numeric notation.
+
+The default permissions corresponds to
+--file-perms 0666 --dir-perms 0777, i.e. read and write permissions to
+everyone. This means you will not be able to start any programs from the
+the mount. To be able to do that you must add execute permissions, e.g.
+--file-perms 0777 --dir-perms 0777 to add it to everyone. If the program
+needs to write files, chances are you will have to enable VFS File
+Caching as well (see also limitations).
Note that the mapping of permissions is not always trivial, and the
result you see in Windows Explorer may not be exactly like you expected.
@@ -3446,6 +3708,14 @@ Hubic) do not support the concept of empty directories, so empty
directories will have a tendency to disappear once they fall out of the
directory cache.
+When rclone mount is invoked on Unix with --daemon flag, the main rclone
+program will wait for the background mount to become ready or until the
+timeout specified by the --daemon-wait flag. On Linux it can check mount
+status using ProcFS so the flag in fact sets MAXIMUM time to wait, while
+the real wait can be less. On macOS / BSD the time to wait is constant
+and the check is performed only at the end. We advise you to set wait
+time on macOS reasonably.
+
Only supported on Linux, FreeBSD, OS X and Windows at the moment.
@@ -3503,25 +3773,82 @@ the mountpoint has been successfully set up. Units having the rclone
mount service specified as a requirement will see all files and folders
immediately in this mode.
+Note that systemd runs mount units without any environment variables
+including PATH or HOME. This means that tilde (~) expansion will not
+work and you should provide --config and --cache-dir explicitly as
+absolute paths via rclone arguments. Since mounting requires the
+fusermount program, rclone will use the fallback PATH of /bin:/usr/bin
+in this scenario. Please ensure that fusermount is present on this PATH.
-chunked reading
---vfs-read-chunk-size will enable reading the source objects in parts.
-This can reduce the used download quota for some remotes by requesting
-only chunks from the remote that are actually read at the cost of an
-increased number of requests.
+Rclone as Unix mount helper
-When --vfs-read-chunk-size-limit is also specified and greater than
---vfs-read-chunk-size, the chunk size for each open file will get
-doubled for each chunk read, until the specified value is reached. A
-value of -1 will disable the limit and the chunk size will grow
-indefinitely.
+The core Unix program /bin/mount normally takes the -t FSTYPE argument
+then runs the /sbin/mount.FSTYPE helper program passing it mount options
+as -o key=val,... or --opt=.... Automount (classic or systemd) behaves
+in a similar way.
-With --vfs-read-chunk-size 100M and --vfs-read-chunk-size-limit 0 the
-following parts will be downloaded: 0-100M, 100M-200M, 200M-300M,
-300M-400M and so on. When --vfs-read-chunk-size-limit 500M is specified,
-the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M,
-1200M-1700M and so on.
+rclone by default expects GNU-style flags --key val. To run it as a
+mount helper you should symlink rclone binary to /sbin/mount.rclone and
+optionally /usr/bin/rclonefs, e.g.
+ln -s /usr/bin/rclone /sbin/mount.rclone. rclone will detect it and
+translate command-line arguments appropriately.
+
+Now you can run classic mounts like this:
+
+ mount sftp1:subdir /mnt/data -t rclone -o vfs_cache_mode=writes,sftp_key_file=/path/to/pem
+
+or create systemd mount units:
+
+ # /etc/systemd/system/mnt-data.mount
+ [Unit]
+ After=network-online.target
+ [Mount]
+ Type=rclone
+ What=sftp1:subdir
+ Where=/mnt/data
+ Options=rw,allow_other,args2env,vfs-cache-mode=writes,config=/etc/rclone.conf,cache-dir=/var/rclone
+
+optionally accompanied by systemd automount unit
+
+ # /etc/systemd/system/mnt-data.automount
+ [Unit]
+ After=network-online.target
+ Before=remote-fs.target
+ [Automount]
+ Where=/mnt/data
+ TimeoutIdleSec=600
+ [Install]
+ WantedBy=multi-user.target
+
+or add in /etc/fstab a line like
+
+ sftp1:subdir /mnt/data rclone rw,noauto,nofail,_netdev,x-systemd.automount,args2env,vfs_cache_mode=writes,config=/etc/rclone.conf,cache_dir=/var/cache/rclone 0 0
+
+or use classic Automountd. Remember to provide explicit
+config=...,cache-dir=... as a workaround for mount units being run
+without HOME.
+
+Rclone in the mount helper mode will split -o argument(s) by comma,
+replace _ by - and prepend -- to get the command-line flags. Options
+containing commas or spaces can be wrapped in single or double quotes.
+Any inner quotes inside outer quotes of the same type should be doubled.
+
+Mount option syntax includes a few extra options treated specially:
+
+- env.NAME=VALUE will set an environment variable for the mount
+ process. This helps with Automountd and Systemd.mount which don't
+ allow setting custom environment for mount helpers. Typically you
+ will use env.HTTPS_PROXY=proxy.host:3128 or env.HOME=/root
+- command=cmount can be used to run cmount or any other rclone command
+ rather than the default mount.
+- args2env will pass mount options to the mount helper running in
+ background via environment variables instead of command line
+ arguments. This allows to hide secrets from such commands as ps or
+ pgrep.
+- vv... will be transformed into appropriate --verbose=N
+- standard mount options like x-systemd.automount, _netdev, nosuid and
+ alike are intended only for Automountd and ignored by rclone.
VFS - Virtual File System
@@ -3546,8 +3873,8 @@ should be considered up to date and not refreshed from the backend.
Changes made through the mount will appear immediately or invalidate the
cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web interface
or a different copy of rclone will only be picked up once the directory
@@ -3602,10 +3929,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with -vv rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -3617,9 +3944,9 @@ the cache mode the more compatible rclone becomes at the cost of using
disk space.
Note that files are written back to the remote only when they are closed
-and if they haven't been accessed for --vfs-write-back second. If rclone
-is quit or dies with files that haven't been uploaded, these will be
-uploaded next time rclone is run with the same flags.
+and if they haven't been accessed for --vfs-write-back seconds. If
+rclone is quit or dies with files that haven't been uploaded, these will
+be uploaded next time rclone is run with the same flags.
If using --vfs-cache-max-size note that the cache may exceed this size
for two reasons. Firstly because it is only checked every
@@ -3691,7 +4018,7 @@ bytes ahead. The --buffer-size is buffered in memory whereas the
--vfs-read-ahead is buffered on disk.
When using this mode it is recommended that --buffer-size is not set too
-big and --vfs-read-ahead is set large if required.
+large and --vfs-read-ahead is set large if required.
IMPORTANT not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache directory
@@ -3699,10 +4026,39 @@ is on a filesystem which doesn't support sparse files and it will log an
ERROR message if one is detected.
+VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the chunk
+specified. This can reduce the used download quota for some remotes by
+requesting only chunks from the remote that are actually read, at the
+cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size --vfs-read-chunk-size, and
+then double the size for each read. When --vfs-read-chunk-size-limit is
+specified, and greater than --vfs-read-chunk-size, the chunk size for
+each open file will get doubled only until the specified value is
+reached. If the value is "off", which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+
+With --vfs-read-chunk-size 100M and --vfs-read-chunk-size-limit 0 the
+following parts will be downloaded: 0-100M, 100M-200M, 200M-300M,
+300M-400M and so on. When --vfs-read-chunk-size-limit 500M is specified,
+the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M,
+1200M-1700M and so on.
+
+Setting --vfs-read-chunk-size to 0 or "off" disables chunked reading.
+
+
VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the chunked reading feature.
In particular S3 and Swift benefit hugely from the --no-modtime flag (or
use --use-server-modtime for a slightly different effect) as each read
@@ -3713,32 +4069,20 @@ of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the chunk
-specified. This is advantageous because some cloud providers account for
-reads being all the data requested, not all the data delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather than
seeking rclone will wait a short time for the in sequence read or write
to come in. These flags only come into effect when not using an on disk
cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
When using VFS write caching (--vfs-cache-mode with value writes or
full), the global flag --transfers can be set to adjust the number of
parallel uploads of modified files from cache (the related global flag
--checkers have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
VFS Case Sensitivity
@@ -3753,7 +4097,7 @@ query. It is not allowed for two files in the same directory to differ
only by case.
Usually file systems on macOS are case-insensitive. It is possible to
-make macOS file systems case-sensitive but that is not the default
+make macOS file systems case-sensitive but that is not the default.
The --vfs-case-insensitive mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the
@@ -3800,47 +4144,48 @@ and only with caching.
Options
- --allow-non-empty Allow mounting over a non-empty directory. Not supported on Windows.
- --allow-other Allow access to other users. Not supported on Windows.
- --allow-root Allow access to root user. Not supported on Windows.
- --async-read Use asynchronous reads. Not supported on Windows. (default true)
- --attr-timeout duration Time for which file/directory attributes are cached. (default 1s)
- --daemon Run mount as a daemon (background mode). Not supported on Windows.
- --daemon-timeout duration Time limit for rclone to respond to kernel. Not supported on Windows.
- --debug-fuse Debug the FUSE internals - needs -v.
- --default-permissions Makes kernel enforce access control based on the file mode. Not supported on Windows.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --allow-non-empty Allow mounting over a non-empty directory (not supported on Windows)
+ --allow-other Allow access to other users (not supported on Windows)
+ --allow-root Allow access to root user (not supported on Windows)
+ --async-read Use asynchronous reads (not supported on Windows) (default true)
+ --attr-timeout duration Time for which file/directory attributes are cached (default 1s)
+ --daemon Run mount in background and exit parent process (as background output is suppressed, use --log-file with --log-format=pid,... to monitor) (not supported on Windows)
+ --daemon-timeout duration Time limit for rclone to respond to kernel (not supported on Windows)
+ --daemon-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD) (not supported on Windows) (default 1m0s)
+ --debug-fuse Debug the FUSE internals - needs -v
+ --default-permissions Makes kernel enforce access control based on the file mode (not supported on Windows)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp. Repeat if required.
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp (repeat if required)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for mount
- --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads. Not supported on Windows. (default 128Ki)
- --network-mode Mount as remote network drive, instead of fixed disk drive. Supported on Windows only
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --noappledouble Ignore Apple Double (._) and .DS_Store files. Supported on OSX only. (default true)
- --noapplexattr Ignore all "com.apple.*" extended attributes. Supported on OSX only.
- -o, --option stringArray Option for libfuse/WinFsp. Repeat if required.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads (not supported on Windows) (default 128Ki)
+ --network-mode Mount as remote network drive, instead of fixed disk drive (supported on Windows only)
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --noappledouble Ignore Apple Double (._) and .DS_Store files (supported on OSX only) (default true)
+ --noapplexattr Ignore all "com.apple.*" extended attributes (supported on OSX only)
+ -o, --option stringArray Option for libfuse/WinFsp (repeat if required)
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
- --volname string Set the volume name. Supported on Windows and OSX only.
- --write-back-cache Makes kernel buffer writes before sending them to rclone. Without this, writethrough caching is used. Not supported on Windows.
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
+ --volname string Set the volume name (supported on Windows and OSX only)
+ --write-back-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on Windows)
See the global flags page for global options not listed here.
@@ -3881,8 +4226,9 @@ This will:
move it to dst, overwriting existing files if they exist
see move command for full details
-This doesn't transfer unchanged files, testing by size and modification
-time or MD5SUM. src will be deleted on successful transfer.
+This doesn't transfer files that are identical on src and dst, testing
+by size and modification time or MD5SUM. src will be deleted on
+successful transfer.
IMPORTANT: Since this can cause data loss, test first with the --dry-run
or the --interactive/-i flag.
@@ -3930,6 +4276,7 @@ Here are the keys - press '?' to toggle the help on and off
c toggle counts
g toggle graph
a toggle average size in directory
+ u toggle human-readable format
n,s,C,A sort by name,size,count,average size
d delete file/directory
y copy current path to clipboard
@@ -4067,15 +4414,15 @@ Use "rclone rc" to see a list of all possible commands.
Options
- -a, --arg stringArray Argument placed in the "arg" array.
+ -a, --arg stringArray Argument placed in the "arg" array
-h, --help help for rc
- --json string Input JSON - use instead of key=value args.
- --loopback If set connect to this rclone instance not via HTTP.
- --no-output If set, don't output the JSON result.
- -o, --opt stringArray Option in the form name=value or name placed in the "opt" array.
- --pass string Password to use to connect to rclone remote control.
- --url string URL to connect to rclone remote control. (default "http://localhost:5572/")
- --user string Username to use to rclone remote control.
+ --json string Input JSON - use instead of key=value args
+ --loopback If set connect to this rclone instance not via HTTP
+ --no-output If set, don't output the JSON result
+ -o, --opt stringArray Option in the form name=value or name placed in the "opt" array
+ --pass string Password to use to connect to rclone remote control
+ --url string URL to connect to rclone remote control (default "http://localhost:5572/")
+ --user string Username to use to rclone remote control
See the global flags page for global options not listed here.
@@ -4275,8 +4622,8 @@ located at https://rclone.org/install/
Options
- --beta Install beta release.
- --check Check for latest release, do not download.
+ --beta Install beta release
+ --check Check for latest release, do not download
-h, --help help for selfupdate
--output string Save the downloaded binary at a given path (default: replace running binary)
--package string Package format: zip|deb|rpm (default: zip)
@@ -4385,8 +4732,8 @@ should be considered up to date and not refreshed from the backend.
Changes made through the mount will appear immediately or invalidate the
cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web interface
or a different copy of rclone will only be picked up once the directory
@@ -4441,10 +4788,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with -vv rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -4456,9 +4803,9 @@ the cache mode the more compatible rclone becomes at the cost of using
disk space.
Note that files are written back to the remote only when they are closed
-and if they haven't been accessed for --vfs-write-back second. If rclone
-is quit or dies with files that haven't been uploaded, these will be
-uploaded next time rclone is run with the same flags.
+and if they haven't been accessed for --vfs-write-back seconds. If
+rclone is quit or dies with files that haven't been uploaded, these will
+be uploaded next time rclone is run with the same flags.
If using --vfs-cache-max-size note that the cache may exceed this size
for two reasons. Firstly because it is only checked every
@@ -4530,7 +4877,7 @@ bytes ahead. The --buffer-size is buffered in memory whereas the
--vfs-read-ahead is buffered on disk.
When using this mode it is recommended that --buffer-size is not set too
-big and --vfs-read-ahead is set large if required.
+large and --vfs-read-ahead is set large if required.
IMPORTANT not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache directory
@@ -4538,10 +4885,39 @@ is on a filesystem which doesn't support sparse files and it will log an
ERROR message if one is detected.
+VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the chunk
+specified. This can reduce the used download quota for some remotes by
+requesting only chunks from the remote that are actually read, at the
+cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size --vfs-read-chunk-size, and
+then double the size for each read. When --vfs-read-chunk-size-limit is
+specified, and greater than --vfs-read-chunk-size, the chunk size for
+each open file will get doubled only until the specified value is
+reached. If the value is "off", which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+
+With --vfs-read-chunk-size 100M and --vfs-read-chunk-size-limit 0 the
+following parts will be downloaded: 0-100M, 100M-200M, 200M-300M,
+300M-400M and so on. When --vfs-read-chunk-size-limit 500M is specified,
+the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M,
+1200M-1700M and so on.
+
+Setting --vfs-read-chunk-size to 0 or "off" disables chunked reading.
+
+
VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the chunked reading feature.
In particular S3 and Swift benefit hugely from the --no-modtime flag (or
use --use-server-modtime for a slightly different effect) as each read
@@ -4552,32 +4928,20 @@ of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the chunk
-specified. This is advantageous because some cloud providers account for
-reads being all the data requested, not all the data delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather than
seeking rclone will wait a short time for the in sequence read or write
to come in. These flags only come into effect when not using an on disk
cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
When using VFS write caching (--vfs-cache-mode with value writes or
full), the global flag --transfers can be set to adjust the number of
parallel uploads of modified files from cache (the related global flag
--checkers have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
VFS Case Sensitivity
@@ -4592,7 +4956,7 @@ query. It is not allowed for two files in the same directory to differ
only by case.
Usually file systems on macOS are case-insensitive. It is possible to
-make macOS file systems case-sensitive but that is not the default
+make macOS file systems case-sensitive but that is not the default.
The --vfs-case-insensitive mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the
@@ -4639,33 +5003,33 @@ and only with caching.
Options
- --addr string ip:port or :port to bind the DLNA http server to. (default ":7879")
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --addr string The ip:port or :port to bind the DLNA http server to (default ":7879")
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for dlna
- --log-trace enable trace logging of SOAP traffic
- --name string name of DLNA server
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --log-trace Enable trace logging of SOAP traffic
+ --name string Name of DLNA server
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
See the global flags page for global options not listed here.
@@ -4745,8 +5109,8 @@ should be considered up to date and not refreshed from the backend.
Changes made through the mount will appear immediately or invalidate the
cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web interface
or a different copy of rclone will only be picked up once the directory
@@ -4801,10 +5165,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with -vv rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -4816,9 +5180,9 @@ the cache mode the more compatible rclone becomes at the cost of using
disk space.
Note that files are written back to the remote only when they are closed
-and if they haven't been accessed for --vfs-write-back second. If rclone
-is quit or dies with files that haven't been uploaded, these will be
-uploaded next time rclone is run with the same flags.
+and if they haven't been accessed for --vfs-write-back seconds. If
+rclone is quit or dies with files that haven't been uploaded, these will
+be uploaded next time rclone is run with the same flags.
If using --vfs-cache-max-size note that the cache may exceed this size
for two reasons. Firstly because it is only checked every
@@ -4890,7 +5254,7 @@ bytes ahead. The --buffer-size is buffered in memory whereas the
--vfs-read-ahead is buffered on disk.
When using this mode it is recommended that --buffer-size is not set too
-big and --vfs-read-ahead is set large if required.
+large and --vfs-read-ahead is set large if required.
IMPORTANT not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache directory
@@ -4898,10 +5262,39 @@ is on a filesystem which doesn't support sparse files and it will log an
ERROR message if one is detected.
+VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the chunk
+specified. This can reduce the used download quota for some remotes by
+requesting only chunks from the remote that are actually read, at the
+cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size --vfs-read-chunk-size, and
+then double the size for each read. When --vfs-read-chunk-size-limit is
+specified, and greater than --vfs-read-chunk-size, the chunk size for
+each open file will get doubled only until the specified value is
+reached. If the value is "off", which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+
+With --vfs-read-chunk-size 100M and --vfs-read-chunk-size-limit 0 the
+following parts will be downloaded: 0-100M, 100M-200M, 200M-300M,
+300M-400M and so on. When --vfs-read-chunk-size-limit 500M is specified,
+the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M,
+1200M-1700M and so on.
+
+Setting --vfs-read-chunk-size to 0 or "off" disables chunked reading.
+
+
VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the chunked reading feature.
In particular S3 and Swift benefit hugely from the --no-modtime flag (or
use --use-server-modtime for a slightly different effect) as each read
@@ -4912,32 +5305,20 @@ of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the chunk
-specified. This is advantageous because some cloud providers account for
-reads being all the data requested, not all the data delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather than
seeking rclone will wait a short time for the in sequence read or write
to come in. These flags only come into effect when not using an on disk
cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
When using VFS write caching (--vfs-cache-mode with value writes or
full), the global flag --transfers can be set to adjust the number of
parallel uploads of modified files from cache (the related global flag
--checkers have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
VFS Case Sensitivity
@@ -4952,7 +5333,7 @@ query. It is not allowed for two files in the same directory to differ
only by case.
Usually file systems on macOS are case-insensitive. It is possible to
-make macOS file systems case-sensitive but that is not the default
+make macOS file systems case-sensitive but that is not the default.
The --vfs-case-insensitive mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the
@@ -4999,52 +5380,53 @@ and only with caching.
Options
- --allow-non-empty Allow mounting over a non-empty directory. Not supported on Windows.
- --allow-other Allow access to other users. Not supported on Windows.
- --allow-root Allow access to root user. Not supported on Windows.
- --async-read Use asynchronous reads. Not supported on Windows. (default true)
- --attr-timeout duration Time for which file/directory attributes are cached. (default 1s)
- --base-dir string base directory for volumes (default "/var/lib/docker-volumes/rclone")
- --daemon Run mount as a daemon (background mode). Not supported on Windows.
- --daemon-timeout duration Time limit for rclone to respond to kernel. Not supported on Windows.
- --debug-fuse Debug the FUSE internals - needs -v.
- --default-permissions Makes kernel enforce access control based on the file mode. Not supported on Windows.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --allow-non-empty Allow mounting over a non-empty directory (not supported on Windows)
+ --allow-other Allow access to other users (not supported on Windows)
+ --allow-root Allow access to root user (not supported on Windows)
+ --async-read Use asynchronous reads (not supported on Windows) (default true)
+ --attr-timeout duration Time for which file/directory attributes are cached (default 1s)
+ --base-dir string Base directory for volumes (default "/var/lib/docker-volumes/rclone")
+ --daemon Run mount in background and exit parent process (as background output is suppressed, use --log-file with --log-format=pid,... to monitor) (not supported on Windows)
+ --daemon-timeout duration Time limit for rclone to respond to kernel (not supported on Windows)
+ --daemon-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD) (not supported on Windows) (default 1m0s)
+ --debug-fuse Debug the FUSE internals - needs -v
+ --default-permissions Makes kernel enforce access control based on the file mode (not supported on Windows)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --forget-state skip restoring previous state
- --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp. Repeat if required.
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --forget-state Skip restoring previous state
+ --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp (repeat if required)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for docker
- --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads. Not supported on Windows. (default 128Ki)
- --network-mode Mount as remote network drive, instead of fixed disk drive. Supported on Windows only
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --no-spec do not write spec file
- --noappledouble Ignore Apple Double (._) and .DS_Store files. Supported on OSX only. (default true)
- --noapplexattr Ignore all "com.apple.*" extended attributes. Supported on OSX only.
- -o, --option stringArray Option for libfuse/WinFsp. Repeat if required.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --socket-addr string <host:port> or absolute path (default: /run/docker/plugins/rclone.sock)
+ --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads (not supported on Windows) (default 128Ki)
+ --network-mode Mount as remote network drive, instead of fixed disk drive (supported on Windows only)
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --no-spec Do not write spec file
+ --noappledouble Ignore Apple Double (._) and .DS_Store files (supported on OSX only) (default true)
+ --noapplexattr Ignore all "com.apple.*" extended attributes (supported on OSX only)
+ -o, --option stringArray Option for libfuse/WinFsp (repeat if required)
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --socket-addr string Address <host:port> or absolute path (default: /run/docker/plugins/rclone.sock)
--socket-gid int GID for unix socket (default: current process GID) (default 1000)
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
- --volname string Set the volume name. Supported on Windows and OSX only.
- --write-back-cache Makes kernel buffer writes before sending them to rclone. Without this, writethrough caching is used. Not supported on Windows.
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
+ --volname string Set the volume name (supported on Windows and OSX only)
+ --write-back-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on Windows)
See the global flags page for global options not listed here.
@@ -5108,8 +5490,8 @@ should be considered up to date and not refreshed from the backend.
Changes made through the mount will appear immediately or invalidate the
cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web interface
or a different copy of rclone will only be picked up once the directory
@@ -5164,10 +5546,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with -vv rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -5179,9 +5561,9 @@ the cache mode the more compatible rclone becomes at the cost of using
disk space.
Note that files are written back to the remote only when they are closed
-and if they haven't been accessed for --vfs-write-back second. If rclone
-is quit or dies with files that haven't been uploaded, these will be
-uploaded next time rclone is run with the same flags.
+and if they haven't been accessed for --vfs-write-back seconds. If
+rclone is quit or dies with files that haven't been uploaded, these will
+be uploaded next time rclone is run with the same flags.
If using --vfs-cache-max-size note that the cache may exceed this size
for two reasons. Firstly because it is only checked every
@@ -5253,7 +5635,7 @@ bytes ahead. The --buffer-size is buffered in memory whereas the
--vfs-read-ahead is buffered on disk.
When using this mode it is recommended that --buffer-size is not set too
-big and --vfs-read-ahead is set large if required.
+large and --vfs-read-ahead is set large if required.
IMPORTANT not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache directory
@@ -5261,10 +5643,39 @@ is on a filesystem which doesn't support sparse files and it will log an
ERROR message if one is detected.
+VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the chunk
+specified. This can reduce the used download quota for some remotes by
+requesting only chunks from the remote that are actually read, at the
+cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size --vfs-read-chunk-size, and
+then double the size for each read. When --vfs-read-chunk-size-limit is
+specified, and greater than --vfs-read-chunk-size, the chunk size for
+each open file will get doubled only until the specified value is
+reached. If the value is "off", which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+
+With --vfs-read-chunk-size 100M and --vfs-read-chunk-size-limit 0 the
+following parts will be downloaded: 0-100M, 100M-200M, 200M-300M,
+300M-400M and so on. When --vfs-read-chunk-size-limit 500M is specified,
+the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M,
+1200M-1700M and so on.
+
+Setting --vfs-read-chunk-size to 0 or "off" disables chunked reading.
+
+
VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the chunked reading feature.
In particular S3 and Swift benefit hugely from the --no-modtime flag (or
use --use-server-modtime for a slightly different effect) as each read
@@ -5275,32 +5686,20 @@ of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the chunk
-specified. This is advantageous because some cloud providers account for
-reads being all the data requested, not all the data delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather than
seeking rclone will wait a short time for the in sequence read or write
to come in. These flags only come into effect when not using an on disk
cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
When using VFS write caching (--vfs-cache-mode with value writes or
full), the global flag --transfers can be set to adjust the number of
parallel uploads of modified files from cache (the related global flag
--checkers have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
VFS Case Sensitivity
@@ -5315,7 +5714,7 @@ query. It is not allowed for two files in the same directory to differ
only by case.
Usually file systems on macOS are case-insensitive. It is possible to
-make macOS file systems case-sensitive but that is not the default
+make macOS file systems case-sensitive but that is not the default.
The --vfs-case-insensitive mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the
@@ -5434,38 +5833,38 @@ that rclone supports.
Options
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:2121")
- --auth-proxy string A program to use to create the backend from the auth.
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:2121")
+ --auth-proxy string A program to use to create the backend from the auth
--cert string TLS PEM key (concatenation of certificate and CA certificate)
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for ftp
--key string TLS PEM Private key
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication. (empty value allow every password)
- --passive-port string Passive port range to use. (default "30000-32000")
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --public-ip string Public IP address to advertise for passive connections.
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication. (default "anonymous")
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication (empty value allow every password)
+ --passive-port string Passive port range to use (default "30000-32000")
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --public-ip string Public IP address to advertise for passive connections
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication (default "anonymous")
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
See the global flags page for global options not listed here.
@@ -5602,6 +6001,8 @@ The password file can be updated while rclone is running.
Use --realm to set the authentication realm.
+Use --salt to change the password hashing salt from the default.
+
VFS - Virtual File System
@@ -5625,8 +6026,8 @@ should be considered up to date and not refreshed from the backend.
Changes made through the mount will appear immediately or invalidate the
cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web interface
or a different copy of rclone will only be picked up once the directory
@@ -5681,10 +6082,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with -vv rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -5696,9 +6097,9 @@ the cache mode the more compatible rclone becomes at the cost of using
disk space.
Note that files are written back to the remote only when they are closed
-and if they haven't been accessed for --vfs-write-back second. If rclone
-is quit or dies with files that haven't been uploaded, these will be
-uploaded next time rclone is run with the same flags.
+and if they haven't been accessed for --vfs-write-back seconds. If
+rclone is quit or dies with files that haven't been uploaded, these will
+be uploaded next time rclone is run with the same flags.
If using --vfs-cache-max-size note that the cache may exceed this size
for two reasons. Firstly because it is only checked every
@@ -5770,7 +6171,7 @@ bytes ahead. The --buffer-size is buffered in memory whereas the
--vfs-read-ahead is buffered on disk.
When using this mode it is recommended that --buffer-size is not set too
-big and --vfs-read-ahead is set large if required.
+large and --vfs-read-ahead is set large if required.
IMPORTANT not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache directory
@@ -5778,10 +6179,39 @@ is on a filesystem which doesn't support sparse files and it will log an
ERROR message if one is detected.
+VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the chunk
+specified. This can reduce the used download quota for some remotes by
+requesting only chunks from the remote that are actually read, at the
+cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size --vfs-read-chunk-size, and
+then double the size for each read. When --vfs-read-chunk-size-limit is
+specified, and greater than --vfs-read-chunk-size, the chunk size for
+each open file will get doubled only until the specified value is
+reached. If the value is "off", which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+
+With --vfs-read-chunk-size 100M and --vfs-read-chunk-size-limit 0 the
+following parts will be downloaded: 0-100M, 100M-200M, 200M-300M,
+300M-400M and so on. When --vfs-read-chunk-size-limit 500M is specified,
+the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M,
+1200M-1700M and so on.
+
+Setting --vfs-read-chunk-size to 0 or "off" disables chunked reading.
+
+
VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the chunked reading feature.
In particular S3 and Swift benefit hugely from the --no-modtime flag (or
use --use-server-modtime for a slightly different effect) as each read
@@ -5792,32 +6222,20 @@ of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the chunk
-specified. This is advantageous because some cloud providers account for
-reads being all the data requested, not all the data delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather than
seeking rclone will wait a short time for the in sequence read or write
to come in. These flags only come into effect when not using an on disk
cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
When using VFS write caching (--vfs-cache-mode with value writes or
full), the global flag --transfers can be set to adjust the number of
parallel uploads of modified files from cache (the related global flag
--checkers have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
VFS Case Sensitivity
@@ -5832,7 +6250,7 @@ query. It is not allowed for two files in the same directory to differ
only by case.
Usually file systems on macOS are case-insensitive. It is possible to
-make macOS file systems case-sensitive but that is not the default
+make macOS file systems case-sensitive but that is not the default.
The --vfs-case-insensitive mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the
@@ -5879,43 +6297,44 @@ and only with caching.
Options
- --addr string IPaddress:Port or :Port to bind server to. (default "127.0.0.1:8080")
- --baseurl string Prefix for URLs - leave blank for root.
+ --addr string IPaddress:Port or :Port to bind server to (default "127.0.0.1:8080")
+ --baseurl string Prefix for URLs - leave blank for root
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for http
- --htpasswd string htpasswd file - if not provided no authentication is done
+ --htpasswd string A htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --realm string realm for authentication
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --realm string Realm for authentication
+ --salt string Password hashing salt (default "dlPL2MqE")
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --template string User Specified Template.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --template string User-specified template
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
See the global flags page for global options not listed here.
@@ -6128,24 +6547,24 @@ authority certificate.
Options
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:8080")
- --append-only disallow deletion of repository data
- --baseurl string Prefix for URLs - leave blank for root.
- --cache-objects cache listed objects (default true)
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:8080")
+ --append-only Disallow deletion of repository data
+ --baseurl string Prefix for URLs - leave blank for root
+ --cache-objects Cache listed objects (default true)
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
-h, --help help for restic
--htpasswd string htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --pass string Password for authentication.
- --private-repos users can only access their private repo
+ --pass string Password for authentication
+ --private-repos Users can only access their private repo
--realm string realm for authentication (default "rclone")
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --stdio run an HTTP2 server on stdin/stdout
- --template string User Specified Template.
- --user string User name for authentication.
+ --stdio Run an HTTP2 server on stdin/stdout
+ --template string User-specified template
+ --user string User name for authentication
See the global flags page for global options not listed here.
@@ -6186,8 +6605,10 @@ it can provide md5sum/sha1sum/df information for the rclone sftp
backend. This means that is can support SHA1SUMs, MD5SUMs and the about
command when paired with the rclone sftp backend.
-If you don't supply a --key then rclone will generate one and cache it
-for later use.
+If you don't supply a host --key then rclone will generate rsa, ecdsa
+and ed25519 variants, and cache them for later use in rclone's cache
+directory (see "rclone help flags cache-dir") in the "serve-sftp"
+directory.
By default the server binds to localhost:2022 - if you want it to be
reachable externally then supply "--addr :2022" for example.
@@ -6223,8 +6644,8 @@ should be considered up to date and not refreshed from the backend.
Changes made through the mount will appear immediately or invalidate the
cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web interface
or a different copy of rclone will only be picked up once the directory
@@ -6279,10 +6700,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with -vv rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -6294,9 +6715,9 @@ the cache mode the more compatible rclone becomes at the cost of using
disk space.
Note that files are written back to the remote only when they are closed
-and if they haven't been accessed for --vfs-write-back second. If rclone
-is quit or dies with files that haven't been uploaded, these will be
-uploaded next time rclone is run with the same flags.
+and if they haven't been accessed for --vfs-write-back seconds. If
+rclone is quit or dies with files that haven't been uploaded, these will
+be uploaded next time rclone is run with the same flags.
If using --vfs-cache-max-size note that the cache may exceed this size
for two reasons. Firstly because it is only checked every
@@ -6368,7 +6789,7 @@ bytes ahead. The --buffer-size is buffered in memory whereas the
--vfs-read-ahead is buffered on disk.
When using this mode it is recommended that --buffer-size is not set too
-big and --vfs-read-ahead is set large if required.
+large and --vfs-read-ahead is set large if required.
IMPORTANT not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache directory
@@ -6376,10 +6797,39 @@ is on a filesystem which doesn't support sparse files and it will log an
ERROR message if one is detected.
+VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the chunk
+specified. This can reduce the used download quota for some remotes by
+requesting only chunks from the remote that are actually read, at the
+cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size --vfs-read-chunk-size, and
+then double the size for each read. When --vfs-read-chunk-size-limit is
+specified, and greater than --vfs-read-chunk-size, the chunk size for
+each open file will get doubled only until the specified value is
+reached. If the value is "off", which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+
+With --vfs-read-chunk-size 100M and --vfs-read-chunk-size-limit 0 the
+following parts will be downloaded: 0-100M, 100M-200M, 200M-300M,
+300M-400M and so on. When --vfs-read-chunk-size-limit 500M is specified,
+the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M,
+1200M-1700M and so on.
+
+Setting --vfs-read-chunk-size to 0 or "off" disables chunked reading.
+
+
VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the chunked reading feature.
In particular S3 and Swift benefit hugely from the --no-modtime flag (or
use --use-server-modtime for a slightly different effect) as each read
@@ -6390,32 +6840,20 @@ of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the chunk
-specified. This is advantageous because some cloud providers account for
-reads being all the data requested, not all the data delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather than
seeking rclone will wait a short time for the in sequence read or write
to come in. These flags only come into effect when not using an on disk
cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
When using VFS write caching (--vfs-cache-mode with value writes or
full), the global flag --transfers can be set to adjust the number of
parallel uploads of modified files from cache (the related global flag
--checkers have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
VFS Case Sensitivity
@@ -6430,7 +6868,7 @@ query. It is not allowed for two files in the same directory to differ
only by case.
Usually file systems on macOS are case-insensitive. It is possible to
-make macOS file systems case-sensitive but that is not the default
+make macOS file systems case-sensitive but that is not the default.
The --vfs-case-insensitive mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the
@@ -6549,38 +6987,38 @@ that rclone supports.
Options
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:2022")
- --auth-proxy string A program to use to create the backend from the auth.
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:2022")
+ --auth-proxy string A program to use to create the backend from the auth
--authorized-keys string Authorized keys file (default "~/.ssh/authorized_keys")
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for sftp
--key stringArray SSH private host key file (Can be multi-valued, leave blank to auto generate)
- --no-auth Allow connections with no authentication if set.
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
+ --no-auth Allow connections with no authentication if set
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
--stdio Run an sftp server on run stdin/stdout
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
See the global flags page for global options not listed here.
@@ -6749,8 +7187,8 @@ should be considered up to date and not refreshed from the backend.
Changes made through the mount will appear immediately or invalidate the
cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web interface
or a different copy of rclone will only be picked up once the directory
@@ -6805,10 +7243,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with -vv rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -6820,9 +7258,9 @@ the cache mode the more compatible rclone becomes at the cost of using
disk space.
Note that files are written back to the remote only when they are closed
-and if they haven't been accessed for --vfs-write-back second. If rclone
-is quit or dies with files that haven't been uploaded, these will be
-uploaded next time rclone is run with the same flags.
+and if they haven't been accessed for --vfs-write-back seconds. If
+rclone is quit or dies with files that haven't been uploaded, these will
+be uploaded next time rclone is run with the same flags.
If using --vfs-cache-max-size note that the cache may exceed this size
for two reasons. Firstly because it is only checked every
@@ -6894,7 +7332,7 @@ bytes ahead. The --buffer-size is buffered in memory whereas the
--vfs-read-ahead is buffered on disk.
When using this mode it is recommended that --buffer-size is not set too
-big and --vfs-read-ahead is set large if required.
+large and --vfs-read-ahead is set large if required.
IMPORTANT not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache directory
@@ -6902,10 +7340,39 @@ is on a filesystem which doesn't support sparse files and it will log an
ERROR message if one is detected.
+VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the chunk
+specified. This can reduce the used download quota for some remotes by
+requesting only chunks from the remote that are actually read, at the
+cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size --vfs-read-chunk-size, and
+then double the size for each read. When --vfs-read-chunk-size-limit is
+specified, and greater than --vfs-read-chunk-size, the chunk size for
+each open file will get doubled only until the specified value is
+reached. If the value is "off", which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+
+With --vfs-read-chunk-size 100M and --vfs-read-chunk-size-limit 0 the
+following parts will be downloaded: 0-100M, 100M-200M, 200M-300M,
+300M-400M and so on. When --vfs-read-chunk-size-limit 500M is specified,
+the result would be 0-100M, 100M-300M, 300M-700M, 700M-1200M,
+1200M-1700M and so on.
+
+Setting --vfs-read-chunk-size to 0 or "off" disables chunked reading.
+
+
VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the chunked reading feature.
In particular S3 and Swift benefit hugely from the --no-modtime flag (or
use --use-server-modtime for a slightly different effect) as each read
@@ -6916,32 +7383,20 @@ of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the chunk
-specified. This is advantageous because some cloud providers account for
-reads being all the data requested, not all the data delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather than
seeking rclone will wait a short time for the in sequence read or write
to come in. These flags only come into effect when not using an on disk
cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
When using VFS write caching (--vfs-cache-mode with value writes or
full), the global flag --transfers can be set to adjust the number of
parallel uploads of modified files from cache (the related global flag
--checkers have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
VFS Case Sensitivity
@@ -6956,7 +7411,7 @@ query. It is not allowed for two files in the same directory to differ
only by case.
Usually file systems on macOS are case-insensitive. It is possible to
-make macOS file systems case-sensitive but that is not the default
+make macOS file systems case-sensitive but that is not the default.
The --vfs-case-insensitive mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the
@@ -7075,46 +7530,46 @@ that rclone supports.
Options
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:8080")
- --auth-proxy string A program to use to create the backend from the auth.
- --baseurl string Prefix for URLs - leave blank for root.
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:8080")
+ --auth-proxy string A program to use to create the backend from the auth
+ --baseurl string Prefix for URLs - leave blank for root
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--disable-dir-list Disable HTML directory list on GET request for a directory
--etag-hash string Which hash to use for the ETag, or auto or blank for off
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for webdav
--htpasswd string htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
--realm string realm for authentication (default "rclone")
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --template string User Specified Template.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --template string User-specified template
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
See the global flags page for global options not listed here.
@@ -7224,7 +7679,7 @@ Log any change notify requests for the remote passed in.
Options
-h, --help help for changenotify
- --poll-interval duration Time to wait between polling for changes. (default 10s)
+ --poll-interval duration Time to wait between polling for changes (default 10s)
See the global flags page for global options not listed here.
@@ -7285,14 +7740,14 @@ NB this can create undeletable files and other hazards - use with care
Options
- --all Run all tests.
- --check-control Check control characters.
- --check-length Check max filename length.
- --check-normalization Check UTF-8 Normalization.
- --check-streaming Check uploads with indeterminate file size.
+ --all Run all tests
+ --check-control Check control characters
+ --check-length Check max filename length
+ --check-normalization Check UTF-8 Normalization
+ --check-streaming Check uploads with indeterminate file size
-h, --help help for info
- --upload-wait duration Wait after writing a file.
- --write-json string Write results to file.
+ --upload-wait duration Wait after writing a file
+ --write-json string Write results to file
See the global flags page for global options not listed here.
@@ -7360,21 +7815,25 @@ Create new file or change file modification time.
Synopsis
-Set the modification time on object(s) as specified by remote:path to
-have the current time.
+Set the modification time on file(s) as specified by remote:path to have
+the current time.
+
+If remote:path does not exist then a zero sized file will be created,
+unless --no-create or --recursive is provided.
-If remote:path does not exist then a zero sized object will be created
-unless the --no-create flag is provided.
+If --recursive is used then recursively sets the modification time on
+all existing files that is found under the path. Filters are supported,
+and you can test with the --dry-run or the --interactive flag.
-If --timestamp is used then it will set the modification time to that
-time instead of the current time. Times may be specified as one of:
+If --timestamp is used then sets the modification time to that time
+instead of the current time. Times may be specified as one of:
- 'YYMMDD' - e.g. 17.10.30
- 'YYYY-MM-DDTHH:MM:SS' - e.g. 2006-01-02T15:04:05
- 'YYYY-MM-DDTHH:MM:SS.SSS' - e.g. 2006-01-02T15:04:05.123456789
-Note that --timestamp is in UTC if you want local time then add the
---localtime flag.
+Note that value of --timestamp is in UTC. If you want local time then
+add the --localtime flag.
rclone touch remote:path [flags]
@@ -7382,9 +7841,10 @@ Note that --timestamp is in UTC if you want local time then add the
Options
-h, --help help for touch
- --localtime Use localtime for timestamp, not UTC.
- -C, --no-create Do not create the file if it does not exist.
- -t, --timestamp string Use specified time instead of the current time of day.
+ --localtime Use localtime for timestamp, not UTC
+ -C, --no-create Do not create the file if it does not exist (implied with --recursive)
+ -R, --recursive Recursively touch all files
+ -t, --timestamp string Use specified time instead of the current time of day
See the global flags page for global options not listed here.
@@ -7431,27 +7891,27 @@ options as they conflict with rclone's short options.
Options
- -a, --all All files are listed (list . files too).
- -C, --color Turn colorization on always.
- -d, --dirs-only List directories only.
- --dirsfirst List directories before files (-U disables).
- --full-path Print the full path prefix for each file.
+ -a, --all All files are listed (list . files too)
+ -C, --color Turn colorization on always
+ -d, --dirs-only List directories only
+ --dirsfirst List directories before files (-U disables)
+ --full-path Print the full path prefix for each file
-h, --help help for tree
--human Print the size in a more human readable way.
- --level int Descend only level directories deep.
+ --level int Descend only level directories deep
-D, --modtime Print the date of last modification.
- --noindent Don't print indentation lines.
- --noreport Turn off file/directory count at end of tree listing.
- -o, --output string Output to file instead of stdout.
+ --noindent Don't print indentation lines
+ --noreport Turn off file/directory count at end of tree listing
+ -o, --output string Output to file instead of stdout
-p, --protections Print the protections for each file.
-Q, --quote Quote filenames with double quotes.
-s, --size Print the size in bytes of each file.
- --sort string Select sort: name,version,size,mtime,ctime.
- --sort-ctime Sort files by last status change time.
- -t, --sort-modtime Sort files by last modification time.
- -r, --sort-reverse Reverse the order of the sort.
- -U, --unsorted Leave files unsorted.
- --version Sort files alphanumerically by version.
+ --sort string Select sort: name,version,size,mtime,ctime
+ --sort-ctime Sort files by last status change time
+ -t, --sort-modtime Sort files by last modification time
+ -r, --sort-reverse Reverse the order of the sort
+ -U, --unsorted Leave files unsorted
+ --version Sort files alphanumerically by version
See the global flags page for global options not listed here.
@@ -7655,8 +8115,9 @@ Will get their own names
Valid remote names
-- Remote names may only contain 0-9, A-Z ,a-z ,_ , - and space.
-- Remote names may not start with -.
+Remote names are case sensitive, and must adhere to the following rules:
+- May only contain 0-9, A-Z, a-z, _, - and space. - May not start with -
+or space.
Quoting and the shell
@@ -7761,10 +8222,10 @@ possibly signed sequence of decimal numbers, each with optional fraction
and a unit suffix, such as "300ms", "-1.5h" or "2h45m". Valid time units
are "ns", "us" (or "µs"), "ms", "s", "m", "h".
-Options which use SIZE use KiByte (multiples of 1024 bytes) by default.
-However, a suffix of B for Byte, K for KiByte, M for MiByte, G for
-GiByte, T for TiByte and P for PiByte may be used. These are the binary
-units, e.g. 1, 2**10, 2**20, 2**30 respectively.
+Options which use SIZE use KiB (multiples of 1024 bytes) by default.
+However, a suffix of B for Byte, K for KiB, M for MiB, G for GiB, T for
+TiB and P for PiB may be used. These are the binary units, e.g. 1,
+2**10, 2**20, 2**30 respectively.
--backup-dir=DIR
@@ -7806,23 +8267,23 @@ This option controls the bandwidth limit. For example
--bwlimit 10M
-would mean limit the upload and download bandwidth to 10 MiByte/s. NB
-this is BYTES per second not BITS per second. To use a single limit,
-specify the desired bandwidth in KiByte/s, or use a suffix B|K|M|G|T|P.
-The default is 0 which means to not limit bandwidth.
+would mean limit the upload and download bandwidth to 10 MiB/s. NB this
+is BYTES per second not BITS per second. To use a single limit, specify
+the desired bandwidth in KiB/s, or use a suffix B|K|M|G|T|P. The default
+is 0 which means to not limit bandwidth.
The upload and download bandwidth can be specified seperately, as
--bwlimit UP:DOWN, so
--bwlimit 10M:100k
-would mean limit the upload bandwidth to 10 MiByte/s and the download
-bandwidth to 100 KiByte/s. Either limit can be "off" meaning no limit,
-so to just limit the upload bandwidth you would use
+would mean limit the upload bandwidth to 10 MiB/s and the download
+bandwidth to 100 KiB/s. Either limit can be "off" meaning no limit, so
+to just limit the upload bandwidth you would use
--bwlimit 10M:off
-this would limit the upload bandwidth to 10 MiByte/s but the download
+this would limit the upload bandwidth to 10 MiB/s but the download
bandwidth would be unlimited.
When specified as above the bandwidth limits last for the duration of
@@ -7845,20 +8306,20 @@ daytime working hours could be:
--bwlimit "08:00,512k 12:00,10M 13:00,512k 18:00,30M 23:00,off"
-In this example, the transfer bandwidth will be set to 512 KiByte/s at
-8am every day. At noon, it will rise to 10 MiByte/s, and drop back to
-512 KiByte/sec at 1pm. At 6pm, the bandwidth limit will be set to 30
-MiByte/s, and at 11pm it will be completely disabled (full speed).
-Anything between 11pm and 8am will remain unlimited.
+In this example, the transfer bandwidth will be set to 512 KiB/s at 8am
+every day. At noon, it will rise to 10 MiB/s, and drop back to 512
+KiB/sec at 1pm. At 6pm, the bandwidth limit will be set to 30 MiB/s, and
+at 11pm it will be completely disabled (full speed). Anything between
+11pm and 8am will remain unlimited.
An example of timetable with WEEKDAY could be:
--bwlimit "Mon-00:00,512 Fri-23:59,10M Sat-10:00,1M Sun-20:00,off"
-It means that, the transfer bandwidth will be set to 512 KiByte/s on
-Monday. It will rise to 10 MiByte/s before the end of Friday. At 10:00
-on Saturday it will be set to 1 MiByte/s. From 20:00 on Sunday it will
-be unlimited.
+It means that, the transfer bandwidth will be set to 512 KiB/s on
+Monday. It will rise to 10 MiB/s before the end of Friday. At 10:00 on
+Saturday it will be set to 1 MiB/s. From 20:00 on Sunday it will be
+unlimited.
Timeslots without WEEKDAY are extended to the whole week. So this
example:
@@ -7876,7 +8337,7 @@ being the non HTTP backends, ftp, sftp and tardigrade).
Note that the units are BYTE/S, not BIT/S. Typically connections are
measured in bit/s - to convert divide by 8. For example, let's say you
have a 10 Mbit/s connection and you wish rclone to use half of it - 5
-Mbit/s. This is 5/8 = 0.625 MiByte/s so you would use a --bwlimit 0.625M
+Mbit/s. This is 5/8 = 0.625 MiB/s so you would use a --bwlimit 0.625M
parameter for rclone.
On Unix systems (Linux, macOS, …) the bandwidth limiter can be toggled
@@ -7898,7 +8359,7 @@ the bwlimit dynamically:
This option controls per file bandwidth limit. For the options see the
--bwlimit flag.
-For example use this to allow no transfers to be faster than 1 MiByte/s
+For example use this to allow no transfers to be faster than 1 MiB/s
--bwlimit-file 1M
@@ -7920,6 +8381,23 @@ Set to 0 to disable the buffering for the minimum memory usage.
Note that the memory allocation of the buffers is influenced by the
--use-mmap flag.
+--cache-dir=DIR
+
+Specify the directory rclone will use for caching, to override the
+default.
+
+Default value is depending on operating system: - Windows
+%LocalAppData%\rclone, if LocalAppData is defined. - macOS
+$HOME/Library/Caches/rclone if HOME is defined. - Unix
+$XDG_CACHE_HOME/rclone if XDG_CACHE_HOME is defined, else
+$HOME/.cache/rclone if HOME is defined. - Fallback (on all OS) to
+$TMPDIR/rclone, where TMPDIR is the value from --temp-dir.
+
+You can use the config paths command to see the current value.
+
+Cache directory is heavily used by the VFS File Caching mount feature,
+but also by serve, GUI and other parts of rclone.
+
--check-first
If this flag is set then in a sync, copy or move, rclone will do all the
@@ -8215,6 +8693,41 @@ to add multiple headers.
See the GitHub issue here for currently supported backends.
+--human-readable
+
+Rclone commands output values for sizes (e.g. number of bytes) and
+counts (e.g. number of files) either as _raw_ numbers, or in
+_human-readable_ format.
+
+In human-readable format the values are scaled to larger units,
+indicated with a suffix shown after the value, and rounded to three
+decimals. Rclone consistently uses binary units (powers of 2) for sizes
+and decimal units (powers of 10) for counts. The unit prefix for size is
+according to IEC standard notation, e.g. Ki for kibi. Used with byte
+unit, 1 KiB means 1024 Byte. In list type of output, only the unit
+prefix appended to the value (e.g. 9.762Ki), while in more textual
+output the full unit is shown (e.g. 9.762 KiB). For counts the SI
+standard notation is used, e.g. prefix k for kilo. Used with file
+counts, 1k means 1000 files.
+
+The various list commands output raw numbers by default. Option
+--human-readable will make them output values in human-readable format
+instead (with the short unit prefix).
+
+The about command outputs human-readable by default, with a
+command-specific option --full to output the raw numbers instead.
+
+Command size outputs both human-readable and raw numbers in the same
+output.
+
+The tree command also considers --human-readable, but it will not use
+the exact same notation as the other commands: It rounds to one decimal,
+and uses single letter suffix, e.g. K instead of Ki. The reason for this
+is that it relies on an external library.
+
+The interactive command ncdu shows human-readable by default, and
+responds to key u for toggling human-readable format.
+
--ignore-case-sync
Using this option will cause rclone to ignore the case of the files when
@@ -8239,6 +8752,10 @@ While this isn't a generally recommended option, it can be useful in
cases where your files change due to encryption. However, it cannot
correct partial transfers in case a transfer was interrupted.
+When performing a move/moveto command, this flag will leave skipped
+files in the source location unchanged when a file with the same name
+exists on the destination.
+
--ignore-size
Normally rclone will look at modification time and size of files to see
@@ -8335,8 +8852,12 @@ a signal to rotate logs.
--log-format LIST
-Comma separated list of log format options. date, time, microseconds,
-longfile, shortfile, UTC. The default is "date,time".
+Comma separated list of log format options. Accepted options are date,
+time, microseconds, pid, longfile, shortfile, UTC. Any other keywords
+will be silently ignored. pid will tag log messages with process
+identifier which useful with rclone mount --daemon. Other accepted
+options are explained in the go documentation. The default log format is
+"date,time".
--log-level LEVEL
@@ -8861,6 +9382,23 @@ If using --syslog this sets the syslog facility (e.g. KERN, USER). See
man syslog for a list of possible facilities. The default facility is
DAEMON.
+--temp-dir=DIR
+
+Specify the directory rclone will use for temporary files, to override
+the default. Make sure the directory exists and have accessible
+permissions.
+
+By default the operating system's temp directory will be used: - On Unix
+systems, $TMPDIR if non-empty, else /tmp. - On Windows, the first
+non-empty value from %TMP%, %TEMP%, %USERPROFILE%, or the Windows
+directory.
+
+When overriding the default with this option, the specified path will be
+set as value of environment variable TMPDIR on Unix systems and TMP and
+TEMP on Windows.
+
+You can use the config paths command to see the current value.
+
--tpslimit float
Limit transactions per second to this number. Default is 0 which is used
@@ -9467,7 +10005,7 @@ For example, to configure an S3 remote named mys3: without a config file
$ export RCLONE_CONFIG_MYS3_TYPE=s3
$ export RCLONE_CONFIG_MYS3_ACCESS_KEY_ID=XXX
$ export RCLONE_CONFIG_MYS3_SECRET_ACCESS_KEY=XXX
- $ rclone lsd MYS3:
+ $ rclone lsd mys3:
-1 2016-09-21 12:54:21 -1 my-bucket
$ rclone listremotes | grep mys3
mys3:
@@ -9475,6 +10013,18 @@ For example, to configure an S3 remote named mys3: without a config file
Note that if you want to create a remote using environment variables you
must create the ..._TYPE variable as above.
+Note that the name of a remote created using environment variable is
+case insensitive, in contrast to regular remotes stored in config file
+as documented above. You must write the name in uppercase in the
+environment variable, but as seen from example above it will be listed
+and can be accessed in lowercase, while you can also refer to the same
+remote in uppercase:
+
+ $ rclone lsd mys3:
+ -1 2016-09-21 12:54:21 -1 my-bucket
+ $ rclone lsd MYS3:
+ -1 2016-09-21 12:54:21 -1 my-bucket
+
Note that you can only set the options of the immediate backend, so
RCLONE_CONFIG_MYS3CRYPT_ACCESS_KEY_ID has no effect, if myS3Crypt is a
crypt remote based on an S3 remote. However RCLONE_S3_ACCESS_KEY_ID will
@@ -10204,17 +10754,17 @@ Other filters
--min-size - Don't transfer any file smaller than this
Controls the minimum size file within the scope of an rclone command.
-Default units are KiByte but abbreviations K, M, G, T or P are valid.
+Default units are KiB but abbreviations K, M, G, T or P are valid.
-E.g. rclone ls remote: --min-size 50k lists files on remote: of 50
-KiByte size or larger.
+E.g. rclone ls remote: --min-size 50k lists files on remote: of 50 KiB
+size or larger.
--max-size - Don't transfer any file larger than this
Controls the maximum size file within the scope of an rclone command.
-Default units are KiByte but abbreviations K, M, G, T or P are valid.
+Default units are KiB but abbreviations K, M, G, T or P are valid.
-E.g. rclone ls remote: --max-size 1G lists files on remote: of 1 GiByte
+E.g. rclone ls remote: --max-size 1G lists files on remote: of 1 GiB
size or smaller.
--max-age - Don't transfer any file older than this
@@ -10269,8 +10819,8 @@ E.g. the scope of rclone sync -i A: B: can be restricted:
rclone --min-size 50k --delete-excluded sync A: B:
-All files on B: which are less than 50 KiByte are deleted because they
-are excluded from the rclone sync command.
+All files on B: which are less than 50 KiB are deleted because they are
+excluded from the rclone sync command.
--dump filters - dump the filters to the output
@@ -10846,18 +11396,18 @@ Supported commands
backend/command: Runs a backend command.
-This takes the following parameters
+This takes the following parameters:
- command - a string with the command name
- fs - a remote name string e.g. "drive:"
- arg - a list of arguments for the backend command
- opt - a map of string to string of options
-Returns
+Returns:
- result - result from the backend command
-For example
+Example:
rclone rc backend/command command=noop fs=. -o echo=yes -o blue -a path1 -a path2
@@ -10930,7 +11480,7 @@ Show statistics for the cache remote.
config/create: create the config for a remote.
-This takes the following parameters
+This takes the following parameters:
- name - name of remote
- parameters - a map of { "key": "value" } pairs
@@ -10989,7 +11539,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
config/password: password the config for a remote.
-This takes the following parameters
+This takes the following parameters:
- name - name of remote
- parameters - a map of { "key": "value" } pairs
@@ -11010,7 +11560,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
config/update: update the config for a remote.
-This takes the following parameters
+This takes the following parameters:
- name - name of remote
- parameters - a map of { "key": "value" } pairs
@@ -11075,33 +11625,33 @@ In either case "rate" is returned as a human readable string, and
core/command: Run a rclone terminal command over rc.
-This takes the following parameters
+This takes the following parameters:
-- command - a string with the command name
-- arg - a list of arguments for the backend command
-- opt - a map of string to string of options
+- command - a string with the command name.
+- arg - a list of arguments for the backend command.
+- opt - a map of string to string of options.
- returnType - one of ("COMBINED_OUTPUT", "STREAM",
- "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR")
- - defaults to "COMBINED_OUTPUT" if not set
- - the STREAM returnTypes will write the output to the body of the
- HTTP message
- - the COMBINED_OUTPUT will write the output to the "result"
- parameter
-
-Returns
-
-- result - result from the backend command
- - only set when using returnType "COMBINED_OUTPUT"
-- error - set if rclone exits with an error code
+ "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR").
+ - Defaults to "COMBINED_OUTPUT" if not set.
+ - The STREAM returnTypes will write the output to the body of the
+ HTTP message.
+ - The COMBINED_OUTPUT will write the output to the "result"
+ parameter.
+
+Returns:
+
+- result - result from the backend command.
+ - Only set when using returnType "COMBINED_OUTPUT".
+- error - set if rclone exits with an error code.
- returnType - one of ("COMBINED_OUTPUT", "STREAM",
- "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR")
+ "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR").
-For example
+Example:
rclone rc core/command command=ls -a mydrive:/ -o max-depth=1
rclone rc core/command -a ls -a mydrive:/ -o max-depth=1
-Returns
+Returns:
{
"error": false,
@@ -11145,10 +11695,10 @@ https://golang.org/pkg/runtime/#MemStats
The most interesting values for most people are:
-- HeapAlloc: This is the amount of memory rclone is actually using
-- HeapSys: This is the amount of memory rclone has obtained from the
+- HeapAlloc - this is the amount of memory rclone is actually using
+- HeapSys - this is the amount of memory rclone has obtained from the
OS
-- Sys: this is the total amount of memory requested from the OS
+- Sys - this is the total amount of memory requested from the OS
- It is virtual memory so may include unused memory
core/obscure: Obscures a string passed in.
@@ -11156,7 +11706,7 @@ core/obscure: Obscures a string passed in.
Pass a clear string and rclone will obscure it for the config file: -
clear - string
-Returns - obscured - string
+Returns: - obscured - string
core/pid: Return PID of current process
@@ -11164,7 +11714,7 @@ This returns PID of current process. Useful for stopping rclone process.
core/quit: Terminates the app.
-(optional) Pass an exit code to be used for terminating the app: -
+(Optional) Pass an exit code to be used for terminating the app: -
exitCode - int
core/stats: Returns stats about current transfers.
@@ -11221,7 +11771,7 @@ determined.
core/stats-delete: Delete stats group.
-This deletes entire stats group
+This deletes entire stats group.
Parameters
@@ -11270,7 +11820,7 @@ Returns the following values:
core/version: Shows the current version of rclone and the go runtime.
-This shows the current version of go and the go runtime
+This shows the current version of go and the go runtime:
- version - rclone version, e.g. "v1.53.0"
- decomposed - version number as [major, minor, patch]
@@ -11295,7 +11845,7 @@ After calling this you can use this to see the blocking profile:
go tool pprof http://localhost:5572/debug/pprof/block
-Parameters
+Parameters:
- rate - int
@@ -11312,11 +11862,11 @@ Once this is set you can look use this to profile the mutex contention:
go tool pprof http://localhost:5572/debug/pprof/mutex
-Parameters
+Parameters:
- rate - int
-Results
+Results:
- previousRate - int
@@ -11340,19 +11890,19 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
job/list: Lists the IDs of the running jobs
-Parameters - None
+Parameters: None.
-Results
+Results:
-- jobids - array of integer job ids
+- jobids - array of integer job ids.
job/status: Reads the status of the job ID
-Parameters
+Parameters:
-- jobid - id of the job (integer)
+- jobid - id of the job (integer).
-Results
+Results:
- finished - boolean
- duration - time in seconds that the job ran for
@@ -11370,14 +11920,14 @@ Results
job/stop: Stop the running job
-Parameters
+Parameters:
-- jobid - id of the job (integer)
+- jobid - id of the job (integer).
mount/listmounts: Show current mount points
This shows currently mounted points, which can be used for performing an
-unmount
+unmount.
This takes no parameters and returns
@@ -11397,16 +11947,16 @@ cloud storage systems as a file system with FUSE.
If no mountType is provided, the priority is given as follows: 1. mount
2.cmount 3.mount2
-This takes the following parameters
+This takes the following parameters:
- fs - a remote path to be mounted (required)
- mountPoint: valid path on the local machine (required)
-- mountType: One of the values (mount, cmount, mount2) specifies the
+- mountType: one of the values (mount, cmount, mount2) specifies the
mount implementation to use
- mountOpt: a JSON object with Mount options in.
- vfsOpt: a JSON object with VFS options in.
-Eg
+Example:
rclone rc mount/mount fs=mydrive: mountPoint=/home/<user>/mountPoint
rclone rc mount/mount fs=mydrive: mountPoint=/home/<user>/mountPoint mountType=mount
@@ -11414,7 +11964,7 @@ Eg
The vfsOpt are as described in options/get and can be seen in the the
"vfs" section when running and the mountOpt can be seen in the "mount"
-section.
+section:
rclone rc options/get
@@ -11442,12 +11992,12 @@ mount/unmount: Unmount selected active mount
rclone allows Linux, FreeBSD, macOS and Windows to mount any of Rclone's
cloud storage systems as a file system with FUSE.
-This takes the following parameters
+This takes the following parameters:
- mountPoint: valid path on the local machine where the mount was
created (required)
-Eg
+Example:
rclone rc mount/unmount mountPoint=/home/<user>/mountPoint
@@ -11456,7 +12006,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
mount/unmountall: Show current mount points
This shows currently mounted points, which can be used for performing an
-unmount
+unmount.
This takes no parameters and returns error if unmount does not succeed.
@@ -11468,7 +12018,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/about: Return the space used on the remote
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -11480,7 +12030,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/cleanup: Remove trashed files in the remote or path
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -11490,7 +12040,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/copyfile: Copy a file from source remote to destination remote
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:" for the source
- srcRemote - a path within that remote e.g. "file.txt" for the source
@@ -11502,7 +12052,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/copyurl: Copy the URL to the object
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11515,7 +12065,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/delete: Remove files in the path
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -11525,7 +12075,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/deletefile: Remove the single file pointed to
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11536,7 +12086,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/fsinfo: Return information about the remote
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -11592,7 +12142,7 @@ instead:
operations/list: List the given remote and path in JSON format
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11602,8 +12152,13 @@ This takes the following parameters
- showEncrypted - If set show decrypted names
- showOrigIDs - If set show the IDs for each item if known
- showHash - If set return a dictionary of hashes
+ - noMimeType - If set don't show mime types
+ - dirsOnly - If set only show directories
+ - filesOnly - If set only show files
+ - hashTypes - array of strings of hash types to show if showHash
+ set
-The result is
+Returns:
- list
- This is an array of objects as described in the lsjson command
@@ -11614,7 +12169,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/mkdir: Make a destination directory or container
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11625,7 +12180,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/movefile: Move a file from source remote to destination remote
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:" for the source
- srcRemote - a path within that remote e.g. "file.txt" for the source
@@ -11637,7 +12192,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/publiclink: Create or retrieve a public link to the given file or folder.
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11645,7 +12200,7 @@ This takes the following parameters
(optional)
- expire - string - the expiry time of the link e.g. "1d" (optional)
-Returns
+Returns:
- url - URL of the resource
@@ -11655,7 +12210,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/purge: Remove a directory or container and all of its contents
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11666,7 +12221,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/rmdir: Remove an empty directory or container
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -11677,23 +12232,22 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/rmdirs: Remove all the empty directories in the path
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
-- leaveRoot - boolean, set to true not to delete the root
-
-See the rmdirs command command for more information on the above.
+- leaveRoot - boolean, set to true not to delete the root See the
+ rmdirs command command for more information on the above.
AUTHENTICATION IS REQUIRED FOR THIS CALL.
operations/size: Count the number of bytes and files in remote
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:path/to/dir"
-Returns
+Returns:
- count - number of files
- bytes - number of bytes in those files
@@ -11702,10 +12256,31 @@ See the size command command for more information on the above.
AUTHENTICATION IS REQUIRED FOR THIS CALL.
-operations/uploadfile: Upload file using multiform/form-data
+operations/stat: Give information about the supplied file or directory
This takes the following parameters
+- fs - a remote name string eg "drive:"
+- remote - a path within that remote eg "dir"
+- opt - a dictionary of options to control the listing (optional)
+ - see operations/list for the options
+
+The result is
+
+- item - an object as described in the lsjson command. Will be null if
+ not found.
+
+Note that if you are only interested in files then it is much more
+efficient to set the filesOnly flag in the options.
+
+See the lsjson command for more information on the above and examples.
+
+AUTHENTICATION IS REQUIRED FOR THIS CALL.
+
+operations/uploadfile: Upload file using multiform/form-data
+
+This takes the following parameters:
+
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
- each part in body represents a file to be uploaded See the
@@ -11715,7 +12290,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
options/blocks: List all the option blocks
-Returns - options - a list of the options block names
+Returns: - options - a list of the options block names
options/get: Get all the global options
@@ -11748,7 +12323,7 @@ map to the external options very easily with a few exceptions.
options/set: Set an option
-Parameters
+Parameters:
- option block name containing an object with
- key: value
@@ -11776,14 +12351,14 @@ And this sets NOTICE level logs (normal without -v)
pluginsctl/addPlugin: Add a plugin using url
-used for adding a plugin to the webgui
+Used for adding a plugin to the webgui.
-This takes the following parameters
+This takes the following parameters:
-- url: http url of the github repo where the plugin is hosted
- (http://github.com/rclone/rclone-webui-react)
+- url - http url of the github repo where the plugin is hosted
+ (http://github.com/rclone/rclone-webui-react).
-Eg
+Example:
rclone rc pluginsctl/addPlugin
@@ -11791,22 +12366,22 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
pluginsctl/getPluginsForType: Get plugins with type criteria
-This shows all possible plugins by a mime type
+This shows all possible plugins by a mime type.
-This takes the following parameters
+This takes the following parameters:
-- type: supported mime type by a loaded plugin e.g. (video/mp4,
- audio/mp3)
-- pluginType: filter plugins based on their type e.g. (DASHBOARD,
- FILE_HANDLER, TERMINAL)
+- type - supported mime type by a loaded plugin e.g. (video/mp4,
+ audio/mp3).
+- pluginType - filter plugins based on their type e.g. (DASHBOARD,
+ FILE_HANDLER, TERMINAL).
-and returns
+Returns:
-- loadedPlugins: list of current production plugins
-- testPlugins: list of temporarily loaded development plugins, usually
- running on a different server.
+- loadedPlugins - list of current production plugins.
+- testPlugins - list of temporarily loaded development plugins,
+ usually running on a different server.
-Eg
+Example:
rclone rc pluginsctl/getPluginsForType type=video/mp4
@@ -11816,13 +12391,13 @@ pluginsctl/listPlugins: Get the list of currently loaded plugins
This allows you to get the currently enabled plugins and their details.
-This takes no parameters and returns
+This takes no parameters and returns:
-- loadedPlugins: list of current production plugins
-- testPlugins: list of temporarily loaded development plugins, usually
- running on a different server.
+- loadedPlugins - list of current production plugins.
+- testPlugins - list of temporarily loaded development plugins,
+ usually running on a different server.
-Eg
+E.g.
rclone rc pluginsctl/listPlugins
@@ -11830,14 +12405,14 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
pluginsctl/listTestPlugins: Show currently loaded test plugins
-allows listing of test plugins with the rclone.test set to true in
-package.json of the plugin
+Allows listing of test plugins with the rclone.test set to true in
+package.json of the plugin.
-This takes no parameters and returns
+This takes no parameters and returns:
-- loadedTestPlugins: list of currently available test plugins
+- loadedTestPlugins - list of currently available test plugins.
-Eg
+E.g.
rclone rc pluginsctl/listTestPlugins
@@ -11845,13 +12420,13 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
pluginsctl/removePlugin: Remove a loaded plugin
-This allows you to remove a plugin using it's name
+This allows you to remove a plugin using it's name.
-This takes parameters
+This takes parameters:
-- name: name of the plugin in the format author/plugin_name
+- name - name of the plugin in the format author/plugin_name.
-Eg
+E.g.
rclone rc pluginsctl/removePlugin name=rclone/video-plugin
@@ -11859,13 +12434,13 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
pluginsctl/removeTestPlugin: Remove a test plugin
-This allows you to remove a plugin using it's name
+This allows you to remove a plugin using it's name.
-This takes the following parameters
+This takes the following parameters:
-- name: name of the plugin in the format author/plugin_name
+- name - name of the plugin in the format author/plugin_name.
-Eg
+Example:
rclone rc pluginsctl/removeTestPlugin name=rclone/rclone-webui-react
@@ -11897,7 +12472,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
sync/copy: copy a directory from source remote to destination remote
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:src" for the source
- dstFs - a remote name string e.g. "drive:dst" for the destination
@@ -11910,7 +12485,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
sync/move: move a directory from source remote to destination remote
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:src" for the source
- dstFs - a remote name string e.g. "drive:dst" for the destination
@@ -11924,7 +12499,7 @@ AUTHENTICATION IS REQUIRED FOR THIS CALL.
sync/sync: sync a directory from source remote to destination remote
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:src" for the source
- dstFs - a remote name string e.g. "drive:dst" for the destination
@@ -12223,7 +12798,7 @@ Here is an overview of the major features of each cloud storage system.
------------------------------ ------------- --------- ------------------ ----------------- -----------
1Fichier Whirlpool No No Yes R
Amazon Drive MD5 No Yes No R
- Amazon S3 MD5 Yes No No R/W
+ Amazon S3 (or S3 compatible) MD5 Yes No No R/W
Backblaze B2 SHA1 Yes No No R/W
Box SHA1 Yes Yes No -
Citrix ShareFile MD5 Yes Yes No -
@@ -12251,6 +12826,7 @@ Here is an overview of the major features of each cloud storage system.
QingStor MD5 No No No R/W
Seafile - No No No -
SFTP MD5, SHA1 ² Yes Depends No -
+ Sia - No No No -
SugarSync - No No No -
Tardigrade - Yes No No -
Uptobox - No No Yes -
@@ -12339,7 +12915,9 @@ Restricted filenames
Some cloud storage systems might have restrictions on the characters
that are usable in file or directory names. When rclone detects such a
name during a file upload, it will transparently replace the restricted
-characters with similar looking Unicode characters.
+characters with similar looking Unicode characters. To handle the
+different sets of restricted characters for different backends, rclone
+uses something it calls encoding.
This process is designed to avoid ambiguous file names as much as
possible and allow to move files between many cloud storage systems
@@ -12352,12 +12930,61 @@ storage.
This transformation is reversed when downloading a file or parsing
rclone arguments. For example, when uploading a file named my file?.txt
-to Onedrive will be displayed as my file?.txt on the console, but stored
-as my file?.txt (the ? gets replaced by the similar looking ?
-character) to Onedrive. The reverse transformation allows to read a
-fileunusual/name.txt from Google Drive, by passing the name
-unusual/name.txt (the / needs to be replaced by the similar looking /
-character) on the command line.
+to Onedrive, it will be displayed as my file?.txt on the console, but
+stored as my file?.txt to Onedrive (the ? gets replaced by the similar
+looking ? character, the so-called "fullwidth question mark"). The
+reverse transformation allows to read a file unusual/name.txt from
+Google Drive, by passing the name unusual/name.txt on the command line
+(the / needs to be replaced by the similar looking / character).
+
+Caveats
+
+The filename encoding system works well in most cases, at least where
+file names are written in English or similar languages. You might not
+even notice it: It just works. In some cases it may lead to issues,
+though. E.g. when file names are written in Chinese, or Japanese, where
+it is always the Unicode fullwidth variants of the punctuation marks
+that are used.
+
+On Windows, the characters :, * and ? are examples of restricted
+characters. If these are used in filenames on a remote that supports it,
+Rclone will transparently convert them to their fullwidth Unicode
+variants *, ? and : when downloading to Windows, and back again when
+uploading. This way files with names that are not allowed on Windows can
+still be stored.
+
+However, if you have files on your Windows system originally with these
+same Unicode characters in their names, they will be included in the
+same conversion process. E.g. if you create a file in your Windows
+filesystem with name Test:1.jpg, where : is the Unicode fullwidth
+colon symbol, and use rclone to upload it to Google Drive, which
+supports regular : (halfwidth question mark), rclone will replace the
+fullwidth : with the halfwidth : and store the file as Test:1.jpg in
+Google Drive. Since both Windows and Google Drive allows the name
+Test:1.jpg, it would probably be better if rclone just kept the name as
+is in this case.
+
+With the opposite situation; if you have a file named Test:1.jpg, in
+your Google Drive, e.g. uploaded from a Linux system where : is valid in
+file names. Then later use rclone to copy this file to your Windows
+computer you will notice that on your local disk it gets renamed to
+Test:1.jpg. The original filename is not legal on Windows, due to the
+:, and rclone therefore renames it to make the copy possible. That is
+all good. However, this can also lead to an issue: If you already had a
+_different_ file named Test:1.jpg on Windows, and then use rclone to
+copy either way. Rclone will then treat the file originally named
+Test:1.jpg on Google Drive and the file originally named Test:1.jpg on
+Windows as the same file, and replace the contents from one with the
+other.
+
+Its virtually impossible to handle all cases like these correctly in all
+situations, but by customizing the encoding option, changing the set of
+characters that rclone should convert, you should be able to create a
+configuration that works well for your specific situation. See also the
+example below.
+
+(Windows was used as an example of a file system with many restricted
+characters, and Google drive a storage system with few.)
Default restricted characters
@@ -12430,7 +13057,7 @@ local filenames section for details.
Encoding option
-Most backends have an encoding options, specified as a flag
+Most backends have an encoding option, specified as a flag
--backend-encoding where backend is the name of the backend, or as a
config parameter encoding (you'll need to select the Advanced config in
rclone config to see it).
@@ -12439,18 +13066,18 @@ This will have default value which encodes and decodes characters in
such a way as to preserve the maximum number of characters (see above).
However this can be incorrect in some scenarios, for example if you have
-a Windows file system with characters such as * and ? that you want to
-remain as those characters on the remote rather than being translated to
-* and ?.
+a Windows file system with Unicode fullwidth characters *, ? or :,
+that you want to remain as those characters on the remote rather than
+being translated to regular (halfwidth) *, ? and :.
The --backend-encoding flags allow you to change that. You can disable
the encoding completely with --backend-encoding None or set
encoding = None in the config file.
Encoding takes a comma separated list of encodings. You can see the list
-of all available characters by passing an invalid value to this flag,
-e.g. --local-encoding "help" and rclone help flags encoding will show
-you the defaults for the backends.
+of all possible values by passing an invalid value to this flag, e.g.
+--local-encoding "help". The command rclone help flags encoding will
+show you the defaults for the backends.
Encoding Characters
--------------- -------------------------------------------------------------
@@ -12462,7 +13089,7 @@ you the defaults for the backends.
Ctl All control characters 0x00-0x1F
Del DEL 0x7F
Dollar $
- Dot .
+ Dot . or .. as entire string
DoubleQuote "
Hash #
InvalidUtf8 An invalid UTF-8 character (e.g. latin1)
@@ -12480,6 +13107,9 @@ you the defaults for the backends.
RightSpace SPACE on the right of a string
SingleQuote '
Slash /
+ SquareBracket [, ]
+
+Encoding example: FTP
To take a specific example, the FTP backend's default encoding is
@@ -12499,14 +13129,38 @@ to the existing ones, giving:
This can be specified using the --ftp-encoding flag or using an encoding
parameter in the config file.
-Or let's say you have a Windows server but you want to preserve * and
-?, you would then have this as the encoding (the Windows encoding minus
-Asterisk and Question).
+Encoding example: Windows
+
+As a nother example, take a Windows system where there is a file with
+name Test:1.jpg, where : is the Unicode fullwidth colon symbol. When
+using rclone to copy this to a remote which supports :, the regular
+(halfwidth) colon (such as Google Drive), you will notice that the file
+gets renamed to Test:1.jpg.
+
+To avoid this you can change the set of characters rclone should convert
+for the local filesystem, using command-line argument --local-encoding.
+Rclone's default behavior on Windows corresponds to
+
+ --local-encoding "Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot"
+
+If you want to use fullwidth characters :, * and ? in your filenames
+without rclone changing them when uploading to a remote, then set the
+same as the default value but without Colon,Question,Asterisk:
+
+ --local-encoding "Slash,LtGt,DoubleQuote,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot"
+
+Alternatively, you can disable the conversion of any characters with
+--local-encoding None.
- Slash,LtGt,DoubleQuote,Colon,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot
+Instead of using command-line argument --local-encoding, you may also
+set it as environment variable RCLONE_LOCAL_ENCODING, or configure a
+remote of type local in your config, and set the encoding option there.
-This can be specified using the --local-encoding flag or using an
-encoding parameter in the config file.
+The risk by doing this is that if you have a filename with the regular
+(halfwidth) :, * and ? in your cloud storage, and you try to download it
+to your Windows filesystem, this will fail. These characters are not
+valid in filenames on Windows, and you have told rclone not to work
+around this by converting them to valid fullwidth variants.
MIME Type
@@ -12664,34 +13318,34 @@ Non Backend Flags
These flags are available for every command.
- --ask-password Allow prompt for password for encrypted configuration. (default true)
- --auto-confirm If enabled, do not request console confirmation.
- --backup-dir string Make backups into hierarchy based in DIR.
- --bind string Local address to bind to for outgoing connections, IPv4, IPv6 or name.
- --buffer-size SizeSuffix In memory buffer size when reading files for each --transfer. (default 16Mi)
- --bwlimit BwTimetable Bandwidth limit in KiByte/s, or use suffix B|K|M|G|T|P or a full timetable.
- --bwlimit-file BwTimetable Bandwidth limit per file in KiByte/s, or use suffix B|K|M|G|T|P or a full timetable.
+ --ask-password Allow prompt for password for encrypted configuration (default true)
+ --auto-confirm If enabled, do not request console confirmation
+ --backup-dir string Make backups into hierarchy based in DIR
+ --bind string Local address to bind to for outgoing connections, IPv4, IPv6 or name
+ --buffer-size SizeSuffix In memory buffer size when reading files for each --transfer (default 16Mi)
+ --bwlimit BwTimetable Bandwidth limit in KiB/s, or use suffix B|K|M|G|T|P or a full timetable
+ --bwlimit-file BwTimetable Bandwidth limit per file in KiB/s, or use suffix B|K|M|G|T|P or a full timetable
--ca-cert string CA certificate used to verify servers
- --cache-dir string Directory rclone will use for caching. (default "$HOME/.cache/rclone")
- --check-first Do all the checks before starting transfers.
- --checkers int Number of checkers to run in parallel. (default 8)
+ --cache-dir string Directory rclone will use for caching (default "$HOME/.cache/rclone")
+ --check-first Do all the checks before starting transfers
+ --checkers int Number of checkers to run in parallel (default 8)
-c, --checksum Skip based on checksum (if available) & size, not mod-time & size
--client-cert string Client SSL certificate (PEM) for mutual TLS auth
--client-key string Client SSL private key (PEM) for mutual TLS auth
- --compare-dest stringArray Include additional comma separated server-side paths during comparison.
- --config string Config file. (default "$HOME/.config/rclone/rclone.conf")
+ --compare-dest stringArray Include additional comma separated server-side paths during comparison
+ --config string Config file (default "$HOME/.config/rclone/rclone.conf")
--contimeout duration Connect timeout (default 1m0s)
- --copy-dest stringArray Implies --compare-dest but also copies files from paths into destination.
+ --copy-dest stringArray Implies --compare-dest but also copies files from paths into destination
--cpuprofile string Write cpu profile to file
--cutoff-mode string Mode to stop transfers when reaching the max transfer limit HARD|SOFT|CAUTIOUS (default "HARD")
--delete-after When synchronizing, delete files on destination after transferring (default)
--delete-before When synchronizing, delete files on destination before transferring
--delete-during When synchronizing, delete files during transfer
--delete-excluded Delete files on dest excluded from sync
- --disable string Disable a comma separated list of features. Use --disable help to see a list.
- --disable-http2 Disable HTTP/2 in the global transport.
+ --disable string Disable a comma separated list of features (use --disable help to see a list)
+ --disable-http2 Disable HTTP/2 in the global transport
-n, --dry-run Do a trial run with no permanent changes
- --dscp string Set DSCP value to connections. Can be value or names, eg. CS1, LE, DF, AF21.
+ --dscp string Set DSCP value to connections, value or name, e.g. CS1, LE, DF, AF21
--dump DumpFlags List of items to dump from: headers,bodies,requests,responses,auth,filters,goroutines,openfiles
--dump-bodies Dump HTTP headers and bodies - may contain sensitive info
--dump-headers Dump HTTP headers - may contain sensitive info
@@ -12700,112 +13354,115 @@ These flags are available for every command.
--exclude-from stringArray Read exclude patterns from file (use - to read from stdin)
--exclude-if-present string Exclude directories if filename is present
--expect-continue-timeout duration Timeout when using expect / 100-continue in HTTP (default 1s)
- --fast-list Use recursive list if available. Uses more memory but fewer transactions.
+ --fast-list Use recursive list if available; uses more memory but fewer transactions
--files-from stringArray Read list of source-file names from file (use - to read from stdin)
--files-from-raw stringArray Read list of source-file names from file without any processing of lines (use - to read from stdin)
-f, --filter stringArray Add a file-filtering rule
--filter-from stringArray Read filtering patterns from a file (use - to read from stdin)
- --fs-cache-expire-duration duration cache remotes for this long (0 to disable caching) (default 5m0s)
- --fs-cache-expire-interval duration interval to check for expired remotes (default 1m0s)
+ --fs-cache-expire-duration duration Cache remotes for this long (0 to disable caching) (default 5m0s)
+ --fs-cache-expire-interval duration Interval to check for expired remotes (default 1m0s)
--header stringArray Set HTTP header for all transactions
--header-download stringArray Set HTTP header for download transactions
--header-upload stringArray Set HTTP header for upload transactions
+ --human-readable Print numbers in a human-readable format, sizes with suffix Ki|Mi|Gi|Ti|Pi
--ignore-case Ignore case in filters (case insensitive)
--ignore-case-sync Ignore case when synchronizing
- --ignore-checksum Skip post copy check of checksums.
- --ignore-errors delete even if there are I/O errors
+ --ignore-checksum Skip post copy check of checksums
+ --ignore-errors Delete even if there are I/O errors
--ignore-existing Skip all files that exist on destination
- --ignore-size Ignore size when skipping use mod-time or checksum.
+ --ignore-size Ignore size when skipping use mod-time or checksum
-I, --ignore-times Don't skip files that match size and time - transfer all files
- --immutable Do not modify files. Fail if existing files have been modified.
+ --immutable Do not modify files, fail if existing files have been modified
--include stringArray Include files matching pattern
--include-from stringArray Read include patterns from file (use - to read from stdin)
-i, --interactive Enable interactive mode
+ --kv-lock-time duration Maximum time to keep key-value database locked by process (default 1s)
--log-file string Log everything to this file
--log-format string Comma separated list of log format options (default "date,time")
--log-level string Log level DEBUG|INFO|NOTICE|ERROR (default "NOTICE")
- --log-systemd Activate systemd integration for the logger.
- --low-level-retries int Number of low level retries to do. (default 10)
+ --log-systemd Activate systemd integration for the logger
+ --low-level-retries int Number of low level retries to do (default 10)
--max-age Duration Only transfer files younger than this in s or suffix ms|s|m|h|d|w|M|y (default off)
- --max-backlog int Maximum number of objects in sync or check backlog. (default 10000)
+ --max-backlog int Maximum number of objects in sync or check backlog (default 10000)
--max-delete int When synchronizing, limit the number of deletes (default -1)
- --max-depth int If set limits the recursion depth to this. (default -1)
- --max-duration duration Maximum duration rclone will transfer data for.
+ --max-depth int If set limits the recursion depth to this (default -1)
+ --max-duration duration Maximum duration rclone will transfer data for
--max-size SizeSuffix Only transfer files smaller than this in KiB or suffix B|K|M|G|T|P (default off)
- --max-stats-groups int Maximum number of stats groups to keep in memory. On max oldest is discarded. (default 1000)
- --max-transfer SizeSuffix Maximum size of data to transfer. (default off)
+ --max-stats-groups int Maximum number of stats groups to keep in memory, on max oldest is discarded (default 1000)
+ --max-transfer SizeSuffix Maximum size of data to transfer (default off)
--memprofile string Write memory profile to file
--min-age Duration Only transfer files older than this in s or suffix ms|s|m|h|d|w|M|y (default off)
--min-size SizeSuffix Only transfer files bigger than this in KiB or suffix B|K|M|G|T|P (default off)
--modify-window duration Max time diff to be considered the same (default 1ns)
- --multi-thread-cutoff SizeSuffix Use multi-thread downloads for files above this size. (default 250Mi)
- --multi-thread-streams int Max number of streams to use for multi-thread downloads. (default 4)
- --no-check-certificate Do not verify the server SSL certificate. Insecure.
- --no-check-dest Don't check the destination, copy regardless.
- --no-console Hide console window. Supported on Windows only.
- --no-gzip-encoding Don't set Accept-Encoding: gzip.
- --no-traverse Don't traverse destination file system on copy.
- --no-unicode-normalization Don't normalize unicode characters in filenames.
- --no-update-modtime Don't update destination mod-time if files identical.
+ --multi-thread-cutoff SizeSuffix Use multi-thread downloads for files above this size (default 250Mi)
+ --multi-thread-streams int Max number of streams to use for multi-thread downloads (default 4)
+ --no-check-certificate Do not verify the server SSL certificate (insecure)
+ --no-check-dest Don't check the destination, copy regardless
+ --no-console Hide console window (supported on Windows only)
+ --no-gzip-encoding Don't set Accept-Encoding: gzip
+ --no-traverse Don't traverse destination file system on copy
+ --no-unicode-normalization Don't normalize unicode characters in filenames
+ --no-update-modtime Don't update destination mod-time if files identical
--order-by string Instructions on how to order the transfers, e.g. 'size,descending'
- --password-command SpaceSepList Command for supplying password for encrypted configuration.
- -P, --progress Show progress during transfer.
- --progress-terminal-title Show progress on the terminal title. Requires -P/--progress.
+ --password-command SpaceSepList Command for supplying password for encrypted configuration
+ -P, --progress Show progress during transfer
+ --progress-terminal-title Show progress on the terminal title (requires -P/--progress)
-q, --quiet Print as little stuff as possible
- --rc Enable the remote control server.
- --rc-addr string IPaddress:Port or :Port to bind server to. (default "localhost:5572")
- --rc-allow-origin string Set the allowed origin for CORS.
- --rc-baseurl string Prefix for URLs - leave blank for root.
+ --rc Enable the remote control server
+ --rc-addr string IPaddress:Port or :Port to bind server to (default "localhost:5572")
+ --rc-allow-origin string Set the allowed origin for CORS
+ --rc-baseurl string Prefix for URLs - leave blank for root
--rc-cert string SSL PEM key (concatenation of certificate and CA certificate)
--rc-client-ca string Client certificate authority to verify clients with
--rc-enable-metrics Enable prometheus metrics on /metrics
- --rc-files string Path to local files to serve on the HTTP server.
+ --rc-files string Path to local files to serve on the HTTP server
--rc-htpasswd string htpasswd file - if not provided no authentication is done
--rc-job-expire-duration duration expire finished async jobs older than this value (default 1m0s)
--rc-job-expire-interval duration interval to check for expired async jobs (default 10s)
--rc-key string SSL PEM Private key
--rc-max-header-bytes int Maximum size of request header (default 4096)
- --rc-no-auth Don't require auth for certain methods.
- --rc-pass string Password for authentication.
+ --rc-no-auth Don't require auth for certain methods
+ --rc-pass string Password for authentication
--rc-realm string realm for authentication (default "rclone")
- --rc-serve Enable the serving of remote objects.
+ --rc-serve Enable the serving of remote objects
--rc-server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--rc-server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --rc-template string User Specified Template.
- --rc-user string User name for authentication.
- --rc-web-fetch-url string URL to fetch the releases for webgui. (default "https://api.github.com/repos/rclone/rclone-webui-react/releases/latest")
+ --rc-template string User-specified template
+ --rc-user string User name for authentication
+ --rc-web-fetch-url string URL to fetch the releases for webgui (default "https://api.github.com/repos/rclone/rclone-webui-react/releases/latest")
--rc-web-gui Launch WebGUI on localhost
--rc-web-gui-force-update Force update to latest version of web gui
--rc-web-gui-no-open-browser Don't open the browser automatically
--rc-web-gui-update Check and update to latest version of web gui
- --refresh-times Refresh the modtime of remote files.
+ --refresh-times Refresh the modtime of remote files
--retries int Retry operations this many times if they fail (default 3)
- --retries-sleep duration Interval between retrying operations if they fail, e.g 500ms, 60s, 5m. (0 to disable)
+ --retries-sleep duration Interval between retrying operations if they fail, e.g. 500ms, 60s, 5m (0 to disable)
--size-only Skip based on size only, not mod-time or checksum
- --stats duration Interval between printing stats, e.g 500ms, 60s, 5m. (0 to disable) (default 1m0s)
- --stats-file-name-length int Max file name length in stats. 0 for no limit (default 45)
+ --stats duration Interval between printing stats, e.g. 500ms, 60s, 5m (0 to disable) (default 1m0s)
+ --stats-file-name-length int Max file name length in stats (0 for no limit) (default 45)
--stats-log-level string Log level to show --stats output DEBUG|INFO|NOTICE|ERROR (default "INFO")
- --stats-one-line Make the stats fit on one line.
- --stats-one-line-date Enables --stats-one-line and add current date/time prefix.
- --stats-one-line-date-format string Enables --stats-one-line-date and uses custom formatted date. Enclose date string in double quotes ("). See https://golang.org/pkg/time/#Time.Format
+ --stats-one-line Make the stats fit on one line
+ --stats-one-line-date Enable --stats-one-line and add current date/time prefix
+ --stats-one-line-date-format string Enable --stats-one-line-date and use custom formatted date: Enclose date string in double quotes ("), see https://golang.org/pkg/time/#Time.Format
--stats-unit string Show data rate in stats as either 'bits' or 'bytes' per second (default "bytes")
- --streaming-upload-cutoff SizeSuffix Cutoff for switching to chunked upload if file size is unknown. Upload starts after reaching cutoff or when file ends. (default 100Ki)
- --suffix string Suffix to add to changed files.
- --suffix-keep-extension Preserve the extension when using --suffix.
+ --streaming-upload-cutoff SizeSuffix Cutoff for switching to chunked upload if file size is unknown, upload starts after reaching cutoff or when file ends (default 100Ki)
+ --suffix string Suffix to add to changed files
+ --suffix-keep-extension Preserve the extension when using --suffix
--syslog Use Syslog for logging
--syslog-facility string Facility for syslog, e.g. KERN,USER,... (default "DAEMON")
+ --temp-dir string Directory rclone will use for temporary files (default "/tmp")
--timeout duration IO idle timeout (default 5m0s)
- --tpslimit float Limit HTTP transactions per second to this.
- --tpslimit-burst int Max burst of transactions for --tpslimit. (default 1)
+ --tpslimit float Limit HTTP transactions per second to this
+ --tpslimit-burst int Max burst of transactions for --tpslimit (default 1)
--track-renames When synchronizing, track file renames and do a server-side move if possible
--track-renames-strategy string Strategies to use when synchronizing using track-renames hash|modtime|leaf (default "hash")
- --transfers int Number of file transfers to run in parallel. (default 4)
- -u, --update Skip files that are newer on the destination.
- --use-cookies Enable session cookiejar.
- --use-json-log Use json log format.
- --use-mmap Use mmap allocator (see docs).
+ --transfers int Number of file transfers to run in parallel (default 4)
+ -u, --update Skip files that are newer on the destination
+ --use-cookies Enable session cookiejar
+ --use-json-log Use json log format
+ --use-mmap Use mmap allocator (see docs)
--use-server-modtime Use server modified time instead of object metadata
- --user-agent string Set the user-agent to a specified string. The default is rclone/ version (default "rclone/v1.56.0")
+ --user-agent string Set the user-agent to a specified string (default "rclone/v1.57.0")
-v, --verbose count Print lots more stuff (repeat for more)
@@ -12814,435 +13471,453 @@ Backend Flags
These flags are available for every command. They control the backends
and may be set in the config file.
- --acd-auth-url string Auth server URL.
- --acd-client-id string OAuth Client Id
- --acd-client-secret string OAuth Client Secret
- --acd-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- --acd-templink-threshold SizeSuffix Files >= this size will be downloaded via their tempLink. (default 9Gi)
- --acd-token string OAuth Access Token as a JSON blob.
- --acd-token-url string Token server url.
- --acd-upload-wait-per-gb Duration Additional time per GiB to wait after a failed complete upload to see if it appears. (default 3m0s)
- --alias-remote string Remote or path to alias.
- --azureblob-access-tier string Access tier of blob: hot, cool or archive.
- --azureblob-account string Storage Account Name (leave blank to use SAS URL or Emulator)
- --azureblob-archive-tier-delete Delete archive tier blobs before overwriting.
- --azureblob-chunk-size SizeSuffix Upload chunk size (<= 100 MiB). (default 4Mi)
- --azureblob-disable-checksum Don't store MD5 checksum with object metadata.
- --azureblob-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8)
- --azureblob-endpoint string Endpoint for the service
- --azureblob-key string Storage Account Key (leave blank to use SAS URL or Emulator)
- --azureblob-list-chunk int Size of blob list. (default 5000)
- --azureblob-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- --azureblob-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool.
- --azureblob-msi-client-id string Object ID of the user-assigned MSI to use, if any. Leave blank if msi_object_id or msi_mi_res_id specified.
- --azureblob-msi-mi-res-id string Azure resource ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_object_id specified.
- --azureblob-msi-object-id string Object ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_mi_res_id specified.
- --azureblob-public-access string Public access level of a container: blob, container.
- --azureblob-sas-url string SAS URL for container level access only
- --azureblob-service-principal-file string Path to file containing credentials for use with a service principal.
- --azureblob-upload-cutoff string Cutoff for switching to chunked upload (<= 256 MiB). (Deprecated)
- --azureblob-use-emulator Uses local storage emulator if provided as 'true' (leave blank if using real azure storage endpoint)
- --azureblob-use-msi Use a managed service identity to authenticate (only works in Azure)
- --b2-account string Account ID or Application Key ID
- --b2-chunk-size SizeSuffix Upload chunk size. Must fit in memory. (default 96Mi)
- --b2-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4Gi)
- --b2-disable-checksum Disable checksums for large (> upload cutoff) files
- --b2-download-auth-duration Duration Time before the authorization token will expire in s or suffix ms|s|m|h|d. (default 1w)
- --b2-download-url string Custom endpoint for downloads.
- --b2-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --b2-endpoint string Endpoint for the service.
- --b2-hard-delete Permanently delete files on remote removal, otherwise hide files.
- --b2-key string Application Key
- --b2-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- --b2-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool.
- --b2-test-mode string A flag string for X-Bz-Test-Mode header for debugging.
- --b2-upload-cutoff SizeSuffix Cutoff for switching to chunked upload. (default 200Mi)
- --b2-versions Include old versions in directory listings.
- --box-access-token string Box App Primary Access Token
- --box-auth-url string Auth server URL.
- --box-box-config-file string Box App config.json location
- --box-box-sub-type string (default "user")
- --box-client-id string OAuth Client Id
- --box-client-secret string OAuth Client Secret
- --box-commit-retries int Max number of times to try committing a multipart file. (default 100)
- --box-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot)
- --box-root-folder-id string Fill in for rclone to use a non root folder as its starting point.
- --box-token string OAuth Access Token as a JSON blob.
- --box-token-url string Token server url.
- --box-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (>= 50 MiB). (default 50Mi)
- --cache-chunk-clean-interval Duration How often should the cache perform cleanups of the chunk storage. (default 1m0s)
- --cache-chunk-no-memory Disable the in-memory cache for storing chunks during streaming.
- --cache-chunk-path string Directory to cache chunk files. (default "$HOME/.cache/rclone/cache-backend")
- --cache-chunk-size SizeSuffix The size of a chunk (partial file data). (default 5Mi)
- --cache-chunk-total-size SizeSuffix The total size that the chunks can take up on the local disk. (default 10Gi)
- --cache-db-path string Directory to store file structure metadata DB. (default "$HOME/.cache/rclone/cache-backend")
- --cache-db-purge Clear all the cached data for this remote on start.
- --cache-db-wait-time Duration How long to wait for the DB to be available - 0 is unlimited (default 1s)
- --cache-info-age Duration How long to cache file structure information (directory listings, file size, times, etc.). (default 6h0m0s)
- --cache-plex-insecure string Skip all certificate verification when connecting to the Plex server
- --cache-plex-password string The password of the Plex user (obscured)
- --cache-plex-url string The URL of the Plex server
- --cache-plex-username string The username of the Plex user
- --cache-read-retries int How many times to retry a read from a cache storage. (default 10)
- --cache-remote string Remote to cache.
- --cache-rps int Limits the number of requests per second to the source FS (-1 to disable) (default -1)
- --cache-tmp-upload-path string Directory to keep temporary files until they are uploaded.
- --cache-tmp-wait-time Duration How long should files be stored in local cache before being uploaded (default 15s)
- --cache-workers int How many workers should run in parallel to download chunks. (default 4)
- --cache-writes Cache file data on writes through the FS
- --chunker-chunk-size SizeSuffix Files larger than chunk size will be split in chunks. (default 2Gi)
- --chunker-fail-hard Choose how chunker should handle files with missing or invalid chunks.
- --chunker-hash-type string Choose how chunker handles hash sums. All modes but "none" require metadata. (default "md5")
- --chunker-remote string Remote to chunk/unchunk.
- --compress-level int GZIP compression level (-2 to 9). (default -1)
- --compress-mode string Compression mode. (default "gzip")
- --compress-ram-cache-limit SizeSuffix Some remotes don't allow the upload of files with unknown size. (default 20Mi)
- --compress-remote string Remote to compress.
- -L, --copy-links Follow symlinks and copy the pointed to item.
- --crypt-directory-name-encryption Option to either encrypt directory names or leave them intact. (default true)
- --crypt-filename-encryption string How to encrypt the filenames. (default "standard")
- --crypt-no-data-encryption Option to either encrypt file data or leave it unencrypted.
- --crypt-password string Password or pass phrase for encryption. (obscured)
- --crypt-password2 string Password or pass phrase for salt. Optional but recommended. (obscured)
- --crypt-remote string Remote to encrypt/decrypt.
- --crypt-server-side-across-configs Allow server-side operations (e.g. copy) to work across different crypt configs.
- --crypt-show-mapping For all files listed show how the names encrypt.
- --drive-acknowledge-abuse Set to allow files which return cannotDownloadAbusiveFile to be downloaded.
- --drive-allow-import-name-change Allow the filetype to change when uploading Google docs (e.g. file.doc to file.docx). This will confuse sync and reupload every time.
- --drive-auth-owner-only Only consider files owned by the authenticated user.
- --drive-auth-url string Auth server URL.
- --drive-chunk-size SizeSuffix Upload chunk size. Must a power of 2 >= 256k. (default 8Mi)
- --drive-client-id string Google Application Client Id
- --drive-client-secret string OAuth Client Secret
- --drive-disable-http2 Disable drive using http2 (default true)
- --drive-encoding MultiEncoder This sets the encoding for the backend. (default InvalidUtf8)
- --drive-export-formats string Comma separated list of preferred formats for downloading Google docs. (default "docx,xlsx,pptx,svg")
- --drive-formats string Deprecated: see export_formats
- --drive-impersonate string Impersonate this user when using a service account.
- --drive-import-formats string Comma separated list of preferred formats for uploading Google docs.
- --drive-keep-revision-forever Keep new head revision of each file forever.
- --drive-list-chunk int Size of listing chunk 100-1000. 0 to disable. (default 1000)
- --drive-pacer-burst int Number of API calls to allow without sleeping. (default 100)
- --drive-pacer-min-sleep Duration Minimum time to sleep between API calls. (default 100ms)
- --drive-root-folder-id string ID of the root folder
- --drive-scope string Scope that rclone should use when requesting access from drive.
- --drive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different drive configs.
- --drive-service-account-credentials string Service Account Credentials JSON blob
- --drive-service-account-file string Service Account Credentials JSON file path
- --drive-shared-with-me Only show files that are shared with me.
- --drive-size-as-quota Show sizes as storage quota usage, not actual size.
- --drive-skip-checksum-gphotos Skip MD5 checksum on Google photos and videos only.
- --drive-skip-gdocs Skip google documents in all listings.
- --drive-skip-shortcuts If set skip shortcut files
- --drive-starred-only Only show files that are starred.
- --drive-stop-on-download-limit Make download limit errors be fatal
- --drive-stop-on-upload-limit Make upload limit errors be fatal
- --drive-team-drive string ID of the Shared Drive (Team Drive)
- --drive-token string OAuth Access Token as a JSON blob.
- --drive-token-url string Token server url.
- --drive-trashed-only Only show files that are in the trash.
- --drive-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 8Mi)
- --drive-use-created-date Use file created date instead of modified date.,
- --drive-use-shared-date Use date file was shared instead of modified date.
- --drive-use-trash Send files to the trash instead of deleting permanently. (default true)
- --drive-v2-download-min-size SizeSuffix If Object's are greater, use drive v2 API to download. (default off)
- --dropbox-auth-url string Auth server URL.
- --dropbox-batch-mode string Upload file batching sync|async|off. (default "sync")
- --dropbox-batch-size int Max number of files in upload batch.
- --dropbox-batch-timeout Duration Max time to allow an idle upload batch before uploading (default 0s)
- --dropbox-chunk-size SizeSuffix Upload chunk size. (< 150Mi). (default 48Mi)
- --dropbox-client-id string OAuth Client Id
- --dropbox-client-secret string OAuth Client Secret
- --dropbox-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot)
- --dropbox-impersonate string Impersonate this user when using a business account.
- --dropbox-shared-files Instructs rclone to work on individual shared files.
- --dropbox-shared-folders Instructs rclone to work on shared folders.
- --dropbox-token string OAuth Access Token as a JSON blob.
- --dropbox-token-url string Token server url.
- --fichier-api-key string Your API Key, get it from https://1fichier.com/console/params.pl
- --fichier-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot)
- --fichier-file-password string If you want to download a shared file that is password protected, add this parameter (obscured)
- --fichier-folder-password string If you want to list the files in a shared folder that is password protected, add this parameter (obscured)
- --fichier-shared-folder string If you want to download a shared folder, add this parameter
- --filefabric-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,InvalidUtf8,Dot)
- --filefabric-permanent-token string Permanent Authentication Token
- --filefabric-root-folder-id string ID of the root folder
- --filefabric-token string Session Token
- --filefabric-token-expiry string Token expiry time
- --filefabric-url string URL of the Enterprise File Fabric to connect to
- --filefabric-version string Version read from the file fabric
- --ftp-close-timeout Duration Maximum time to wait for a response to close. (default 1m0s)
- --ftp-concurrency int Maximum number of FTP simultaneous connections, 0 for unlimited
- --ftp-disable-epsv Disable using EPSV even if server advertises support
- --ftp-disable-mlsd Disable using MLSD even if server advertises support
- --ftp-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,RightSpace,Dot)
- --ftp-explicit-tls Use Explicit FTPS (FTP over TLS)
- --ftp-host string FTP host to connect to
- --ftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
- --ftp-no-check-certificate Do not verify the TLS certificate of the server
- --ftp-pass string FTP password (obscured)
- --ftp-port string FTP port, leave blank to use default (21)
- --ftp-tls Use Implicit FTPS (FTP over TLS)
- --ftp-user string FTP username, leave blank for current username, $USER
- --gcs-anonymous Access public buckets and objects without credentials
- --gcs-auth-url string Auth server URL.
- --gcs-bucket-acl string Access Control List for new buckets.
- --gcs-bucket-policy-only Access checks should use bucket-level IAM policies.
- --gcs-client-id string OAuth Client Id
- --gcs-client-secret string OAuth Client Secret
- --gcs-encoding MultiEncoder This sets the encoding for the backend. (default Slash,CrLf,InvalidUtf8,Dot)
- --gcs-location string Location for the newly created buckets.
- --gcs-object-acl string Access Control List for new objects.
- --gcs-project-number string Project number.
- --gcs-service-account-file string Service Account Credentials JSON file path
- --gcs-storage-class string The storage class to use when storing objects in Google Cloud Storage.
- --gcs-token string OAuth Access Token as a JSON blob.
- --gcs-token-url string Token server url.
- --gphotos-auth-url string Auth server URL.
- --gphotos-client-id string OAuth Client Id
- --gphotos-client-secret string OAuth Client Secret
- --gphotos-include-archived Also view and download archived media.
- --gphotos-read-only Set to make the Google Photos backend read only.
- --gphotos-read-size Set to read the size of media items.
- --gphotos-start-year int Year limits the photos to be downloaded to those which are uploaded after the given year (default 2000)
- --gphotos-token string OAuth Access Token as a JSON blob.
- --gphotos-token-url string Token server url.
- --hdfs-data-transfer-protection string Kerberos data transfer protection: authentication|integrity|privacy
- --hdfs-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Colon,Del,Ctl,InvalidUtf8,Dot)
- --hdfs-namenode string hadoop name node and port
- --hdfs-service-principal-name string Kerberos service principal name for the namenode
- --hdfs-username string hadoop user name
- --http-headers CommaSepList Set HTTP headers for all transactions
- --http-no-head Don't use HEAD requests to find file sizes in dir listing
- --http-no-slash Set this if the site doesn't end directories with /
- --http-url string URL of http host to connect to
- --hubic-auth-url string Auth server URL.
- --hubic-chunk-size SizeSuffix Above this size files will be chunked into a _segments container. (default 5Gi)
- --hubic-client-id string OAuth Client Id
- --hubic-client-secret string OAuth Client Secret
- --hubic-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8)
- --hubic-no-chunk Don't chunk files during streaming upload.
- --hubic-token string OAuth Access Token as a JSON blob.
- --hubic-token-url string Token server url.
- --jottacloud-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
- --jottacloud-hard-delete Delete files permanently rather than putting them into the trash.
- --jottacloud-md5-memory-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required. (default 10Mi)
- --jottacloud-no-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them.
- --jottacloud-trashed-only Only show files that are in the trash.
- --jottacloud-upload-resume-limit SizeSuffix Files bigger than this can be resumed if the upload fail's. (default 10Mi)
- --koofr-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --koofr-endpoint string The Koofr API endpoint to use (default "https://app.koofr.net")
- --koofr-mountid string Mount ID of the mount to use. If omitted, the primary mount is used.
- --koofr-password string Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password) (obscured)
- --koofr-setmtime Does the backend support setting modification time. Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend. (default true)
- --koofr-user string Your Koofr user name
- -l, --links Translate symlinks to/from regular files with a '.rclonelink' extension
- --local-case-insensitive Force the filesystem to report itself as case insensitive
- --local-case-sensitive Force the filesystem to report itself as case sensitive.
- --local-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Dot)
- --local-no-check-updated Don't check to see if the files change during upload
- --local-no-preallocate Disable preallocation of disk space for transferred files
- --local-no-set-modtime Disable setting modtime
- --local-no-sparse Disable sparse files for multi-thread downloads
- --local-nounc string Disable UNC (long path names) conversion on Windows
- --local-unicode-normalization Apply unicode NFC normalization to paths and filenames
- --local-zero-size-links Assume the Stat size of links is zero (and read them instead) (Deprecated)
- --mailru-check-hash What should copy do if file checksum is mismatched or invalid (default true)
- --mailru-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --mailru-pass string Password (obscured)
- --mailru-speedup-enable Skip full upload if there is another file with same data hash. (default true)
- --mailru-speedup-file-patterns string Comma separated list of file name patterns eligible for speedup (put by hash). (default "*.mkv,*.avi,*.mp4,*.mp3,*.zip,*.gz,*.rar,*.pdf")
- --mailru-speedup-max-disk SizeSuffix This option allows you to disable speedup (put by hash) for large files (default 3Gi)
- --mailru-speedup-max-memory SizeSuffix Files larger than the size given below will always be hashed on disk. (default 32Mi)
- --mailru-user string User name (usually email)
- --mega-debug Output more debug from Mega.
- --mega-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- --mega-hard-delete Delete files permanently rather than putting them into the trash.
- --mega-pass string Password. (obscured)
- --mega-user string User name
- -x, --one-file-system Don't cross filesystem boundaries (unix/macOS only).
- --onedrive-auth-url string Auth server URL.
- --onedrive-chunk-size SizeSuffix Chunk size to upload files with - must be multiple of 320k (327,680 bytes). (default 10Mi)
- --onedrive-client-id string OAuth Client Id
- --onedrive-client-secret string OAuth Client Secret
- --onedrive-drive-id string The ID of the drive to use
- --onedrive-drive-type string The type of the drive ( personal | business | documentLibrary )
- --onedrive-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
- --onedrive-expose-onenote-files Set to make OneNote files show up in directory listings.
- --onedrive-link-password string Set the password for links created by the link command.
- --onedrive-link-scope string Set the scope of the links created by the link command. (default "anonymous")
- --onedrive-link-type string Set the type of the links created by the link command. (default "view")
- --onedrive-list-chunk int Size of listing chunk. (default 1000)
- --onedrive-no-versions Remove all versions on modifying operations
- --onedrive-region string Choose national cloud region for OneDrive. (default "global")
- --onedrive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different onedrive configs.
- --onedrive-token string OAuth Access Token as a JSON blob.
- --onedrive-token-url string Token server url.
- --opendrive-chunk-size SizeSuffix Files will be uploaded in chunks this size. (default 10Mi)
- --opendrive-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,LeftSpace,LeftCrLfHtVt,RightSpace,RightCrLfHtVt,InvalidUtf8,Dot)
- --opendrive-password string Password. (obscured)
- --opendrive-username string Username
- --pcloud-auth-url string Auth server URL.
- --pcloud-client-id string OAuth Client Id
- --pcloud-client-secret string OAuth Client Secret
- --pcloud-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --pcloud-hostname string Hostname to connect to. (default "api.pcloud.com")
- --pcloud-root-folder-id string Fill in for rclone to use a non root folder as its starting point. (default "d0")
- --pcloud-token string OAuth Access Token as a JSON blob.
- --pcloud-token-url string Token server url.
- --premiumizeme-encoding MultiEncoder This sets the encoding for the backend. (default Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --putio-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --qingstor-access-key-id string QingStor Access Key ID
- --qingstor-chunk-size SizeSuffix Chunk size to use for uploading. (default 4Mi)
- --qingstor-connection-retries int Number of connection retries. (default 3)
- --qingstor-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Ctl,InvalidUtf8)
- --qingstor-endpoint string Enter an endpoint URL to connection QingStor API.
- --qingstor-env-auth Get QingStor credentials from runtime. Only applies if access_key_id and secret_access_key is blank.
- --qingstor-secret-access-key string QingStor Secret Access Key (password)
- --qingstor-upload-concurrency int Concurrency for multipart uploads. (default 1)
- --qingstor-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
- --qingstor-zone string Zone to connect to.
- --s3-access-key-id string AWS Access Key ID.
- --s3-acl string Canned ACL used when creating buckets and storing or copying objects.
- --s3-bucket-acl string Canned ACL used when creating buckets.
- --s3-chunk-size SizeSuffix Chunk size to use for uploading. (default 5Mi)
- --s3-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
- --s3-disable-checksum Don't store MD5 checksum with object metadata
- --s3-disable-http2 Disable usage of http2 for S3 backends
- --s3-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- --s3-endpoint string Endpoint for S3 API.
- --s3-env-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars).
- --s3-force-path-style If true use path style access if false use virtual hosted style. (default true)
- --s3-leave-parts-on-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery.
- --s3-list-chunk int Size of listing chunk (response list for each ListObject S3 request). (default 1000)
- --s3-location-constraint string Location constraint - must be set to match the Region.
- --s3-max-upload-parts int Maximum number of parts in a multipart upload. (default 10000)
- --s3-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- --s3-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool.
- --s3-no-check-bucket If set, don't attempt to check the bucket exists or create it
- --s3-no-head If set, don't HEAD uploaded objects to check integrity
- --s3-no-head-object If set, don't HEAD objects
- --s3-profile string Profile to use in the shared credentials file
- --s3-provider string Choose your S3 provider.
- --s3-region string Region to connect to.
- --s3-requester-pays Enables requester pays option when interacting with S3 bucket.
- --s3-secret-access-key string AWS Secret Access Key (password)
- --s3-server-side-encryption string The server-side encryption algorithm used when storing this object in S3.
- --s3-session-token string An AWS session token
- --s3-shared-credentials-file string Path to the shared credentials file
- --s3-sse-customer-algorithm string If using SSE-C, the server-side encryption algorithm used when storing this object in S3.
- --s3-sse-customer-key string If using SSE-C you must provide the secret encryption key used to encrypt/decrypt your data.
- --s3-sse-customer-key-md5 string If using SSE-C you may provide the secret encryption key MD5 checksum (optional).
- --s3-sse-kms-key-id string If using KMS ID you must provide the ARN of Key.
- --s3-storage-class string The storage class to use when storing new objects in S3.
- --s3-upload-concurrency int Concurrency for multipart uploads. (default 4)
- --s3-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
- --s3-use-accelerate-endpoint If true use the AWS S3 accelerated endpoint.
- --s3-v2-auth If true use v2 authentication.
- --seafile-2fa Two-factor authentication ('true' if the account has 2FA enabled)
- --seafile-create-library Should rclone create a library if it doesn't exist
- --seafile-encoding MultiEncoder This sets the encoding for the backend. (default Slash,DoubleQuote,BackSlash,Ctl,InvalidUtf8)
- --seafile-library string Name of the library. Leave blank to access all non-encrypted libraries.
- --seafile-library-key string Library password (for encrypted libraries only). Leave blank if you pass it through the command line. (obscured)
- --seafile-pass string Password (obscured)
- --seafile-url string URL of seafile host to connect to
- --seafile-user string User name (usually email address)
- --sftp-ask-password Allow asking for SFTP password when needed.
- --sftp-disable-concurrent-reads If set don't use concurrent reads
- --sftp-disable-concurrent-writes If set don't use concurrent writes
- --sftp-disable-hashcheck Disable the execution of SSH commands to determine if remote file hashing is available.
- --sftp-host string SSH host to connect to
- --sftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
- --sftp-key-file string Path to PEM-encoded private key file, leave blank or set key-use-agent to use ssh-agent.
- --sftp-key-file-pass string The passphrase to decrypt the PEM-encoded private key file. (obscured)
- --sftp-key-pem string Raw PEM-encoded private key, If specified, will override key_file parameter.
- --sftp-key-use-agent When set forces the usage of the ssh-agent.
- --sftp-known-hosts-file string Optional path to known_hosts file.
- --sftp-md5sum-command string The command used to read md5 hashes. Leave blank for autodetect.
- --sftp-pass string SSH password, leave blank to use ssh-agent. (obscured)
- --sftp-path-override string Override path used by SSH connection.
- --sftp-port string SSH port, leave blank to use default (22)
- --sftp-pubkey-file string Optional path to public key file.
- --sftp-server-command string Specifies the path or command to run a sftp server on the remote host.
- --sftp-set-modtime Set the modified time on the remote if set. (default true)
- --sftp-sha1sum-command string The command used to read sha1 hashes. Leave blank for autodetect.
- --sftp-skip-links Set to skip any symlinks and any other non regular files.
- --sftp-subsystem string Specifies the SSH2 subsystem on the remote host. (default "sftp")
- --sftp-use-fstat If set use fstat instead of stat
- --sftp-use-insecure-cipher Enable the use of insecure ciphers and key exchange methods.
- --sftp-user string SSH username, leave blank for current username, $USER
- --sharefile-chunk-size SizeSuffix Upload chunk size. Must a power of 2 >= 256k. (default 64Mi)
- --sharefile-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot)
- --sharefile-endpoint string Endpoint for API calls.
- --sharefile-root-folder-id string ID of the root folder
- --sharefile-upload-cutoff SizeSuffix Cutoff for switching to multipart upload. (default 128Mi)
- --skip-links Don't warn about skipped symlinks.
- --sugarsync-access-key-id string Sugarsync Access Key ID.
- --sugarsync-app-id string Sugarsync App ID.
- --sugarsync-authorization string Sugarsync authorization
- --sugarsync-authorization-expiry string Sugarsync authorization expiry
- --sugarsync-deleted-id string Sugarsync deleted folder id
- --sugarsync-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Ctl,InvalidUtf8,Dot)
- --sugarsync-hard-delete Permanently delete files if true
- --sugarsync-private-access-key string Sugarsync Private Access Key
- --sugarsync-refresh-token string Sugarsync refresh token
- --sugarsync-root-id string Sugarsync root id
- --sugarsync-user string Sugarsync user
- --swift-application-credential-id string Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
- --swift-application-credential-name string Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
- --swift-application-credential-secret string Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
- --swift-auth string Authentication URL for server (OS_AUTH_URL).
- --swift-auth-token string Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
- --swift-auth-version int AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
- --swift-chunk-size SizeSuffix Above this size files will be chunked into a _segments container. (default 5Gi)
- --swift-domain string User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)
- --swift-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8)
- --swift-endpoint-type string Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE) (default "public")
- --swift-env-auth Get swift credentials from environment variables in standard OpenStack form.
- --swift-key string API key or password (OS_PASSWORD).
- --swift-leave-parts-on-error If true avoid calling abort upload on a failure. It should be set to true for resuming uploads across different sessions.
- --swift-no-chunk Don't chunk files during streaming upload.
- --swift-region string Region name - optional (OS_REGION_NAME)
- --swift-storage-policy string The storage policy to use when creating a new container
- --swift-storage-url string Storage URL - optional (OS_STORAGE_URL)
- --swift-tenant string Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
- --swift-tenant-domain string Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
- --swift-tenant-id string Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
- --swift-user string User name to log in (OS_USERNAME).
- --swift-user-id string User ID to log in - optional - most swift systems use user and leave this blank (v3 auth) (OS_USER_ID).
- --tardigrade-access-grant string Access Grant.
- --tardigrade-api-key string API Key.
- --tardigrade-passphrase string Encryption Passphrase. To access existing objects enter passphrase used for uploading.
- --tardigrade-provider string Choose an authentication method. (default "existing")
- --tardigrade-satellite-address <nodeid>@<address>:<port> Satellite Address. Custom satellite address should match the format: <nodeid>@<address>:<port>. (default "us-central-1.tardigrade.io")
- --union-action-policy string Policy to choose upstream on ACTION category. (default "epall")
- --union-cache-time int Cache time of usage and free space (in seconds). This option is only useful when a path preserving policy is used. (default 120)
- --union-create-policy string Policy to choose upstream on CREATE category. (default "epmfs")
- --union-search-policy string Policy to choose upstream on SEARCH category. (default "ff")
- --union-upstreams string List of space separated upstreams.
- --uptobox-access-token string Your access Token, get it from https://uptobox.com/my_account
- --uptobox-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot)
- --webdav-bearer-token string Bearer token instead of user/pass (e.g. a Macaroon)
- --webdav-bearer-token-command string Command to run to get a bearer token
- --webdav-encoding string This sets the encoding for the backend.
- --webdav-headers CommaSepList Set HTTP headers for all transactions
- --webdav-pass string Password. (obscured)
- --webdav-url string URL of http host to connect to
- --webdav-user string User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'.
- --webdav-vendor string Name of the Webdav site/service/software you are using
- --yandex-auth-url string Auth server URL.
- --yandex-client-id string OAuth Client Id
- --yandex-client-secret string OAuth Client Secret
- --yandex-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,InvalidUtf8,Dot)
- --yandex-token string OAuth Access Token as a JSON blob.
- --yandex-token-url string Token server url.
- --zoho-auth-url string Auth server URL.
- --zoho-client-id string OAuth Client Id
- --zoho-client-secret string OAuth Client Secret
- --zoho-encoding MultiEncoder This sets the encoding for the backend. (default Del,Ctl,InvalidUtf8)
- --zoho-region string Zoho region to connect to.
- --zoho-token string OAuth Access Token as a JSON blob.
- --zoho-token-url string Token server url.
+ --acd-auth-url string Auth server URL
+ --acd-client-id string OAuth Client Id
+ --acd-client-secret string OAuth Client Secret
+ --acd-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --acd-templink-threshold SizeSuffix Files >= this size will be downloaded via their tempLink (default 9Gi)
+ --acd-token string OAuth Access Token as a JSON blob
+ --acd-token-url string Token server url
+ --acd-upload-wait-per-gb Duration Additional time per GiB to wait after a failed complete upload to see if it appears (default 3m0s)
+ --alias-remote string Remote or path to alias
+ --azureblob-access-tier string Access tier of blob: hot, cool or archive
+ --azureblob-account string Storage Account Name
+ --azureblob-archive-tier-delete Delete archive tier blobs before overwriting
+ --azureblob-chunk-size SizeSuffix Upload chunk size (<= 100 MiB) (default 4Mi)
+ --azureblob-disable-checksum Don't store MD5 checksum with object metadata
+ --azureblob-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8)
+ --azureblob-endpoint string Endpoint for the service
+ --azureblob-key string Storage Account Key
+ --azureblob-list-chunk int Size of blob list (default 5000)
+ --azureblob-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --azureblob-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --azureblob-msi-client-id string Object ID of the user-assigned MSI to use, if any
+ --azureblob-msi-mi-res-id string Azure resource ID of the user-assigned MSI to use, if any
+ --azureblob-msi-object-id string Object ID of the user-assigned MSI to use, if any
+ --azureblob-no-head-object If set, do not do HEAD before GET when getting objects
+ --azureblob-public-access string Public access level of a container: blob or container
+ --azureblob-sas-url string SAS URL for container level access only
+ --azureblob-service-principal-file string Path to file containing credentials for use with a service principal
+ --azureblob-upload-cutoff string Cutoff for switching to chunked upload (<= 256 MiB) (deprecated)
+ --azureblob-use-emulator Uses local storage emulator if provided as 'true'
+ --azureblob-use-msi Use a managed service identity to authenticate (only works in Azure)
+ --b2-account string Account ID or Application Key ID
+ --b2-chunk-size SizeSuffix Upload chunk size (default 96Mi)
+ --b2-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4Gi)
+ --b2-disable-checksum Disable checksums for large (> upload cutoff) files
+ --b2-download-auth-duration Duration Time before the authorization token will expire in s or suffix ms|s|m|h|d (default 1w)
+ --b2-download-url string Custom endpoint for downloads
+ --b2-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --b2-endpoint string Endpoint for the service
+ --b2-hard-delete Permanently delete files on remote removal, otherwise hide files
+ --b2-key string Application Key
+ --b2-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --b2-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --b2-test-mode string A flag string for X-Bz-Test-Mode header for debugging
+ --b2-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --b2-versions Include old versions in directory listings
+ --box-access-token string Box App Primary Access Token
+ --box-auth-url string Auth server URL
+ --box-box-config-file string Box App config.json location
+ --box-box-sub-type string (default "user")
+ --box-client-id string OAuth Client Id
+ --box-client-secret string OAuth Client Secret
+ --box-commit-retries int Max number of times to try committing a multipart file (default 100)
+ --box-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot)
+ --box-list-chunk int Size of listing chunk 1-1000 (default 1000)
+ --box-owned-by string Only show items owned by the login (email address) passed in
+ --box-root-folder-id string Fill in for rclone to use a non root folder as its starting point
+ --box-token string OAuth Access Token as a JSON blob
+ --box-token-url string Token server url
+ --box-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (>= 50 MiB) (default 50Mi)
+ --cache-chunk-clean-interval Duration How often should the cache perform cleanups of the chunk storage (default 1m0s)
+ --cache-chunk-no-memory Disable the in-memory cache for storing chunks during streaming
+ --cache-chunk-path string Directory to cache chunk files (default "$HOME/.cache/rclone/cache-backend")
+ --cache-chunk-size SizeSuffix The size of a chunk (partial file data) (default 5Mi)
+ --cache-chunk-total-size SizeSuffix The total size that the chunks can take up on the local disk (default 10Gi)
+ --cache-db-path string Directory to store file structure metadata DB (default "$HOME/.cache/rclone/cache-backend")
+ --cache-db-purge Clear all the cached data for this remote on start
+ --cache-db-wait-time Duration How long to wait for the DB to be available - 0 is unlimited (default 1s)
+ --cache-info-age Duration How long to cache file structure information (directory listings, file size, times, etc.) (default 6h0m0s)
+ --cache-plex-insecure string Skip all certificate verification when connecting to the Plex server
+ --cache-plex-password string The password of the Plex user (obscured)
+ --cache-plex-url string The URL of the Plex server
+ --cache-plex-username string The username of the Plex user
+ --cache-read-retries int How many times to retry a read from a cache storage (default 10)
+ --cache-remote string Remote to cache
+ --cache-rps int Limits the number of requests per second to the source FS (-1 to disable) (default -1)
+ --cache-tmp-upload-path string Directory to keep temporary files until they are uploaded
+ --cache-tmp-wait-time Duration How long should files be stored in local cache before being uploaded (default 15s)
+ --cache-workers int How many workers should run in parallel to download chunks (default 4)
+ --cache-writes Cache file data on writes through the FS
+ --chunker-chunk-size SizeSuffix Files larger than chunk size will be split in chunks (default 2Gi)
+ --chunker-fail-hard Choose how chunker should handle files with missing or invalid chunks
+ --chunker-hash-type string Choose how chunker handles hash sums (default "md5")
+ --chunker-remote string Remote to chunk/unchunk
+ --compress-level int GZIP compression level (-2 to 9) (default -1)
+ --compress-mode string Compression mode (default "gzip")
+ --compress-ram-cache-limit SizeSuffix Some remotes don't allow the upload of files with unknown size (default 20Mi)
+ --compress-remote string Remote to compress
+ -L, --copy-links Follow symlinks and copy the pointed to item
+ --crypt-directory-name-encryption Option to either encrypt directory names or leave them intact (default true)
+ --crypt-filename-encryption string How to encrypt the filenames (default "standard")
+ --crypt-no-data-encryption Option to either encrypt file data or leave it unencrypted
+ --crypt-password string Password or pass phrase for encryption (obscured)
+ --crypt-password2 string Password or pass phrase for salt (obscured)
+ --crypt-remote string Remote to encrypt/decrypt
+ --crypt-server-side-across-configs Allow server-side operations (e.g. copy) to work across different crypt configs
+ --crypt-show-mapping For all files listed show how the names encrypt
+ --drive-acknowledge-abuse Set to allow files which return cannotDownloadAbusiveFile to be downloaded
+ --drive-allow-import-name-change Allow the filetype to change when uploading Google docs
+ --drive-auth-owner-only Only consider files owned by the authenticated user
+ --drive-auth-url string Auth server URL
+ --drive-chunk-size SizeSuffix Upload chunk size (default 8Mi)
+ --drive-client-id string Google Application Client Id
+ --drive-client-secret string OAuth Client Secret
+ --drive-disable-http2 Disable drive using http2 (default true)
+ --drive-encoding MultiEncoder This sets the encoding for the backend (default InvalidUtf8)
+ --drive-export-formats string Comma separated list of preferred formats for downloading Google docs (default "docx,xlsx,pptx,svg")
+ --drive-formats string Deprecated: See export_formats
+ --drive-impersonate string Impersonate this user when using a service account
+ --drive-import-formats string Comma separated list of preferred formats for uploading Google docs
+ --drive-keep-revision-forever Keep new head revision of each file forever
+ --drive-list-chunk int Size of listing chunk 100-1000, 0 to disable (default 1000)
+ --drive-pacer-burst int Number of API calls to allow without sleeping (default 100)
+ --drive-pacer-min-sleep Duration Minimum time to sleep between API calls (default 100ms)
+ --drive-root-folder-id string ID of the root folder
+ --drive-scope string Scope that rclone should use when requesting access from drive
+ --drive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different drive configs
+ --drive-service-account-credentials string Service Account Credentials JSON blob
+ --drive-service-account-file string Service Account Credentials JSON file path
+ --drive-shared-with-me Only show files that are shared with me
+ --drive-size-as-quota Show sizes as storage quota usage, not actual size
+ --drive-skip-checksum-gphotos Skip MD5 checksum on Google photos and videos only
+ --drive-skip-gdocs Skip google documents in all listings
+ --drive-skip-shortcuts If set skip shortcut files
+ --drive-starred-only Only show files that are starred
+ --drive-stop-on-download-limit Make download limit errors be fatal
+ --drive-stop-on-upload-limit Make upload limit errors be fatal
+ --drive-team-drive string ID of the Shared Drive (Team Drive)
+ --drive-token string OAuth Access Token as a JSON blob
+ --drive-token-url string Token server url
+ --drive-trashed-only Only show files that are in the trash
+ --drive-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 8Mi)
+ --drive-use-created-date Use file created date instead of modified date
+ --drive-use-shared-date Use date file was shared instead of modified date
+ --drive-use-trash Send files to the trash instead of deleting permanently (default true)
+ --drive-v2-download-min-size SizeSuffix If Object's are greater, use drive v2 API to download (default off)
+ --dropbox-auth-url string Auth server URL
+ --dropbox-batch-commit-timeout Duration Max time to wait for a batch to finish comitting (default 10m0s)
+ --dropbox-batch-mode string Upload file batching sync|async|off (default "sync")
+ --dropbox-batch-size int Max number of files in upload batch
+ --dropbox-batch-timeout Duration Max time to allow an idle upload batch before uploading (default 0s)
+ --dropbox-chunk-size SizeSuffix Upload chunk size (< 150Mi) (default 48Mi)
+ --dropbox-client-id string OAuth Client Id
+ --dropbox-client-secret string OAuth Client Secret
+ --dropbox-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot)
+ --dropbox-impersonate string Impersonate this user when using a business account
+ --dropbox-shared-files Instructs rclone to work on individual shared files
+ --dropbox-shared-folders Instructs rclone to work on shared folders
+ --dropbox-token string OAuth Access Token as a JSON blob
+ --dropbox-token-url string Token server url
+ --fichier-api-key string Your API Key, get it from https://1fichier.com/console/params.pl
+ --fichier-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot)
+ --fichier-file-password string If you want to download a shared file that is password protected, add this parameter (obscured)
+ --fichier-folder-password string If you want to list the files in a shared folder that is password protected, add this parameter (obscured)
+ --fichier-shared-folder string If you want to download a shared folder, add this parameter
+ --filefabric-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
+ --filefabric-permanent-token string Permanent Authentication Token
+ --filefabric-root-folder-id string ID of the root folder
+ --filefabric-token string Session Token
+ --filefabric-token-expiry string Token expiry time
+ --filefabric-url string URL of the Enterprise File Fabric to connect to
+ --filefabric-version string Version read from the file fabric
+ --ftp-close-timeout Duration Maximum time to wait for a response to close (default 1m0s)
+ --ftp-concurrency int Maximum number of FTP simultaneous connections, 0 for unlimited
+ --ftp-disable-epsv Disable using EPSV even if server advertises support
+ --ftp-disable-mlsd Disable using MLSD even if server advertises support
+ --ftp-disable-tls13 Disable TLS 1.3 (workaround for FTP servers with buggy TLS)
+ --ftp-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,RightSpace,Dot)
+ --ftp-explicit-tls Use Explicit FTPS (FTP over TLS)
+ --ftp-host string FTP host to connect to
+ --ftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
+ --ftp-no-check-certificate Do not verify the TLS certificate of the server
+ --ftp-pass string FTP password (obscured)
+ --ftp-port string FTP port, leave blank to use default (21)
+ --ftp-shut-timeout Duration Maximum time to wait for data connection closing status (default 1m0s)
+ --ftp-tls Use Implicit FTPS (FTP over TLS)
+ --ftp-tls-cache-size int Size of TLS session cache for all control and data connections (default 32)
+ --ftp-user string FTP username, leave blank for current username, $USER
+ --ftp-writing-mdtm Use MDTM to set modification time (VsFtpd quirk)
+ --gcs-anonymous Access public buckets and objects without credentials
+ --gcs-auth-url string Auth server URL
+ --gcs-bucket-acl string Access Control List for new buckets
+ --gcs-bucket-policy-only Access checks should use bucket-level IAM policies
+ --gcs-client-id string OAuth Client Id
+ --gcs-client-secret string OAuth Client Secret
+ --gcs-encoding MultiEncoder This sets the encoding for the backend (default Slash,CrLf,InvalidUtf8,Dot)
+ --gcs-location string Location for the newly created buckets
+ --gcs-object-acl string Access Control List for new objects
+ --gcs-project-number string Project number
+ --gcs-service-account-file string Service Account Credentials JSON file path
+ --gcs-storage-class string The storage class to use when storing objects in Google Cloud Storage
+ --gcs-token string OAuth Access Token as a JSON blob
+ --gcs-token-url string Token server url
+ --gphotos-auth-url string Auth server URL
+ --gphotos-client-id string OAuth Client Id
+ --gphotos-client-secret string OAuth Client Secret
+ --gphotos-encoding MultiEncoder This sets the encoding for the backend (default Slash,CrLf,InvalidUtf8,Dot)
+ --gphotos-include-archived Also view and download archived media
+ --gphotos-read-only Set to make the Google Photos backend read only
+ --gphotos-read-size Set to read the size of media items
+ --gphotos-start-year int Year limits the photos to be downloaded to those which are uploaded after the given year (default 2000)
+ --gphotos-token string OAuth Access Token as a JSON blob
+ --gphotos-token-url string Token server url
+ --hasher-auto-size SizeSuffix Auto-update checksum for files smaller than this size (disabled by default)
+ --hasher-hashes CommaSepList Comma separated list of supported checksum types (default md5,sha1)
+ --hasher-max-age Duration Maximum time to keep checksums in cache (0 = no cache, off = cache forever) (default off)
+ --hasher-remote string Remote to cache checksums for (e.g. myRemote:path)
+ --hdfs-data-transfer-protection string Kerberos data transfer protection: authentication|integrity|privacy
+ --hdfs-encoding MultiEncoder This sets the encoding for the backend (default Slash,Colon,Del,Ctl,InvalidUtf8,Dot)
+ --hdfs-namenode string Hadoop name node and port
+ --hdfs-service-principal-name string Kerberos service principal name for the namenode
+ --hdfs-username string Hadoop user name
+ --http-headers CommaSepList Set HTTP headers for all transactions
+ --http-no-head Don't use HEAD requests to find file sizes in dir listing
+ --http-no-slash Set this if the site doesn't end directories with /
+ --http-url string URL of http host to connect to
+ --hubic-auth-url string Auth server URL
+ --hubic-chunk-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
+ --hubic-client-id string OAuth Client Id
+ --hubic-client-secret string OAuth Client Secret
+ --hubic-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
+ --hubic-no-chunk Don't chunk files during streaming upload
+ --hubic-token string OAuth Access Token as a JSON blob
+ --hubic-token-url string Token server url
+ --jottacloud-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
+ --jottacloud-hard-delete Delete files permanently rather than putting them into the trash
+ --jottacloud-md5-memory-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required (default 10Mi)
+ --jottacloud-no-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them
+ --jottacloud-trashed-only Only show files that are in the trash
+ --jottacloud-upload-resume-limit SizeSuffix Files bigger than this can be resumed if the upload fail's (default 10Mi)
+ --koofr-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --koofr-endpoint string The Koofr API endpoint to use (default "https://app.koofr.net")
+ --koofr-mountid string Mount ID of the mount to use
+ --koofr-password string Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password) (obscured)
+ --koofr-setmtime Does the backend support setting modification time (default true)
+ --koofr-user string Your Koofr user name
+ -l, --links Translate symlinks to/from regular files with a '.rclonelink' extension
+ --local-case-insensitive Force the filesystem to report itself as case insensitive
+ --local-case-sensitive Force the filesystem to report itself as case sensitive
+ --local-encoding MultiEncoder This sets the encoding for the backend (default Slash,Dot)
+ --local-no-check-updated Don't check to see if the files change during upload
+ --local-no-preallocate Disable preallocation of disk space for transferred files
+ --local-no-set-modtime Disable setting modtime
+ --local-no-sparse Disable sparse files for multi-thread downloads
+ --local-nounc string Disable UNC (long path names) conversion on Windows
+ --local-unicode-normalization Apply unicode NFC normalization to paths and filenames
+ --local-zero-size-links Assume the Stat size of links is zero (and read them instead) (deprecated)
+ --mailru-check-hash What should copy do if file checksum is mismatched or invalid (default true)
+ --mailru-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --mailru-pass string Password (obscured)
+ --mailru-speedup-enable Skip full upload if there is another file with same data hash (default true)
+ --mailru-speedup-file-patterns string Comma separated list of file name patterns eligible for speedup (put by hash) (default "*.mkv,*.avi,*.mp4,*.mp3,*.zip,*.gz,*.rar,*.pdf")
+ --mailru-speedup-max-disk SizeSuffix This option allows you to disable speedup (put by hash) for large files (default 3Gi)
+ --mailru-speedup-max-memory SizeSuffix Files larger than the size given below will always be hashed on disk (default 32Mi)
+ --mailru-user string User name (usually email)
+ --mega-debug Output more debug from Mega
+ --mega-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --mega-hard-delete Delete files permanently rather than putting them into the trash
+ --mega-pass string Password (obscured)
+ --mega-user string User name
+ -x, --one-file-system Don't cross filesystem boundaries (unix/macOS only)
+ --onedrive-auth-url string Auth server URL
+ --onedrive-chunk-size SizeSuffix Chunk size to upload files with - must be multiple of 320k (327,680 bytes) (default 10Mi)
+ --onedrive-client-id string OAuth Client Id
+ --onedrive-client-secret string OAuth Client Secret
+ --onedrive-drive-id string The ID of the drive to use
+ --onedrive-drive-type string The type of the drive (personal | business | documentLibrary)
+ --onedrive-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
+ --onedrive-expose-onenote-files Set to make OneNote files show up in directory listings
+ --onedrive-link-password string Set the password for links created by the link command
+ --onedrive-link-scope string Set the scope of the links created by the link command (default "anonymous")
+ --onedrive-link-type string Set the type of the links created by the link command (default "view")
+ --onedrive-list-chunk int Size of listing chunk (default 1000)
+ --onedrive-no-versions Remove all versions on modifying operations
+ --onedrive-region string Choose national cloud region for OneDrive (default "global")
+ --onedrive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different onedrive configs
+ --onedrive-token string OAuth Access Token as a JSON blob
+ --onedrive-token-url string Token server url
+ --opendrive-chunk-size SizeSuffix Files will be uploaded in chunks this size (default 10Mi)
+ --opendrive-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,LeftSpace,LeftCrLfHtVt,RightSpace,RightCrLfHtVt,InvalidUtf8,Dot)
+ --opendrive-password string Password (obscured)
+ --opendrive-username string Username
+ --pcloud-auth-url string Auth server URL
+ --pcloud-client-id string OAuth Client Id
+ --pcloud-client-secret string OAuth Client Secret
+ --pcloud-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --pcloud-hostname string Hostname to connect to (default "api.pcloud.com")
+ --pcloud-root-folder-id string Fill in for rclone to use a non root folder as its starting point (default "d0")
+ --pcloud-token string OAuth Access Token as a JSON blob
+ --pcloud-token-url string Token server url
+ --premiumizeme-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --putio-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --qingstor-access-key-id string QingStor Access Key ID
+ --qingstor-chunk-size SizeSuffix Chunk size to use for uploading (default 4Mi)
+ --qingstor-connection-retries int Number of connection retries (default 3)
+ --qingstor-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8)
+ --qingstor-endpoint string Enter an endpoint URL to connection QingStor API
+ --qingstor-env-auth Get QingStor credentials from runtime
+ --qingstor-secret-access-key string QingStor Secret Access Key (password)
+ --qingstor-upload-concurrency int Concurrency for multipart uploads (default 1)
+ --qingstor-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --qingstor-zone string Zone to connect to
+ --s3-access-key-id string AWS Access Key ID
+ --s3-acl string Canned ACL used when creating buckets and storing or copying objects
+ --s3-bucket-acl string Canned ACL used when creating buckets
+ --s3-chunk-size SizeSuffix Chunk size to use for uploading (default 5Mi)
+ --s3-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
+ --s3-disable-checksum Don't store MD5 checksum with object metadata
+ --s3-disable-http2 Disable usage of http2 for S3 backends
+ --s3-download-url string Custom endpoint for downloads
+ --s3-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --s3-endpoint string Endpoint for S3 API
+ --s3-env-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars)
+ --s3-force-path-style If true use path style access if false use virtual hosted style (default true)
+ --s3-leave-parts-on-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery
+ --s3-list-chunk int Size of listing chunk (response list for each ListObject S3 request) (default 1000)
+ --s3-location-constraint string Location constraint - must be set to match the Region
+ --s3-max-upload-parts int Maximum number of parts in a multipart upload (default 10000)
+ --s3-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --s3-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --s3-no-check-bucket If set, don't attempt to check the bucket exists or create it
+ --s3-no-head If set, don't HEAD uploaded objects to check integrity
+ --s3-no-head-object If set, do not do HEAD before GET when getting objects
+ --s3-profile string Profile to use in the shared credentials file
+ --s3-provider string Choose your S3 provider
+ --s3-region string Region to connect to
+ --s3-requester-pays Enables requester pays option when interacting with S3 bucket
+ --s3-secret-access-key string AWS Secret Access Key (password)
+ --s3-server-side-encryption string The server-side encryption algorithm used when storing this object in S3
+ --s3-session-token string An AWS session token
+ --s3-shared-credentials-file string Path to the shared credentials file
+ --s3-sse-customer-algorithm string If using SSE-C, the server-side encryption algorithm used when storing this object in S3
+ --s3-sse-customer-key string If using SSE-C you must provide the secret encryption key used to encrypt/decrypt your data
+ --s3-sse-customer-key-md5 string If using SSE-C you may provide the secret encryption key MD5 checksum (optional)
+ --s3-sse-kms-key-id string If using KMS ID you must provide the ARN of Key
+ --s3-storage-class string The storage class to use when storing new objects in S3
+ --s3-upload-concurrency int Concurrency for multipart uploads (default 4)
+ --s3-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --s3-use-accelerate-endpoint If true use the AWS S3 accelerated endpoint
+ --s3-v2-auth If true use v2 authentication
+ --seafile-2fa Two-factor authentication ('true' if the account has 2FA enabled)
+ --seafile-create-library Should rclone create a library if it doesn't exist
+ --seafile-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Ctl,InvalidUtf8)
+ --seafile-library string Name of the library
+ --seafile-library-key string Library password (for encrypted libraries only) (obscured)
+ --seafile-pass string Password (obscured)
+ --seafile-url string URL of seafile host to connect to
+ --seafile-user string User name (usually email address)
+ --sftp-ask-password Allow asking for SFTP password when needed
+ --sftp-disable-concurrent-reads If set don't use concurrent reads
+ --sftp-disable-concurrent-writes If set don't use concurrent writes
+ --sftp-disable-hashcheck Disable the execution of SSH commands to determine if remote file hashing is available
+ --sftp-host string SSH host to connect to
+ --sftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
+ --sftp-key-file string Path to PEM-encoded private key file
+ --sftp-key-file-pass string The passphrase to decrypt the PEM-encoded private key file (obscured)
+ --sftp-key-pem string Raw PEM-encoded private key
+ --sftp-key-use-agent When set forces the usage of the ssh-agent
+ --sftp-known-hosts-file string Optional path to known_hosts file
+ --sftp-md5sum-command string The command used to read md5 hashes
+ --sftp-pass string SSH password, leave blank to use ssh-agent (obscured)
+ --sftp-path-override string Override path used by SSH connection
+ --sftp-port string SSH port, leave blank to use default (22)
+ --sftp-pubkey-file string Optional path to public key file
+ --sftp-server-command string Specifies the path or command to run a sftp server on the remote host
+ --sftp-set-modtime Set the modified time on the remote if set (default true)
+ --sftp-sha1sum-command string The command used to read sha1 hashes
+ --sftp-skip-links Set to skip any symlinks and any other non regular files
+ --sftp-subsystem string Specifies the SSH2 subsystem on the remote host (default "sftp")
+ --sftp-use-fstat If set use fstat instead of stat
+ --sftp-use-insecure-cipher Enable the use of insecure ciphers and key exchange methods
+ --sftp-user string SSH username, leave blank for current username, $USER
+ --sharefile-chunk-size SizeSuffix Upload chunk size (default 64Mi)
+ --sharefile-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot)
+ --sharefile-endpoint string Endpoint for API calls
+ --sharefile-root-folder-id string ID of the root folder
+ --sharefile-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (default 128Mi)
+ --sia-api-password string Sia Daemon API Password (obscured)
+ --sia-api-url string Sia daemon API URL, like http://sia.daemon.host:9980 (default "http://127.0.0.1:9980")
+ --sia-encoding MultiEncoder This sets the encoding for the backend (default Slash,Question,Hash,Percent,Del,Ctl,InvalidUtf8,Dot)
+ --sia-user-agent string Siad User Agent (default "Sia-Agent")
+ --skip-links Don't warn about skipped symlinks
+ --sugarsync-access-key-id string Sugarsync Access Key ID
+ --sugarsync-app-id string Sugarsync App ID
+ --sugarsync-authorization string Sugarsync authorization
+ --sugarsync-authorization-expiry string Sugarsync authorization expiry
+ --sugarsync-deleted-id string Sugarsync deleted folder id
+ --sugarsync-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8,Dot)
+ --sugarsync-hard-delete Permanently delete files if true
+ --sugarsync-private-access-key string Sugarsync Private Access Key
+ --sugarsync-refresh-token string Sugarsync refresh token
+ --sugarsync-root-id string Sugarsync root id
+ --sugarsync-user string Sugarsync user
+ --swift-application-credential-id string Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
+ --swift-application-credential-name string Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
+ --swift-application-credential-secret string Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
+ --swift-auth string Authentication URL for server (OS_AUTH_URL)
+ --swift-auth-token string Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
+ --swift-auth-version int AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
+ --swift-chunk-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
+ --swift-domain string User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)
+ --swift-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
+ --swift-endpoint-type string Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE) (default "public")
+ --swift-env-auth Get swift credentials from environment variables in standard OpenStack form
+ --swift-key string API key or password (OS_PASSWORD)
+ --swift-leave-parts-on-error If true avoid calling abort upload on a failure
+ --swift-no-chunk Don't chunk files during streaming upload
+ --swift-region string Region name - optional (OS_REGION_NAME)
+ --swift-storage-policy string The storage policy to use when creating a new container
+ --swift-storage-url string Storage URL - optional (OS_STORAGE_URL)
+ --swift-tenant string Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
+ --swift-tenant-domain string Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
+ --swift-tenant-id string Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
+ --swift-user string User name to log in (OS_USERNAME)
+ --swift-user-id string User ID to log in - optional - most swift systems use user and leave this blank (v3 auth) (OS_USER_ID)
+ --tardigrade-access-grant string Access grant
+ --tardigrade-api-key string API key
+ --tardigrade-passphrase string Encryption passphrase
+ --tardigrade-provider string Choose an authentication method (default "existing")
+ --tardigrade-satellite-address string Satellite address (default "us-central-1.tardigrade.io")
+ --union-action-policy string Policy to choose upstream on ACTION category (default "epall")
+ --union-cache-time int Cache time of usage and free space (in seconds) (default 120)
+ --union-create-policy string Policy to choose upstream on CREATE category (default "epmfs")
+ --union-search-policy string Policy to choose upstream on SEARCH category (default "ff")
+ --union-upstreams string List of space separated upstreams
+ --uptobox-access-token string Your access token
+ --uptobox-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot)
+ --webdav-bearer-token string Bearer token instead of user/pass (e.g. a Macaroon)
+ --webdav-bearer-token-command string Command to run to get a bearer token
+ --webdav-encoding string This sets the encoding for the backend
+ --webdav-headers CommaSepList Set HTTP headers for all transactions
+ --webdav-pass string Password (obscured)
+ --webdav-url string URL of http host to connect to
+ --webdav-user string User name
+ --webdav-vendor string Name of the Webdav site/service/software you are using
+ --yandex-auth-url string Auth server URL
+ --yandex-client-id string OAuth Client Id
+ --yandex-client-secret string OAuth Client Secret
+ --yandex-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
+ --yandex-token string OAuth Access Token as a JSON blob
+ --yandex-token-url string Token server url
+ --zoho-auth-url string Auth server URL
+ --zoho-client-id string OAuth Client Id
+ --zoho-client-secret string OAuth Client Secret
+ --zoho-encoding MultiEncoder This sets the encoding for the backend (default Del,Ctl,InvalidUtf8)
+ --zoho-region string Zoho region to connect to
+ --zoho-token string OAuth Access Token as a JSON blob
+ --zoho-token-url string Token server url
@@ -13288,9 +13963,10 @@ Create two directories required by rclone docker plugin:
sudo mkdir -p /var/lib/docker-plugins/rclone/config
sudo mkdir -p /var/lib/docker-plugins/rclone/cache
-Install the managed rclone docker plugin:
+Install the managed rclone docker plugin for your architecture (here
+amd64):
- docker plugin install rclone/docker-volume-rclone args="-v" --alias rclone --grant-all-permissions
+ docker plugin install rclone/docker-volume-rclone:amd64 args="-v" --alias rclone --grant-all-permissions
docker plugin list
Create your SFTP volume:
@@ -13523,6 +14199,8 @@ Docker daemon can install plugins from an image registry and run them
managed. We maintain the docker-volume-rclone plugin image on Docker
Hub.
+Rclone volume plugin requires DOCKER ENGINE >= 19.03.15
+
The plugin requires presence of two directories on the host before it
can be installed. Note that plugin will NOT create them automatically.
By default they must exist on host at the following locations (though
@@ -13534,7 +14212,33 @@ as optional VFS caches.
You can install managed plugin with default settings as follows:
- docker plugin install rclone/docker-volume-rclone:latest --grant-all-permissions --alias rclone
+ docker plugin install rclone/docker-volume-rclone:amd64 --grant-all-permissions --alias rclone
+
+The :amd64 part of the image specification after colon is called a
+_tag_. Usually you will want to install the latest plugin for your
+architecture. In this case the tag will just name it, like amd64 above.
+The following plugin architectures are currently available: - amd64 -
+arm64 - arm-v7
+
+Sometimes you might want a concrete plugin version, not the latest one.
+Then you should use image tag in the form :ARCHITECTURE-VERSION. For
+example, to install plugin version v1.56.2 on architecture arm64 you
+will use tag arm64-1.56.2 (note the removed v) so the full image
+specification becomes rclone/docker-volume-rclone:arm64-1.56.2.
+
+We also provide the latest plugin tag, but since docker does not support
+multi-architecture plugins as of the time of this writing, this tag is
+currently an ALIAS FOR amd64. By convention the latest tag is the
+default one and can be omitted, thus both
+rclone/docker-volume-rclone:latest and just rclone/docker-volume-rclone
+will refer to the latest plugin release for the amd64 platform.
+
+Also the amd64 part can be omitted from the versioned rclone plugin
+tags. For example, rclone image reference
+rclone/docker-volume-rclone:amd64-1.56.2 can be abbreviated as
+rclone/docker-volume-rclone:1.56.2 for convenience. However, for
+non-intel architectures you still have to use the full tag as amd64 or
+latest will fail to start.
Managed plugin is in fact a special container running in a namespace
separate from normal docker containers. Inside it runs the
@@ -13558,9 +14262,9 @@ remove all active volumes connected with it as well as containers and
swarm services that use them. This is rather tedious so please carefully
plan in advance.
-You can tweak the following settings: args, config, cache, and
-RCLONE_VERBOSE. It's _your_ task to keep plugin settings in sync across
-swarm cluster nodes.
+You can tweak the following settings: args, config, cache, HTTP_PROXY,
+HTTPS_PROXY, NO_PROXY and RCLONE_VERBOSE. It's _your_ task to keep
+plugin settings in sync across swarm cluster nodes.
args sets command-line arguments for the rclone serve docker command
(_none_ by default). Arguments should be separated by space so you will
@@ -13600,11 +14304,13 @@ plugin output by default feeds the docker daemon log on local host. Log
entries are reflected as _errors_ in the docker log but retain their
actual level assigned by rclone in the encapsulated message string.
+HTTP_PROXY, HTTPS_PROXY, NO_PROXY customize the plugin proxy settings.
+
You can set custom plugin options right when you install it, _in one
go_:
docker plugin remove rclone
- docker plugin install rclone/docker-volume-rclone:latest \
+ docker plugin install rclone/docker-volume-rclone:amd64 \
--alias rclone --grant-all-permissions \
args="-v --allow-other" config=/etc/rclone
docker plugin inspect rclone
@@ -13692,8 +14398,9 @@ Use journalctl --unit docker to see managed plugin output as part of the
docker daemon log. Note that docker reflects plugin lines as _errors_
but their actual level can be seen from encapsulated message string.
-You will usually install the latest version of managed plugin. Use the
-following commands to print the actual installed version:
+You will usually install the latest version of managed plugin for your
+platform. Use the following commands to print the actual installed
+version:
PLUGID=$(docker plugin list --no-trunc | awk '/rclone/{print$1}')
sudo runc --root /run/docker/runtime-runc/plugins.moby exec $PLUGID rclone version
@@ -13710,6 +14417,9 @@ Also you can use curl to check the plugin socket connectivity:
though this is rarely needed.
+
+Caveats
+
Finally I'd like to mention a _caveat with updating volume settings_.
Docker CLI does not have a dedicated command like docker volume update.
It may be tempting to invoke docker volume create with updated options
@@ -13741,6 +14451,9 @@ Paths are specified as remote:path
Paths may be as deep as required, e.g. remote:directory/subdirectory.
+
+Configuration
+
The initial setup for 1Fichier involves getting the API key from the
website which you need to do in your browser.
@@ -13838,26 +14551,26 @@ name:
Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON
strings.
-Standard Options
+Standard options
Here are the standard options specific to fichier (1Fichier).
--fichier-api-key
-Your API Key, get it from https://1fichier.com/console/params.pl
+Your API Key, get it from https://1fichier.com/console/params.pl.
- Config: api_key
- Env Var: RCLONE_FICHIER_API_KEY
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to fichier (1Fichier).
--fichier-shared-folder
-If you want to download a shared folder, add this parameter
+If you want to download a shared folder, add this parameter.
- Config: shared_folder
- Env Var: RCLONE_FICHIER_SHARED_FOLDER
@@ -13867,7 +14580,7 @@ If you want to download a shared folder, add this parameter
--fichier-file-password
If you want to download a shared file that is password protected, add
-this parameter
+this parameter.
NB Input to this must be obscured - see rclone obscure.
@@ -13879,7 +14592,7 @@ NB Input to this must be obscured - see rclone obscure.
--fichier-folder-password
If you want to list the files in a shared folder that is password
-protected, add this parameter
+protected, add this parameter.
NB Input to this must be obscured - see rclone obscure.
@@ -13892,7 +14605,7 @@ NB Input to this must be obscured - see rclone obscure.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_FICHIER_ENCODING
@@ -13900,6 +14613,7 @@ See: the encoding section in the overview for more info.
- Default:
Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot
+
Limitations
rclone about is not supported by the 1Fichier backend. Backends without
@@ -13931,6 +14645,9 @@ Invoking rclone mkdir backup:../desktop is exactly the same as invoking
rclone mkdir mydrive:private/backup/../desktop. The empty path is not
allowed as a remote. To alias the current directory use . instead.
+
+Configuration
+
Here is an example of how to make an alias called remote for local
folder. First run:
@@ -13992,15 +14709,17 @@ Copy another local directory to the alias directory called source
rclone copy /home/source remote:source
-Standard Options
+Standard options
Here are the standard options specific to alias (Alias for an existing
remote).
--alias-remote
-Remote or path to alias. Can be "myremote:path/to/dir",
-"myremote:bucket", "myremote:" or "/local/path".
+Remote or path to alias.
+
+Can be "myremote:path/to/dir", "myremote:bucket", "myremote:" or
+"/local/path".
- Config: remote
- Env Var: RCLONE_ALIAS_REMOTE
@@ -14030,7 +14749,7 @@ If you happen to know anyone who works at Amazon then please ask them to
re-instate rclone into the Amazon Drive developer program - thanks!
-Setup
+Configuration
The initial setup for Amazon Drive involves getting a token from Amazon
which you need to do in your browser. rclone config walks you through
@@ -14160,14 +14879,16 @@ Let's say you usually use amazon.co.uk. When you authenticate with
rclone it will take you to an amazon.com page to log in. Your
amazon.co.uk email and password should work here just fine.
-Standard Options
+Standard options
Here are the standard options specific to amazon cloud drive (Amazon
Drive).
--acd-client-id
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+
+Leave blank normally.
- Config: client_id
- Env Var: RCLONE_ACD_CLIENT_ID
@@ -14176,14 +14897,16 @@ OAuth Client Id Leave blank normally.
--acd-client-secret
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+
+Leave blank normally.
- Config: client_secret
- Env Var: RCLONE_ACD_CLIENT_SECRET
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to amazon cloud drive (Amazon
Drive).
@@ -14199,7 +14922,9 @@ OAuth Access Token as a JSON blob.
--acd-auth-url
-Auth server URL. Leave blank to use the provider defaults.
+Auth server URL.
+
+Leave blank to use the provider defaults.
- Config: auth_url
- Env Var: RCLONE_ACD_AUTH_URL
@@ -14208,7 +14933,9 @@ Auth server URL. Leave blank to use the provider defaults.
--acd-token-url
-Token server url. Leave blank to use the provider defaults.
+Token server url.
+
+Leave blank to use the provider defaults.
- Config: token_url
- Env Var: RCLONE_ACD_TOKEN_URL
@@ -14276,13 +15003,14 @@ underlying S3 storage.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_ACD_ENCODING
- Type: MultiEncoder
- Default: Slash,InvalidUtf8,Dot
+
Limitations
Note that Amazon Drive is case insensitive so you can't have a file
@@ -14357,9 +15085,13 @@ files in the bucket.
rclone sync -i /home/local/directory remote:bucket
-AWS S3
+Configuration
+
+Here is an example of making an s3 configuration for the AWS S3
+provider. Most applies to the other providers as well, any differences
+are described below.
-Here is an example of making an s3 configuration. First run
+First run
rclone config
@@ -14561,7 +15293,7 @@ This will guide you through an interactive setup process.
Modified time
The modified time is stored as metadata on the object as
-X-Amz-Meta-Mtime as floating point since the epoch accurate to 1 ns.
+X-Amz-Meta-Mtime as floating point since the epoch, accurate to 1 ns.
If the modification time needs to be updated rclone will attempt to
perform a server side copy to update the modification if the object can
@@ -14858,7 +15590,7 @@ rclone.
Note that rclone only speaks the S3 API it does not speak the Glacier
Vault API, so rclone cannot directly access Glacier Vaults.
-Standard Options
+Standard options
Here are the standard options specific to s3 (Amazon S3 Compliant
Storage Providers including AWS, Alibaba, Ceph, Digital Ocean,
@@ -14905,8 +15637,9 @@ Choose your S3 provider.
--s3-env-auth
Get AWS credentials from runtime (environment variables or EC2/ECS meta
-data if no env vars). Only applies if access_key_id and
-secret_access_key is blank.
+data if no env vars).
+
+Only applies if access_key_id and secret_access_key is blank.
- Config: env_auth
- Env Var: RCLONE_S3_ENV_AUTH
@@ -14914,14 +15647,15 @@ secret_access_key is blank.
- Default: false
- Examples:
- "false"
- - Enter AWS credentials in the next step
+ - Enter AWS credentials in the next step.
- "true"
- - Get AWS credentials from the environment (env vars or IAM)
+ - Get AWS credentials from the environment (env vars or IAM).
--s3-access-key-id
-AWS Access Key ID. Leave blank for anonymous access or runtime
-credentials.
+AWS Access Key ID.
+
+Leave blank for anonymous access or runtime credentials.
- Config: access_key_id
- Env Var: RCLONE_S3_ACCESS_KEY_ID
@@ -14930,8 +15664,9 @@ credentials.
--s3-secret-access-key
-AWS Secret Access Key (password) Leave blank for anonymous access or
-runtime credentials.
+AWS Secret Access Key (password).
+
+Leave blank for anonymous access or runtime credentials.
- Config: secret_access_key
- Env Var: RCLONE_S3_SECRET_ACCESS_KEY
@@ -14952,76 +15687,76 @@ Region to connect to.
- US Region, Northern Virginia, or Pacific Northwest.
- Leave location constraint empty.
- "us-east-2"
- - US East (Ohio) Region
+ - US East (Ohio) Region.
- Needs location constraint us-east-2.
- "us-west-1"
- - US West (Northern California) Region
+ - US West (Northern California) Region.
- Needs location constraint us-west-1.
- "us-west-2"
- - US West (Oregon) Region
+ - US West (Oregon) Region.
- Needs location constraint us-west-2.
- "ca-central-1"
- - Canada (Central) Region
+ - Canada (Central) Region.
- Needs location constraint ca-central-1.
- "eu-west-1"
- - EU (Ireland) Region
+ - EU (Ireland) Region.
- Needs location constraint EU or eu-west-1.
- "eu-west-2"
- - EU (London) Region
+ - EU (London) Region.
- Needs location constraint eu-west-2.
- "eu-west-3"
- - EU (Paris) Region
+ - EU (Paris) Region.
- Needs location constraint eu-west-3.
- "eu-north-1"
- - EU (Stockholm) Region
+ - EU (Stockholm) Region.
- Needs location constraint eu-north-1.
- "eu-south-1"
- - EU (Milan) Region
+ - EU (Milan) Region.
- Needs location constraint eu-south-1.
- "eu-central-1"
- - EU (Frankfurt) Region
+ - EU (Frankfurt) Region.
- Needs location constraint eu-central-1.
- "ap-southeast-1"
- - Asia Pacific (Singapore) Region
+ - Asia Pacific (Singapore) Region.
- Needs location constraint ap-southeast-1.
- "ap-southeast-2"
- - Asia Pacific (Sydney) Region
+ - Asia Pacific (Sydney) Region.
- Needs location constraint ap-southeast-2.
- "ap-northeast-1"
- - Asia Pacific (Tokyo) Region
+ - Asia Pacific (Tokyo) Region.
- Needs location constraint ap-northeast-1.
- "ap-northeast-2"
- - Asia Pacific (Seoul)
+ - Asia Pacific (Seoul).
- Needs location constraint ap-northeast-2.
- "ap-northeast-3"
- - Asia Pacific (Osaka-Local)
+ - Asia Pacific (Osaka-Local).
- Needs location constraint ap-northeast-3.
- "ap-south-1"
- - Asia Pacific (Mumbai)
+ - Asia Pacific (Mumbai).
- Needs location constraint ap-south-1.
- "ap-east-1"
- - Asia Pacific (Hong Kong) Region
+ - Asia Pacific (Hong Kong) Region.
- Needs location constraint ap-east-1.
- "sa-east-1"
- - South America (Sao Paulo) Region
+ - South America (Sao Paulo) Region.
- Needs location constraint sa-east-1.
- "me-south-1"
- - Middle East (Bahrain) Region
+ - Middle East (Bahrain) Region.
- Needs location constraint me-south-1.
- "af-south-1"
- - Africa (Cape Town) Region
+ - Africa (Cape Town) Region.
- Needs location constraint af-south-1.
- "cn-north-1"
- - China (Beijing) Region
+ - China (Beijing) Region.
- Needs location constraint cn-north-1.
- "cn-northwest-1"
- - China (Ningxia) Region
+ - China (Ningxia) Region.
- Needs location constraint cn-northwest-1.
- "us-gov-east-1"
- - AWS GovCloud (US-East) Region
+ - AWS GovCloud (US-East) Region.
- Needs location constraint us-gov-east-1.
- "us-gov-west-1"
- - AWS GovCloud (US) Region
+ - AWS GovCloud (US) Region.
- Needs location constraint us-gov-west-1.
--s3-region
@@ -15040,8 +15775,9 @@ Region to connect to.
--s3-region
-Region to connect to. Leave blank if you are using an S3 clone and you
-don't have a region.
+Region to connect to.
+
+Leave blank if you are using an S3 clone and you don't have a region.
- Config: region
- Env Var: RCLONE_S3_REGION
@@ -15049,16 +15785,17 @@ don't have a region.
- Default: ""
- Examples:
- ""
- - Use this if unsure. Will use v4 signatures and an empty
- region.
+ - Use this if unsure.
+ - Will use v4 signatures and an empty region.
- "other-v2-signature"
- - Use this only if v4 signatures don't work, e.g. pre
- Jewel/v10 CEPH.
+ - Use this only if v4 signatures don't work.
+ - E.g. pre Jewel/v10 CEPH.
--s3-endpoint
-Endpoint for S3 API. Leave blank if using AWS to use the default
-endpoint for the region.
+Endpoint for S3 API.
+
+Leave blank if using AWS to use the default endpoint for the region.
- Config: endpoint
- Env Var: RCLONE_S3_ENDPOINT
@@ -15067,7 +15804,9 @@ endpoint for the region.
--s3-endpoint
-Endpoint for IBM COS S3 API. Specify if using an IBM COS On Premise.
+Endpoint for IBM COS S3 API.
+
+Specify if using an IBM COS On Premise.
- Config: endpoint
- Env Var: RCLONE_S3_ENDPOINT
@@ -15299,47 +16038,49 @@ Endpoint for Tencent COS API.
- Default: ""
- Examples:
- "cos.ap-beijing.myqcloud.com"
- - Beijing Region.
+ - Beijing Region
- "cos.ap-nanjing.myqcloud.com"
- - Nanjing Region.
+ - Nanjing Region
- "cos.ap-shanghai.myqcloud.com"
- - Shanghai Region.
+ - Shanghai Region
- "cos.ap-guangzhou.myqcloud.com"
- - Guangzhou Region.
+ - Guangzhou Region
- "cos.ap-nanjing.myqcloud.com"
- - Nanjing Region.
+ - Nanjing Region
- "cos.ap-chengdu.myqcloud.com"
- - Chengdu Region.
+ - Chengdu Region
- "cos.ap-chongqing.myqcloud.com"
- - Chongqing Region.
+ - Chongqing Region
- "cos.ap-hongkong.myqcloud.com"
- - Hong Kong (China) Region.
+ - Hong Kong (China) Region
- "cos.ap-singapore.myqcloud.com"
- - Singapore Region.
+ - Singapore Region
- "cos.ap-mumbai.myqcloud.com"
- - Mumbai Region.
+ - Mumbai Region
- "cos.ap-seoul.myqcloud.com"
- - Seoul Region.
+ - Seoul Region
- "cos.ap-bangkok.myqcloud.com"
- - Bangkok Region.
+ - Bangkok Region
- "cos.ap-tokyo.myqcloud.com"
- - Tokyo Region.
+ - Tokyo Region
- "cos.na-siliconvalley.myqcloud.com"
- - Silicon Valley Region.
+ - Silicon Valley Region
- "cos.na-ashburn.myqcloud.com"
- - Virginia Region.
+ - Virginia Region
- "cos.na-toronto.myqcloud.com"
- - Toronto Region.
+ - Toronto Region
- "cos.eu-frankfurt.myqcloud.com"
- - Frankfurt Region.
+ - Frankfurt Region
- "cos.eu-moscow.myqcloud.com"
- - Moscow Region.
+ - Moscow Region
- "cos.accelerate.myqcloud.com"
- - Use Tencent COS Accelerate Endpoint.
+ - Use Tencent COS Accelerate Endpoint
--s3-endpoint
-Endpoint for S3 API. Required when using an S3 clone.
+Endpoint for S3 API.
+
+Required when using an S3 clone.
- Config: endpoint
- Env Var: RCLONE_S3_ENDPOINT
@@ -15362,11 +16103,14 @@ Endpoint for S3 API. Required when using an S3 clone.
- Wasabi US West endpoint
- "s3.eu-central-1.wasabisys.com"
- Wasabi EU Central endpoint
+ - "s3.ap-northeast-1.wasabisys.com"
+ - Wasabi AP Northeast endpoint
--s3-location-constraint
-Location constraint - must be set to match the Region. Used when
-creating buckets only.
+Location constraint - must be set to match the Region.
+
+Used when creating buckets only.
- Config: location_constraint
- Env Var: RCLONE_S3_LOCATION_CONSTRAINT
@@ -15374,61 +16118,61 @@ creating buckets only.
- Default: ""
- Examples:
- ""
- - Empty for US Region, Northern Virginia, or Pacific
- Northwest.
+ - Empty for US Region, Northern Virginia, or Pacific Northwest
- "us-east-2"
- - US East (Ohio) Region.
+ - US East (Ohio) Region
- "us-west-1"
- - US West (Northern California) Region.
+ - US West (Northern California) Region
- "us-west-2"
- - US West (Oregon) Region.
+ - US West (Oregon) Region
- "ca-central-1"
- - Canada (Central) Region.
+ - Canada (Central) Region
- "eu-west-1"
- - EU (Ireland) Region.
+ - EU (Ireland) Region
- "eu-west-2"
- - EU (London) Region.
+ - EU (London) Region
- "eu-west-3"
- - EU (Paris) Region.
+ - EU (Paris) Region
- "eu-north-1"
- - EU (Stockholm) Region.
+ - EU (Stockholm) Region
- "eu-south-1"
- - EU (Milan) Region.
+ - EU (Milan) Region
- "EU"
- - EU Region.
+ - EU Region
- "ap-southeast-1"
- - Asia Pacific (Singapore) Region.
+ - Asia Pacific (Singapore) Region
- "ap-southeast-2"
- - Asia Pacific (Sydney) Region.
+ - Asia Pacific (Sydney) Region
- "ap-northeast-1"
- - Asia Pacific (Tokyo) Region.
+ - Asia Pacific (Tokyo) Region
- "ap-northeast-2"
- - Asia Pacific (Seoul) Region.
+ - Asia Pacific (Seoul) Region
- "ap-northeast-3"
- - Asia Pacific (Osaka-Local) Region.
+ - Asia Pacific (Osaka-Local) Region
- "ap-south-1"
- - Asia Pacific (Mumbai) Region.
+ - Asia Pacific (Mumbai) Region
- "ap-east-1"
- - Asia Pacific (Hong Kong) Region.
+ - Asia Pacific (Hong Kong) Region
- "sa-east-1"
- - South America (Sao Paulo) Region.
+ - South America (Sao Paulo) Region
- "me-south-1"
- - Middle East (Bahrain) Region.
+ - Middle East (Bahrain) Region
- "af-south-1"
- - Africa (Cape Town) Region.
+ - Africa (Cape Town) Region
- "cn-north-1"
- China (Beijing) Region
- "cn-northwest-1"
- - China (Ningxia) Region.
+ - China (Ningxia) Region
- "us-gov-east-1"
- - AWS GovCloud (US-East) Region.
+ - AWS GovCloud (US-East) Region
- "us-gov-west-1"
- - AWS GovCloud (US) Region.
+ - AWS GovCloud (US) Region
--s3-location-constraint
Location constraint - must match endpoint when using IBM Cloud Public.
-For on-prem COS, do not make a selection from this list, hit enter
+
+For on-prem COS, do not make a selection from this list, hit enter.
- Config: location_constraint
- Env Var: RCLONE_S3_LOCATION_CONSTRAINT
@@ -15502,8 +16246,9 @@ For on-prem COS, do not make a selection from this list, hit enter
--s3-location-constraint
-Location constraint - must be set to match the Region. Leave blank if
-not sure. Used when creating buckets only.
+Location constraint - must be set to match the Region.
+
+Leave blank if not sure. Used when creating buckets only.
- Config: location_constraint
- Env Var: RCLONE_S3_LOCATION_CONSTRAINT
@@ -15529,24 +16274,24 @@ doesn't copy the ACL from the source but rather writes a fresh one.
- Default: ""
- Examples:
- "default"
- - Owner gets Full_CONTROL. No one else has access rights
- (default).
+ - Owner gets Full_CONTROL.
+ - No one else has access rights (default).
- "private"
- - Owner gets FULL_CONTROL. No one else has access rights
- (default).
+ - Owner gets FULL_CONTROL.
+ - No one else has access rights (default).
- "public-read"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ
- access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ access.
- "public-read-write"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ and
- WRITE access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ and WRITE access.
- Granting this on a bucket is generally not recommended.
- "authenticated-read"
- - Owner gets FULL_CONTROL. The AuthenticatedUsers group gets
- READ access.
+ - Owner gets FULL_CONTROL.
+ - The AuthenticatedUsers group gets READ access.
- "bucket-owner-read"
- - Object owner gets FULL_CONTROL. Bucket owner gets READ
- access.
+ - Object owner gets FULL_CONTROL.
+ - Bucket owner gets READ access.
- If you specify this canned ACL when creating a bucket,
Amazon S3 ignores it.
- "bucket-owner-full-control"
@@ -15555,21 +16300,26 @@ doesn't copy the ACL from the source but rather writes a fresh one.
- If you specify this canned ACL when creating a bucket,
Amazon S3 ignores it.
- "private"
- - Owner gets FULL_CONTROL. No one else has access rights
- (default). This acl is available on IBM Cloud (Infra), IBM
- Cloud (Storage), On-Premise COS
+ - Owner gets FULL_CONTROL.
+ - No one else has access rights (default).
+ - This acl is available on IBM Cloud (Infra), IBM Cloud
+ (Storage), On-Premise COS.
- "public-read"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ
- access. This acl is available on IBM Cloud (Infra), IBM
- Cloud (Storage), On-Premise IBM COS
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ access.
+ - This acl is available on IBM Cloud (Infra), IBM Cloud
+ (Storage), On-Premise IBM COS.
- "public-read-write"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ and
- WRITE access. This acl is available on IBM Cloud (Infra),
- On-Premise IBM COS
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ and WRITE access.
+ - This acl is available on IBM Cloud (Infra), On-Premise IBM
+ COS.
- "authenticated-read"
- - Owner gets FULL_CONTROL. The AuthenticatedUsers group gets
- READ access. Not supported on Buckets. This acl is available
- on IBM Cloud (Infra) and On-Premise IBM COS
+ - Owner gets FULL_CONTROL.
+ - The AuthenticatedUsers group gets READ access.
+ - Not supported on Buckets.
+ - This acl is available on IBM Cloud (Infra) and On-Premise
+ IBM COS.
--s3-server-side-encryption
@@ -15642,9 +16392,9 @@ The storage class to use when storing new objects in OSS.
- "STANDARD"
- Standard storage class
- "GLACIER"
- - Archive storage mode.
+ - Archive storage mode
- "STANDARD_IA"
- - Infrequent access storage mode.
+ - Infrequent access storage mode
--s3-storage-class
@@ -15660,9 +16410,9 @@ The storage class to use when storing new objects in Tencent COS.
- "STANDARD"
- Standard storage class
- "ARCHIVE"
- - Archive storage mode.
+ - Archive storage mode
- "STANDARD_IA"
- - Infrequent access storage mode.
+ - Infrequent access storage mode
--s3-storage-class
@@ -15674,15 +16424,16 @@ The storage class to use when storing new objects in S3.
- Default: ""
- Examples:
- ""
- - Default
+ - Default.
- "STANDARD"
- - The Standard class for any upload; suitable for on-demand
- content like streaming or CDN.
+ - The Standard class for any upload.
+ - Suitable for on-demand content like streaming or CDN.
- "GLACIER"
- - Archived storage; prices are lower, but it needs to be
- restored first to be accessed.
+ - Archived storage.
+ - Prices are lower, but it needs to be restored first to be
+ accessed.
-Advanced Options
+Advanced options
Here are the advanced options specific to s3 (Amazon S3 Compliant
Storage Providers including AWS, Alibaba, Ceph, Digital Ocean,
@@ -15704,18 +16455,18 @@ isn't set then "acl" is used instead.
- Default: ""
- Examples:
- "private"
- - Owner gets FULL_CONTROL. No one else has access rights
- (default).
+ - Owner gets FULL_CONTROL.
+ - No one else has access rights (default).
- "public-read"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ
- access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ access.
- "public-read-write"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ and
- WRITE access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ and WRITE access.
- Granting this on a bucket is generally not recommended.
- "authenticated-read"
- - Owner gets FULL_CONTROL. The AuthenticatedUsers group gets
- READ access.
+ - Owner gets FULL_CONTROL.
+ - The AuthenticatedUsers group gets READ access.
--s3-requester-pays
@@ -15772,7 +16523,7 @@ sse_customer_key provided.
--s3-upload-cutoff
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
Any files larger than this will be uploaded in chunks of chunk_size. The
minimum is 0 and the maximum is 5 GiB.
@@ -15831,7 +16582,7 @@ file of a known size to stay below this number of chunks limit.
--s3-copy-cutoff
-Cutoff for switching to multipart copy
+Cutoff for switching to multipart copy.
Any files larger than this that need to be server-side copied will be
copied in chunks of this size.
@@ -15845,7 +16596,7 @@ The minimum is 0 and the maximum is 5 GiB.
--s3-disable-checksum
-Don't store MD5 checksum with object metadata
+Don't store MD5 checksum with object metadata.
Normally rclone will calculate the MD5 checksum of the input before
uploading it so it can add it to metadata on the object. This is great
@@ -15859,7 +16610,7 @@ start uploading.
--s3-shared-credentials-file
-Path to the shared credentials file
+Path to the shared credentials file.
If env_auth = true then rclone can use a shared credentials file.
@@ -15877,7 +16628,7 @@ will default to the current user's home directory.
--s3-profile
-Profile to use in the shared credentials file
+Profile to use in the shared credentials file.
If env_auth = true then rclone can use a shared credentials file. This
variable controls which profile is used in that file.
@@ -15892,7 +16643,7 @@ If empty it will default to the environment variable "AWS_PROFILE" or
--s3-session-token
-An AWS session token
+An AWS session token.
- Config: session_token
- Env Var: RCLONE_S3_SESSION_TOKEN
@@ -15989,7 +16740,7 @@ increased with the "rgw list buckets max chunk" option.
--s3-no-check-bucket
-If set, don't attempt to check the bucket exists or create it
+If set, don't attempt to check the bucket exists or create it.
This can be useful when trying to minimise the number of transactions
rclone does if you know the bucket exists already.
@@ -16005,7 +16756,7 @@ to a bug.
--s3-no-head
-If set, don't HEAD uploaded objects to check integrity
+If set, don't HEAD uploaded objects to check integrity.
This can be useful when trying to minimise the number of transactions
rclone does.
@@ -16042,7 +16793,7 @@ very small even with this flag.
--s3-no-head-object
-If set, don't HEAD objects
+If set, do not do HEAD before GET when getting objects.
- Config: no_head_object
- Env Var: RCLONE_S3_NO_HEAD_OBJECT
@@ -16053,7 +16804,7 @@ If set, don't HEAD objects
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_S3_ENCODING
@@ -16062,10 +16813,11 @@ See: the encoding section in the overview for more info.
--s3-memory-pool-flush-time
-How often internal memory buffer pools will be flushed. Uploads which
-requires additional buffers (f.e multipart) will use memory pool for
-allocations. This option controls how often unused buffers will be
-removed from the pool.
+How often internal memory buffer pools will be flushed.
+
+Uploads which requires additional buffers (f.e multipart) will use
+memory pool for allocations. This option controls how often unused
+buffers will be removed from the pool.
- Config: memory_pool_flush_time
- Env Var: RCLONE_S3_MEMORY_POOL_FLUSH_TIME
@@ -16083,7 +16835,7 @@ Whether to use mmap buffers in internal memory pool.
--s3-disable-http2
-Disable usage of http2 for S3 backends
+Disable usage of http2 for S3 backends.
There is currently an unsolved issue with the s3 (specifically minio)
backend and HTTP/2. HTTP/2 is enabled by default for the s3 backend but
@@ -16098,6 +16850,18 @@ https://github.com/rclone/rclone/issues/3631
- Type: bool
- Default: false
+--s3-download-url
+
+Custom endpoint for downloads. This is usually set to a CloudFront CDN
+URL as AWS S3 offers cheaper egress for data downloaded through the
+CloudFront network.
+
+- Config: download_url
+- Env Var: RCLONE_S3_DOWNLOAD_URL
+- Type: string
+- Default: ""
+
+
Backend commands
Here are the commands specific to the s3 backend.
@@ -16242,6 +17006,33 @@ Then use it as normal with the name of the public bucket, e.g.
You will be able to list and copy data but not upload it.
+Providers
+
+AWS S3
+
+This is the provider used as main example and described in the
+configuration section above.
+
+AWS Snowball Edge
+
+AWS Snowball is a hardware appliance used for transferring bulk data
+back to AWS. Its main software interface is S3 object storage.
+
+To use rclone with AWS Snowball Edge devices, configure as standard for
+an 'S3 Compatible Service' be sure to set upload_cutoff = 0 otherwise
+you will run into authentication header issues as the snowball device
+does not support query parameter based authentication.
+
+eg.
+
+ [snowball]
+ type = s3
+ provider = Other
+ access_key_id = YOUR_ACCESS_KEY
+ secret_access_key = YOUR_SECRET_KEY
+ endpoint = http://[IP of Snowball]:8080
+ upload_cutoff = 0
+
Ceph
Ceph is an open source unified, distributed storage system designed for
@@ -16293,7 +17084,6 @@ removed).
Because this is a json dump, it is encoding the / as \/, so if you use
the secret key as xxxxxx/xxxx it will work fine.
-
Dreamhost
Dreamhost DreamObjects is an object storage system based on CEPH.
@@ -16315,7 +17105,6 @@ in your config:
server_side_encryption =
storage_class =
-
DigitalOcean Spaces
Spaces is an S3-interoperable object storage service from cloud provider
@@ -16365,7 +17154,6 @@ example:
rclone mkdir spaces:my-new-space
rclone copy /path/to/files spaces:my-new-space
-
IBM COS (S3)
Information stored with IBM Cloud Object Storage is encrypted and
@@ -16537,7 +17325,6 @@ To configure access to IBM COS S3, follow the steps below:
6) Delete a file on remote.
rclone delete IBM-COS-XREGION:newbucket/file.txt
-
Minio
Minio is an object storage server built for cloud application developers
@@ -16599,7 +17386,6 @@ So once set up, for example to copy files into a bucket
rclone copy /path/to/files minio:bucket
-
Scaleway
Scaleway The Object Storage platform allows you to store anything from
@@ -16623,7 +17409,6 @@ rclone like this:
server_side_encryption =
storage_class =
-
SeaweedFS
SeaweedFS is a distributed storage system for blobs, objects, files, and
@@ -16669,7 +17454,6 @@ So once set up, for example to copy files into a bucket
rclone copy /path/to/files seaweedfs_s3:foo
-
Wasabi
Wasabi is a cloud-based object storage service for a broad range of
@@ -16779,7 +17563,6 @@ This will leave the config file looking like this.
server_side_encryption =
storage_class =
-
Alibaba OSS
Here is an example of making an Alibaba Cloud (Aliyun) OSS
@@ -16888,7 +17671,6 @@ This will guide you through an interactive setup process.
d) Delete this remote
y/e/d> y
-
Tencent COS
Tencent Cloud Object Storage (COS) is a distributed storage service
@@ -17011,7 +17793,6 @@ To configure access to Tencent COS, follow the steps below:
==== ====
cos s3
-
Netease NOS
For Netease NOS configure as per the configurator rclone config setting
@@ -17037,6 +17818,9 @@ B2 is Backblaze's cloud storage system.
Paths are specified as remote:bucket (or remote: for the lsd command.)
You may put subdirectories in too, e.g. remote:bucket/path/to/dir.
+
+Configuration
+
Here is an example of making a b2 configuration. First run
rclone config
@@ -17316,13 +18100,13 @@ you can then use the authorization token (the part of the url from the
https://f002.backblazeb2.com/file/bucket/path/file2?Authorization=xxxxxxxx
https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxxx
-Standard Options
+Standard options
Here are the standard options specific to b2 (Backblaze B2).
--b2-account
-Account ID or Application Key ID
+Account ID or Application Key ID.
- Config: account
- Env Var: RCLONE_B2_ACCOUNT
@@ -17331,7 +18115,7 @@ Account ID or Application Key ID
--b2-key
-Application Key
+Application Key.
- Config: key
- Env Var: RCLONE_B2_KEY
@@ -17347,13 +18131,15 @@ Permanently delete files on remote removal, otherwise hide files.
- Type: bool
- Default: false
-Advanced Options
+Advanced options
Here are the advanced options specific to b2 (Backblaze B2).
--b2-endpoint
-Endpoint for the service. Leave blank normally.
+Endpoint for the service.
+
+Leave blank normally.
- Config: endpoint
- Env Var: RCLONE_B2_ENDPOINT
@@ -17381,9 +18167,10 @@ the b2 integrations checklist.
--b2-versions
-Include old versions in directory listings. Note that when using this no
-file write operations are permitted, so you can't upload files or delete
-them.
+Include old versions in directory listings.
+
+Note that when using this no file write operations are permitted, so you
+can't upload files or delete them.
- Config: versions
- Env Var: RCLONE_B2_VERSIONS
@@ -17405,7 +18192,7 @@ This value should be set no larger than 4.657 GiB (== 5 GB).
--b2-copy-cutoff
-Cutoff for switching to multipart copy
+Cutoff for switching to multipart copy.
Any files larger than this that need to be server-side copied will be
copied in chunks of this size.
@@ -17419,12 +18206,14 @@ The minimum is 0 and the maximum is 4.6 GiB.
--b2-chunk-size
-Upload chunk size. Must fit in memory.
+Upload chunk size.
-When uploading large files, chunk the file into this size. Note that
-these chunks are buffered in memory and there might a maximum of
-"--transfers" chunks in progress at once. 5,000,000 Bytes is the minimum
-size.
+When uploading large files, chunk the file into this size.
+
+Must fit in memory. These chunks are buffered in memory and there might
+a maximum of "--transfers" chunks in progress at once.
+
+5,000,000 Bytes is the minimum size.
- Config: chunk_size
- Env Var: RCLONE_B2_CHUNK_SIZE
@@ -17433,7 +18222,7 @@ size.
--b2-disable-checksum
-Disable checksums for large (> upload cutoff) files
+Disable checksums for large (> upload cutoff) files.
Normally rclone will calculate the SHA1 checksum of the input before
uploading it so it can add it to metadata on the object. This is great
@@ -17499,13 +18288,14 @@ Whether to use mmap buffers in internal memory pool.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_B2_ENCODING
- Type: MultiEncoder
- Default: Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot
+
Limitations
rclone about is not supported by the B2 backend. Backends without this
@@ -17527,6 +18317,9 @@ The initial setup for Box involves getting a token from Box which you
can do either in your browser, or with a config.json downloaded from Box
to use JWT authentication. rclone config walks you through it.
+
+Configuration
+
Here is an example of how to make a remote called remote. First run:
rclone config
@@ -17767,13 +18560,15 @@ So if the folder you want rclone to use has a URL which looks like
https://app.box.com/folder/11xxxxxxxxx8 in the browser, then you use
11xxxxxxxxx8 as the root_folder_id in the config.
-Standard Options
+Standard options
Here are the standard options specific to box (Box).
--box-client-id
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+
+Leave blank normally.
- Config: client_id
- Env Var: RCLONE_BOX_CLIENT_ID
@@ -17782,7 +18577,9 @@ OAuth Client Id Leave blank normally.
--box-client-secret
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+
+Leave blank normally.
- Config: client_secret
- Env Var: RCLONE_BOX_CLIENT_SECRET
@@ -17791,7 +18588,9 @@ OAuth Client Secret Leave blank normally.
--box-box-config-file
-Box App config.json location Leave blank normally.
+Box App config.json location
+
+Leave blank normally.
Leading ~ will be expanded in the file name as will environment
variables such as ${RCLONE_CONFIG_DIR}.
@@ -17803,7 +18602,9 @@ variables such as ${RCLONE_CONFIG_DIR}.
--box-access-token
-Box App Primary Access Token Leave blank normally.
+Box App Primary Access Token
+
+Leave blank normally.
- Config: access_token
- Env Var: RCLONE_BOX_ACCESS_TOKEN
@@ -17818,11 +18619,11 @@ Box App Primary Access Token Leave blank normally.
- Default: "user"
- Examples:
- "user"
- - Rclone should act on behalf of a user
+ - Rclone should act on behalf of a user.
- "enterprise"
- - Rclone should act on behalf of a service account
+ - Rclone should act on behalf of a service account.
-Advanced Options
+Advanced options
Here are the advanced options specific to box (Box).
@@ -17837,7 +18638,9 @@ OAuth Access Token as a JSON blob.
--box-auth-url
-Auth server URL. Leave blank to use the provider defaults.
+Auth server URL.
+
+Leave blank to use the provider defaults.
- Config: auth_url
- Env Var: RCLONE_BOX_AUTH_URL
@@ -17846,7 +18649,9 @@ Auth server URL. Leave blank to use the provider defaults.
--box-token-url
-Token server url. Leave blank to use the provider defaults.
+Token server url.
+
+Leave blank to use the provider defaults.
- Config: token_url
- Env Var: RCLONE_BOX_TOKEN_URL
@@ -17880,17 +18685,36 @@ Max number of times to try committing a multipart file.
- Type: int
- Default: 100
+--box-list-chunk
+
+Size of listing chunk 1-1000.
+
+- Config: list_chunk
+- Env Var: RCLONE_BOX_LIST_CHUNK
+- Type: int
+- Default: 1000
+
+--box-owned-by
+
+Only show items owned by the login (email address) passed in.
+
+- Config: owned_by
+- Env Var: RCLONE_BOX_OWNED_BY
+- Type: string
+- Default: ""
+
--box-encoding
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_BOX_ENCODING
- Type: MultiEncoder
- Default: Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot
+
Limitations
Note that Box is case insensitive so you can't have a file called
@@ -17931,7 +18755,7 @@ of the cache backend to minimize API hits and by-and-large these are out
of date and the cache backend isn't needed in those scenarios any more.
-Setup
+Configuration
To get started you just need to have an existing remote which can be
configured with cache.
@@ -18228,15 +19052,16 @@ wrapped by crypt.
Params: - REMOTE = path to remote (REQUIRED) - WITHDATA = true/false to
delete cached data (chunks) as well _(optional, false by default)_
-Standard Options
+Standard options
Here are the standard options specific to cache (Cache a remote).
--cache-remote
-Remote to cache. Normally should contain a ':' and a path, e.g.
-"myremote:path/to/dir", "myremote:bucket" or maybe "myremote:" (not
-recommended).
+Remote to cache.
+
+Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
+"myremote:bucket" or maybe "myremote:" (not recommended).
- Config: remote
- Env Var: RCLONE_CACHE_REMOTE
@@ -18245,7 +19070,7 @@ recommended).
--cache-plex-url
-The URL of the Plex server
+The URL of the Plex server.
- Config: plex_url
- Env Var: RCLONE_CACHE_PLEX_URL
@@ -18254,7 +19079,7 @@ The URL of the Plex server
--cache-plex-username
-The username of the Plex user
+The username of the Plex user.
- Config: plex_username
- Env Var: RCLONE_CACHE_PLEX_USERNAME
@@ -18263,7 +19088,7 @@ The username of the Plex user
--cache-plex-password
-The password of the Plex user
+The password of the Plex user.
NB Input to this must be obscured - see rclone obscure.
@@ -18330,13 +19155,13 @@ chunks until it goes under this value.
- "10G"
- 10 GiB
-Advanced Options
+Advanced options
Here are the advanced options specific to cache (Cache a remote).
--cache-plex-token
-The plex token for authentication - auto set normally
+The plex token for authentication - auto set normally.
- Config: plex_token
- Env Var: RCLONE_CACHE_PLEX_TOKEN
@@ -18345,7 +19170,7 @@ The plex token for authentication - auto set normally
--cache-plex-insecure
-Skip all certificate verification when connecting to the Plex server
+Skip all certificate verification when connecting to the Plex server.
- Config: plex_insecure
- Env Var: RCLONE_CACHE_PLEX_INSECURE
@@ -18354,8 +19179,9 @@ Skip all certificate verification when connecting to the Plex server
--cache-db-path
-Directory to store file structure metadata DB. The remote name is used
-as the DB file name.
+Directory to store file structure metadata DB.
+
+The remote name is used as the DB file name.
- Config: db_path
- Env Var: RCLONE_CACHE_DB_PATH
@@ -18390,10 +19216,11 @@ Clear all the cached data for this remote on start.
--cache-chunk-clean-interval
-How often should the cache perform cleanups of the chunk storage. The
-default value should be ok for most people. If you find that the cache
-goes over "cache-chunk-total-size" too often then try to lower this
-value to force it to perform cleanups more often.
+How often should the cache perform cleanups of the chunk storage.
+
+The default value should be ok for most people. If you find that the
+cache goes over "cache-chunk-total-size" too often then try to lower
+this value to force it to perform cleanups more often.
- Config: chunk_clean_interval
- Env Var: RCLONE_CACHE_CHUNK_CLEAN_INTERVAL
@@ -18461,7 +19288,7 @@ is not available on the local machine.
--cache-rps
Limits the number of requests per second to the source FS (-1 to
-disable)
+disable).
This setting places a hard limit on the number of requests per second
that cache will be doing to the cloud provider remote and try to respect
@@ -18484,7 +19311,7 @@ API calls to the cloud provider like directory listings will still pass.
--cache-writes
-Cache file data on writes through the FS
+Cache file data on writes through the FS.
If you need to read files immediately after you upload them through
cache you can enable this flag to have their data stored in the cache
@@ -18513,7 +19340,7 @@ provider
--cache-tmp-wait-time
-How long should files be stored in local cache before being uploaded
+How long should files be stored in local cache before being uploaded.
This is the duration that a file must wait in the temporary location
_cache-tmp-upload-path_ before it is selected for upload.
@@ -18528,7 +19355,7 @@ start the upload if a queue formed for this purpose.
--cache-db-wait-time
-How long to wait for the DB to be available - 0 is unlimited
+How long to wait for the DB to be available - 0 is unlimited.
Only one process can have the DB open at any one time, so rclone waits
for this duration for the DB to become available before it gives an
@@ -18541,6 +19368,7 @@ If you set it to 0 then it will wait forever.
- Type: Duration
- Default: 1s
+
Backend commands
Here are the commands specific to the cache backend.
@@ -18573,6 +19401,9 @@ during upload to wrapped remote and transparently assembles them back
when the file is downloaded. This allows to effectively overcome size
limits imposed by storage providers.
+
+Configuration
+
To use it, first set up the underlying remote following the
configuration instructions for that remote. You can also use a local
pathname instead of a remote.
@@ -18865,16 +19696,17 @@ users to keep rclone up-to-date to avoid data corruption.
Changing transactions is dangerous and requires explicit migration.
-Standard Options
+Standard options
Here are the standard options specific to chunker (Transparently
chunk/split large files).
--chunker-remote
-Remote to chunk/unchunk. Normally should contain a ':' and a path, e.g.
-"myremote:path/to/dir", "myremote:bucket" or maybe "myremote:" (not
-recommended).
+Remote to chunk/unchunk.
+
+Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
+"myremote:bucket" or maybe "myremote:" (not recommended).
- Config: remote
- Env Var: RCLONE_CHUNKER_REMOTE
@@ -18892,8 +19724,9 @@ Files larger than chunk size will be split in chunks.
--chunker-hash-type
-Choose how chunker handles hash sums. All modes but "none" require
-metadata.
+Choose how chunker handles hash sums.
+
+All modes but "none" require metadata.
- Config: hash_type
- Env Var: RCLONE_CHUNKER_HASH_TYPE
@@ -18902,34 +19735,37 @@ metadata.
- Examples:
- "none"
- Pass any hash supported by wrapped remote for non-chunked
- files, return nothing otherwise
+ files.
+ - Return nothing otherwise.
- "md5"
- - MD5 for composite files
+ - MD5 for composite files.
- "sha1"
- - SHA1 for composite files
+ - SHA1 for composite files.
- "md5all"
- - MD5 for all files
+ - MD5 for all files.
- "sha1all"
- - SHA1 for all files
+ - SHA1 for all files.
- "md5quick"
- - Copying a file to chunker will request MD5 from the source
- falling back to SHA1 if unsupported
+ - Copying a file to chunker will request MD5 from the source.
+ - Falling back to SHA1 if unsupported.
- "sha1quick"
- - Similar to "md5quick" but prefers SHA1 over MD5
+ - Similar to "md5quick" but prefers SHA1 over MD5.
-Advanced Options
+Advanced options
Here are the advanced options specific to chunker (Transparently
chunk/split large files).
--chunker-name-format
-String format of chunk file names. The two placeholders are: base file
-name (*) and chunk number (#...). There must be one and only one
-asterisk and one or more consecutive hash characters. If chunk number
-has less digits than the number of hashes, it is left-padded by zeros.
-If there are more digits in the number, they are left as is. Possible
-chunk files are ignored if their name does not match given format.
+String format of chunk file names.
+
+The two placeholders are: base file name (*) and chunk number (#...).
+There must be one and only one asterisk and one or more consecutive hash
+characters. If chunk number has less digits than the number of hashes,
+it is left-padded by zeros. If there are more digits in the number, they
+are left as is. Possible chunk files are ignored if their name does not
+match given format.
- Config: name_format
- Env Var: RCLONE_CHUNKER_NAME_FORMAT
@@ -18938,8 +19774,9 @@ chunk files are ignored if their name does not match given format.
--chunker-start-from
-Minimum valid chunk number. Usually 0 or 1. By default chunk numbers
-start from 1.
+Minimum valid chunk number. Usually 0 or 1.
+
+By default chunk numbers start from 1.
- Config: start_from
- Env Var: RCLONE_CHUNKER_START_FROM
@@ -18948,8 +19785,10 @@ start from 1.
--chunker-meta-format
-Format of the metadata object or "none". By default "simplejson".
-Metadata is a small JSON file named after the composite file.
+Format of the metadata object or "none".
+
+By default "simplejson". Metadata is a small JSON file named after the
+composite file.
- Config: meta_format
- Env Var: RCLONE_CHUNKER_META_FORMAT
@@ -18957,10 +19796,12 @@ Metadata is a small JSON file named after the composite file.
- Default: "simplejson"
- Examples:
- "none"
- - Do not use metadata files at all. Requires hash type "none".
+ - Do not use metadata files at all.
+ - Requires hash type "none".
- "simplejson"
- Simple JSON supports hash sums and chunk validation.
- - It has the following fields: ver, size, nchunks, md5, sha1.
+ - - It has the following fields: ver, size, nchunks, md5,
+ sha1.
--chunker-fail-hard
@@ -19015,6 +19856,9 @@ CITRIX SHAREFILE
Citrix ShareFile is a secure file sharing and transfer service aimed as
business.
+
+Configuration
+
The initial setup for Citrix ShareFile involves getting a token from
Citrix ShareFile which you can in your browser. rclone config walks you
through it.
@@ -19122,13 +19966,6 @@ upload up to --transfers chunks at the same time (shared among all the
multipart uploads). Chunks are buffered in memory and are normally 64
MiB so increasing --transfers will increase memory use.
-Limitations
-
-Note that ShareFile is case insensitive so you can't have a file called
-"Hello.doc" and one called "hello.doc".
-
-ShareFile only supports filenames up to 256 characters in length.
-
Restricted filename characters
In addition to the default restricted characters set the following
@@ -19157,13 +19994,13 @@ name:
Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON
strings.
-Standard Options
+Standard options
Here are the standard options specific to sharefile (Citrix Sharefile).
--sharefile-root-folder-id
-ID of the root folder
+ID of the root folder.
Leave blank to access "Personal Folders". You can use one of the
standard values here or any folder ID (long hex number ID).
@@ -19174,7 +20011,7 @@ standard values here or any folder ID (long hex number ID).
- Default: ""
- Examples:
- ""
- - Access the Personal Folders. (Default)
+ - Access the Personal Folders (default).
- "favorites"
- Access the Favorites folder.
- "allshared"
@@ -19185,7 +20022,7 @@ standard values here or any folder ID (long hex number ID).
- Access the home, favorites, and shared folders as well as
the connectors.
-Advanced Options
+Advanced options
Here are the advanced options specific to sharefile (Citrix Sharefile).
@@ -19200,7 +20037,9 @@ Cutoff for switching to multipart upload.
--sharefile-chunk-size
-Upload chunk size. Must a power of 2 >= 256k.
+Upload chunk size.
+
+Must a power of 2 >= 256k.
Making this larger will improve performance, but note that each chunk is
buffered in memory one per transfer.
@@ -19228,7 +20067,7 @@ set manually to something like: https://XXX.sharefile.com
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_SHAREFILE_ENCODING
@@ -19236,8 +20075,14 @@ See: the encoding section in the overview for more info.
- Default:
Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot
+
Limitations
+Note that ShareFile is case insensitive so you can't have a file called
+"Hello.doc" and one called "hello.doc".
+
+ShareFile only supports filenames up to 256 characters in length.
+
rclone about is not supported by the Citrix ShareFile backend. Backends
without this capability cannot determine free space for an rclone mount
or use policy mfs (most free space) as a member of an rclone union
@@ -19301,6 +20146,7 @@ XSalsa20 cipher and Poly1305 for integrity. Names (file- and directory
names) are also encrypted by default, but this has some implications and
is therefore possible to turned off.
+
Configuration
Here is an example of how to make a remote called secret.
@@ -19348,12 +20194,14 @@ for encrypted content, and access it exclusively through a crypt remote.
remote> remote:path
How to encrypt the filenames.
Enter a string value. Press Enter for the default ("standard").
- Choose a number from below, or type in your own value
- 1 / Encrypt the filenames see the docs for the details.
+ Choose a number from below, or type in your own value.
+ / Encrypt the filenames.
+ 1 | See the docs for the details.
\ "standard"
2 / Very simple filename obfuscation.
\ "obfuscate"
- 3 / Don't encrypt the file names. Adds a ".bin" extension only.
+ / Don't encrypt the file names.
+ 3 | Adds a ".bin" extension only.
\ "off"
filename_encryption>
Option to either encrypt directory names or leave them intact.
@@ -19632,16 +20480,17 @@ by an extremely strong crypto authenticator.
Use the rclone cryptcheck command to check the integrity of a crypted
remote instead of rclone check which can't check the checksums properly.
-Standard Options
+Standard options
Here are the standard options specific to crypt (Encrypt/Decrypt a
remote).
--crypt-remote
-Remote to encrypt/decrypt. Normally should contain a ':' and a path,
-e.g. "myremote:path/to/dir", "myremote:bucket" or maybe "myremote:" (not
-recommended).
+Remote to encrypt/decrypt.
+
+Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
+"myremote:bucket" or maybe "myremote:" (not recommended).
- Config: remote
- Env Var: RCLONE_CRYPT_REMOTE
@@ -19658,11 +20507,13 @@ How to encrypt the filenames.
- Default: "standard"
- Examples:
- "standard"
- - Encrypt the filenames see the docs for the details.
+ - Encrypt the filenames.
+ - See the docs for the details.
- "obfuscate"
- Very simple filename obfuscation.
- "off"
- - Don't encrypt the file names. Adds a ".bin" extension only.
+ - Don't encrypt the file names.
+ - Adds a ".bin" extension only.
--crypt-directory-name-encryption
@@ -19693,8 +20544,9 @@ NB Input to this must be obscured - see rclone obscure.
--crypt-password2
-Password or pass phrase for salt. Optional but recommended. Should be
-different to the previous password.
+Password or pass phrase for salt.
+
+Optional but recommended. Should be different to the previous password.
NB Input to this must be obscured - see rclone obscure.
@@ -19703,7 +20555,7 @@ NB Input to this must be obscured - see rclone obscure.
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to crypt (Encrypt/Decrypt a
remote).
@@ -19757,6 +20609,7 @@ Option to either encrypt file data or leave it unencrypted.
- "false"
- Encrypt file data.
+
Backend commands
Here are the commands specific to the crypt backend.
@@ -19950,6 +20803,9 @@ use this remote in critical applications.
The Compress remote adds compression to another remote. It is best used
with remotes containing many large compressible files.
+
+Configuration
+
To use this remote, all you need to do is specify another remote and a
compression mode to use:
@@ -20003,17 +20859,17 @@ compression mode to use:
Compression Modes
-Currently only gzip compression is supported, it provides a decent
-balance between speed and strength and is well supported by other
-application. Compression strength can further be configured via an
+Currently only gzip compression is supported. It provides a decent
+balance between speed and size and is well supported by other
+applications. Compression strength can further be configured via an
advanced setting where 0 is no compression and 9 is strongest
compression.
-Filetype
+File types
-If you open a remote wrapped by press, you will see that there are many
-files with an extension corresponding to the compression algorithm you
-chose. These files are standard files that can be opened by various
+If you open a remote wrapped by compress, you will see that there are
+many files with an extension corresponding to the compression algorithm
+you chose. These files are standard files that can be opened by various
archive programs, but they have some hidden metadata that allows them to
be used by rclone. While you may download and decompress these files at
will, do NOT manually delete or rename files. Files without correct
@@ -20026,7 +20882,7 @@ file and the # part is base64 encoded size of the uncompressed file. The
file names should not be changed by anything other than the rclone
compression backend.
-Standard Options
+Standard options
Here are the standard options specific to compress (Compress a remote).
@@ -20051,7 +20907,7 @@ Compression mode.
- "gzip"
- Standard gzip compression with fastest parameters.
-Advanced Options
+Advanced options
Here are the advanced options specific to compress (Compress a remote).
@@ -20059,13 +20915,12 @@ Here are the advanced options specific to compress (Compress a remote).
GZIP compression level (-2 to 9).
- Generally -1 (default, equivalent to 5) is recommended.
- Levels 1 to 9 increase compressiong at the cost of speed.. Going past 6
- generally offers very little return.
-
- Level -2 uses Huffmann encoding only. Only use if you now what you
- are doing
- Level 0 turns off compression.
+Generally -1 (default, equivalent to 5) is recommended. Levels 1 to 9
+increase compression at the cost of speed. Going past 6 generally offers
+very little return.
+
+Level -2 uses Huffmann encoding only. Only use if you know what you are
+doing. Level 0 turns off compression.
- Config: level
- Env Var: RCLONE_COMPRESS_LEVEL
@@ -20077,8 +20932,8 @@ GZIP compression level (-2 to 9).
Some remotes don't allow the upload of files with unknown size. In this
case the compressed file will need to be cached to determine it's size.
- Files smaller than this limit will be cached in RAM, file larger than
- this limit will be cached on disk
+Files smaller than this limit will be cached in RAM, files larger than
+this limit will be cached on disk.
- Config: ram_cache_limit
- Env Var: RCLONE_COMPRESS_RAM_CACHE_LIMIT
@@ -20095,6 +20950,9 @@ Paths are specified as remote:path
Dropbox paths may be as deep as required, e.g.
remote:directory/subdirectory.
+
+Configuration
+
The initial setup for dropbox involves getting a token from Dropbox
which you need to do in your browser. rclone config walks you through
it.
@@ -20254,13 +21112,15 @@ completes is recommended. Or you could do an initial transfer with
Note that there may be a pause when quitting rclone while rclone
finishes up the last batch using this mode.
-Standard Options
+Standard options
Here are the standard options specific to dropbox (Dropbox).
--dropbox-client-id
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+
+Leave blank normally.
- Config: client_id
- Env Var: RCLONE_DROPBOX_CLIENT_ID
@@ -20269,14 +21129,16 @@ OAuth Client Id Leave blank normally.
--dropbox-client-secret
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+
+Leave blank normally.
- Config: client_secret
- Env Var: RCLONE_DROPBOX_CLIENT_SECRET
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to dropbox (Dropbox).
@@ -20291,7 +21153,9 @@ OAuth Access Token as a JSON blob.
--dropbox-auth-url
-Auth server URL. Leave blank to use the provider defaults.
+Auth server URL.
+
+Leave blank to use the provider defaults.
- Config: auth_url
- Env Var: RCLONE_DROPBOX_AUTH_URL
@@ -20300,7 +21164,9 @@ Auth server URL. Leave blank to use the provider defaults.
--dropbox-token-url
-Token server url. Leave blank to use the provider defaults.
+Token server url.
+
+Leave blank to use the provider defaults.
- Config: token_url
- Env Var: RCLONE_DROPBOX_TOKEN_URL
@@ -20309,7 +21175,7 @@ Token server url. Leave blank to use the provider defaults.
--dropbox-chunk-size
-Upload chunk size. (< 150Mi).
+Upload chunk size (< 150Mi).
Any files larger than this will be uploaded in chunks of this size.
@@ -20429,7 +21295,7 @@ throughput.
--dropbox-batch-timeout
-Max time to allow an idle upload batch before uploading
+Max time to allow an idle upload batch before uploading.
If an upload batch is idle for more than this long then it will be
uploaded.
@@ -20446,17 +21312,27 @@ default based on the batch_mode in use.
- Type: Duration
- Default: 0s
+--dropbox-batch-commit-timeout
+
+Max time to wait for a batch to finish comitting
+
+- Config: batch_commit_timeout
+- Env Var: RCLONE_DROPBOX_BATCH_COMMIT_TIMEOUT
+- Type: Duration
+- Default: 10m0s
+
--dropbox-encoding
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_DROPBOX_ENCODING
- Type: MultiEncoder
- Default: Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot
+
Limitations
Note that Dropbox is case insensitive so you can't have a file called
@@ -20484,6 +21360,7 @@ non-personal account otherwise the visibility may not be correct. (Note
that --expire isn't supported on personal accounts). See the forum
discussion and the dropbox SDK issue.
+
Get your own Dropbox App ID
When you use rclone with Dropbox in its default configuration you are
@@ -20527,6 +21404,9 @@ This backend supports Storage Made Easy's Enterprise File Fabric™ which
provides a software solution to integrate and unify File and Object
Storage accessible through a global file system.
+
+Configuration
+
The initial setup for the Enterprise File Fabric backend involves
getting a token from the the Enterprise File Fabric which you need to do
in your browser. rclone config walks you through it.
@@ -20663,14 +21543,14 @@ but you can use rclone lsf to find them, for example
The ID for "S3 Storage" would be 120673761.
-Standard Options
+Standard options
Here are the standard options specific to filefabric (Enterprise File
Fabric).
--filefabric-url
-URL of the Enterprise File Fabric to connect to
+URL of the Enterprise File Fabric to connect to.
- Config: url
- Env Var: RCLONE_FILEFABRIC_URL
@@ -20686,7 +21566,9 @@ URL of the Enterprise File Fabric to connect to
--filefabric-root-folder-id
-ID of the root folder Leave blank normally.
+ID of the root folder.
+
+Leave blank normally.
Fill in to make rclone start with directory of a given ID.
@@ -20697,7 +21579,7 @@ Fill in to make rclone start with directory of a given ID.
--filefabric-permanent-token
-Permanent Authentication Token
+Permanent Authentication Token.
A Permanent Authentication Token can be created in the Enterprise File
Fabric, on the users Dashboard under Security, there is an entry you'll
@@ -20714,14 +21596,14 @@ https://docs.storagemadeeasy.com/organisationcloud/api-tokens
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to filefabric (Enterprise File
Fabric).
--filefabric-token
-Session Token
+Session Token.
This is a session token which rclone caches in the config file. It is
usually valid for 1 hour.
@@ -20735,7 +21617,7 @@ Don't set this value - rclone will set it automatically.
--filefabric-token-expiry
-Token expiry time
+Token expiry time.
Don't set this value - rclone will set it automatically.
@@ -20746,7 +21628,7 @@ Don't set this value - rclone will set it automatically.
--filefabric-version
-Version read from the file fabric
+Version read from the file fabric.
Don't set this value - rclone will set it automatically.
@@ -20759,7 +21641,7 @@ Don't set this value - rclone will set it automatically.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_FILEFABRIC_ENCODING
@@ -20780,6 +21662,9 @@ Paths are specified as remote:path. If the path does not begin with a /
it is relative to the home directory of the user. An empty path remote:
refers to the user's home directory.
+
+Configuration
+
To create an FTP configuration named remote, run
rclone config
@@ -20872,180 +21757,6 @@ Rlone FTP supports implicit FTP over TLS servers (FTPS). This has to be
enabled in the FTP backend config for the remote, or with --ftp-tls. The
default FTPS port is 990, not 21 and can be set with --ftp-port.
-Standard Options
-
-Here are the standard options specific to ftp (FTP Connection).
-
---ftp-host
-
-FTP host to connect to
-
-- Config: host
-- Env Var: RCLONE_FTP_HOST
-- Type: string
-- Default: ""
-- Examples:
- - "ftp.example.com"
- - Connect to ftp.example.com
-
---ftp-user
-
-FTP username, leave blank for current username, $USER
-
-- Config: user
-- Env Var: RCLONE_FTP_USER
-- Type: string
-- Default: ""
-
---ftp-port
-
-FTP port, leave blank to use default (21)
-
-- Config: port
-- Env Var: RCLONE_FTP_PORT
-- Type: string
-- Default: ""
-
---ftp-pass
-
-FTP password
-
-NB Input to this must be obscured - see rclone obscure.
-
-- Config: pass
-- Env Var: RCLONE_FTP_PASS
-- Type: string
-- Default: ""
-
---ftp-tls
-
-Use Implicit FTPS (FTP over TLS) When using implicit FTP over TLS the
-client connects using TLS right from the start which breaks
-compatibility with non-TLS-aware servers. This is usually served over
-port 990 rather than port 21. Cannot be used in combination with
-explicit FTP.
-
-- Config: tls
-- Env Var: RCLONE_FTP_TLS
-- Type: bool
-- Default: false
-
---ftp-explicit-tls
-
-Use Explicit FTPS (FTP over TLS) When using explicit FTP over TLS the
-client explicitly requests security from the server in order to upgrade
-a plain text connection to an encrypted one. Cannot be used in
-combination with implicit FTP.
-
-- Config: explicit_tls
-- Env Var: RCLONE_FTP_EXPLICIT_TLS
-- Type: bool
-- Default: false
-
-Advanced Options
-
-Here are the advanced options specific to ftp (FTP Connection).
-
---ftp-concurrency
-
-Maximum number of FTP simultaneous connections, 0 for unlimited
-
-- Config: concurrency
-- Env Var: RCLONE_FTP_CONCURRENCY
-- Type: int
-- Default: 0
-
---ftp-no-check-certificate
-
-Do not verify the TLS certificate of the server
-
-- Config: no_check_certificate
-- Env Var: RCLONE_FTP_NO_CHECK_CERTIFICATE
-- Type: bool
-- Default: false
-
---ftp-disable-epsv
-
-Disable using EPSV even if server advertises support
-
-- Config: disable_epsv
-- Env Var: RCLONE_FTP_DISABLE_EPSV
-- Type: bool
-- Default: false
-
---ftp-disable-mlsd
-
-Disable using MLSD even if server advertises support
-
-- Config: disable_mlsd
-- Env Var: RCLONE_FTP_DISABLE_MLSD
-- Type: bool
-- Default: false
-
---ftp-idle-timeout
-
-Max time before closing idle connections
-
-If no connections have been returned to the connection pool in the time
-given, rclone will empty the connection pool.
-
-Set to 0 to keep connections indefinitely.
-
-- Config: idle_timeout
-- Env Var: RCLONE_FTP_IDLE_TIMEOUT
-- Type: Duration
-- Default: 1m0s
-
---ftp-close-timeout
-
-Maximum time to wait for a response to close.
-
-- Config: close_timeout
-- Env Var: RCLONE_FTP_CLOSE_TIMEOUT
-- Type: Duration
-- Default: 1m0s
-
---ftp-encoding
-
-This sets the encoding for the backend.
-
-See: the encoding section in the overview for more info.
-
-- Config: encoding
-- Env Var: RCLONE_FTP_ENCODING
-- Type: MultiEncoder
-- Default: Slash,Del,Ctl,RightSpace,Dot
-
-Limitations
-
-Modified times are not supported. Times you see on the FTP server
-through rclone are those of upload.
-
-Rclone's FTP backend does not support any checksums but can compare file
-sizes.
-
-rclone about is not supported by the FTP backend. Backends without this
-capability cannot determine free space for an rclone mount or use policy
-mfs (most free space) as a member of an rclone union remote.
-
-See List of backends that do not support rclone about See rclone about
-
-The implementation of : --dump headers, --dump bodies, --dump auth for
-debugging isn't the same as for rclone HTTP based backends - it has less
-fine grained control.
-
---timeout isn't supported (but --contimeout is).
-
---bind isn't supported.
-
-Rclone's FTP backend could support server-side move but does not at
-present.
-
-The ftp_proxy environment variable is not currently supported.
-
-FTP servers acting as rclone remotes must support 'passive' mode.
-Rclone's FTP implementation is not compatible with 'active' mode.
-
Restricted filename characters
In addition to the default restricted characters set the following
@@ -21065,6 +21776,256 @@ Not all FTP servers can have all characters in file names, for example:
proftpd *
pureftpd \ [ ]
+This backend's interactive configuration wizard provides a selection of
+sensible encoding settings for major FTP servers: ProFTPd, PureFTPd,
+VsFTPd. Just hit a selection number when prompted.
+
+Standard options
+
+Here are the standard options specific to ftp (FTP Connection).
+
+--ftp-host
+
+FTP host to connect to.
+
+E.g. "ftp.example.com".
+
+- Config: host
+- Env Var: RCLONE_FTP_HOST
+- Type: string
+- Default: ""
+
+--ftp-user
+
+FTP username, leave blank for current username, $USER.
+
+- Config: user
+- Env Var: RCLONE_FTP_USER
+- Type: string
+- Default: ""
+
+--ftp-port
+
+FTP port, leave blank to use default (21).
+
+- Config: port
+- Env Var: RCLONE_FTP_PORT
+- Type: string
+- Default: ""
+
+--ftp-pass
+
+FTP password.
+
+NB Input to this must be obscured - see rclone obscure.
+
+- Config: pass
+- Env Var: RCLONE_FTP_PASS
+- Type: string
+- Default: ""
+
+--ftp-tls
+
+Use Implicit FTPS (FTP over TLS).
+
+When using implicit FTP over TLS the client connects using TLS right
+from the start which breaks compatibility with non-TLS-aware servers.
+This is usually served over port 990 rather than port 21. Cannot be used
+in combination with explicit FTP.
+
+- Config: tls
+- Env Var: RCLONE_FTP_TLS
+- Type: bool
+- Default: false
+
+--ftp-explicit-tls
+
+Use Explicit FTPS (FTP over TLS).
+
+When using explicit FTP over TLS the client explicitly requests security
+from the server in order to upgrade a plain text connection to an
+encrypted one. Cannot be used in combination with implicit FTP.
+
+- Config: explicit_tls
+- Env Var: RCLONE_FTP_EXPLICIT_TLS
+- Type: bool
+- Default: false
+
+Advanced options
+
+Here are the advanced options specific to ftp (FTP Connection).
+
+--ftp-concurrency
+
+Maximum number of FTP simultaneous connections, 0 for unlimited.
+
+- Config: concurrency
+- Env Var: RCLONE_FTP_CONCURRENCY
+- Type: int
+- Default: 0
+
+--ftp-no-check-certificate
+
+Do not verify the TLS certificate of the server.
+
+- Config: no_check_certificate
+- Env Var: RCLONE_FTP_NO_CHECK_CERTIFICATE
+- Type: bool
+- Default: false
+
+--ftp-disable-epsv
+
+Disable using EPSV even if server advertises support.
+
+- Config: disable_epsv
+- Env Var: RCLONE_FTP_DISABLE_EPSV
+- Type: bool
+- Default: false
+
+--ftp-disable-mlsd
+
+Disable using MLSD even if server advertises support.
+
+- Config: disable_mlsd
+- Env Var: RCLONE_FTP_DISABLE_MLSD
+- Type: bool
+- Default: false
+
+--ftp-writing-mdtm
+
+Use MDTM to set modification time (VsFtpd quirk)
+
+- Config: writing_mdtm
+- Env Var: RCLONE_FTP_WRITING_MDTM
+- Type: bool
+- Default: false
+
+--ftp-idle-timeout
+
+Max time before closing idle connections.
+
+If no connections have been returned to the connection pool in the time
+given, rclone will empty the connection pool.
+
+Set to 0 to keep connections indefinitely.
+
+- Config: idle_timeout
+- Env Var: RCLONE_FTP_IDLE_TIMEOUT
+- Type: Duration
+- Default: 1m0s
+
+--ftp-close-timeout
+
+Maximum time to wait for a response to close.
+
+- Config: close_timeout
+- Env Var: RCLONE_FTP_CLOSE_TIMEOUT
+- Type: Duration
+- Default: 1m0s
+
+--ftp-tls-cache-size
+
+Size of TLS session cache for all control and data connections.
+
+TLS cache allows to resume TLS sessions and reuse PSK between
+connections. Increase if default size is not enough resulting in TLS
+resumption errors. Enabled by default. Use 0 to disable.
+
+- Config: tls_cache_size
+- Env Var: RCLONE_FTP_TLS_CACHE_SIZE
+- Type: int
+- Default: 32
+
+--ftp-disable-tls13
+
+Disable TLS 1.3 (workaround for FTP servers with buggy TLS)
+
+- Config: disable_tls13
+- Env Var: RCLONE_FTP_DISABLE_TLS13
+- Type: bool
+- Default: false
+
+--ftp-shut-timeout
+
+Maximum time to wait for data connection closing status.
+
+- Config: shut_timeout
+- Env Var: RCLONE_FTP_SHUT_TIMEOUT
+- Type: Duration
+- Default: 1m0s
+
+--ftp-encoding
+
+This sets the encoding for the backend.
+
+See the encoding section in the overview for more info.
+
+- Config: encoding
+- Env Var: RCLONE_FTP_ENCODING
+- Type: MultiEncoder
+- Default: Slash,Del,Ctl,RightSpace,Dot
+- Examples:
+ - "Asterisk,Ctl,Dot,Slash"
+ - ProFTPd can't handle '*' in file names
+ - "BackSlash,Ctl,Del,Dot,RightSpace,Slash,SquareBracket"
+ - PureFTPd can't handle '[]' or '*' in file names
+ - "Ctl,LeftPeriod,Slash"
+ - VsFTPd can't handle file names starting with dot
+
+
+Limitations
+
+FTP servers acting as rclone remotes must support passive mode. The mode
+cannot be configured as passive is the only supported one. Rclone's FTP
+implementation is not compatible with active mode as the library it uses
+doesn't support it. This will likely never be supported due to security
+concerns.
+
+Rclone's FTP backend does not support any checksums but can compare file
+sizes.
+
+rclone about is not supported by the FTP backend. Backends without this
+capability cannot determine free space for an rclone mount or use policy
+mfs (most free space) as a member of an rclone union remote.
+
+See List of backends that do not support rclone about See rclone about
+
+The implementation of : --dump headers, --dump bodies, --dump auth for
+debugging isn't the same as for rclone HTTP based backends - it has less
+fine grained control.
+
+--timeout isn't supported (but --contimeout is).
+
+--bind isn't supported.
+
+Rclone's FTP backend could support server-side move but does not at
+present.
+
+The ftp_proxy environment variable is not currently supported.
+
+Modified time
+
+File modification time (timestamps) is supported to 1 second resolution
+for major FTP servers: ProFTPd, PureFTPd, VsFTPd, and FileZilla FTP
+server. The VsFTPd server has non-standard implementation of time
+related protocol commands and needs a special configuration setting:
+writing_mdtm = true.
+
+Support for precise file time with other FTP servers varies depending on
+what protocol extensions they advertise. If all the MLSD, MDTM and MFTM
+extensions are present, rclone will use them together to provide precise
+time. Otherwise the times you see on the FTP server through rclone are
+those of the last file upload.
+
+You can use the following command to check whether rclone can use
+precise time with your FTP server:
+rclone backend features your_ftp_remote: (the trailing colon is
+important). Look for the number in the line tagged by Precision
+designating the remote time precision expressed as nanoseconds. A value
+of 1000000000 means that file time precision of 1 second is available. A
+value of 3153600000000000000 (or another large number) means
+"unsupported".
+
GOOGLE CLOUD STORAGE
@@ -21073,6 +22034,9 @@ GOOGLE CLOUD STORAGE
Paths are specified as remote:bucket (or remote: for the lsd command.)
You may put subdirectories in too, e.g. remote:bucket/path/to/dir.
+
+Configuration
+
The initial setup for google cloud storage involves getting a token from
Google Cloud Storage which you need to do in your browser. rclone config
walks you through it.
@@ -21326,14 +22290,16 @@ Restricted filename characters
Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON
strings.
-Standard Options
+Standard options
Here are the standard options specific to google cloud storage (Google
Cloud Storage (this is not Google Drive)).
--gcs-client-id
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+
+Leave blank normally.
- Config: client_id
- Env Var: RCLONE_GCS_CLIENT_ID
@@ -21342,7 +22308,9 @@ OAuth Client Id Leave blank normally.
--gcs-client-secret
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+
+Leave blank normally.
- Config: client_secret
- Env Var: RCLONE_GCS_CLIENT_SECRET
@@ -21351,8 +22319,10 @@ OAuth Client Secret Leave blank normally.
--gcs-project-number
-Project number. Optional - needed only for list/create/delete buckets -
-see your developer console.
+Project number.
+
+Optional - needed only for list/create/delete buckets - see your
+developer console.
- Config: project_number
- Env Var: RCLONE_GCS_PROJECT_NUMBER
@@ -21361,8 +22331,10 @@ see your developer console.
--gcs-service-account-file
-Service Account Credentials JSON file path Leave blank normally. Needed
-only if you want use SA instead of interactive login.
+Service Account Credentials JSON file path.
+
+Leave blank normally. Needed only if you want use SA instead of
+interactive login.
Leading ~ will be expanded in the file name as will environment
variables such as ${RCLONE_CONFIG_DIR}.
@@ -21374,8 +22346,10 @@ variables such as ${RCLONE_CONFIG_DIR}.
--gcs-service-account-credentials
-Service Account Credentials JSON blob Leave blank normally. Needed only
-if you want use SA instead of interactive login.
+Service Account Credentials JSON blob.
+
+Leave blank normally. Needed only if you want use SA instead of
+interactive login.
- Config: service_account_credentials
- Env Var: RCLONE_GCS_SERVICE_ACCOUNT_CREDENTIALS
@@ -21384,8 +22358,10 @@ if you want use SA instead of interactive login.
--gcs-anonymous
-Access public buckets and objects without credentials Set to 'true' if
-you just want to download files and don't configure credentials.
+Access public buckets and objects without credentials.
+
+Set to 'true' if you just want to download files and don't configure
+credentials.
- Config: anonymous
- Env Var: RCLONE_GCS_ANONYMOUS
@@ -21402,22 +22378,23 @@ Access Control List for new objects.
- Default: ""
- Examples:
- "authenticatedRead"
- - Object owner gets OWNER access, and all Authenticated Users
- get READER access.
+ - Object owner gets OWNER access.
+ - All Authenticated Users get READER access.
- "bucketOwnerFullControl"
- - Object owner gets OWNER access, and project team owners get
- OWNER access.
+ - Object owner gets OWNER access.
+ - Project team owners get OWNER access.
- "bucketOwnerRead"
- - Object owner gets OWNER access, and project team owners get
- READER access.
+ - Object owner gets OWNER access.
+ - Project team owners get READER access.
- "private"
- - Object owner gets OWNER access [default if left blank].
+ - Object owner gets OWNER access.
+ - Default if left blank.
- "projectPrivate"
- - Object owner gets OWNER access, and project team members get
- access according to their roles.
+ - Object owner gets OWNER access.
+ - Project team members get access according to their roles.
- "publicRead"
- - Object owner gets OWNER access, and all Users get READER
- access.
+ - Object owner gets OWNER access.
+ - All Users get READER access.
--gcs-bucket-acl
@@ -21429,19 +22406,19 @@ Access Control List for new buckets.
- Default: ""
- Examples:
- "authenticatedRead"
- - Project team owners get OWNER access, and all Authenticated
- Users get READER access.
+ - Project team owners get OWNER access.
+ - All Authenticated Users get READER access.
- "private"
- - Project team owners get OWNER access [default if left
- blank].
+ - Project team owners get OWNER access.
+ - Default if left blank.
- "projectPrivate"
- Project team members get access according to their roles.
- "publicRead"
- - Project team owners get OWNER access, and all Users get
- READER access.
+ - Project team owners get OWNER access.
+ - All Users get READER access.
- "publicReadWrite"
- - Project team owners get OWNER access, and all Users get
- WRITER access.
+ - Project team owners get OWNER access.
+ - All Users get WRITER access.
--gcs-bucket-policy-only
@@ -21473,45 +22450,45 @@ Location for the newly created buckets.
- Default: ""
- Examples:
- ""
- - Empty for default location (US).
+ - Empty for default location (US)
- "asia"
- - Multi-regional location for Asia.
+ - Multi-regional location for Asia
- "eu"
- - Multi-regional location for Europe.
+ - Multi-regional location for Europe
- "us"
- - Multi-regional location for United States.
+ - Multi-regional location for United States
- "asia-east1"
- - Taiwan.
+ - Taiwan
- "asia-east2"
- - Hong Kong.
+ - Hong Kong
- "asia-northeast1"
- - Tokyo.
+ - Tokyo
- "asia-south1"
- - Mumbai.
+ - Mumbai
- "asia-southeast1"
- - Singapore.
+ - Singapore
- "australia-southeast1"
- - Sydney.
+ - Sydney
- "europe-north1"
- - Finland.
+ - Finland
- "europe-west1"
- - Belgium.
+ - Belgium
- "europe-west2"
- - London.
+ - London
- "europe-west3"
- - Frankfurt.
+ - Frankfurt
- "europe-west4"
- - Netherlands.
+ - Netherlands
- "us-central1"
- - Iowa.
+ - Iowa
- "us-east1"
- - South Carolina.
+ - South Carolina
- "us-east4"
- - Northern Virginia.
+ - Northern Virginia
- "us-west1"
- - Oregon.
+ - Oregon
- "us-west2"
- - California.
+ - California
--gcs-storage-class
@@ -21537,7 +22514,7 @@ The storage class to use when storing objects in Google Cloud Storage.
- "DURABLE_REDUCED_AVAILABILITY"
- Durable reduced availability storage class
-Advanced Options
+Advanced options
Here are the advanced options specific to google cloud storage (Google
Cloud Storage (this is not Google Drive)).
@@ -21553,7 +22530,9 @@ OAuth Access Token as a JSON blob.
--gcs-auth-url
-Auth server URL. Leave blank to use the provider defaults.
+Auth server URL.
+
+Leave blank to use the provider defaults.
- Config: auth_url
- Env Var: RCLONE_GCS_AUTH_URL
@@ -21562,7 +22541,9 @@ Auth server URL. Leave blank to use the provider defaults.
--gcs-token-url
-Token server url. Leave blank to use the provider defaults.
+Token server url.
+
+Leave blank to use the provider defaults.
- Config: token_url
- Env Var: RCLONE_GCS_TOKEN_URL
@@ -21573,13 +22554,14 @@ Token server url. Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_GCS_ENCODING
- Type: MultiEncoder
- Default: Slash,CrLf,InvalidUtf8,Dot
+
Limitations
rclone about is not supported by the Google Cloud Storage backend.
@@ -21599,6 +22581,9 @@ Paths are specified as drive:path
Drive paths may be as deep as required, e.g.
drive:directory/subdirectory.
+
+Configuration
+
The initial setup for drive involves getting a token from Google drive
which you need to do in your browser. rclone config walks you through
it.
@@ -21842,7 +22827,7 @@ There's a few steps we need to go through to accomplish this:
scope> # Select your scope, 1 for example
root_folder_id> # Can be left blank
service_account_file> /home/foo/myJSONfile.json # This is where the JSON file goes!
- y/n> # Auto config, y
+ y/n> # Auto config, n
4. Verify that it's working
@@ -21860,8 +22845,7 @@ is unable to access the contents of that folder when using
--drive-impersonate, do this instead: - in the gdrive web interface,
share your root folder with the user/email of the new Service Account
you created/selected at step #1 - use rclone without specifying the
---drive-impersonate option, like this:
-rclone -v [email protected] lsf gdrive:backup
+--drive-impersonate option, like this: rclone -v lsf gdrive:backup
Shared drives (team drives)
@@ -22160,7 +23144,7 @@ Documents.
url INI style link file macOS, Windows
webloc macOS specific XML format macOS
-Standard Options
+Standard options
Here are the standard options specific to drive (Google Drive).
@@ -22178,7 +23162,9 @@ low performance.
--drive-client-secret
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+
+Leave blank normally.
- Config: client_secret
- Env Var: RCLONE_DRIVE_CLIENT_SECRET
@@ -22212,7 +23198,7 @@ Scope that rclone should use when requesting access from drive.
--drive-root-folder-id
-ID of the root folder Leave blank normally.
+ID of the root folder. Leave blank normally.
Fill in to access "Computers" folders (see docs), or for rclone to use a
non root folder as its starting point.
@@ -22224,8 +23210,10 @@ non root folder as its starting point.
--drive-service-account-file
-Service Account Credentials JSON file path Leave blank normally. Needed
-only if you want use SA instead of interactive login.
+Service Account Credentials JSON file path.
+
+Leave blank normally. Needed only if you want use SA instead of
+interactive login.
Leading ~ will be expanded in the file name as will environment
variables such as ${RCLONE_CONFIG_DIR}.
@@ -22237,14 +23225,14 @@ variables such as ${RCLONE_CONFIG_DIR}.
--drive-alternate-export
-Deprecated: no longer needed
+Deprecated: No longer needed.
- Config: alternate_export
- Env Var: RCLONE_DRIVE_ALTERNATE_EXPORT
- Type: bool
- Default: false
-Advanced Options
+Advanced options
Here are the advanced options specific to drive (Google Drive).
@@ -22259,7 +23247,9 @@ OAuth Access Token as a JSON blob.
--drive-auth-url
-Auth server URL. Leave blank to use the provider defaults.
+Auth server URL.
+
+Leave blank to use the provider defaults.
- Config: auth_url
- Env Var: RCLONE_DRIVE_AUTH_URL
@@ -22268,7 +23258,9 @@ Auth server URL. Leave blank to use the provider defaults.
--drive-token-url
-Token server url. Leave blank to use the provider defaults.
+Token server url.
+
+Leave blank to use the provider defaults.
- Config: token_url
- Env Var: RCLONE_DRIVE_TOKEN_URL
@@ -22277,8 +23269,10 @@ Token server url. Leave blank to use the provider defaults.
--drive-service-account-credentials
-Service Account Credentials JSON blob Leave blank normally. Needed only
-if you want use SA instead of interactive login.
+Service Account Credentials JSON blob.
+
+Leave blank normally. Needed only if you want use SA instead of
+interactive login.
- Config: service_account_credentials
- Env Var: RCLONE_DRIVE_SERVICE_ACCOUNT_CREDENTIALS
@@ -22287,7 +23281,7 @@ if you want use SA instead of interactive login.
--drive-team-drive
-ID of the Shared Drive (Team Drive)
+ID of the Shared Drive (Team Drive).
- Config: team_drive
- Env Var: RCLONE_DRIVE_TEAM_DRIVE
@@ -22305,9 +23299,10 @@ Only consider files owned by the authenticated user.
--drive-use-trash
-Send files to the trash instead of deleting permanently. Defaults to
-true, namely sending files to the trash. Use --drive-use-trash=false to
-delete files permanently instead.
+Send files to the trash instead of deleting permanently.
+
+Defaults to true, namely sending files to the trash. Use
+--drive-use-trash=false to delete files permanently instead.
- Config: use_trash
- Env Var: RCLONE_DRIVE_USE_TRASH
@@ -22316,8 +23311,9 @@ delete files permanently instead.
--drive-skip-gdocs
-Skip google documents in all listings. If given, gdocs practically
-become invisible to rclone.
+Skip google documents in all listings.
+
+If given, gdocs practically become invisible to rclone.
- Config: skip_gdocs
- Env Var: RCLONE_DRIVE_SKIP_GDOCS
@@ -22362,8 +23358,9 @@ This works both with the "list" (lsd, lsl, etc.) and the "copy" commands
--drive-trashed-only
-Only show files that are in the trash. This will show trashed files in
-their original directory structure.
+Only show files that are in the trash.
+
+This will show trashed files in their original directory structure.
- Config: trashed_only
- Env Var: RCLONE_DRIVE_TRASHED_ONLY
@@ -22381,7 +23378,7 @@ Only show files that are starred.
--drive-formats
-Deprecated: see export_formats
+Deprecated: See export_formats.
- Config: formats
- Env Var: RCLONE_DRIVE_FORMATS
@@ -22408,8 +23405,10 @@ Comma separated list of preferred formats for uploading Google docs.
--drive-allow-import-name-change
-Allow the filetype to change when uploading Google docs (e.g. file.doc
-to file.docx). This will confuse sync and reupload every time.
+Allow the filetype to change when uploading Google docs.
+
+E.g. file.doc to file.docx. This will confuse sync and reupload every
+time.
- Config: allow_import_name_change
- Env Var: RCLONE_DRIVE_ALLOW_IMPORT_NAME_CHANGE
@@ -22418,7 +23417,7 @@ to file.docx). This will confuse sync and reupload every time.
--drive-use-created-date
-Use file created date instead of modified date.,
+Use file created date instead of modified date.
Useful when downloading data and you want the creation date used in
place of the last modified date.
@@ -22458,7 +23457,7 @@ date is used.
--drive-list-chunk
-Size of listing chunk 100-1000. 0 to disable.
+Size of listing chunk 100-1000, 0 to disable.
- Config: list_chunk
- Env Var: RCLONE_DRIVE_LIST_CHUNK
@@ -22476,7 +23475,7 @@ Impersonate this user when using a service account.
--drive-upload-cutoff
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
- Config: upload_cutoff
- Env Var: RCLONE_DRIVE_UPLOAD_CUTOFF
@@ -22485,7 +23484,9 @@ Cutoff for switching to chunked upload
--drive-chunk-size
-Upload chunk size. Must a power of 2 >= 256k.
+Upload chunk size.
+
+Must a power of 2 >= 256k.
Making this larger will improve performance, but note that each chunk is
buffered in memory one per transfer.
@@ -22586,7 +23587,7 @@ it isn't easy to tell if it will work between any two configurations.
--drive-disable-http2
-Disable drive using http2
+Disable drive using http2.
There is currently an unsolved issue with the google drive backend and
HTTP/2. HTTP/2 is therefore disabled by default for the drive backend
@@ -22602,7 +23603,7 @@ See: https://github.com/rclone/rclone/issues/3631
--drive-stop-on-upload-limit
-Make upload limit errors be fatal
+Make upload limit errors be fatal.
At the time of writing it is only possible to upload 750 GiB of data to
Google Drive a day (this is an undocumented limit). When this limit is
@@ -22622,7 +23623,7 @@ See: https://github.com/rclone/rclone/issues/3857
--drive-stop-on-download-limit
-Make download limit errors be fatal
+Make download limit errors be fatal.
At the time of writing it is only possible to download 10 TiB of data
from Google Drive a day (this is an undocumented limit). When this limit
@@ -22640,7 +23641,7 @@ Google don't document so it may break in the future.
--drive-skip-shortcuts
-If set skip shortcut files
+If set skip shortcut files.
Normally rclone dereferences shortcut files making them appear as if
they are the original file (see the shortcuts section). If this flag is
@@ -22655,13 +23656,14 @@ set then rclone will ignore shortcut files completely.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_DRIVE_ENCODING
- Type: MultiEncoder
- Default: InvalidUtf8
+
Backend commands
Here are the commands specific to the drive backend.
@@ -22754,7 +23756,7 @@ account.
Usage:
- rclone backend drives drive:
+ rclone backend [-o config] drives drive:
This will return a JSON list of objects like this
@@ -22771,6 +23773,22 @@ This will return a JSON list of objects like this
}
]
+With the -o config parameter it will output the list in a format
+suitable for adding to a config file to make aliases for all the drives
+found.
+
+ [My Drive]
+ type = alias
+ remote = drive,team_drive=0ABCDEF-01234567890,root_folder_id=:
+
+ [Test Drive]
+ type = alias
+ remote = drive,team_drive=0ABCDEFabcdefghijkl,root_folder_id=:
+
+Adding this to the rclone config file will cause those team drives to be
+accessible with the aliases shown. This may require manual editing of
+the names.
+
untrash
Untrash files and directories
@@ -22823,11 +23841,12 @@ attempted if possible.
Use the -i flag to see what would be copied before copying.
+
Limitations
Drive has quite a lot of rate limiting. This causes rclone to be limited
to transferring about 2 files per second only. Individual files may be
-transferred much faster at 100s of MiByte/s but lots of small files can
+transferred much faster at 100s of MiB/s but lots of small files can
take a long time.
Server side copies are also subject to a separate rate limit. If you see
@@ -22882,6 +23901,7 @@ Waiting a moderate period of time between attempts (estimated to be
approximately 1 hour) and/or not using --fast-list both seem to be
effective in preventing the problem.
+
Making your own client_id
When you use rclone with Google drive in its default configuration you
@@ -22926,9 +23946,8 @@ of "External" above, but this has not been tested/documented so far).
6. Click on the "+ CREATE CREDENTIALS" button at the top of the screen,
then select "OAuth client ID".
-7. Choose an application type of "Desktop app" if you using a Google
- account or "Other" if you using a GSuite account and click "Create".
- (the default name is fine)
+7. Choose an application type of "Desktop app" and click "Create". (the
+ default name is fine)
8. It will show you a client ID and client secret. Make a note of
these.
@@ -22937,6 +23956,9 @@ of "External" above, but this has not been tested/documented so far).
10. Provide the noted client ID and client secret to rclone.
+11. Click "OAuth consent screen", then click "PUBLISH APP" button and
+ confirm, or add your account under "Test users".
+
Be aware that, due to the "enhanced security" recently introduced by
Google, you are theoretically expected to "submit your app for
verification" and then wait a few weeks(!) for their response; in
@@ -22969,7 +23991,7 @@ so please read the limitations section carefully to make sure it is
suitable for your use.
-Configuring Google Photos
+Configuration
The initial setup for google cloud storage involves getting a token from
Google Photos which you need to do in your browser. rclone config walks
@@ -23067,7 +24089,6 @@ in the album.
rclone sync -i /home/local/image remote:album/newAlbum
-
Layout
As Google Photos is not a general purpose cloud storage system the
@@ -23171,6 +24192,136 @@ filesystem and it is a good target for repeated syncing.
The shared-album directory shows albums shared with you or by you. This
is similar to the Sharing tab in the Google Photos web interface.
+Standard options
+
+Here are the standard options specific to google photos (Google Photos).
+
+--gphotos-client-id
+
+OAuth Client Id.
+
+Leave blank normally.
+
+- Config: client_id
+- Env Var: RCLONE_GPHOTOS_CLIENT_ID
+- Type: string
+- Default: ""
+
+--gphotos-client-secret
+
+OAuth Client Secret.
+
+Leave blank normally.
+
+- Config: client_secret
+- Env Var: RCLONE_GPHOTOS_CLIENT_SECRET
+- Type: string
+- Default: ""
+
+--gphotos-read-only
+
+Set to make the Google Photos backend read only.
+
+If you choose read only then rclone will only request read only access
+to your photos, otherwise rclone will request full access.
+
+- Config: read_only
+- Env Var: RCLONE_GPHOTOS_READ_ONLY
+- Type: bool
+- Default: false
+
+Advanced options
+
+Here are the advanced options specific to google photos (Google Photos).
+
+--gphotos-token
+
+OAuth Access Token as a JSON blob.
+
+- Config: token
+- Env Var: RCLONE_GPHOTOS_TOKEN
+- Type: string
+- Default: ""
+
+--gphotos-auth-url
+
+Auth server URL.
+
+Leave blank to use the provider defaults.
+
+- Config: auth_url
+- Env Var: RCLONE_GPHOTOS_AUTH_URL
+- Type: string
+- Default: ""
+
+--gphotos-token-url
+
+Token server url.
+
+Leave blank to use the provider defaults.
+
+- Config: token_url
+- Env Var: RCLONE_GPHOTOS_TOKEN_URL
+- Type: string
+- Default: ""
+
+--gphotos-read-size
+
+Set to read the size of media items.
+
+Normally rclone does not read the size of media items since this takes
+another transaction. This isn't necessary for syncing. However rclone
+mount needs to know the size of files in advance of reading them, so
+setting this flag when using rclone mount is recommended if you want to
+read the media.
+
+- Config: read_size
+- Env Var: RCLONE_GPHOTOS_READ_SIZE
+- Type: bool
+- Default: false
+
+--gphotos-start-year
+
+Year limits the photos to be downloaded to those which are uploaded
+after the given year.
+
+- Config: start_year
+- Env Var: RCLONE_GPHOTOS_START_YEAR
+- Type: int
+- Default: 2000
+
+--gphotos-include-archived
+
+Also view and download archived media.
+
+By default rclone does not request archived media. Thus, when syncing,
+archived media is not visible in directory listings or transferred.
+
+Note that media in albums is always visible and synced, no matter their
+archive status.
+
+With this flag, archived media are always visible in directory listings
+and transferred.
+
+Without this flag, archived media will not be visible in directory
+listings and won't be transferred.
+
+- Config: include_archived
+- Env Var: RCLONE_GPHOTOS_INCLUDE_ARCHIVED
+- Type: bool
+- Default: false
+
+--gphotos-encoding
+
+This sets the encoding for the backend.
+
+See the encoding section in the overview for more info.
+
+- Config: encoding
+- Env Var: RCLONE_GPHOTOS_ENCODING
+- Type: MultiEncoder
+- Default: Slash,CrLf,InvalidUtf8,Dot
+
Limitations
@@ -23270,116 +24421,325 @@ Deleting albums
The Google Photos API does not support deleting albums - see bug
#135714733.
-Standard Options
-Here are the standard options specific to google photos (Google Photos).
---gphotos-client-id
+HASHER (EXPERIMENTAL)
-OAuth Client Id Leave blank normally.
-- Config: client_id
-- Env Var: RCLONE_GPHOTOS_CLIENT_ID
-- Type: string
-- Default: ""
+Hasher is a special overlay backend to create remotes which handle
+checksums for other remotes. It's main functions include: - Emulate hash
+types unimplemented by backends - Cache checksums to help with slow
+hashing of large local or (S)FTP files - Warm up checksum cache from
+external SUM files
---gphotos-client-secret
-OAuth Client Secret Leave blank normally.
+Getting started
-- Config: client_secret
-- Env Var: RCLONE_GPHOTOS_CLIENT_SECRET
-- Type: string
-- Default: ""
+To use Hasher, first set up the underlying remote following the
+configuration instructions for that remote. You can also use a local
+pathname instead of a remote. Check that your base remote is working.
---gphotos-read-only
+Let's call the base remote myRemote:path here. Note that anything inside
+myRemote:path will be handled by hasher and anything outside won't. This
+means that if you are using a bucket based remote (S3, B2, Swift) then
+you should put the bucket in the remote s3:bucket.
-Set to make the Google Photos backend read only.
+Now proceed to interactive or manual configuration.
-If you choose read only then rclone will only request read only access
-to your photos, otherwise rclone will request full access.
+Interactive configuration
-- Config: read_only
-- Env Var: RCLONE_GPHOTOS_READ_ONLY
-- Type: bool
-- Default: false
+Run rclone config:
-Advanced Options
+ No remotes found - make a new one
+ n) New remote
+ s) Set configuration password
+ q) Quit config
+ n/s/q> n
+ name> Hasher1
+ Type of storage to configure.
+ Choose a number from below, or type in your own value
+ [snip]
+ XX / Handle checksums for other remotes
+ \ "hasher"
+ [snip]
+ Storage> hasher
+ Remote to cache checksums for, like myremote:mypath.
+ Enter a string value. Press Enter for the default ("").
+ remote> myRemote:path
+ Comma separated list of supported checksum types.
+ Enter a string value. Press Enter for the default ("md5,sha1").
+ hashsums> md5
+ Maximum time to keep checksums in cache. 0 = no cache, off = cache forever.
+ max_age> off
+ Edit advanced config? (y/n)
+ y) Yes
+ n) No
+ y/n> n
+ Remote config
+ --------------------
+ [Hasher1]
+ type = hasher
+ remote = myRemote:path
+ hashsums = md5
+ max_age = off
+ --------------------
+ y) Yes this is OK
+ e) Edit this remote
+ d) Delete this remote
+ y/e/d> y
-Here are the advanced options specific to google photos (Google Photos).
+Manual configuration
---gphotos-token
+Run rclone config path to see the path of current active config file,
+usually YOURHOME/.config/rclone/rclone.conf. Open it in your favorite
+text editor, find section for the base remote and create new section for
+hasher like in the following examples:
-OAuth Access Token as a JSON blob.
+ [Hasher1]
+ type = hasher
+ remote = myRemote:path
+ hashes = md5
+ max_age = off
-- Config: token
-- Env Var: RCLONE_GPHOTOS_TOKEN
-- Type: string
-- Default: ""
+ [Hasher2]
+ type = hasher
+ remote = /local/path
+ hashes = dropbox,sha1
+ max_age = 24h
---gphotos-auth-url
+Hasher takes basically the following parameters: - remote is required, -
+hashes is a comma separated list of supported checksums (by default
+md5,sha1), - max_age - maximum time to keep a checksum value in the
+cache, 0 will disable caching completely, off will cache "forever" (that
+is until the files get changed).
-Auth server URL. Leave blank to use the provider defaults.
+Make sure the remote has : (colon) in. If you specify the remote without
+a colon then rclone will use a local directory of that name. So if you
+use a remote of /local/path then rclone will handle hashes for that
+directory. If you use remote = name literally then rclone will put files
+IN A DIRECTORY CALLED name LOCATED UNDER CURRENT DIRECTORY.
-- Config: auth_url
-- Env Var: RCLONE_GPHOTOS_AUTH_URL
-- Type: string
-- Default: ""
---gphotos-token-url
+Usage
-Token server url. Leave blank to use the provider defaults.
+Basic operations
-- Config: token_url
-- Env Var: RCLONE_GPHOTOS_TOKEN_URL
+Now you can use it as Hasher2:subdir/file instead of base remote. Hasher
+will transparently update cache with new checksums when a file is fully
+read or overwritten, like:
+
+ rclone copy External:path/file Hasher:dest/path
+
+ rclone cat Hasher:path/to/file > /dev/null
+
+The way to refresh ALL cached checksums (even unsupported by the base
+backend) for a subtree is to RE-DOWNLOAD all files in the subtree. For
+example, use hashsum --download using ANY supported hashsum on the
+command line (we just care to re-read):
+
+ rclone hashsum MD5 --download Hasher:path/to/subtree > /dev/null
+
+ rclone backend dump Hasher:path/to/subtree
+
+You can print or drop hashsum cache using custom backend commands:
+
+ rclone backend dump Hasher:dir/subdir
+
+ rclone backend drop Hasher:
+
+Pre-Seed from a SUM File
+
+Hasher supports two backend commands: generic SUM file import and faster
+but less consistent stickyimport.
+
+ rclone backend import Hasher:dir/subdir SHA1 /path/to/SHA1SUM [--checkers 4]
+
+Instead of SHA1 it can be any hash supported by the remote. The last
+argument can point to either a local or an other-remote:path text file
+in SUM format. The command will parse the SUM file, then walk down the
+path given by the first argument, snapshot current fingerprints and fill
+in the cache entries correspondingly. - Paths in the SUM file are
+treated as relative to hasher:dir/subdir. - The command will NOT check
+that supplied values are correct. You MUST KNOW what you are doing. -
+This is a one-time action. The SUM file will not get "attached" to the
+remote. Cache entries can still be overwritten later, should the
+object's fingerprint change. - The tree walk can take long depending on
+the tree size. You can increase --checkers to make it faster. Or use
+stickyimport if you don't care about fingerprints and consistency.
+
+ rclone backend stickyimport hasher:path/to/data sha1 remote:/path/to/sum.sha1
+
+stickyimport is similar to import but works much faster because it does
+not need to stat existing files and skips initial tree walk. Instead of
+binding cache entries to file fingerprints it creates _sticky_ entries
+bound to the file name alone ignoring size, modification time etc. Such
+hash entries can be replaced only by purge, delete, backend drop or by
+full re-read/re-write of the files.
+
+
+Configuration reference
+
+Standard options
+
+Here are the standard options specific to hasher (Better checksums for
+other remotes).
+
+--hasher-remote
+
+Remote to cache checksums for (e.g. myRemote:path).
+
+- Config: remote
+- Env Var: RCLONE_HASHER_REMOTE
- Type: string
- Default: ""
---gphotos-read-size
+--hasher-hashes
-Set to read the size of media items.
+Comma separated list of supported checksum types.
-Normally rclone does not read the size of media items since this takes
-another transaction. This isn't necessary for syncing. However rclone
-mount needs to know the size of files in advance of reading them, so
-setting this flag when using rclone mount is recommended if you want to
-read the media.
+- Config: hashes
+- Env Var: RCLONE_HASHER_HASHES
+- Type: CommaSepList
+- Default: md5,sha1
-- Config: read_size
-- Env Var: RCLONE_GPHOTOS_READ_SIZE
-- Type: bool
-- Default: false
+--hasher-max-age
---gphotos-start-year
+Maximum time to keep checksums in cache (0 = no cache, off = cache
+forever).
-Year limits the photos to be downloaded to those which are uploaded
-after the given year
+- Config: max_age
+- Env Var: RCLONE_HASHER_MAX_AGE
+- Type: Duration
+- Default: off
-- Config: start_year
-- Env Var: RCLONE_GPHOTOS_START_YEAR
-- Type: int
-- Default: 2000
+Advanced options
---gphotos-include-archived
+Here are the advanced options specific to hasher (Better checksums for
+other remotes).
-Also view and download archived media.
+--hasher-auto-size
-By default rclone does not request archived media. Thus, when syncing,
-archived media is not visible in directory listings or transferred.
+Auto-update checksum for files smaller than this size (disabled by
+default).
-Note that media in albums is always visible and synced, no matter their
-archive status.
+- Config: auto_size
+- Env Var: RCLONE_HASHER_AUTO_SIZE
+- Type: SizeSuffix
+- Default: 0
-With this flag, archived media are always visible in directory listings
-and transferred.
-Without this flag, archived media will not be visible in directory
-listings and won't be transferred.
+Backend commands
-- Config: include_archived
-- Env Var: RCLONE_GPHOTOS_INCLUDE_ARCHIVED
-- Type: bool
-- Default: false
+Here are the commands specific to the hasher backend.
+
+Run them with
+
+ rclone backend COMMAND remote:
+
+The help below will explain what arguments each command takes.
+
+See the "rclone backend" command for more info on how to pass options
+and arguments.
+
+These can be run on a running backend using the rc command
+backend/command.
+
+drop
+
+Drop cache
+
+ rclone backend drop remote: [options] [<arguments>+]
+
+Completely drop checksum cache. Usage Example: rclone backend drop
+hasher:
+
+dump
+
+Dump the database
+
+ rclone backend dump remote: [options] [<arguments>+]
+
+Dump cache records covered by the current remote
+
+fulldump
+
+Full dump of the database
+
+ rclone backend fulldump remote: [options] [<arguments>+]
+
+Dump all cache records in the database
+
+import
+
+Import a SUM file
+
+ rclone backend import remote: [options] [<arguments>+]
+
+Amend hash cache from a SUM file and bind checksums to files by
+size/time. Usage Example: rclone backend import hasher:subdir md5
+/path/to/sum.md5
+
+stickyimport
+
+Perform fast import of a SUM file
+
+ rclone backend stickyimport remote: [options] [<arguments>+]
+
+Fill hash cache from a SUM file without verifying file fingerprints.
+Usage Example: rclone backend stickyimport hasher:subdir md5
+remote:path/to/sum.md5
+
+
+Implementation details (advanced)
+
+This section explains how various rclone operations work on a hasher
+remote.
+
+DISCLAIMER. THIS SECTION DESCRIBES CURRENT IMPLEMENTATION WHICH CAN
+CHANGE IN FUTURE RCLONE VERSIONS!.
+
+Hashsum command
+
+The rclone hashsum (or md5sum or sha1sum) command will:
+
+1. if requested hash is supported by lower level, just pass it.
+2. if object size is below auto_size then download object and calculate
+ _requested_ hashes on the fly.
+3. if unsupported and the size is big enough, build object fingerprint
+ (including size, modtime if supported, first-found _other_ hash if
+ any).
+4. if the strict match is found in cache for the requested remote,
+ return the stored hash.
+5. if remote found but fingerprint mismatched, then purge the entry and
+ proceed to step 6.
+6. if remote not found or had no requested hash type or after step 5:
+ download object, calculate all _supported_ hashes on the fly and
+ store in cache; return requested hash.
+
+Other operations
+
+- whenever a file is uploaded or downloaded IN FULL, capture the
+ stream to calculate all supported hashes on the fly and update
+ database
+- server-side move will update keys of existing cache entries
+- deletefile will remove a single cache entry
+- purge will remove all cache entries under the purged path
+
+Note that setting max_age = 0 will disable checksum caching completely.
+
+If you set max_age = off, checksums in cache will never age, unless you
+fully rewrite or delete the file.
+
+Cache storage
+
+Cached checksums are stored as bolt database files under rclone cache
+directory, usually ~/.cache/rclone/kv/. Databases are maintained one per
+_base_ backend, named like BaseRemote~hasher.bolt. Checksums for
+multiple alias-es into a single base backend will be stored in the
+single database. All local paths are treated as aliases into the local
+backend (unless crypted or chunked) and stored in
+~/.cache/rclone/kv/local~hasher.bolt. Databases can be shared between
+multiple rclone processes.
@@ -23390,6 +24750,9 @@ HDFS is a distributed file-system, part of the Apache Hadoop framework.
Paths are specified as remote: or remote:path/to/dir.
+
+Configuration
+
Here is an example of how to make a remote called remote. First run:
rclone config
@@ -23520,31 +24883,25 @@ characters are also replaced:
Invalid UTF-8 bytes will also be replaced.
-Limitations
-
-- No server-side Move or DirMove.
-- Checksums not implemented.
-
-Standard Options
+Standard options
Here are the standard options specific to hdfs (Hadoop distributed file
system).
--hdfs-namenode
-hadoop name node and port
+Hadoop name node and port.
+
+E.g. "namenode:8020" to connect to host namenode at port 8020.
- Config: namenode
- Env Var: RCLONE_HDFS_NAMENODE
- Type: string
- Default: ""
-- Examples:
- - "namenode:8020"
- - Connect to host namenode at port 8020
--hdfs-username
-hadoop user name
+Hadoop user name.
- Config: username
- Env Var: RCLONE_HDFS_USERNAME
@@ -23552,32 +24909,29 @@ hadoop user name
- Default: ""
- Examples:
- "root"
- - Connect to hdfs as root
+ - Connect to hdfs as root.
-Advanced Options
+Advanced options
Here are the advanced options specific to hdfs (Hadoop distributed file
system).
--hdfs-service-principal-name
-Kerberos service principal name for the namenode
+Kerberos service principal name for the namenode.
Enables KERBEROS authentication. Specifies the Service Principal Name
-(SERVICE/FQDN) for the namenode.
+(SERVICE/FQDN) for the namenode. E.g. "hdfs/namenode.hadoop.docker" for
+namenode running as service 'hdfs' with FQDN 'namenode.hadoop.docker'.
- Config: service_principal_name
- Env Var: RCLONE_HDFS_SERVICE_PRINCIPAL_NAME
- Type: string
- Default: ""
-- Examples:
- - "hdfs/namenode.hadoop.docker"
- - Namenode running as service 'hdfs' with FQDN
- 'namenode.hadoop.docker'.
--hdfs-data-transfer-protection
-Kerberos data transfer protection: authentication|integrity|privacy
+Kerberos data transfer protection: authentication|integrity|privacy.
Specifies whether or not authentication, data signature integrity
checks, and wire encryption is required when communicating the the
@@ -23596,7 +24950,7 @@ datanodes. Possible values are 'authentication', 'integrity' and
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_HDFS_ENCODING
@@ -23604,6 +24958,12 @@ See: the encoding section in the overview for more info.
- Default: Slash,Colon,Del,Ctl,InvalidUtf8,Dot
+Limitations
+
+- No server-side Move or DirMove.
+- Checksums not implemented.
+
+
HTTP
@@ -23617,6 +24977,9 @@ request!)
Paths are specified as remote: or remote:path/to/dir.
+
+Configuration
+
Here is an example of how to make a remote called remote. First run:
rclone config
@@ -23699,33 +25062,31 @@ without a config file:
rclone lsd --http-url https://beta.rclone.org :http:
-Standard Options
+Standard options
Here are the standard options specific to http (http Connection).
--http-url
-URL of http host to connect to
+URL of http host to connect to.
+
+E.g. "https://example.com", or "https://user:[email protected]" to use a
+username and password.
- Config: url
- Env Var: RCLONE_HTTP_URL
- Type: string
- Default: ""
-- Examples:
- - "https://example.com"
- - Connect to example.com
- - "https://user:[email protected]"
- - Connect to example.com using a username and password
-Advanced Options
+Advanced options
Here are the advanced options specific to http (http Connection).
--http-headers
-Set HTTP headers for all transactions
+Set HTTP headers for all transactions.
-Use this to set additional HTTP headers for all transactions
+Use this to set additional HTTP headers for all transactions.
The input format is comma separated list of key,value pairs. Standard
CSV encoding may be used.
@@ -23743,7 +25104,7 @@ You can set multiple headers, e.g.
--http-no-slash
-Set this if the site doesn't end directories with /
+Set this if the site doesn't end directories with /.
Use this if your target website does not use / on the end of
directories.
@@ -23763,7 +25124,7 @@ directories.
--http-no-head
-Don't use HEAD requests to find file sizes in dir listing
+Don't use HEAD requests to find file sizes in dir listing.
If your site is being very slow to load then you can try this option.
Normally rclone does a HEAD request for each potential file in a
@@ -23785,6 +25146,7 @@ mean
- Type: bool
- Default: false
+
Limitations
rclone about is not supported by the HTTP backend. Backends without this
@@ -23804,6 +25166,9 @@ Paths are specified as remote:container (or remote: for the lsd
command.) You may put subdirectories in too, e.g.
remote:container/path/to/dir.
+
+Configuration
+
The initial setup for Hubic involves getting a token from Hubic which
you need to do in your browser. rclone config walks you through it.
@@ -23895,13 +25260,15 @@ amongst others) for storing the modification time for an object.
Note that Hubic wraps the Swift backend, so most of the properties of
are the same.
-Standard Options
+Standard options
Here are the standard options specific to hubic (Hubic).
--hubic-client-id
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+
+Leave blank normally.
- Config: client_id
- Env Var: RCLONE_HUBIC_CLIENT_ID
@@ -23910,14 +25277,16 @@ OAuth Client Id Leave blank normally.
--hubic-client-secret
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+
+Leave blank normally.
- Config: client_secret
- Env Var: RCLONE_HUBIC_CLIENT_SECRET
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to hubic (Hubic).
@@ -23932,7 +25301,9 @@ OAuth Access Token as a JSON blob.
--hubic-auth-url
-Auth server URL. Leave blank to use the provider defaults.
+Auth server URL.
+
+Leave blank to use the provider defaults.
- Config: auth_url
- Env Var: RCLONE_HUBIC_AUTH_URL
@@ -23941,7 +25312,9 @@ Auth server URL. Leave blank to use the provider defaults.
--hubic-token-url
-Token server url. Leave blank to use the provider defaults.
+Token server url.
+
+Leave blank to use the provider defaults.
- Config: token_url
- Env Var: RCLONE_HUBIC_TOKEN_URL
@@ -23982,13 +25355,14 @@ copy operations.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_HUBIC_ENCODING
- Type: MultiEncoder
- Default: Slash,InvalidUtf8
+
Limitations
This uses the normal OpenStack Swift mechanism to refresh the Swift API
@@ -24004,19 +25378,29 @@ JOTTACLOUD
Jottacloud is a cloud storage service provider from a Norwegian company,
-using its own datacenters in Norway.
+using its own datacenters in Norway. In addition to the official service
+at jottacloud.com, it also provides white-label solutions to different
+companies, such as: * Telia * Telia Cloud (cloud.telia.se) * Telia Sky
+(sky.telia.no) * Tele2 * Tele2 Cloud (mittcloud.tele2.se) * Elkjøp (with
+subsidiaries): * Elkjøp Cloud (cloud.elkjop.no) * Elgiganten Sweden
+(cloud.elgiganten.se) * Elgiganten Denmark (cloud.elgiganten.dk) *
+Giganti Cloud (cloud.gigantti.fi) * ELKO Clouud (cloud.elko.is)
-In addition to the official service at jottacloud.com, there are also
-several whitelabel versions which should work with this backend.
+Most of the white-label versions are supported by this backend, although
+may require different authentication setup - described below.
Paths are specified as remote:path
Paths may be as deep as required, e.g. remote:directory/subdirectory.
-Setup
+Authentication types
+
+Some of the whitelabel versions uses a different authentication method
+than the official service, and you have to choose the correct one when
+setting up the remote.
-Default Setup
+Standard authentication
To configure Jottacloud you will need to generate a personal security
token in the Jottacloud web interface. You will the option to do in your
@@ -24024,15 +25408,15 @@ account security settings (for whitelabel version you need to find this
page in its web interface). Note that the web interface may refer to
this token as a JottaCli token.
-Legacy Setup
+Legacy authentication
-If you are using one of the whitelabel versions (Elgiganten, Com Hem
-Cloud) you may not have the option to generate a CLI token. In this case
+If you are using one of the whitelabel versions (e.g. from Elkjøp or
+Tele2) you may not have the option to generate a CLI token. In this case
you'll have to use the legacy authentication. To to this select yes when
the setup asks for legacy authentication and enter your username and
password. The rest of the setup is identical to the default setup.
-Telia Cloud Setup
+Telia Cloud authentication
Similar to other whitelabel versions Telia Cloud doesn't offer the
option of creating a CLI token, and additionally uses a separate
@@ -24040,7 +25424,8 @@ authentication flow where the username is generated internally. To setup
rclone to use Telia Cloud, choose Telia Cloud authentication in the
setup. The rest of the setup is identical to the default setup.
-Example
+
+Configuration
Here is an example of how to make a remote called remote with the
default setup. First run:
@@ -24211,7 +25596,7 @@ To view your current quota you can use the rclone about remote: command
which will display your usage limit (unless it is unlimited) and the
current usage.
-Advanced Options
+Advanced options
Here are the advanced options specific to jottacloud (Jottacloud).
@@ -24227,8 +25612,9 @@ required.
--jottacloud-trashed-only
-Only show files that are in the trash. This will show trashed files in
-their original directory structure.
+Only show files that are in the trash.
+
+This will show trashed files in their original directory structure.
- Config: trashed_only
- Env Var: RCLONE_JOTTACLOUD_TRASHED_ONLY
@@ -24267,7 +25653,7 @@ instead of overwriting them.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_JOTTACLOUD_ENCODING
@@ -24275,6 +25661,7 @@ See: the encoding section in the overview for more info.
- Default:
Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot
+
Limitations
Note that Jottacloud is case insensitive so you can't have a file called
@@ -24287,6 +25674,7 @@ instead.
Jottacloud only supports filenames up to 255 characters in length.
+
Troubleshooting
Jottacloud exhibits some inconsistent behaviours regarding deleted files
@@ -24303,6 +25691,9 @@ Paths are specified as remote:path
Paths may be as deep as required, e.g. remote:directory/subdirectory.
+
+Configuration
+
The initial setup for Koofr involves creating an application password
for rclone. You can do that by opening the Koofr web application, giving
the password a nice name like rclone and clicking on generate.
@@ -24387,13 +25778,13 @@ characters are also replaced:
Invalid UTF-8 bytes will also be replaced, as they can't be used in XML
strings.
-Standard Options
+Standard options
Here are the standard options specific to koofr (Koofr).
--koofr-user
-Your Koofr user name
+Your Koofr user name.
- Config: user
- Env Var: RCLONE_KOOFR_USER
@@ -24403,7 +25794,7 @@ Your Koofr user name
--koofr-password
Your Koofr password for rclone (generate one at
-https://app.koofr.net/app/admin/preferences/password)
+https://app.koofr.net/app/admin/preferences/password).
NB Input to this must be obscured - see rclone obscure.
@@ -24412,13 +25803,13 @@ NB Input to this must be obscured - see rclone obscure.
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to koofr (Koofr).
--koofr-endpoint
-The Koofr API endpoint to use
+The Koofr API endpoint to use.
- Config: endpoint
- Env Var: RCLONE_KOOFR_ENDPOINT
@@ -24427,7 +25818,9 @@ The Koofr API endpoint to use
--koofr-mountid
-Mount ID of the mount to use. If omitted, the primary mount is used.
+Mount ID of the mount to use.
+
+If omitted, the primary mount is used.
- Config: mountid
- Env Var: RCLONE_KOOFR_MOUNTID
@@ -24436,8 +25829,10 @@ Mount ID of the mount to use. If omitted, the primary mount is used.
--koofr-setmtime
-Does the backend support setting modification time. Set this to false if
-you use a mount ID that points to a Dropbox or Amazon Drive backend.
+Does the backend support setting modification time.
+
+Set this to false if you use a mount ID that points to a Dropbox or
+Amazon Drive backend.
- Config: setmtime
- Env Var: RCLONE_KOOFR_SETMTIME
@@ -24448,13 +25843,14 @@ you use a mount ID that points to a Dropbox or Amazon Drive backend.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_KOOFR_ENCODING
- Type: MultiEncoder
- Default: Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot
+
Limitations
Note that Koofr is case insensitive so you can't have a file called
@@ -24472,6 +25868,7 @@ Windows and Mac OS.
Currently it is recommended to disable 2FA on Mail.ru accounts intended
for rclone until it gets eventually implemented.
+
Features highlights
- Paths may be as deep as required, e.g. remote:directory/subdirectory
@@ -24488,6 +25885,7 @@ Features highlights
submit file hash instead of long file upload (this optimization is
supported by rclone)
+
Configuration
Here is an example of making a mailru configuration. First create a
@@ -24618,22 +26016,13 @@ characters are also replaced:
Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON
strings.
-Limitations
-
-File size limits depend on your account. A single file size is limited
-by 2G for a free account and unlimited for paid tariffs. Please refer to
-the Mail.ru site for the total uploaded size limits.
-
-Note that Mailru is case insensitive so you can't have a file called
-"Hello.doc" and one called "hello.doc".
-
-Standard Options
+Standard options
Here are the standard options specific to mailru (Mail.ru Cloud).
--mailru-user
-User name (usually email)
+User name (usually email).
- Config: user
- Env Var: RCLONE_MAILRU_USER
@@ -24642,7 +26031,7 @@ User name (usually email)
--mailru-pass
-Password
+Password.
NB Input to this must be obscured - see rclone obscure.
@@ -24653,16 +26042,17 @@ NB Input to this must be obscured - see rclone obscure.
--mailru-speedup-enable
-Skip full upload if there is another file with same data hash. This
-feature is called "speedup" or "put by hash". It is especially efficient
-in case of generally available files like popular books, video or audio
-clips, because files are searched by hash in all accounts of all mailru
-users. It is meaningless and ineffective if source file is unique or
-encrypted. Please note that rclone may need local memory and disk space
-to calculate content hash in advance and decide whether full upload is
-required. Also, if rclone does not know file size in advance (e.g. in
-case of streaming or partial uploads), it will not even try this
-optimization.
+Skip full upload if there is another file with same data hash.
+
+This feature is called "speedup" or "put by hash". It is especially
+efficient in case of generally available files like popular books, video
+or audio clips, because files are searched by hash in all accounts of
+all mailru users. It is meaningless and ineffective if source file is
+unique or encrypted. Please note that rclone may need local memory and
+disk space to calculate content hash in advance and decide whether full
+upload is required. Also, if rclone does not know file size in advance
+(e.g. in case of streaming or partial uploads), it will not even try
+this optimization.
- Config: speedup_enable
- Env Var: RCLONE_MAILRU_SPEEDUP_ENABLE
@@ -24674,14 +26064,16 @@ optimization.
- "false"
- Disable
-Advanced Options
+Advanced options
Here are the advanced options specific to mailru (Mail.ru Cloud).
--mailru-speedup-file-patterns
Comma separated list of file name patterns eligible for speedup (put by
-hash). Patterns are case insensitive and can contain '*' or '?' meta
+hash).
+
+Patterns are case insensitive and can contain '*' or '?' meta
characters.
- Config: speedup_file_patterns
@@ -24700,8 +26092,9 @@ characters.
--mailru-speedup-max-disk
-This option allows you to disable speedup (put by hash) for large files
-(because preliminary hashing can exhaust you RAM or disk space)
+This option allows you to disable speedup (put by hash) for large files.
+
+Reason is that preliminary hashing can exhaust your RAM or disk space.
- Config: speedup_max_disk
- Env Var: RCLONE_MAILRU_SPEEDUP_MAX_DISK
@@ -24735,7 +26128,7 @@ Files larger than the size given below will always be hashed on disk.
--mailru-check-hash
-What should copy do if file checksum is mismatched or invalid
+What should copy do if file checksum is mismatched or invalid.
- Config: check_hash
- Env Var: RCLONE_MAILRU_CHECK_HASH
@@ -24749,8 +26142,9 @@ What should copy do if file checksum is mismatched or invalid
--mailru-user-agent
-HTTP user agent used internally by client. Defaults to "rclone/VERSION"
-or "--user-agent" provided on command line.
+HTTP user agent used internally by client.
+
+Defaults to "rclone/VERSION" or "--user-agent" provided on command line.
- Config: user_agent
- Env Var: RCLONE_MAILRU_USER_AGENT
@@ -24759,12 +26153,13 @@ or "--user-agent" provided on command line.
--mailru-quirks
-Comma separated list of internal maintenance flags. This option must not
-be used by an ordinary user. It is intended only to facilitate remote
-troubleshooting of backend issues. Strict meaning of flags is not
-documented and not guaranteed to persist between releases. Quirks will
-be removed when the backend grows stable. Supported quirks: atomicmkdir
-binlist unknowndirs
+Comma separated list of internal maintenance flags.
+
+This option must not be used by an ordinary user. It is intended only to
+facilitate remote troubleshooting of backend issues. Strict meaning of
+flags is not documented and not guaranteed to persist between releases.
+Quirks will be removed when the backend grows stable. Supported quirks:
+atomicmkdir binlist unknowndirs
- Config: quirks
- Env Var: RCLONE_MAILRU_QUIRKS
@@ -24775,7 +26170,7 @@ binlist unknowndirs
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_MAILRU_ENCODING
@@ -24784,6 +26179,16 @@ See: the encoding section in the overview for more info.
Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot
+Limitations
+
+File size limits depend on your account. A single file size is limited
+by 2G for a free account and unlimited for paid tariffs. Please refer to
+the Mail.ru site for the total uploaded size limits.
+
+Note that Mailru is case insensitive so you can't have a file called
+"Hello.doc" and one called "hello.doc".
+
+
MEGA
@@ -24800,6 +26205,9 @@ Paths are specified as remote:path
Paths may be as deep as required, e.g. remote:directory/subdirectory.
+
+Configuration
+
Here is an example of how to make a remote called remote. First run:
rclone config
@@ -24930,13 +26338,13 @@ So, if rclone was working nicely and suddenly you are unable to log-in
and you are sure the user and the password are correct, likely you have
got the remote blocked for a while.
-Standard Options
+Standard options
Here are the standard options specific to mega (Mega).
--mega-user
-User name
+User name.
- Config: user
- Env Var: RCLONE_MEGA_USER
@@ -24954,7 +26362,7 @@ NB Input to this must be obscured - see rclone obscure.
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to mega (Mega).
@@ -24987,13 +26395,14 @@ permanently delete objects instead.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_MEGA_ENCODING
- Type: MultiEncoder
- Default: Slash,InvalidUtf8,Dot
+
Limitations
This backend uses the go-mega go library which is an opensource go
@@ -25015,6 +26424,9 @@ The memory backend behaves like a bucket based remote (e.g. like s3).
Because it has no parameters you can just use it with the :memory:
remote name.
+
+Configuration
+
You can configure it as a remote like this with rclone config too if you
want to:
@@ -25070,6 +26482,9 @@ Paths are specified as remote:container (or remote: for the lsd
command.) You may put subdirectories in too, e.g.
remote:container/path/to/dir.
+
+Configuration
+
Here is an example of making a Microsoft Azure Blob Storage
configuration. For a remote called remote. First run:
@@ -25203,14 +26618,16 @@ Container level SAS URLs are useful for temporarily allowing third
parties access to a single container or putting credentials into an
untrusted environment such as a CI build server.
-Standard Options
+Standard options
Here are the standard options specific to azureblob (Microsoft Azure
Blob Storage).
--azureblob-account
-Storage Account Name (leave blank to use SAS URL or Emulator)
+Storage Account Name.
+
+Leave blank to use SAS URL or Emulator.
- Config: account
- Env Var: RCLONE_AZUREBLOB_ACCOUNT
@@ -25239,7 +26656,9 @@ access to blob data" pages for more details.
--azureblob-key
-Storage Account Key (leave blank to use SAS URL or Emulator)
+Storage Account Key.
+
+Leave blank to use SAS URL or Emulator.
- Config: key
- Env Var: RCLONE_AZUREBLOB_KEY
@@ -25248,8 +26667,9 @@ Storage Account Key (leave blank to use SAS URL or Emulator)
--azureblob-sas-url
-SAS URL for container level access only (leave blank if using
-account/key or Emulator)
+SAS URL for container level access only.
+
+Leave blank if using account/key or Emulator.
- Config: sas_url
- Env Var: RCLONE_AZUREBLOB_SAS_URL
@@ -25258,7 +26678,7 @@ account/key or Emulator)
--azureblob-use-msi
-Use a managed service identity to authenticate (only works in Azure)
+Use a managed service identity to authenticate (only works in Azure).
When true, use a managed service identity to authenticate to Azure
Storage instead of a SAS token or account key.
@@ -25278,23 +26698,25 @@ msi_client_id, or msi_mi_res_id parameters.
--azureblob-use-emulator
-Uses local storage emulator if provided as 'true' (leave blank if using
-real azure storage endpoint)
+Uses local storage emulator if provided as 'true'.
+
+Leave blank if using real azure storage endpoint.
- Config: use_emulator
- Env Var: RCLONE_AZUREBLOB_USE_EMULATOR
- Type: bool
- Default: false
-Advanced Options
+Advanced options
Here are the advanced options specific to azureblob (Microsoft Azure
Blob Storage).
--azureblob-msi-object-id
-Object ID of the user-assigned MSI to use, if any. Leave blank if
-msi_client_id or msi_mi_res_id specified.
+Object ID of the user-assigned MSI to use, if any.
+
+Leave blank if msi_client_id or msi_mi_res_id specified.
- Config: msi_object_id
- Env Var: RCLONE_AZUREBLOB_MSI_OBJECT_ID
@@ -25303,8 +26725,9 @@ msi_client_id or msi_mi_res_id specified.
--azureblob-msi-client-id
-Object ID of the user-assigned MSI to use, if any. Leave blank if
-msi_object_id or msi_mi_res_id specified.
+Object ID of the user-assigned MSI to use, if any.
+
+Leave blank if msi_object_id or msi_mi_res_id specified.
- Config: msi_client_id
- Env Var: RCLONE_AZUREBLOB_MSI_CLIENT_ID
@@ -25313,8 +26736,9 @@ msi_object_id or msi_mi_res_id specified.
--azureblob-msi-mi-res-id
-Azure resource ID of the user-assigned MSI to use, if any. Leave blank
-if msi_client_id or msi_object_id specified.
+Azure resource ID of the user-assigned MSI to use, if any.
+
+Leave blank if msi_client_id or msi_object_id specified.
- Config: msi_mi_res_id
- Env Var: RCLONE_AZUREBLOB_MSI_MI_RES_ID
@@ -25323,7 +26747,9 @@ if msi_client_id or msi_object_id specified.
--azureblob-endpoint
-Endpoint for the service Leave blank normally.
+Endpoint for the service.
+
+Leave blank normally.
- Config: endpoint
- Env Var: RCLONE_AZUREBLOB_ENDPOINT
@@ -25332,7 +26758,7 @@ Endpoint for the service Leave blank normally.
--azureblob-upload-cutoff
-Cutoff for switching to chunked upload (<= 256 MiB). (Deprecated)
+Cutoff for switching to chunked upload (<= 256 MiB) (deprecated).
- Config: upload_cutoff
- Env Var: RCLONE_AZUREBLOB_UPLOAD_CUTOFF
@@ -25423,10 +26849,11 @@ start uploading.
--azureblob-memory-pool-flush-time
-How often internal memory buffer pools will be flushed. Uploads which
-requires additional buffers (f.e multipart) will use memory pool for
-allocations. This option controls how often unused buffers will be
-removed from the pool.
+How often internal memory buffer pools will be flushed.
+
+Uploads which requires additional buffers (f.e multipart) will use
+memory pool for allocations. This option controls how often unused
+buffers will be removed from the pool.
- Config: memory_pool_flush_time
- Env Var: RCLONE_AZUREBLOB_MEMORY_POOL_FLUSH_TIME
@@ -25446,7 +26873,7 @@ Whether to use mmap buffers in internal memory pool.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_AZUREBLOB_ENCODING
@@ -25455,7 +26882,7 @@ See: the encoding section in the overview for more info.
--azureblob-public-access
-Public access level of a container: blob, container.
+Public access level of a container: blob or container.
- Config: public_access
- Env Var: RCLONE_AZUREBLOB_PUBLIC_ACCESS
@@ -25464,13 +26891,24 @@ Public access level of a container: blob, container.
- Examples:
- ""
- The container and its blobs can be accessed only with an
- authorized request. It's a default value
+ authorized request.
+ - It's a default value.
- "blob"
- Blob data within this container can be read via anonymous
request.
- "container"
- Allow full public read access for container and blob data.
+--azureblob-no-head-object
+
+If set, do not do HEAD before GET when getting objects.
+
+- Config: no_head_object
+- Env Var: RCLONE_AZUREBLOB_NO_HEAD_OBJECT
+- Type: bool
+- Default: false
+
+
Limitations
MD5 sums are only uploaded with chunked files if the source has an MD5
@@ -25483,6 +26921,7 @@ an rclone union remote.
See List of backends that do not support rclone about See rclone about
+
Azure Storage Emulator Support
You can test rclone with storage emulator locally, to do this make sure
@@ -25500,6 +26939,9 @@ Paths are specified as remote:path
Paths may be as deep as required, e.g. remote:directory/subdirectory.
+
+Configuration
+
The initial setup for OneDrive involves getting a token from Microsoft
which you need to do in your browser. rclone config walks you through
it.
@@ -25623,7 +27065,9 @@ you can get your own Client ID and Key by following the steps below:
http://localhost:53682/ and click Register. Copy and keep the
Application (client) ID under the app name for later use.
3. Under manage select Certificates & secrets, click New client secret.
- Copy and keep that secret for later use.
+ Enter a description (can be anything) and set Expires to 24 months.
+ Copy and keep that secret _Value_ for later use (you _won't_ be able
+ to see this value afterwards).
4. Under manage select API permissions, click Add a permission and
select Microsoft Graph then select delegated permissions.
5. Search and select the following permissions: Files.Read,
@@ -25688,13 +27132,15 @@ doesn't provide an API to permanently delete files, nor to empty the
trash, so you will have to do that with one of Microsoft's apps or via
the OneDrive website.
-Standard Options
+Standard options
Here are the standard options specific to onedrive (Microsoft OneDrive).
--onedrive-client-id
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+
+Leave blank normally.
- Config: client_id
- Env Var: RCLONE_ONEDRIVE_CLIENT_ID
@@ -25703,7 +27149,9 @@ OAuth Client Id Leave blank normally.
--onedrive-client-secret
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+
+Leave blank normally.
- Config: client_secret
- Env Var: RCLONE_ONEDRIVE_CLIENT_SECRET
@@ -25728,7 +27176,7 @@ Choose national cloud region for OneDrive.
- "cn"
- Azure and Office 365 operated by 21Vianet in China
-Advanced Options
+Advanced options
Here are the advanced options specific to onedrive (Microsoft OneDrive).
@@ -25743,7 +27191,9 @@ OAuth Access Token as a JSON blob.
--onedrive-auth-url
-Auth server URL. Leave blank to use the provider defaults.
+Auth server URL.
+
+Leave blank to use the provider defaults.
- Config: auth_url
- Env Var: RCLONE_ONEDRIVE_AUTH_URL
@@ -25752,7 +27202,9 @@ Auth server URL. Leave blank to use the provider defaults.
--onedrive-token-url
-Token server url. Leave blank to use the provider defaults.
+Token server url.
+
+Leave blank to use the provider defaults.
- Config: token_url
- Env Var: RCLONE_ONEDRIVE_TOKEN_URL
@@ -25777,7 +27229,7 @@ into memory.
--onedrive-drive-id
-The ID of the drive to use
+The ID of the drive to use.
- Config: drive_id
- Env Var: RCLONE_ONEDRIVE_DRIVE_ID
@@ -25786,7 +27238,7 @@ The ID of the drive to use
--onedrive-drive-type
-The type of the drive ( personal | business | documentLibrary )
+The type of the drive (personal | business | documentLibrary).
- Config: drive_type
- Env Var: RCLONE_ONEDRIVE_DRIVE_TYPE
@@ -25834,7 +27286,7 @@ Size of listing chunk.
--onedrive-no-versions
-Remove all versions on modifying operations
+Remove all versions on modifying operations.
Onedrive for business creates versions when rclone uploads new files
overwriting an existing one and when it sets the modification time.
@@ -25863,12 +27315,12 @@ Set the scope of the links created by the link command.
- Examples:
- "anonymous"
- Anyone with the link has access, without needing to sign in.
- This may include people outside of your organization.
- Anonymous link support may be disabled by an administrator.
+ - This may include people outside of your organization.
+ - Anonymous link support may be disabled by an administrator.
- "organization"
- Anyone signed into your organization (tenant) can use the
- link to get access. Only available in OneDrive for Business
- and SharePoint.
+ link to get access.
+ - Only available in OneDrive for Business and SharePoint.
--onedrive-link-type
@@ -25902,7 +27354,7 @@ accounts.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_ONEDRIVE_ENCODING
@@ -25910,6 +27362,7 @@ See: the encoding section in the overview for more info.
- Default:
Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot
+
Limitations
If you don't use rclone for 90 days the refresh token will expire. This
@@ -25950,6 +27403,7 @@ couldn’t list files: UnknownError:. See #2707 for more info.
An official document about the limitations for different types of
OneDrive can be found here.
+
Versions
Every change in a file OneDrive causes the service to create a new
@@ -26011,6 +27465,7 @@ User Weropol has found a method to disable versioning on OneDrive
--no-update-modtime flag)
9. Restore the versioning settings after using rclone. (Optional)
+
Cleanup
OneDrive supports rclone cleanup which causes rclone to look through
@@ -26025,6 +27480,7 @@ great way to see what it would do.
NB Onedrive personal can't currently delete versions
+
Troubleshooting
Excessive throttling or blocked on SharePoint
@@ -26099,6 +27555,14 @@ and go through the process to refresh your token, just like the first
time the backend is configured. After this, rclone should work again for
this backend.
+Invalid request when making public links
+
+On Sharepoint and OneDrive for Business, rclone link may return an
+"Invalid request" error. A possible cause is that the organisation admin
+didn't allow public links to be made for the organisation/sharepoint
+library. To fix the permissions as an admin, take a look at the docs: 1,
+2.
+
OPENDRIVE
@@ -26108,6 +27572,9 @@ Paths are specified as remote:path
Paths may be as deep as required, e.g. remote:directory/subdirectory.
+
+Configuration
+
Here is an example of how to make a remote called remote. First run:
rclone config
@@ -26194,13 +27661,13 @@ name:
Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON
strings.
-Standard Options
+Standard options
Here are the standard options specific to opendrive (OpenDrive).
--opendrive-username
-Username
+Username.
- Config: username
- Env Var: RCLONE_OPENDRIVE_USERNAME
@@ -26218,7 +27685,7 @@ NB Input to this must be obscured - see rclone obscure.
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to opendrive (OpenDrive).
@@ -26226,7 +27693,7 @@ Here are the advanced options specific to opendrive (OpenDrive).
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_OPENDRIVE_ENCODING
@@ -26246,6 +27713,7 @@ increase memory use.
- Type: SizeSuffix
- Default: 10Mi
+
Limitations
Note that OpenDrive is case insensitive so you can't have a file called
@@ -26271,6 +27739,9 @@ QINGSTOR
Paths are specified as remote:bucket (or remote: for the lsd command.)
You may put subdirectories in too, e.g. remote:bucket/path/to/dir.
+
+Configuration
+
Here is an example of making an QingStor configuration. First run
rclone config
@@ -26400,15 +27871,16 @@ restricted characters set. Note that 0x7F is not replaced.
Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON
strings.
-Standard Options
+Standard options
Here are the standard options specific to qingstor (QingCloud Object
Storage).
--qingstor-env-auth
-Get QingStor credentials from runtime. Only applies if access_key_id and
-secret_access_key is blank.
+Get QingStor credentials from runtime.
+
+Only applies if access_key_id and secret_access_key is blank.
- Config: env_auth
- Env Var: RCLONE_QINGSTOR_ENV_AUTH
@@ -26416,15 +27888,16 @@ secret_access_key is blank.
- Default: false
- Examples:
- "false"
- - Enter QingStor credentials in the next step
+ - Enter QingStor credentials in the next step.
- "true"
- Get QingStor credentials from the environment (env vars or
- IAM)
+ IAM).
--qingstor-access-key-id
-QingStor Access Key ID Leave blank for anonymous access or runtime
-credentials.
+QingStor Access Key ID.
+
+Leave blank for anonymous access or runtime credentials.
- Config: access_key_id
- Env Var: RCLONE_QINGSTOR_ACCESS_KEY_ID
@@ -26433,8 +27906,9 @@ credentials.
--qingstor-secret-access-key
-QingStor Secret Access Key (password) Leave blank for anonymous access
-or runtime credentials.
+QingStor Secret Access Key (password).
+
+Leave blank for anonymous access or runtime credentials.
- Config: secret_access_key
- Env Var: RCLONE_QINGSTOR_SECRET_ACCESS_KEY
@@ -26443,8 +27917,9 @@ or runtime credentials.
--qingstor-endpoint
-Enter an endpoint URL to connection QingStor API. Leave blank will use
-the default value "https://qingstor.com:443"
+Enter an endpoint URL to connection QingStor API.
+
+Leave blank will use the default value "https://qingstor.com:443".
- Config: endpoint
- Env Var: RCLONE_QINGSTOR_ENDPOINT
@@ -26453,7 +27928,9 @@ the default value "https://qingstor.com:443"
--qingstor-zone
-Zone to connect to. Default is "pek3a".
+Zone to connect to.
+
+Default is "pek3a".
- Config: zone
- Env Var: RCLONE_QINGSTOR_ZONE
@@ -26461,16 +27938,16 @@ Zone to connect to. Default is "pek3a".
- Default: ""
- Examples:
- "pek3a"
- - The Beijing (China) Three Zone
+ - The Beijing (China) Three Zone.
- Needs location constraint pek3a.
- "sh1a"
- - The Shanghai (China) First Zone
+ - The Shanghai (China) First Zone.
- Needs location constraint sh1a.
- "gd2a"
- - The Guangdong (China) Second Zone
+ - The Guangdong (China) Second Zone.
- Needs location constraint gd2a.
-Advanced Options
+Advanced options
Here are the advanced options specific to qingstor (QingCloud Object
Storage).
@@ -26486,7 +27963,7 @@ Number of connection retries.
--qingstor-upload-cutoff
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
Any files larger than this will be uploaded in chunks of chunk_size. The
minimum is 0 and the maximum is 5 GiB.
@@ -26537,13 +28014,14 @@ this may help to speed up the transfers.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_QINGSTOR_ENCODING
- Type: MultiEncoder
- Default: Slash,Ctl,InvalidUtf8
+
Limitations
rclone about is not supported by the qingstor backend. Backends without
@@ -26554,6 +28032,195 @@ See List of backends that do not support rclone about See rclone about
+SIA
+
+
+Sia (sia.tech) is a decentralized cloud storage platform based on the
+blockchain technology. With rclone you can use it like any other remote
+filesystem or mount Sia folders locally. The technology behind it
+involves a number of new concepts such as Siacoins and Wallet,
+Blockchain and Consensus, Renting and Hosting, and so on. If you are new
+to it, you'd better first familiarize yourself using their excellent
+support documentation.
+
+
+Introduction
+
+Before you can use rclone with Sia, you will need to have a running copy
+of Sia-UI or siad (the Sia daemon) locally on your computer or on local
+network (e.g. a NAS). Please follow the Get started guide and install
+one.
+
+rclone interacts with Sia network by talking to the Sia daemon via HTTP
+API which is usually available on port _9980_. By default you will run
+the daemon locally on the same computer so it's safe to leave the API
+password blank (the API URL will be http://127.0.0.1:9980 making
+external access impossible).
+
+However, if you want to access Sia daemon running on another node, for
+example due to memory constraints or because you want to share single
+daemon between several rclone and Sia-UI instances, you'll need to make
+a few more provisions: - Ensure you have _Sia daemon_ installed directly
+or in a docker container because Sia-UI does not support this mode
+natively. - Run it on externally accessible port, for example provide
+--api-addr :9980 and --disable-api-security arguments on the daemon
+command line. - Enforce API password for the siad daemon via environment
+variable SIA_API_PASSWORD or text file named apipassword in the daemon
+directory. - Set rclone backend option api_password taking it from above
+locations.
+
+Notes: 1. If your wallet is locked, rclone cannot unlock it
+automatically. You should either unlock it in advance by using Sia-UI or
+via command line siac wallet unlock. Alternatively you can make siad
+unlock your wallet automatically upon startup by running it with
+environment variable SIA_WALLET_PASSWORD. 2. If siad cannot find the
+SIA_API_PASSWORD variable or the apipassword file in the SIA_DIR
+directory, it will generate a random password and store in the text file
+named apipassword under YOUR_HOME/.sia/ directory on Unix or
+C:\Users\YOUR_HOME\AppData\Local\Sia\apipassword on Windows. Remember
+this when you configure password in rclone. 3. The only way to use siad
+without API password is to run it ON LOCALHOST with command line
+argument --authorize-api=false, but this is insecure and STRONGLY
+DISCOURAGED.
+
+
+Configuration
+
+Here is an example of how to make a sia remote called mySia. First, run:
+
+ rclone config
+
+This will guide you through an interactive setup process:
+
+ No remotes found - make a new one
+ n) New remote
+ s) Set configuration password
+ q) Quit config
+ n/s/q> n
+ name> mySia
+ Type of storage to configure.
+ Enter a string value. Press Enter for the default ("").
+ Choose a number from below, or type in your own value
+ ...
+ 29 / Sia Decentralized Cloud
+ \ "sia"
+ ...
+ Storage> sia
+ Sia daemon API URL, like http://sia.daemon.host:9980.
+ Note that siad must run with --disable-api-security to open API port for other hosts (not recommended).
+ Keep default if Sia daemon runs on localhost.
+ Enter a string value. Press Enter for the default ("http://127.0.0.1:9980").
+ api_url> http://127.0.0.1:9980
+ Sia Daemon API Password.
+ Can be found in the apipassword file located in HOME/.sia/ or in the daemon directory.
+ y) Yes type in my own password
+ g) Generate random password
+ n) No leave this optional password blank (default)
+ y/g/n> y
+ Enter the password:
+ password:
+ Confirm the password:
+ password:
+ Edit advanced config?
+ y) Yes
+ n) No (default)
+ y/n> n
+ --------------------
+ [mySia]
+ type = sia
+ api_url = http://127.0.0.1:9980
+ api_password = *** ENCRYPTED ***
+ --------------------
+ y) Yes this is OK (default)
+ e) Edit this remote
+ d) Delete this remote
+ y/e/d> y
+
+Once configured, you can then use rclone like this:
+
+- List directories in top level of your Sia storage
+
+ rclone lsd mySia:
+
+- List all the files in your Sia storage
+
+ rclone ls mySia:
+
+- Upload a local directory to the Sia directory called _backup_
+
+ rclone copy /home/source mySia:backup
+
+Standard options
+
+Here are the standard options specific to sia (Sia Decentralized Cloud).
+
+--sia-api-url
+
+Sia daemon API URL, like http://sia.daemon.host:9980.
+
+Note that siad must run with --disable-api-security to open API port for
+other hosts (not recommended). Keep default if Sia daemon runs on
+localhost.
+
+- Config: api_url
+- Env Var: RCLONE_SIA_API_URL
+- Type: string
+- Default: "http://127.0.0.1:9980"
+
+--sia-api-password
+
+Sia Daemon API Password.
+
+Can be found in the apipassword file located in HOME/.sia/ or in the
+daemon directory.
+
+NB Input to this must be obscured - see rclone obscure.
+
+- Config: api_password
+- Env Var: RCLONE_SIA_API_PASSWORD
+- Type: string
+- Default: ""
+
+Advanced options
+
+Here are the advanced options specific to sia (Sia Decentralized Cloud).
+
+--sia-user-agent
+
+Siad User Agent
+
+Sia daemon requires the 'Sia-Agent' user agent by default for security
+
+- Config: user_agent
+- Env Var: RCLONE_SIA_USER_AGENT
+- Type: string
+- Default: "Sia-Agent"
+
+--sia-encoding
+
+This sets the encoding for the backend.
+
+See the encoding section in the overview for more info.
+
+- Config: encoding
+- Env Var: RCLONE_SIA_ENCODING
+- Type: MultiEncoder
+- Default: Slash,Question,Hash,Percent,Del,Ctl,InvalidUtf8,Dot
+
+
+Limitations
+
+- Modification times not supported
+- Checksums not supported
+- rclone about not supported
+- rclone can work only with _Siad_ or _Sia-UI_ at the moment, the
+ SKYNET DAEMON IS NOT SUPPORTED YET.
+- Sia does not allow control characters or symbols like question and
+ pound signs in file names. rclone will transparently encode them for
+ you, but you'd better be aware
+
+
+
SWIFT
@@ -26570,6 +28237,9 @@ Paths are specified as remote:container (or remote: for the lsd
command.) You may put subdirectories in too, e.g.
remote:container/path/to/dir.
+
+Configuration
+
Here is an example of making a swift configuration. First run
rclone config
@@ -26766,7 +28436,25 @@ with --use-server-modtime, you can avoid the extra API call and simply
upload files whose local modtime is newer than the time it was last
uploaded.
-Standard Options
+Modified time
+
+The modified time is stored as metadata on the object as
+X-Object-Meta-Mtime as floating point since the epoch accurate to 1 ns.
+
+This is a de facto standard (used in the official python-swiftclient
+amongst others) for storing the modification time for an object.
+
+Restricted filename characters
+
+ Character Value Replacement
+ ----------- ------- -------------
+ NUL 0x00 ␀
+ / 0x2F /
+
+Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON
+strings.
+
+Standard options
Here are the standard options specific to swift (OpenStack Swift
(Rackspace Cloud Files, Memset Memstore, OVH)).
@@ -26782,10 +28470,10 @@ form.
- Default: false
- Examples:
- "false"
- - Enter swift credentials in the next step
+ - Enter swift credentials in the next step.
- "true"
- - Get swift credentials from environment vars. Leave other
- fields blank if using this.
+ - Get swift credentials from environment vars.
+ - Leave other fields blank if using this.
--swift-user
@@ -26849,7 +28537,7 @@ User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)
--swift-tenant
Tenant name - optional for v1 auth, this or tenant_id required otherwise
-(OS_TENANT_NAME or OS_PROJECT_NAME)
+(OS_TENANT_NAME or OS_PROJECT_NAME).
- Config: tenant
- Env Var: RCLONE_SWIFT_TENANT
@@ -26859,7 +28547,7 @@ Tenant name - optional for v1 auth, this or tenant_id required otherwise
--swift-tenant-id
Tenant ID - optional for v1 auth, this or tenant required otherwise
-(OS_TENANT_ID)
+(OS_TENANT_ID).
- Config: tenant_id
- Env Var: RCLONE_SWIFT_TENANT_ID
@@ -26868,7 +28556,7 @@ Tenant ID - optional for v1 auth, this or tenant required otherwise
--swift-tenant-domain
-Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
+Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME).
- Config: tenant_domain
- Env Var: RCLONE_SWIFT_TENANT_DOMAIN
@@ -26877,7 +28565,7 @@ Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
--swift-region
-Region name - optional (OS_REGION_NAME)
+Region name - optional (OS_REGION_NAME).
- Config: region
- Env Var: RCLONE_SWIFT_REGION
@@ -26886,7 +28574,7 @@ Region name - optional (OS_REGION_NAME)
--swift-storage-url
-Storage URL - optional (OS_STORAGE_URL)
+Storage URL - optional (OS_STORAGE_URL).
- Config: storage_url
- Env Var: RCLONE_SWIFT_STORAGE_URL
@@ -26895,7 +28583,7 @@ Storage URL - optional (OS_STORAGE_URL)
--swift-auth-token
-Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
+Auth Token from alternate authentication - optional (OS_AUTH_TOKEN).
- Config: auth_token
- Env Var: RCLONE_SWIFT_AUTH_TOKEN
@@ -26904,7 +28592,7 @@ Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
--swift-application-credential-id
-Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
+Application Credential ID (OS_APPLICATION_CREDENTIAL_ID).
- Config: application_credential_id
- Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_ID
@@ -26913,7 +28601,7 @@ Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
--swift-application-credential-name
-Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
+Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME).
- Config: application_credential_name
- Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_NAME
@@ -26922,7 +28610,7 @@ Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
--swift-application-credential-secret
-Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
+Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET).
- Config: application_credential_secret
- Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_SECRET
@@ -26932,7 +28620,7 @@ Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
--swift-auth-version
AuthVersion - optional - set to (1,2,3) if your auth URL has no version
-(ST_AUTH_VERSION)
+(ST_AUTH_VERSION).
- Config: auth_version
- Env Var: RCLONE_SWIFT_AUTH_VERSION
@@ -26941,7 +28629,7 @@ AuthVersion - optional - set to (1,2,3) if your auth URL has no version
--swift-endpoint-type
-Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE)
+Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE).
- Config: endpoint_type
- Env Var: RCLONE_SWIFT_ENDPOINT_TYPE
@@ -26957,7 +28645,7 @@ Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE)
--swift-storage-policy
-The storage policy to use when creating a new container
+The storage policy to use when creating a new container.
This applies the specified storage policy when creating a new container.
The policy cannot be changed afterwards. The allowed configuration
@@ -26975,15 +28663,16 @@ values and their meaning depend on your Swift storage provider.
- "pca"
- OVH Public Cloud Archive
-Advanced Options
+Advanced options
Here are the advanced options specific to swift (OpenStack Swift
(Rackspace Cloud Files, Memset Memstore, OVH)).
--swift-leave-parts-on-error
-If true avoid calling abort upload on a failure. It should be set to
-true for resuming uploads across different sessions.
+If true avoid calling abort upload on a failure.
+
+It should be set to true for resuming uploads across different sessions.
- Config: leave_parts_on_error
- Env Var: RCLONE_SWIFT_LEAVE_PARTS_ON_ERROR
@@ -27024,30 +28713,13 @@ copy operations.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_SWIFT_ENCODING
- Type: MultiEncoder
- Default: Slash,InvalidUtf8
-Modified time
-
-The modified time is stored as metadata on the object as
-X-Object-Meta-Mtime as floating point since the epoch accurate to 1 ns.
-
-This is a de facto standard (used in the official python-swiftclient
-amongst others) for storing the modification time for an object.
-
-Restricted filename characters
-
- Character Value Replacement
- ----------- ------- -------------
- NUL 0x00 ␀
- / 0x2F /
-
-Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON
-strings.
Limitations
@@ -27055,6 +28727,7 @@ The Swift API doesn't return a correct MD5SUM for segmented files
(Dynamic or Static Large Objects) so rclone won't check or use the
MD5SUM for these.
+
Troubleshooting
Rclone gives Failed to create file system for "remote:": Bad Request
@@ -27075,6 +28748,29 @@ This is most likely caused by forgetting to specify your tenant when
setting up a swift remote.
+OVH Cloud Archive
+
+To use rclone with OVH cloud archive, first use rclone config to set up
+a swift backend with OVH, choosing pca as the storage_policy.
+
+Uploading Objects
+
+Uploading objects to OVH cloud archive is no different to object
+storage, you just simply run the command you like (move, copy or sync)
+to upload the objects. Once uploaded the objects will show in a "Frozen"
+state within the OVH control panel.
+
+Retrieving Objects
+
+To retrieve objects use rclone copy as normal. If the objects are in a
+frozen state then rclone will ask for them all to be unfrozen and it
+will wait at the end of the output with a message like the following:
+
+2019/03/23 13:06:33 NOTICE: Received retry after error - sleeping until 2019-03-23T13:16:33.481657164+01:00 (9m59.99985121s)
+
+Rclone will wait for the time specified then retry the copy.
+
+
PCLOUD
@@ -27083,6 +28779,9 @@ Paths are specified as remote:path
Paths may be as deep as required, e.g. remote:directory/subdirectory.
+
+Configuration
+
The initial setup for pCloud involves getting a token from pCloud which
you need to do in your browser. rclone config walks you through it.
@@ -27161,11 +28860,8 @@ second. These will be used to detect whether objects need syncing or
not. In order to set a Modification time pCloud requires the object be
re-uploaded.
-pCloud supports MD5 and SHA1 type hashes in the US region but and SHA1
-only in the EU region, so you can use the --checksum flag.
-
-(Note that pCloud also support SHA256 in the EU region, but rclone does
-not have support for that yet.)
+pCloud supports MD5 and SHA1 hashes in the US region, and SHA1 and
+SHA256 hashes in the EU region, so you can use the --checksum flag.
Restricted filename characters
@@ -27206,13 +28902,15 @@ https://my.pcloud.com/#page=filemanager&folder=5xxxxxxxx8&tpl=foldergrid
in the browser, then you use 5xxxxxxxx8 as the root_folder_id in the
config.
-Standard Options
+Standard options
Here are the standard options specific to pcloud (Pcloud).
--pcloud-client-id
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+
+Leave blank normally.
- Config: client_id
- Env Var: RCLONE_PCLOUD_CLIENT_ID
@@ -27221,14 +28919,16 @@ OAuth Client Id Leave blank normally.
--pcloud-client-secret
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+
+Leave blank normally.
- Config: client_secret
- Env Var: RCLONE_PCLOUD_CLIENT_SECRET
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to pcloud (Pcloud).
@@ -27243,7 +28943,9 @@ OAuth Access Token as a JSON blob.
--pcloud-auth-url
-Auth server URL. Leave blank to use the provider defaults.
+Auth server URL.
+
+Leave blank to use the provider defaults.
- Config: auth_url
- Env Var: RCLONE_PCLOUD_AUTH_URL
@@ -27252,7 +28954,9 @@ Auth server URL. Leave blank to use the provider defaults.
--pcloud-token-url
-Token server url. Leave blank to use the provider defaults.
+Token server url.
+
+Leave blank to use the provider defaults.
- Config: token_url
- Env Var: RCLONE_PCLOUD_TOKEN_URL
@@ -27263,7 +28967,7 @@ Token server url. Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_PCLOUD_ENCODING
@@ -27306,6 +29010,9 @@ Paths are specified as remote:path
Paths may be as deep as required, e.g. remote:directory/subdirectory.
+
+Configuration
+
The initial setup for premiumize.me involves getting a token from
premiumize.me which you need to do in your browser. rclone config walks
you through it.
@@ -27395,7 +29102,7 @@ characters are also replaced:
Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON
strings.
-Standard Options
+Standard options
Here are the standard options specific to premiumizeme (premiumize.me).
@@ -27410,7 +29117,7 @@ This is not normally used - use oauth instead.
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to premiumizeme (premiumize.me).
@@ -27418,13 +29125,14 @@ Here are the advanced options specific to premiumizeme (premiumize.me).
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_PREMIUMIZEME_ENCODING
- Type: MultiEncoder
- Default: Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot
+
Limitations
Note that premiumize.me is case insensitive so you can't have a file
@@ -27446,6 +29154,9 @@ Paths are specified as remote:path
put.io paths may be as deep as required, e.g.
remote:directory/subdirectory.
+
+Configuration
+
The initial setup for put.io involves getting a token from put.io which
you need to do in your browser. rclone config walks you through it.
@@ -27539,7 +29250,7 @@ characters are also replaced:
Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON
strings.
-Advanced Options
+Advanced options
Here are the advanced options specific to putio (Put.io).
@@ -27547,7 +29258,7 @@ Here are the advanced options specific to putio (Put.io).
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_PUTIO_ENCODING
@@ -27564,7 +29275,8 @@ the free community edition or the professional edition. - Seafile
versions 6.x and 7.x are all supported. - Encrypted libraries are also
supported. - It supports 2FA enabled users
-Root mode vs Library mode
+
+Configuration
There are two distinct modes you can setup your remote: - you point your
remote to the ROOT OF THE SERVER, meaning you don't specify a library
@@ -27813,13 +29525,13 @@ community edition
Versions below 6.0 are not supported. Versions between 6.0 and 6.3
haven't been tested and might not work properly.
-Standard Options
+Standard options
Here are the standard options specific to seafile (seafile).
--seafile-url
-URL of seafile host to connect to
+URL of seafile host to connect to.
- Config: url
- Env Var: RCLONE_SEAFILE_URL
@@ -27827,11 +29539,11 @@ URL of seafile host to connect to
- Default: ""
- Examples:
- "https://cloud.seafile.com/"
- - Connect to cloud.seafile.com
+ - Connect to cloud.seafile.com.
--seafile-user
-User name (usually email address)
+User name (usually email address).
- Config: user
- Env Var: RCLONE_SEAFILE_USER
@@ -27840,7 +29552,7 @@ User name (usually email address)
--seafile-pass
-Password
+Password.
NB Input to this must be obscured - see rclone obscure.
@@ -27851,7 +29563,7 @@ NB Input to this must be obscured - see rclone obscure.
--seafile-2fa
-Two-factor authentication ('true' if the account has 2FA enabled)
+Two-factor authentication ('true' if the account has 2FA enabled).
- Config: 2fa
- Env Var: RCLONE_SEAFILE_2FA
@@ -27860,7 +29572,9 @@ Two-factor authentication ('true' if the account has 2FA enabled)
--seafile-library
-Name of the library. Leave blank to access all non-encrypted libraries.
+Name of the library.
+
+Leave blank to access all non-encrypted libraries.
- Config: library
- Env Var: RCLONE_SEAFILE_LIBRARY
@@ -27869,8 +29583,9 @@ Name of the library. Leave blank to access all non-encrypted libraries.
--seafile-library-key
-Library password (for encrypted libraries only). Leave blank if you pass
-it through the command line.
+Library password (for encrypted libraries only).
+
+Leave blank if you pass it through the command line.
NB Input to this must be obscured - see rclone obscure.
@@ -27881,20 +29596,20 @@ NB Input to this must be obscured - see rclone obscure.
--seafile-auth-token
-Authentication token
+Authentication token.
- Config: auth_token
- Env Var: RCLONE_SEAFILE_AUTH_TOKEN
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to seafile (seafile).
--seafile-create-library
-Should rclone create a library if it doesn't exist
+Should rclone create a library if it doesn't exist.
- Config: create_library
- Env Var: RCLONE_SEAFILE_CREATE_LIBRARY
@@ -27905,7 +29620,7 @@ Should rclone create a library if it doesn't exist
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_SEAFILE_ENCODING
@@ -27934,9 +29649,12 @@ would list the home directory of the user cofigured in the rclone remote
config (i.e /home/sftpuser). However, rclone lsd remote:/ would list the
root directory for remote machine (i.e. /)
-"Note that some SFTP servers will need the leading / - Synology is a
-good example of this. rsync.net, on the other hand, requires users to
-OMIT the leading /.
+Note that some SFTP servers will need the leading / - Synology is a good
+example of this. rsync.net, on the other hand, requires users to OMIT
+the leading /.
+
+
+Configuration
Here is an example of making an SFTP configuration. First run
@@ -28031,28 +29749,40 @@ contained within the rclone config file (key_pem). If using key_pem in
the config file, the entry should be on a single line with new line (''
or '') separating lines. i.e.
-key_pem = -----BEGIN RSA PRIVATE KEY-----0gAMbMbaSsd-----END RSA PRIVATE
-KEY-----
+ key_pem = -----BEGIN RSA PRIVATE KEY-----\nMaMbaIXtE\n0gAMbMbaSsd\nMbaass\n-----END RSA PRIVATE KEY-----
This will generate it correctly for key_pem for use in the config:
awk '{printf "%s\\n", $0}' < ~/.ssh/id_rsa
-If you don't specify pass, key_file, or key_pem then rclone will attempt
-to contact an ssh-agent.
-
-You can also specify key_use_agent to force the usage of an ssh-agent.
-In this case key_file or key_pem can also be specified to force the
-usage of a specific key in the ssh-agent.
+If you don't specify pass, key_file, or key_pem or ask_password then
+rclone will attempt to contact an ssh-agent. You can also specify
+key_use_agent to force the usage of an ssh-agent. In this case key_file
+or key_pem can also be specified to force the usage of a specific key in
+the ssh-agent.
Using an ssh-agent is the only way to load encrypted OpenSSH keys at the
moment.
-If you set the --sftp-ask-password option, rclone will prompt for a
-password when needed and no password has been configured.
+If you set the ask_password option, rclone will prompt for a password
+when needed and no password has been configured.
+
+Certificate-signed keys
-If you have a certificate then you can provide the path to the public
-key that contains the certificate. For example:
+With traditional key-based authentication, you configure your private
+key only, and the public key built into it will be used during the
+authentication process.
+
+If you have a certificate you may use it to sign your public key,
+creating a separate SSH user certificate that should be used instead of
+the plain public key extracted from the private key. Then you must
+provide the path to the user certificate public key file in pubkey_file.
+
+Note: This is not the traditional public key paired with your private
+key, typically saved as /home/$USER/.ssh/id_rsa.pub. Setting this path
+in pubkey_file will not work.
+
+Example:
[remote]
type = sftp
@@ -28144,25 +29874,24 @@ mod_sftp). If you are using one of these servers, you can set the option
set_modtime = false in your RClone backend configuration to disable this
behaviour.
-Standard Options
+Standard options
Here are the standard options specific to sftp (SSH/SFTP Connection).
--sftp-host
-SSH host to connect to
+SSH host to connect to.
+
+E.g. "example.com".
- Config: host
- Env Var: RCLONE_SFTP_HOST
- Type: string
- Default: ""
-- Examples:
- - "example.com"
- - Connect to example.com
--sftp-user
-SSH username, leave blank for current username, $USER
+SSH username, leave blank for current username, $USER.
- Config: user
- Env Var: RCLONE_SFTP_USER
@@ -28171,7 +29900,7 @@ SSH username, leave blank for current username, $USER
--sftp-port
-SSH port, leave blank to use default (22)
+SSH port, leave blank to use default (22).
- Config: port
- Env Var: RCLONE_SFTP_PORT
@@ -28191,8 +29920,9 @@ NB Input to this must be obscured - see rclone obscure.
--sftp-key-pem
-Raw PEM-encoded private key, If specified, will override key_file
-parameter.
+Raw PEM-encoded private key.
+
+If specified, will override key_file parameter.
- Config: key_pem
- Env Var: RCLONE_SFTP_KEY_PEM
@@ -28201,8 +29931,9 @@ parameter.
--sftp-key-file
-Path to PEM-encoded private key file, leave blank or set key-use-agent
-to use ssh-agent.
+Path to PEM-encoded private key file.
+
+Leave blank or set key-use-agent to use ssh-agent.
Leading ~ will be expanded in the file name as will environment
variables such as ${RCLONE_CONFIG_DIR}.
@@ -28287,15 +30018,17 @@ recovered by an attacker.
--sftp-disable-hashcheck
Disable the execution of SSH commands to determine if remote file
-hashing is available. Leave blank or set to false to enable hashing
-(recommended), set to true to disable hashing.
+hashing is available.
+
+Leave blank or set to false to enable hashing (recommended), set to true
+to disable hashing.
- Config: disable_hashcheck
- Env Var: RCLONE_SFTP_DISABLE_HASHCHECK
- Type: bool
- Default: false
-Advanced Options
+Advanced options
Here are the advanced options specific to sftp (SSH/SFTP Connection).
@@ -28314,7 +30047,7 @@ variables such as ${RCLONE_CONFIG_DIR}.
- Default: ""
- Examples:
- "~/.ssh/known_hosts"
- - Use OpenSSH's known_hosts file
+ - Use OpenSSH's known_hosts file.
--sftp-ask-password
@@ -28359,7 +30092,9 @@ Set the modified time on the remote if set.
--sftp-md5sum-command
-The command used to read md5 hashes. Leave blank for autodetect.
+The command used to read md5 hashes.
+
+Leave blank for autodetect.
- Config: md5sum_command
- Env Var: RCLONE_SFTP_MD5SUM_COMMAND
@@ -28368,7 +30103,9 @@ The command used to read md5 hashes. Leave blank for autodetect.
--sftp-sha1sum-command
-The command used to read sha1 hashes. Leave blank for autodetect.
+The command used to read sha1 hashes.
+
+Leave blank for autodetect.
- Config: sha1sum_command
- Env Var: RCLONE_SFTP_SHA1SUM_COMMAND
@@ -28406,7 +30143,7 @@ The subsystem option is ignored when server_command is defined.
--sftp-use-fstat
-If set use fstat instead of stat
+If set use fstat instead of stat.
Some servers limit the amount of open files and calling Stat after
opening the file will throw an error from the server. Setting this flag
@@ -28424,7 +30161,7 @@ opened at any given time.
--sftp-disable-concurrent-reads
-If set don't use concurrent reads
+If set don't use concurrent reads.
Normally concurrent reads are safe to use and not using them will
degrade performance, so this option is disabled by default.
@@ -28446,7 +30183,7 @@ If concurrent reads are disabled, the use_fstat option is ignored.
--sftp-disable-concurrent-writes
-If set don't use concurrent writes
+If set don't use concurrent writes.
Normally rclone uses concurrent writes to upload files. This improves
the performance greatly, especially for distant servers.
@@ -28460,7 +30197,7 @@ This option disables concurrent writes should that be necessary.
--sftp-idle-timeout
-Max time before closing idle connections
+Max time before closing idle connections.
If no connections have been returned to the connection pool in the time
given, rclone will empty the connection pool.
@@ -28472,6 +30209,7 @@ Set to 0 to keep connections indefinitely.
- Type: Duration
- Default: 1m0s
+
Limitations
SFTP supports checksums if the same login has shell access and md5sum or
@@ -28531,6 +30269,9 @@ SugarSync is a cloud service that enables active synchronization of
files across computers and other devices for file backup, access,
syncing, and sharing.
+
+Configuration
+
The initial setup for SugarSync involves getting a token from SugarSync
which you can do with rclone. rclone config walks you through it.
@@ -28635,7 +30376,7 @@ However you can supply the flag --sugarsync-hard-delete or set the
config parameter hard_delete = true if you would like files to be
deleted straight away.
-Standard Options
+Standard options
Here are the standard options specific to sugarsync (Sugarsync).
@@ -28663,7 +30404,7 @@ Leave blank to use rclone's.
--sugarsync-private-access-key
-Sugarsync Private Access Key
+Sugarsync Private Access Key.
Leave blank to use rclone's.
@@ -28682,13 +30423,13 @@ files.
- Type: bool
- Default: false
-Advanced Options
+Advanced options
Here are the advanced options specific to sugarsync (Sugarsync).
--sugarsync-refresh-token
-Sugarsync refresh token
+Sugarsync refresh token.
Leave blank normally, will be auto configured by rclone.
@@ -28699,7 +30440,7 @@ Leave blank normally, will be auto configured by rclone.
--sugarsync-authorization
-Sugarsync authorization
+Sugarsync authorization.
Leave blank normally, will be auto configured by rclone.
@@ -28710,7 +30451,7 @@ Leave blank normally, will be auto configured by rclone.
--sugarsync-authorization-expiry
-Sugarsync authorization expiry
+Sugarsync authorization expiry.
Leave blank normally, will be auto configured by rclone.
@@ -28721,7 +30462,7 @@ Leave blank normally, will be auto configured by rclone.
--sugarsync-user
-Sugarsync user
+Sugarsync user.
Leave blank normally, will be auto configured by rclone.
@@ -28732,7 +30473,7 @@ Leave blank normally, will be auto configured by rclone.
--sugarsync-root-id
-Sugarsync root id
+Sugarsync root id.
Leave blank normally, will be auto configured by rclone.
@@ -28743,7 +30484,7 @@ Leave blank normally, will be auto configured by rclone.
--sugarsync-deleted-id
-Sugarsync deleted folder id
+Sugarsync deleted folder id.
Leave blank normally, will be auto configured by rclone.
@@ -28756,13 +30497,14 @@ Leave blank normally, will be auto configured by rclone.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_SUGARSYNC_ENCODING
- Type: MultiEncoder
- Default: Slash,Ctl,InvalidUtf8,Dot
+
Limitations
rclone about is not supported by the SugarSync backend. Backends without
@@ -28781,7 +30523,7 @@ service that enables you to store, back up, and archive large amounts of
data in a decentralized manner.
-Setup
+Configuration
To make a new Tardigrade configuration you need one of the following: *
Access Grant that someone else shared with you. * API Key of a
@@ -28889,6 +30631,74 @@ Setup with API key and passphrase
d) Delete this remote
y/e/d> y
+Standard options
+
+Here are the standard options specific to tardigrade (Tardigrade
+Decentralized Cloud Storage).
+
+--tardigrade-provider
+
+Choose an authentication method.
+
+- Config: provider
+- Env Var: RCLONE_TARDIGRADE_PROVIDER
+- Type: string
+- Default: "existing"
+- Examples:
+ - "existing"
+ - Use an existing access grant.
+ - "new"
+ - Create a new access grant from satellite address, API key,
+ and passphrase.
+
+--tardigrade-access-grant
+
+Access grant.
+
+- Config: access_grant
+- Env Var: RCLONE_TARDIGRADE_ACCESS_GRANT
+- Type: string
+- Default: ""
+
+--tardigrade-satellite-address
+
+Satellite address.
+
+Custom satellite address should match the format:
+<nodeid>@<address>:<port>.
+
+- Config: satellite_address
+- Env Var: RCLONE_TARDIGRADE_SATELLITE_ADDRESS
+- Type: string
+- Default: "us-central-1.tardigrade.io"
+- Examples:
+ - "us-central-1.tardigrade.io"
+ - US Central 1
+ - "europe-west-1.tardigrade.io"
+ - Europe West 1
+ - "asia-east-1.tardigrade.io"
+ - Asia East 1
+
+--tardigrade-api-key
+
+API key.
+
+- Config: api_key
+- Env Var: RCLONE_TARDIGRADE_API_KEY
+- Type: string
+- Default: ""
+
+--tardigrade-passphrase
+
+Encryption passphrase.
+
+To access existing objects enter passphrase used for uploading.
+
+- Config: passphrase
+- Env Var: RCLONE_TARDIGRADE_PASSPHRASE
+- Type: string
+- Default: ""
+
Usage
@@ -29007,70 +30817,6 @@ Or even between another cloud storage and Tardigrade.
rclone sync -i --progress s3:bucket/path/to/dir/ tardigrade:bucket/path/to/dir/
-Standard Options
-
-Here are the standard options specific to tardigrade (Tardigrade
-Decentralized Cloud Storage).
-
---tardigrade-provider
-
-Choose an authentication method.
-
-- Config: provider
-- Env Var: RCLONE_TARDIGRADE_PROVIDER
-- Type: string
-- Default: "existing"
-- Examples:
- - "existing"
- - Use an existing access grant.
- - "new"
- - Create a new access grant from satellite address, API key,
- and passphrase.
-
---tardigrade-access-grant
-
-Access Grant.
-
-- Config: access_grant
-- Env Var: RCLONE_TARDIGRADE_ACCESS_GRANT
-- Type: string
-- Default: ""
-
---tardigrade-satellite-address
-
-Satellite Address. Custom satellite address should match the format:
-<nodeid>@<address>:<port>.
-
-- Config: satellite_address
-- Env Var: RCLONE_TARDIGRADE_SATELLITE_ADDRESS
-- Type: string
-- Default: "us-central-1.tardigrade.io"
-- Examples:
- - "us-central-1.tardigrade.io"
- - US Central 1
- - "europe-west-1.tardigrade.io"
- - Europe West 1
- - "asia-east-1.tardigrade.io"
- - Asia East 1
-
---tardigrade-api-key
-
-API Key.
-
-- Config: api_key
-- Env Var: RCLONE_TARDIGRADE_API_KEY
-- Type: string
-- Default: ""
-
---tardigrade-passphrase
-
-Encryption Passphrase. To access existing objects enter passphrase used
-for uploading.
-
-- Config: passphrase
-- Env Var: RCLONE_TARDIGRADE_PASSPHRASE
-- Type: string
-- Default: ""
Limitations
@@ -29081,6 +30827,7 @@ remote.
See List of backends that do not support rclone about See rclone about
+
Known issues
If you get errors like too many open files this usually happens when the
@@ -29113,13 +30860,12 @@ Paths are specified as remote:path
Paths may be as deep as required, e.g. remote:directory/subdirectory.
-Setup
+
+Configuration
To configure an Uptobox backend you'll need your personal api token.
You'll find it in your account settings
-Example
-
Here is an example of how to make a remote called remote with the
default setup. First run:
@@ -29201,20 +30947,22 @@ characters are also replaced:
Invalid UTF-8 bytes will also be replaced, as they can't be used in XML
strings.
-Standard Options
+Standard options
Here are the standard options specific to uptobox (Uptobox).
--uptobox-access-token
-Your access Token, get it from https://uptobox.com/my_account
+Your access token.
+
+Get it from https://uptobox.com/my_account.
- Config: access_token
- Env Var: RCLONE_UPTOBOX_ACCESS_TOKEN
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to uptobox (Uptobox).
@@ -29222,7 +30970,7 @@ Here are the advanced options specific to uptobox (Uptobox).
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_UPTOBOX_ENCODING
@@ -29230,6 +30978,7 @@ See: the encoding section in the overview for more info.
- Default:
Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot
+
Limitations
Uptobox will delete inactive files that have not been accessed in 60
@@ -29266,147 +31015,8 @@ There will be no special handling of paths containing .. segments.
Invoking rclone mkdir backup:../desktop is exactly the same as invoking
rclone mkdir mydrive:private/backup/../desktop.
-Behavior / Policies
-The behavior of union backend is inspired by trapexit/mergerfs. All
-functions are grouped into 3 categories: ACTION, CREATE and SEARCH.
-These functions and categories can be assigned a policy which dictates
-what file or directory is chosen when performing that behavior. Any
-policy can be assigned to a function or category though some may not be
-very useful in practice. For instance: RAND (random) may be useful for
-file creation (create) but could lead to very odd behavior if used for
-delete if there were more than one copy of the file.
-
-Function / Category classifications
-
- ----------------------------------------------------------------------------
- Category Description Functions
- ---------- --------------- -------------------------------------------------
- action Writing move, rmdir, rmdirs, delete, purge and copy, sync
- Existing file (as destination when file exist)
-
- create Create copy, sync (as destination when file not exist)
- non-existing
- file
-
- search Reading and ls, lsd, lsl, cat, md5sum, sha1sum and copy, sync
- listing file (as source)
-
- N/A size, about
- ----------------------------------------------------------------------------
-
-Path Preservation
-
-Policies, as described below, are of two basic types. path preserving
-and non-path preserving.
-
-All policies which start with ep (EPFF, EPLFS, EPLUS, EPMFS, EPRAND) are
-path preserving. ep stands for existing path.
-
-A path preserving policy will only consider upstreams where the relative
-path being accessed already exists.
-
-When using non-path preserving policies paths will be created in target
-upstreams as necessary.
-
-Quota Relevant Policies
-
-Some policies rely on quota information. These policies should be used
-only if your upstreams support the respective quota fields.
-
- Policy Required Field
- ------------ ----------------
- lfs, eplfs Free
- mfs, epmfs Free
- lus, eplus Used
- lno, eplno Objects
-
-To check if your upstream supports the field, run
-rclone about remote: [flags] and see if the required field exists.
-
-Filters
-
-Policies basically search upstream remotes and create a list of files /
-paths for functions to work on. The policy is responsible for filtering
-and sorting. The policy type defines the sorting but filtering is mostly
-uniform as described below.
-
-- No SEARCH policies filter.
-- All ACTION policies will filter out remotes which are tagged as
- READ-ONLY.
-- All CREATE policies will filter out remotes which are tagged
- READ-ONLY or NO-CREATE.
-
-If all remotes are filtered an error will be returned.
-
-Policy descriptions
-
-The policies definition are inspired by trapexit/mergerfs but not
-exactly the same. Some policy definition could be different due to the
-much larger latency of remote file systems.
-
- -----------------------------------------------------------------------
- Policy Description
- ---------------- ------------------------------------------------------
- all Search category: same as EPALL. Action category: same
- as EPALL. Create category: act on all upstreams.
-
- epall (existing Search category: Given this order configured, act on
- path, all) the first one found where the relative path exists.
- Action category: apply to all found. Create category:
- act on all upstreams where the relative path exists.
-
- epff (existing Act on the first one found, by the time upstreams
- path, first reply, where the relative path exists.
- found)
-
- eplfs (existing Of all the upstreams on which the relative path exists
- path, least free choose the one with the least free space.
- space)
-
- eplus (existing Of all the upstreams on which the relative path exists
- path, least used choose the one with the least used space.
- space)
-
- eplno (existing Of all the upstreams on which the relative path exists
- path, least choose the one with the least number of objects.
- number of
- objects)
-
- epmfs (existing Of all the upstreams on which the relative path exists
- path, most free choose the one with the most free space.
- space)
-
- eprand (existing Calls EPALL and then randomizes. Returns only one
- path, random) upstream.
-
- ff (first found) Search category: same as EPFF. Action category: same
- as EPFF. Create category: Act on the first one found
- by the time upstreams reply.
-
- lfs (least free Search category: same as EPLFS. Action category: same
- space) as EPLFS. Create category: Pick the upstream with the
- least available free space.
-
- lus (least used Search category: same as EPLUS. Action category: same
- space) as EPLUS. Create category: Pick the upstream with the
- least used space.
-
- lno (least Search category: same as EPLNO. Action category: same
- number of as EPLNO. Create category: Pick the upstream with the
- objects) least number of objects.
-
- mfs (most free Search category: same as EPMFS. Action category: same
- space) as EPMFS. Create category: Pick the upstream with the
- most available free space.
-
- newest Pick the file / directory with the largest mtime.
-
- rand (random) Calls ALL and then randomizes. Returns only one
- upstream.
- -----------------------------------------------------------------------
-
-Setup
+Configuration
Here is an example of how to make a union called remote for local
folders. First run:
@@ -29485,15 +31095,157 @@ will be placed into remote3:dir3
rclone copy C:\source remote:source
-Standard Options
+Behavior / Policies
+
+The behavior of union backend is inspired by trapexit/mergerfs. All
+functions are grouped into 3 categories: ACTION, CREATE and SEARCH.
+These functions and categories can be assigned a policy which dictates
+what file or directory is chosen when performing that behavior. Any
+policy can be assigned to a function or category though some may not be
+very useful in practice. For instance: RAND (random) may be useful for
+file creation (create) but could lead to very odd behavior if used for
+delete if there were more than one copy of the file.
+
+Function / Category classifications
+
+ ----------------------------------------------------------------------------
+ Category Description Functions
+ ---------- --------------- -------------------------------------------------
+ action Writing move, rmdir, rmdirs, delete, purge and copy, sync
+ Existing file (as destination when file exist)
+
+ create Create copy, sync (as destination when file not exist)
+ non-existing
+ file
+
+ search Reading and ls, lsd, lsl, cat, md5sum, sha1sum and copy, sync
+ listing file (as source)
+
+ N/A size, about
+ ----------------------------------------------------------------------------
+
+Path Preservation
+
+Policies, as described below, are of two basic types. path preserving
+and non-path preserving.
+
+All policies which start with ep (EPFF, EPLFS, EPLUS, EPMFS, EPRAND) are
+path preserving. ep stands for existing path.
+
+A path preserving policy will only consider upstreams where the relative
+path being accessed already exists.
+
+When using non-path preserving policies paths will be created in target
+upstreams as necessary.
+
+Quota Relevant Policies
+
+Some policies rely on quota information. These policies should be used
+only if your upstreams support the respective quota fields.
+
+ Policy Required Field
+ ------------ ----------------
+ lfs, eplfs Free
+ mfs, epmfs Free
+ lus, eplus Used
+ lno, eplno Objects
+
+To check if your upstream supports the field, run
+rclone about remote: [flags] and see if the required field exists.
+
+Filters
+
+Policies basically search upstream remotes and create a list of files /
+paths for functions to work on. The policy is responsible for filtering
+and sorting. The policy type defines the sorting but filtering is mostly
+uniform as described below.
+
+- No SEARCH policies filter.
+- All ACTION policies will filter out remotes which are tagged as
+ READ-ONLY.
+- All CREATE policies will filter out remotes which are tagged
+ READ-ONLY or NO-CREATE.
+
+If all remotes are filtered an error will be returned.
+
+Policy descriptions
+
+The policies definition are inspired by trapexit/mergerfs but not
+exactly the same. Some policy definition could be different due to the
+much larger latency of remote file systems.
+
+ -----------------------------------------------------------------------
+ Policy Description
+ ---------------- ------------------------------------------------------
+ all Search category: same as EPALL. Action category: same
+ as EPALL. Create category: act on all upstreams.
+
+ epall (existing Search category: Given this order configured, act on
+ path, all) the first one found where the relative path exists.
+ Action category: apply to all found. Create category:
+ act on all upstreams where the relative path exists.
+
+ epff (existing Act on the first one found, by the time upstreams
+ path, first reply, where the relative path exists.
+ found)
+
+ eplfs (existing Of all the upstreams on which the relative path exists
+ path, least free choose the one with the least free space.
+ space)
+
+ eplus (existing Of all the upstreams on which the relative path exists
+ path, least used choose the one with the least used space.
+ space)
+
+ eplno (existing Of all the upstreams on which the relative path exists
+ path, least choose the one with the least number of objects.
+ number of
+ objects)
+
+ epmfs (existing Of all the upstreams on which the relative path exists
+ path, most free choose the one with the most free space.
+ space)
+
+ eprand (existing Calls EPALL and then randomizes. Returns only one
+ path, random) upstream.
+
+ ff (first found) Search category: same as EPFF. Action category: same
+ as EPFF. Create category: Act on the first one found
+ by the time upstreams reply.
+
+ lfs (least free Search category: same as EPLFS. Action category: same
+ space) as EPLFS. Create category: Pick the upstream with the
+ least available free space.
+
+ lus (least used Search category: same as EPLUS. Action category: same
+ space) as EPLUS. Create category: Pick the upstream with the
+ least used space.
+
+ lno (least Search category: same as EPLNO. Action category: same
+ number of as EPLNO. Create category: Pick the upstream with the
+ objects) least number of objects.
+
+ mfs (most free Search category: same as EPMFS. Action category: same
+ space) as EPMFS. Create category: Pick the upstream with the
+ most available free space.
+
+ newest Pick the file / directory with the largest mtime.
+
+ rand (random) Calls ALL and then randomizes. Returns only one
+ upstream.
+ -----------------------------------------------------------------------
+
+Standard options
Here are the standard options specific to union (Union merges the
contents of several upstream fs).
--union-upstreams
-List of space separated upstreams. Can be 'upstreama:test/dir
-upstreamb:', '"upstreama:test/space:ro dir" upstreamb:', etc.
+List of space separated upstreams.
+
+Can be 'upstreama:test/dir upstreamb:', '"upstreama:test/space:ro dir"
+upstreamb:', etc.
- Config: upstreams
- Env Var: RCLONE_UNION_UPSTREAMS
@@ -29529,8 +31281,9 @@ Policy to choose upstream on SEARCH category.
--union-cache-time
-Cache time of usage and free space (in seconds). This option is only
-useful when a path preserving policy is used.
+Cache time of usage and free space (in seconds).
+
+This option is only useful when a path preserving policy is used.
- Config: cache_time
- Env Var: RCLONE_UNION_CACHE_TIME
@@ -29546,6 +31299,9 @@ Paths are specified as remote:path
Paths may be as deep as required, e.g. remote:directory/subdirectory.
+
+Configuration
+
To configure the WebDAV remote you will need to have a URL for it, and a
username and password. If you know what kind of system you are
connecting to then rclone can enable extra features.
@@ -29639,25 +31395,24 @@ Owncloud or Nextcloud rclone will support SHA1 and MD5 hashes. Depending
on the exact version of Owncloud or Nextcloud hashes may appear on all
objects, or only on objects which had a hash uploaded with them.
-Standard Options
+Standard options
Here are the standard options specific to webdav (Webdav).
--webdav-url
-URL of http host to connect to
+URL of http host to connect to.
+
+E.g. https://example.com.
- Config: url
- Env Var: RCLONE_WEBDAV_URL
- Type: string
- Default: ""
-- Examples:
- - "https://example.com"
- - Connect to example.com
--webdav-vendor
-Name of the Webdav site/service/software you are using
+Name of the Webdav site/service/software you are using.
- Config: vendor
- Env Var: RCLONE_WEBDAV_VENDOR
@@ -29669,17 +31424,19 @@ Name of the Webdav site/service/software you are using
- "owncloud"
- Owncloud
- "sharepoint"
- - Sharepoint Online, authenticated by Microsoft account.
+ - Sharepoint Online, authenticated by Microsoft account
- "sharepoint-ntlm"
- - Sharepoint with NTLM authentication. Usually self-hosted or
- on-premises.
+ - Sharepoint with NTLM authentication, usually self-hosted or
+ on-premises
- "other"
- Other site/service or software
--webdav-user
-User name. In case NTLM authentication is used, the username should be
-in the format 'Domain'.
+User name.
+
+In case NTLM authentication is used, the username should be in the
+format 'Domain'.
- Config: user
- Env Var: RCLONE_WEBDAV_USER
@@ -29699,20 +31456,20 @@ NB Input to this must be obscured - see rclone obscure.
--webdav-bearer-token
-Bearer token instead of user/pass (e.g. a Macaroon)
+Bearer token instead of user/pass (e.g. a Macaroon).
- Config: bearer_token
- Env Var: RCLONE_WEBDAV_BEARER_TOKEN
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to webdav (Webdav).
--webdav-bearer-token-command
-Command to run to get a bearer token
+Command to run to get a bearer token.
- Config: bearer_token_command
- Env Var: RCLONE_WEBDAV_BEARER_TOKEN_COMMAND
@@ -29723,7 +31480,7 @@ Command to run to get a bearer token
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
Default encoding is
Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Hash,Percent,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8
@@ -29736,7 +31493,7 @@ for sharepoint-ntlm or identity otherwise.
--webdav-headers
-Set HTTP headers for all transactions
+Set HTTP headers for all transactions.
Use this to set additional HTTP headers for all transactions
@@ -29927,6 +31684,9 @@ YANDEX DISK
Yandex Disk is a cloud storage solution created by Yandex.
+
+Configuration
+
Here is an example of making a yandex configuration. First run
rclone config
@@ -30029,25 +31789,15 @@ The default restricted characters set are replaced.
Invalid UTF-8 bytes will also be replaced, as they can't be used in JSON
strings.
-Limitations
-
-When uploading very large files (bigger than about 5 GiB) you will need
-to increase the --timeout parameter. This is because Yandex pauses
-(perhaps to calculate the MD5SUM for the entire file) before returning
-confirmation that the file has been uploaded. The default handling of
-timeouts in rclone is to assume a 5 minute pause is an error and close
-the connection - you'll see net/http: timeout awaiting response headers
-errors in the logs if this is happening. Setting the timeout to twice
-the max size of file in GiB should be enough, so if you want to upload a
-30 GiB file set a timeout of 2 * 30 = 60m, that is --timeout 60m.
-
-Standard Options
+Standard options
Here are the standard options specific to yandex (Yandex Disk).
--yandex-client-id
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+
+Leave blank normally.
- Config: client_id
- Env Var: RCLONE_YANDEX_CLIENT_ID
@@ -30056,14 +31806,16 @@ OAuth Client Id Leave blank normally.
--yandex-client-secret
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+
+Leave blank normally.
- Config: client_secret
- Env Var: RCLONE_YANDEX_CLIENT_SECRET
- Type: string
- Default: ""
-Advanced Options
+Advanced options
Here are the advanced options specific to yandex (Yandex Disk).
@@ -30078,7 +31830,9 @@ OAuth Access Token as a JSON blob.
--yandex-auth-url
-Auth server URL. Leave blank to use the provider defaults.
+Auth server URL.
+
+Leave blank to use the provider defaults.
- Config: auth_url
- Env Var: RCLONE_YANDEX_AUTH_URL
@@ -30087,7 +31841,9 @@ Auth server URL. Leave blank to use the provider defaults.
--yandex-token-url
-Token server url. Leave blank to use the provider defaults.
+Token server url.
+
+Leave blank to use the provider defaults.
- Config: token_url
- Env Var: RCLONE_YANDEX_TOKEN_URL
@@ -30098,7 +31854,7 @@ Token server url. Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_YANDEX_ENCODING
@@ -30106,12 +31862,34 @@ See: the encoding section in the overview for more info.
- Default: Slash,Del,Ctl,InvalidUtf8,Dot
+Limitations
+
+When uploading very large files (bigger than about 5 GiB) you will need
+to increase the --timeout parameter. This is because Yandex pauses
+(perhaps to calculate the MD5SUM for the entire file) before returning
+confirmation that the file has been uploaded. The default handling of
+timeouts in rclone is to assume a 5 minute pause is an error and close
+the connection - you'll see net/http: timeout awaiting response headers
+errors in the logs if this is happening. Setting the timeout to twice
+the max size of file in GiB should be enough, so if you want to upload a
+30 GiB file set a timeout of 2 * 30 = 60m, that is --timeout 60m.
+
+Having a Yandex Mail account is mandatory to use the Yandex.Disk
+subscription. Token generation will work without a mail account, but
+Rclone won't be able to complete any actions.
+
+ [403 - DiskUnsupportedUserAccountTypeError] User account type is not supported.
+
+
ZOHO WORKDRIVE
Zoho WorkDrive is a cloud storage solution created by Zoho.
+
+Configuration
+
Here is an example of making a zoho configuration. First run
rclone config
@@ -30225,13 +32003,15 @@ Only control characters and invalid UTF-8 are replaced. In addition most
Unicode full-width characters are not supported at all and will be
removed from filenames during upload.
-Standard Options
+Standard options
Here are the standard options specific to zoho (Zoho).
--zoho-client-id
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+
+Leave blank normally.
- Config: client_id
- Env Var: RCLONE_ZOHO_CLIENT_ID
@@ -30240,7 +32020,9 @@ OAuth Client Id Leave blank normally.
--zoho-client-secret
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+
+Leave blank normally.
- Config: client_secret
- Env Var: RCLONE_ZOHO_CLIENT_SECRET
@@ -30268,7 +32050,7 @@ sure use the same top level domain as you connect to in your browser.
- "com.au"
- Australia
-Advanced Options
+Advanced options
Here are the advanced options specific to zoho (Zoho).
@@ -30283,7 +32065,9 @@ OAuth Access Token as a JSON blob.
--zoho-auth-url
-Auth server URL. Leave blank to use the provider defaults.
+Auth server URL.
+
+Leave blank to use the provider defaults.
- Config: auth_url
- Env Var: RCLONE_ZOHO_AUTH_URL
@@ -30292,7 +32076,9 @@ Auth server URL. Leave blank to use the provider defaults.
--zoho-token-url
-Token server url. Leave blank to use the provider defaults.
+Token server url.
+
+Leave blank to use the provider defaults.
- Config: token_url
- Env Var: RCLONE_ZOHO_TOKEN_URL
@@ -30303,7 +32089,7 @@ Token server url. Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_ZOHO_ENCODING
@@ -30322,6 +32108,9 @@ Local paths are specified as normal filesystem paths, e.g.
Will sync /home/source to /tmp/destination.
+
+Configuration
+
For consistencies sake one can also configure a remote of type local in
the config file, and access the local filesystem using rclone remote
paths, e.g. remote:path/to/wherever, but it is probably easier not to.
@@ -30352,6 +32141,11 @@ in this case (use -v to see), e.g.
Restricted characters
+With the local backend, restrictions on the characters that are usable
+in file or directory names depend on the operating system. To check what
+rclone will replace by default on your system, run
+rclone help flags local-encoding.
+
On non Windows platforms the following characters are replaced when
handling file names.
@@ -30602,13 +32396,13 @@ mount to the same device as being on the same filesystem.
NB This flag is only available on Unix based systems. On systems where
it isn't supported (e.g. Windows) it will be ignored.
-Advanced Options
+Advanced options
Here are the advanced options specific to local (Local Disk).
--local-nounc
-Disable UNC (long path names) conversion on Windows
+Disable UNC (long path names) conversion on Windows.
- Config: nounc
- Env Var: RCLONE_LOCAL_NOUNC
@@ -30616,7 +32410,7 @@ Disable UNC (long path names) conversion on Windows
- Default: ""
- Examples:
- "true"
- - Disables long file names
+ - Disables long file names.
--copy-links / -L
@@ -30629,7 +32423,7 @@ Follow symlinks and copy the pointed to item.
--links / -l
-Translate symlinks to/from regular files with a '.rclonelink' extension
+Translate symlinks to/from regular files with a '.rclonelink' extension.
- Config: links
- Env Var: RCLONE_LOCAL_LINKS
@@ -30638,9 +32432,10 @@ Translate symlinks to/from regular files with a '.rclonelink' extension
--skip-links
-Don't warn about skipped symlinks. This flag disables warning messages
-on skipped symlinks or junction points, as you explicitly acknowledge
-that they should be skipped.
+Don't warn about skipped symlinks.
+
+This flag disables warning messages on skipped symlinks or junction
+points, as you explicitly acknowledge that they should be skipped.
- Config: skip_links
- Env Var: RCLONE_LOCAL_SKIP_LINKS
@@ -30650,16 +32445,16 @@ that they should be skipped.
--local-zero-size-links
Assume the Stat size of links is zero (and read them instead)
-(Deprecated)
+(deprecated).
Rclone used to use the Stat size of links as the link size, but this
-fails in quite a few places
+fails in quite a few places:
- Windows
- On some virtual filesystems (such ash LucidLink)
- Android
-So rclone now always reads the link
+So rclone now always reads the link.
- Config: zero_size_links
- Env Var: RCLONE_LOCAL_ZERO_SIZE_LINKS
@@ -30668,7 +32463,7 @@ So rclone now always reads the link
--local-unicode-normalization
-Apply unicode NFC normalization to paths and filenames
+Apply unicode NFC normalization to paths and filenames.
This flag can be used to normalize file names into unicode NFC form that
are read from the local filesystem.
@@ -30690,7 +32485,7 @@ sync routine so this flag shouldn't normally be used.
--local-no-check-updated
-Don't check to see if the files change during upload
+Don't check to see if the files change during upload.
Normally rclone checks the size and modification time of files as they
are being uploaded and aborts with a message which starts "can't copy -
@@ -30743,7 +32538,7 @@ override the default choice.
--local-case-insensitive
-Force the filesystem to report itself as case insensitive
+Force the filesystem to report itself as case insensitive.
Normally the local backend declares itself as case insensitive on
Windows/macOS and case sensitive for everything else. Use this flag to
@@ -30756,7 +32551,7 @@ override the default choice.
--local-no-preallocate
-Disable preallocation of disk space for transferred files
+Disable preallocation of disk space for transferred files.
Preallocation of disk space helps prevent filesystem fragmentation.
However, some virtual filesystem layers (such as Google Drive File
@@ -30771,7 +32566,7 @@ this flag to disable preallocation.
--local-no-sparse
-Disable sparse files for multi-thread downloads
+Disable sparse files for multi-thread downloads.
On Windows platforms rclone will make sparse files when doing
multi-thread downloads. This avoids long pauses on large files where the
@@ -30785,7 +32580,7 @@ disk fragmentation and can be slow to work with.
--local-no-set-modtime
-Disable setting modtime
+Disable setting modtime.
Normally rclone updates modification time of files after they are done
uploading. This can cause permissions issues on Linux platforms when the
@@ -30802,13 +32597,14 @@ enabled, rclone will no longer update the modtime after copying a file.
This sets the encoding for the backend.
-See: the encoding section in the overview for more info.
+See the encoding section in the overview for more info.
- Config: encoding
- Env Var: RCLONE_LOCAL_ENCODING
- Type: MultiEncoder
- Default: Slash,Dot
+
Backend commands
Here are the commands specific to the local backend.
@@ -30844,6 +32640,235 @@ Options:
CHANGELOG
+v1.57.0 - 2021-11-01
+
+See commits
+
+- New backends
+ - Sia: for Sia decentralized cloud (Ian Levesque, Matthew Sevey,
+ Ivan Andreev)
+ - Hasher: caches hashes and enable hashes for backends that don't
+ support them (Ivan Andreev)
+- New commands
+ - lsjson --stat: to get info about a single file/dir and
+ operations/stat api (Nick Craig-Wood)
+ - config paths: show configured paths (albertony)
+- New Features
+ - about: Make human-readable output more consistent with other
+ commands (albertony)
+ - build
+ - Use go1.17 for building and make go1.14 the minimum
+ supported (Nick Craig-Wood)
+ - Update Go to 1.16 and NDK to 22b for Android builds (x0b)
+ - config
+ - Support hyphen in remote name from environment variable
+ (albertony)
+ - Make temporary directory user-configurable (albertony)
+ - Convert --cache-dir value to an absolute path (albertony)
+ - Do not override MIME types from OS defaults (albertony)
+ - docs
+ - Toc styling and header levels cleanup (albertony)
+ - Extend documentation on valid remote names (albertony)
+ - Mention make for building and cmount tag for macos (Alex
+ Chen)
+ - ...and many more contributions to numerous to mention!
+ - fs: Move with --ignore-existing will not delete skipped files
+ (Nathan Collins)
+ - hashsum
+ - Treat hash values in sum file as case insensitive (Ivan
+ Andreev)
+ - Don't put ERROR or UNSUPPORTED in output (Ivan Andreev)
+ - lib/encoder: Add encoding of square brackets (Ivan Andreev)
+ - lib/file: Improve error message when attempting to create dir on
+ nonexistent drive on windows (albertony)
+ - lib/http: Factor password hash salt into options with default
+ (Nolan Woods)
+ - lib/kv: Add key-value database api (Ivan Andreev)
+ - librclone
+ - Add RcloneFreeString function (albertony)
+ - Free strings in python example (albertony)
+ - log: Optionally print pid in logs (Ivan Andreev)
+ - ls: Introduce --human-readable global option to print
+ human-readable sizes (albertony)
+ - ncdu: Introduce key u to toggle human-readable (albertony)
+ - operations: Add rmdirs -v output (Justin Winokur)
+ - serve sftp
+ - Generate an ECDSA server key as well as RSA (Nick
+ Craig-Wood)
+ - Generate an Ed25519 server key as well as ECDSA and RSA
+ (albertony)
+ - serve docker
+ - Allow to customize proxy settings of docker plugin (Ivan
+ Andreev)
+ - Build docker plugin for multiple platforms (Thomas Stachl)
+ - size: Include human-readable count (albertony)
+ - touch: Add support for touching files in directory, with
+ recursive option, filtering and --dry-run/-i (albertony)
+ - tree: Option to print human-readable sizes removed in favor of
+ global option (albertony)
+- Bug Fixes
+ - lib/http
+ - Fix bad username check in single auth secret provider (Nolan
+ Woods)
+ - Fix handling of SSL credentials (Nolan Woods)
+ - serve ftp: Ensure modtime is passed as UTC always to fix
+ timezone oddities (Nick Craig-Wood)
+ - serve sftp: Fix generation of server keys on windows (albertony)
+ - serve docker: Fix octal umask (Ivan Andreev)
+- Mount
+ - Enable rclone to be run as mount helper direct from the fstab
+ (Ivan Andreev)
+ - Use procfs to validate mount on linux (Ivan Andreev)
+ - Correctly daemonize for compatibility with automount (Ivan
+ Andreev)
+- VFS
+ - Ensure names used in cache path are legal on current OS
+ (albertony)
+ - Ignore ECLOSED when truncating file handles to fix intermittent
+ bad file descriptor error (Nick Craig-Wood)
+- Local
+ - Refactor default OS encoding out from local backend into shared
+ encoder lib (albertony)
+- Crypt
+ - Return wrapped object even with --crypt-no-data-encryption (Ivan
+ Andreev)
+ - Fix uploads with --crypt-no-data-encryption (Nick Craig-Wood)
+- Azure Blob
+ - Add --azureblob-no-head-object (Tatsuya Noyori)
+- Box
+ - Make listings of heavily used directories more reliable (Nick
+ Craig-Wood)
+ - When doing cleanup delete as much as possible (Nick Craig-Wood)
+ - Add --box-list-chunk to control listing chunk size (Nick
+ Craig-Wood)
+ - Delete items in parallel in cleanup using --checkers threads
+ (Nick Craig-Wood)
+ - Add --box-owned-by to only show items owned by the login passed
+ (Nick Craig-Wood)
+ - Retry operation_blocked_temporary errors (Nick Craig-Wood)
+- Chunker
+ - Md5all must create metadata if base hash is slow (Ivan Andreev)
+- Drive
+ - Speed up directory listings by constraining the API listing
+ using the current filters (fotile96, Ivan Andreev)
+ - Fix buffering for single request upload for files smaller than
+ --drive-upload-cutoff (YenForYang)
+ - Add -o config option to backend drives to make config for all
+ shared drives (Nick Craig-Wood)
+- Dropbox
+ - Add --dropbox-batch-commit-timeout to control batch timeout
+ (Nick Craig-Wood)
+- Filefabric
+ - Make backoff exponential for error_background to fix errors
+ (Nick Craig-Wood)
+ - Fix directory move after API change (Nick Craig-Wood)
+- FTP
+ - Enable tls session cache by default (Ivan Andreev)
+ - Add option to disable tls13 (Ivan Andreev)
+ - Fix timeout after long uploads (Ivan Andreev)
+ - Add support for precise time (Ivan Andreev)
+ - Enable CI for ProFtpd, PureFtpd, VsFtpd (Ivan Andreev)
+- Googlephotos
+ - Use encoder for album names to fix albums with control
+ characters (Parth Shukla)
+- Jottacloud
+ - Implement SetModTime to support modtime-only changes (albertony)
+ - Improved error handling with SetModTime and corrupt files in
+ general (albertony)
+ - Add support for UserInfo (rclone config userinfo) feature
+ (albertony)
+ - Return direct download link from rclone link command (albertony)
+- Koofr
+ - Create direct share link (Dmitry Bogatov)
+- Pcloud
+ - Add sha256 support (Ken Enrique Morel)
+- Premiumizeme
+ - Fix directory listing after API changes (Nick Craig-Wood)
+ - Fix server side move after API change (Nick Craig-Wood)
+ - Fix server side directory move after API changes (Nick
+ Craig-Wood)
+- S3
+ - Add support to use CDN URL to download the file (Logeshwaran)
+ - Add AWS Snowball Edge to providers examples (r0kk3rz)
+ - Use a combination of SDK retries and rclone retries (Nick
+ Craig-Wood)
+ - Fix IAM Role for Service Account not working and other auth
+ problems (Nick Craig-Wood)
+ - Fix shared_credentials_file auth after reverting incorrect fix
+ (Nick Craig-Wood)
+ - Fix corrupted on transfer: sizes differ 0 vs xxxx with Ceph
+ (Nick Craig-Wood)
+- Seafile
+ - Fix error when not configured for 2fa (Fred)
+- SFTP
+ - Fix timeout when doing MD5SUM of large file (Nick Craig-Wood)
+- Swift
+ - Update OCI URL (David Liu)
+ - Document OVH Cloud Archive (HNGamingUK)
+- Union
+ - Fix rename not working with union of local disk and bucket based
+ remote (Nick Craig-Wood)
+
+
+v1.56.2 - 2021-10-01
+
+See commits
+
+- Bug Fixes
+ - serve http: Re-add missing auth to http service (Nolan Woods)
+ - build: Update golang.org/x/sys to fix crash on macOS when
+ compiled with go1.17 (Herby Gillot)
+- FTP
+ - Fix deadlock after failed update when concurrency=1 (Ivan
+ Andreev)
+
+
+v1.56.1 - 2021-09-19
+
+See commits
+
+- Bug Fixes
+ - accounting: Fix maximum bwlimit by scaling scale max token
+ bucket size (Nick Craig-Wood)
+ - rc: Fix speed does not update in core/stats (negative0)
+ - selfupdate: Fix --quiet option, not quite quiet (yedamo)
+ - serve http: Fix serve http exiting directly after starting
+ (Cnly)
+ - build
+ - Apply gofmt from golang 1.17 (Ivan Andreev)
+ - Update Go to 1.16 and NDK to 22b for android/any (x0b)
+- Mount
+ - Fix --daemon mode (Ivan Andreev)
+- VFS
+ - Fix duplicates on rename (Nick Craig-Wood)
+ - Fix crash when truncating a just uploaded object (Nick
+ Craig-Wood)
+ - Fix issue where empty dirs would build up in cache meta dir
+ (albertony)
+- Drive
+ - Fix instructions for auto config (Greg Sadetsky)
+ - Fix lsf example without drive-impersonate (Greg Sadetsky)
+- Onedrive
+ - Handle HTTP 400 better in PublicLink (Alex Chen)
+ - Clarification of the process for creating custom client_id
+ (Mariano Absatz)
+- Pcloud
+ - Return an early error when Put is called with an unknown size
+ (Nick Craig-Wood)
+ - Try harder to delete a failed upload (Nick Craig-Wood)
+- S3
+ - Add Wasabi's AP-Northeast endpoint info (hota)
+ - Fix typo in s3 documentation (Greg Sadetsky)
+- Seafile
+ - Fix 2fa config state machine (Fred)
+- SFTP
+ - Remove spurious error message on --sftp-disable-concurrent-reads
+ (Nick Craig-Wood)
+- Sugarsync
+ - Fix initial connection after config re-arrangement (Nick
+ Craig-Wood)
+
+
v1.56.0 - 2021-07-20
See commits
@@ -35538,7 +37563,9 @@ Bugs are stored in rclone's GitHub project:
- Known issues
-Frequently Asked Questions
+
+FREQUENTLY ASKED QUESTIONS
+
Do all cloud storage systems support all rclone commands
@@ -35737,8 +37764,27 @@ directory with thousands or millions of files in. Rclone has to load
this entirely into memory as rclone objects. Each rclone object takes
0.5k-1k of memory.
+Rclone changes fullwidth Unicode punctuation marks in file names
+
+For example: On a Windows system, you have a file with name Test:1.jpg,
+where : is the Unicode fullwidth colon symbol. When using rclone to
+copy this to your Google Drive, you will notice that the file gets
+renamed to Test:1.jpg, where : is the regular (halfwidth) colon.
+
+The reason for such renames is the way rclone handles different
+restricted filenames on different cloud storage systems. It tries to
+avoid ambiguous file names as much and allow moving files between many
+cloud storage systems transparently, by replacing invalid characters
+with similar looking Unicode characters when transferring to one storage
+system, and replacing back again when transferring to a different
+storage system where the original characters are supported. When the
+same Unicode characters are intentionally used in file names, this
+replacement strategy leads to unwanted renames. Read more here.
+
+
+
+LICENSE
-License
This is free software under the terms of MIT the license (check the
COPYING file included with the source code).
@@ -35764,6 +37810,10 @@ COPYING file included with the source code).
THE SOFTWARE.
+
+AUTHORS AND CONTRIBUTORS
+
+
Authors
- Nick Craig-Wood [email protected]
@@ -36047,7 +38097,7 @@ email addresses removed from here need to be addeed to bin/.ignore-emails to mak
- Chaitanya Bankanhal [email protected]
- Michał Matczuk [email protected]
- Macavirus [email protected]
-- Abhinav Sharma [email protected]
+- Abhinav Sharma [email protected]
- Patrick Wang [email protected]
- Cenk Alti [email protected]
@@ -36079,8 +38129,7 @@ email addresses removed from here need to be addeed to bin/.ignore-emails to mak
- Barry Muldrey [email protected]
- Sebastian Brandt [email protected]
- Marco Molteni [email protected]
-- Ankur Gupta [email protected]
+- Ankur Gupta [email protected]
- Maciej Zimnoch [email protected]
- Fernando [email protected]
@@ -36227,7 +38276,6 @@ email addresses removed from here need to be addeed to bin/.ignore-emails to mak
- Alexey Tabakman [email protected]
- David Sze [email protected]
- cynthia kwok [email protected]
-- Ankur Gupta [email protected]
- Miron Veryanskiy [email protected]
@@ -36279,6 +38327,30 @@ email addresses removed from here need to be addeed to bin/.ignore-emails to mak
- Michael Hanselmann [email protected]
- Chuan Zh [email protected]
- Antoine GIRARD [email protected]
+- Justin Winokur (Jwink3101) [email protected]
+- Mariano Absatz (git) [email protected]
+- Greg Sadetsky [email protected]
+- vinibali [email protected]
+- Ken Enrique Morel [email protected]
+- Justin Hellings [email protected]
+- Parth Shukla [email protected]
+- HNGamingUK [email protected]
+- YenForYang [email protected]
+- Logeshwaran [email protected]
+- Rajat Goel [email protected]
+- Matthew Sevey [email protected]
+- Filip Rysavy [email protected]
+- Ian Levesque [email protected]
+- Thomas Stachl [email protected]
+- Dmitry Bogatov git#[email protected]
+- David Liu [email protected]
diff --git a/bin/make_manual.py b/bin/make_manual.py
index 8c1631c33..036c6ac4e 100755
--- a/bin/make_manual.py
+++ b/bin/make_manual.py
@@ -43,6 +43,7 @@ docs = [
"googlecloudstorage.md",
"drive.md",
"googlephotos.md",
+ "hasher.md",
"hdfs.md",
"http.md",
"hubic.md",
@@ -55,6 +56,7 @@ docs = [
"onedrive.md",
"opendrive.md",
"qingstor.md",
+ "sia.md",
"swift.md",
"pcloud.md",
"premiumizeme.md",
diff --git a/docs/content/alias.md b/docs/content/alias.md
index 12421b017..01782bff2 100644
--- a/docs/content/alias.md
+++ b/docs/content/alias.md
@@ -89,13 +89,14 @@ Copy another local directory to the alias directory called source
rclone copy /home/source remote:source
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/alias/alias.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to alias (Alias for an existing remote).
#### --alias-remote
Remote or path to alias.
+
Can be "myremote:path/to/dir", "myremote:bucket", "myremote:" or "/local/path".
- Config: remote
diff --git a/docs/content/amazonclouddrive.md b/docs/content/amazonclouddrive.md
index 90d58201c..7d71d8656 100644
--- a/docs/content/amazonclouddrive.md
+++ b/docs/content/amazonclouddrive.md
@@ -158,13 +158,14 @@ rclone it will take you to an `amazon.com` page to log in. Your
`amazon.co.uk` email and password should work here just fine.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/amazonclouddrive/amazonclouddrive.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to amazon cloud drive (Amazon Drive).
#### --acd-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -174,7 +175,8 @@ Leave blank normally.
#### --acd-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -182,7 +184,7 @@ Leave blank normally.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to amazon cloud drive (Amazon Drive).
@@ -198,6 +200,7 @@ OAuth Access Token as a JSON blob.
#### --acd-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -208,6 +211,7 @@ Leave blank to use the provider defaults.
#### --acd-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -275,7 +279,7 @@ underlying S3 storage.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_ACD_ENCODING
diff --git a/docs/content/azureblob.md b/docs/content/azureblob.md
index f7d691893..f4323929e 100644
--- a/docs/content/azureblob.md
+++ b/docs/content/azureblob.md
@@ -148,13 +148,15 @@ parties access to a single container or putting credentials into an
untrusted environment such as a CI build server.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/azureblob/azureblob.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to azureblob (Microsoft Azure Blob Storage).
#### --azureblob-account
-Storage Account Name (leave blank to use SAS URL or Emulator)
+Storage Account Name.
+
+Leave blank to use SAS URL or Emulator.
- Config: account
- Env Var: RCLONE_AZUREBLOB_ACCOUNT
@@ -182,7 +184,9 @@ See ["Create an Azure service principal"](https://docs.microsoft.com/en-us/cli/a
#### --azureblob-key
-Storage Account Key (leave blank to use SAS URL or Emulator)
+Storage Account Key.
+
+Leave blank to use SAS URL or Emulator.
- Config: key
- Env Var: RCLONE_AZUREBLOB_KEY
@@ -191,8 +195,9 @@ Storage Account Key (leave blank to use SAS URL or Emulator)
#### --azureblob-sas-url
-SAS URL for container level access only
-(leave blank if using account/key or Emulator)
+SAS URL for container level access only.
+
+Leave blank if using account/key or Emulator.
- Config: sas_url
- Env Var: RCLONE_AZUREBLOB_SAS_URL
@@ -201,7 +206,7 @@ SAS URL for container level access only
#### --azureblob-use-msi
-Use a managed service identity to authenticate (only works in Azure)
+Use a managed service identity to authenticate (only works in Azure).
When true, use a [managed service identity](https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/)
to authenticate to Azure Storage instead of a SAS token or account key.
@@ -219,20 +224,24 @@ msi_client_id, or msi_mi_res_id parameters.
#### --azureblob-use-emulator
-Uses local storage emulator if provided as 'true' (leave blank if using real azure storage endpoint)
+Uses local storage emulator if provided as 'true'.
+
+Leave blank if using real azure storage endpoint.
- Config: use_emulator
- Env Var: RCLONE_AZUREBLOB_USE_EMULATOR
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to azureblob (Microsoft Azure Blob Storage).
#### --azureblob-msi-object-id
-Object ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_mi_res_id specified.
+Object ID of the user-assigned MSI to use, if any.
+
+Leave blank if msi_client_id or msi_mi_res_id specified.
- Config: msi_object_id
- Env Var: RCLONE_AZUREBLOB_MSI_OBJECT_ID
@@ -241,7 +250,9 @@ Object ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id
#### --azureblob-msi-client-id
-Object ID of the user-assigned MSI to use, if any. Leave blank if msi_object_id or msi_mi_res_id specified.
+Object ID of the user-assigned MSI to use, if any.
+
+Leave blank if msi_object_id or msi_mi_res_id specified.
- Config: msi_client_id
- Env Var: RCLONE_AZUREBLOB_MSI_CLIENT_ID
@@ -250,7 +261,9 @@ Object ID of the user-assigned MSI to use, if any. Leave blank if msi_object_id
#### --azureblob-msi-mi-res-id
-Azure resource ID of the user-assigned MSI to use, if any. Leave blank if msi_client_id or msi_object_id specified.
+Azure resource ID of the user-assigned MSI to use, if any.
+
+Leave blank if msi_client_id or msi_object_id specified.
- Config: msi_mi_res_id
- Env Var: RCLONE_AZUREBLOB_MSI_MI_RES_ID
@@ -259,7 +272,8 @@ Azure resource ID of the user-assigned MSI to use, if any. Leave blank if msi_cl
#### --azureblob-endpoint
-Endpoint for the service
+Endpoint for the service.
+
Leave blank normally.
- Config: endpoint
@@ -269,7 +283,7 @@ Leave blank normally.
#### --azureblob-upload-cutoff
-Cutoff for switching to chunked upload (<= 256 MiB). (Deprecated)
+Cutoff for switching to chunked upload (<= 256 MiB) (deprecated).
- Config: upload_cutoff
- Env Var: RCLONE_AZUREBLOB_UPLOAD_CUTOFF
@@ -364,6 +378,7 @@ to start uploading.
#### --azureblob-memory-pool-flush-time
How often internal memory buffer pools will be flushed.
+
Uploads which requires additional buffers (f.e multipart) will use memory pool for allocations.
This option controls how often unused buffers will be removed from the pool.
@@ -385,7 +400,7 @@ Whether to use mmap buffers in internal memory pool.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_AZUREBLOB_ENCODING
@@ -394,7 +409,7 @@ See: the [encoding section in the overview](/overview/#encoding) for more info.
#### --azureblob-public-access
-Public access level of a container: blob, container.
+Public access level of a container: blob or container.
- Config: public_access
- Env Var: RCLONE_AZUREBLOB_PUBLIC_ACCESS
@@ -402,12 +417,22 @@ Public access level of a container: blob, container.
- Default: ""
- Examples:
- ""
- - The container and its blobs can be accessed only with an authorized request. It's a default value
+ - The container and its blobs can be accessed only with an authorized request.
+ - It's a default value.
- "blob"
- Blob data within this container can be read via anonymous request.
- "container"
- Allow full public read access for container and blob data.
+#### --azureblob-no-head-object
+
+If set, do not do HEAD before GET when getting objects.
+
+- Config: no_head_object
+- Env Var: RCLONE_AZUREBLOB_NO_HEAD_OBJECT
+- Type: bool
+- Default: false
+
{{< rem autogenerated options stop >}}
## Limitations
diff --git a/docs/content/b2.md b/docs/content/b2.md
index b2a16b56f..921498b59 100644
--- a/docs/content/b2.md
+++ b/docs/content/b2.md
@@ -321,13 +321,13 @@ https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxx
```
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/b2/b2.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to b2 (Backblaze B2).
#### --b2-account
-Account ID or Application Key ID
+Account ID or Application Key ID.
- Config: account
- Env Var: RCLONE_B2_ACCOUNT
@@ -336,7 +336,7 @@ Account ID or Application Key ID
#### --b2-key
-Application Key
+Application Key.
- Config: key
- Env Var: RCLONE_B2_KEY
@@ -352,13 +352,14 @@ Permanently delete files on remote removal, otherwise hide files.
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to b2 (Backblaze B2).
#### --b2-endpoint
Endpoint for the service.
+
Leave blank normally.
- Config: endpoint
@@ -388,6 +389,7 @@ in the [b2 integrations checklist](https://www.backblaze.com/b2/docs/integration
#### --b2-versions
Include old versions in directory listings.
+
Note that when using this no file write operations are permitted,
so you can't upload files or delete them.
@@ -411,7 +413,7 @@ This value should be set no larger than 4.657 GiB (== 5 GB).
#### --b2-copy-cutoff
-Cutoff for switching to multipart copy
+Cutoff for switching to multipart copy.
Any files larger than this that need to be server-side copied will be
copied in chunks of this size.
@@ -425,12 +427,14 @@ The minimum is 0 and the maximum is 4.6 GiB.
#### --b2-chunk-size
-Upload chunk size. Must fit in memory.
+Upload chunk size.
+
+When uploading large files, chunk the file into this size.
+
+Must fit in memory. These chunks are buffered in memory and there
+might a maximum of "--transfers" chunks in progress at once.
-When uploading large files, chunk the file into this size. Note that
-these chunks are buffered in memory and there might a maximum of
-"--transfers" chunks in progress at once. 5,000,000 Bytes is the
-minimum size.
+5,000,000 Bytes is the minimum size.
- Config: chunk_size
- Env Var: RCLONE_B2_CHUNK_SIZE
@@ -439,7 +443,7 @@ minimum size.
#### --b2-disable-checksum
-Disable checksums for large (> upload cutoff) files
+Disable checksums for large (> upload cutoff) files.
Normally rclone will calculate the SHA1 checksum of the input before
uploading it so it can add it to metadata on the object. This is great
@@ -503,7 +507,7 @@ Whether to use mmap buffers in internal memory pool.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_B2_ENCODING
diff --git a/docs/content/box.md b/docs/content/box.md
index 2c9fd7a66..8d4f0c775 100644
--- a/docs/content/box.md
+++ b/docs/content/box.md
@@ -265,13 +265,14 @@ in the browser, then you use `11xxxxxxxxx8` as
the `root_folder_id` in the config.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/box/box.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to box (Box).
#### --box-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -281,7 +282,8 @@ Leave blank normally.
#### --box-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -292,11 +294,11 @@ Leave blank normally.
#### --box-box-config-file
Box App config.json location
+
Leave blank normally.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
-
- Config: box_config_file
- Env Var: RCLONE_BOX_BOX_CONFIG_FILE
- Type: string
@@ -305,6 +307,7 @@ Leading `~` will be expanded in the file name as will environment variables such
#### --box-access-token
Box App Primary Access Token
+
Leave blank normally.
- Config: access_token
@@ -322,11 +325,11 @@ Leave blank normally.
- Default: "user"
- Examples:
- "user"
- - Rclone should act on behalf of a user
+ - Rclone should act on behalf of a user.
- "enterprise"
- - Rclone should act on behalf of a service account
+ - Rclone should act on behalf of a service account.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to box (Box).
@@ -342,6 +345,7 @@ OAuth Access Token as a JSON blob.
#### --box-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -352,6 +356,7 @@ Leave blank to use the provider defaults.
#### --box-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -386,11 +391,29 @@ Max number of times to try committing a multipart file.
- Type: int
- Default: 100
+#### --box-list-chunk
+
+Size of listing chunk 1-1000.
+
+- Config: list_chunk
+- Env Var: RCLONE_BOX_LIST_CHUNK
+- Type: int
+- Default: 1000
+
+#### --box-owned-by
+
+Only show items owned by the login (email address) passed in.
+
+- Config: owned_by
+- Env Var: RCLONE_BOX_OWNED_BY
+- Type: string
+- Default: ""
+
#### --box-encoding
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_BOX_ENCODING
diff --git a/docs/content/cache.md b/docs/content/cache.md
index 70b2264df..caefdb235 100644
--- a/docs/content/cache.md
+++ b/docs/content/cache.md
@@ -305,13 +305,14 @@ Params:
- **withData** = true/false to delete cached data (chunks) as well _(optional, false by default)_
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/cache/cache.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to cache (Cache a remote).
#### --cache-remote
Remote to cache.
+
Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
"myremote:bucket" or maybe "myremote:" (not recommended).
@@ -322,7 +323,7 @@ Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
#### --cache-plex-url
-The URL of the Plex server
+The URL of the Plex server.
- Config: plex_url
- Env Var: RCLONE_CACHE_PLEX_URL
@@ -331,7 +332,7 @@ The URL of the Plex server
#### --cache-plex-username
-The username of the Plex user
+The username of the Plex user.
- Config: plex_username
- Env Var: RCLONE_CACHE_PLEX_USERNAME
@@ -340,7 +341,7 @@ The username of the Plex user
#### --cache-plex-password
-The password of the Plex user
+The password of the Plex user.
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
@@ -406,13 +407,13 @@ oldest chunks until it goes under this value.
- "10G"
- 10 GiB
-### Advanced Options
+### Advanced options
Here are the advanced options specific to cache (Cache a remote).
#### --cache-plex-token
-The plex token for authentication - auto set normally
+The plex token for authentication - auto set normally.
- Config: plex_token
- Env Var: RCLONE_CACHE_PLEX_TOKEN
@@ -421,7 +422,7 @@ The plex token for authentication - auto set normally
#### --cache-plex-insecure
-Skip all certificate verification when connecting to the Plex server
+Skip all certificate verification when connecting to the Plex server.
- Config: plex_insecure
- Env Var: RCLONE_CACHE_PLEX_INSECURE
@@ -431,6 +432,7 @@ Skip all certificate verification when connecting to the Plex server
#### --cache-db-path
Directory to store file structure metadata DB.
+
The remote name is used as the DB file name.
- Config: db_path
@@ -466,6 +468,7 @@ Clear all the cached data for this remote on start.
#### --cache-chunk-clean-interval
How often should the cache perform cleanups of the chunk storage.
+
The default value should be ok for most people. If you find that the
cache goes over "cache-chunk-total-size" too often then try to lower
this value to force it to perform cleanups more often.
@@ -535,7 +538,7 @@ available on the local machine.
#### --cache-rps
-Limits the number of requests per second to the source FS (-1 to disable)
+Limits the number of requests per second to the source FS (-1 to disable).
This setting places a hard limit on the number of requests per second
that cache will be doing to the cloud provider remote and try to
@@ -560,7 +563,7 @@ still pass.
#### --cache-writes
-Cache file data on writes through the FS
+Cache file data on writes through the FS.
If you need to read files immediately after you upload them through
cache you can enable this flag to have their data stored in the
@@ -589,7 +592,7 @@ provider
#### --cache-tmp-wait-time
-How long should files be stored in local cache before being uploaded
+How long should files be stored in local cache before being uploaded.
This is the duration that a file must wait in the temporary location
_cache-tmp-upload-path_ before it is selected for upload.
@@ -604,7 +607,7 @@ to start the upload if a queue formed for this purpose.
#### --cache-db-wait-time
-How long to wait for the DB to be available - 0 is unlimited
+How long to wait for the DB to be available - 0 is unlimited.
Only one process can have the DB open at any one time, so rclone waits
for this duration for the DB to become available before it gives an
@@ -617,7 +620,7 @@ If you set it to 0 then it will wait forever.
- Type: Duration
- Default: 1s
-### Backend commands
+## Backend commands
Here are the commands specific to the cache backend.
@@ -633,7 +636,7 @@ info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](/rc/#backend/command).
-#### stats
+### stats
Print stats on the cache backend in JSON format.
diff --git a/docs/content/changelog.md b/docs/content/changelog.md
index 3f6388566..d3ea37397 100644
--- a/docs/content/changelog.md
+++ b/docs/content/changelog.md
@@ -5,6 +5,179 @@ description: "Rclone Changelog"
# Changelog
+## v1.57.0 - 2021-11-01
+
+[See commits](https://github.com/rclone/rclone/compare/v1.56.0...v1.57.0)
+
+* New backends
+ * Sia: for Sia decentralized cloud (Ian Levesque, Matthew Sevey, Ivan Andreev)
+ * Hasher: caches hashes and enable hashes for backends that don't support them (Ivan Andreev)
+* New commands
+ * lsjson --stat: to get info about a single file/dir and `operations/stat` api (Nick Craig-Wood)
+ * config paths: show configured paths (albertony)
+* New Features
+ * about: Make human-readable output more consistent with other commands (albertony)
+ * build
+ * Use go1.17 for building and make go1.14 the minimum supported (Nick Craig-Wood)
+ * Update Go to 1.16 and NDK to 22b for Android builds (x0b)
+ * config
+ * Support hyphen in remote name from environment variable (albertony)
+ * Make temporary directory user-configurable (albertony)
+ * Convert `--cache-dir` value to an absolute path (albertony)
+ * Do not override MIME types from OS defaults (albertony)
+ * docs
+ * Toc styling and header levels cleanup (albertony)
+ * Extend documentation on valid remote names (albertony)
+ * Mention make for building and cmount tag for macos (Alex Chen)
+ * ...and many more contributions to numerous to mention!
+ * fs: Move with `--ignore-existing` will not delete skipped files (Nathan Collins)
+ * hashsum
+ * Treat hash values in sum file as case insensitive (Ivan Andreev)
+ * Don't put `ERROR` or `UNSUPPORTED` in output (Ivan Andreev)
+ * lib/encoder: Add encoding of square brackets (Ivan Andreev)
+ * lib/file: Improve error message when attempting to create dir on nonexistent drive on windows (albertony)
+ * lib/http: Factor password hash salt into options with default (Nolan Woods)
+ * lib/kv: Add key-value database api (Ivan Andreev)
+ * librclone
+ * Add `RcloneFreeString` function (albertony)
+ * Free strings in python example (albertony)
+ * log: Optionally print pid in logs (Ivan Andreev)
+ * ls: Introduce `--human-readable` global option to print human-readable sizes (albertony)
+ * ncdu: Introduce key `u` to toggle human-readable (albertony)
+ * operations: Add `rmdirs -v` output (Justin Winokur)
+ * serve sftp
+ * Generate an ECDSA server key as well as RSA (Nick Craig-Wood)
+ * Generate an Ed25519 server key as well as ECDSA and RSA (albertony)
+ * serve docker
+ * Allow to customize proxy settings of docker plugin (Ivan Andreev)
+ * Build docker plugin for multiple platforms (Thomas Stachl)
+ * size: Include human-readable count (albertony)
+ * touch: Add support for touching files in directory, with recursive option, filtering and `--dry-run`/`-i` (albertony)
+ * tree: Option to print human-readable sizes removed in favor of global option (albertony)
+* Bug Fixes
+ * lib/http
+ * Fix bad username check in single auth secret provider (Nolan Woods)
+ * Fix handling of SSL credentials (Nolan Woods)
+ * serve ftp: Ensure modtime is passed as UTC always to fix timezone oddities (Nick Craig-Wood)
+ * serve sftp: Fix generation of server keys on windows (albertony)
+ * serve docker: Fix octal umask (Ivan Andreev)
+* Mount
+ * Enable rclone to be run as mount helper direct from the fstab (Ivan Andreev)
+ * Use procfs to validate mount on linux (Ivan Andreev)
+ * Correctly daemonize for compatibility with automount (Ivan Andreev)
+* VFS
+ * Ensure names used in cache path are legal on current OS (albertony)
+ * Ignore `ECLOSED` when truncating file handles to fix intermittent bad file descriptor error (Nick Craig-Wood)
+* Local
+ * Refactor default OS encoding out from local backend into shared encoder lib (albertony)
+* Crypt
+ * Return wrapped object even with `--crypt-no-data-encryption` (Ivan Andreev)
+ * Fix uploads with `--crypt-no-data-encryption` (Nick Craig-Wood)
+* Azure Blob
+ * Add `--azureblob-no-head-object` (Tatsuya Noyori)
+* Box
+ * Make listings of heavily used directories more reliable (Nick Craig-Wood)
+ * When doing cleanup delete as much as possible (Nick Craig-Wood)
+ * Add `--box-list-chunk` to control listing chunk size (Nick Craig-Wood)
+ * Delete items in parallel in cleanup using `--checkers` threads (Nick Craig-Wood)
+ * Add `--box-owned-by` to only show items owned by the login passed (Nick Craig-Wood)
+ * Retry `operation_blocked_temporary` errors (Nick Craig-Wood)
+* Chunker
+ * Md5all must create metadata if base hash is slow (Ivan Andreev)
+* Drive
+ * Speed up directory listings by constraining the API listing using the current filters (fotile96, Ivan Andreev)
+ * Fix buffering for single request upload for files smaller than `--drive-upload-cutoff` (YenForYang)
+ * Add `-o config` option to `backend drives` to make config for all shared drives (Nick Craig-Wood)
+* Dropbox
+ * Add `--dropbox-batch-commit-timeout` to control batch timeout (Nick Craig-Wood)
+* Filefabric
+ * Make backoff exponential for error_background to fix errors (Nick Craig-Wood)
+ * Fix directory move after API change (Nick Craig-Wood)
+* FTP
+ * Enable tls session cache by default (Ivan Andreev)
+ * Add option to disable tls13 (Ivan Andreev)
+ * Fix timeout after long uploads (Ivan Andreev)
+ * Add support for precise time (Ivan Andreev)
+ * Enable CI for ProFtpd, PureFtpd, VsFtpd (Ivan Andreev)
+* Googlephotos
+ * Use encoder for album names to fix albums with control characters (Parth Shukla)
+* Jottacloud
+ * Implement `SetModTime` to support modtime-only changes (albertony)
+ * Improved error handling with `SetModTime` and corrupt files in general (albertony)
+ * Add support for `UserInfo` (`rclone config userinfo`) feature (albertony)
+ * Return direct download link from `rclone link` command (albertony)
+* Koofr
+ * Create direct share link (Dmitry Bogatov)
+* Pcloud
+ * Add sha256 support (Ken Enrique Morel)
+* Premiumizeme
+ * Fix directory listing after API changes (Nick Craig-Wood)
+ * Fix server side move after API change (Nick Craig-Wood)
+ * Fix server side directory move after API changes (Nick Craig-Wood)
+* S3
+ * Add support to use CDN URL to download the file (Logeshwaran)
+ * Add AWS Snowball Edge to providers examples (r0kk3rz)
+ * Use a combination of SDK retries and rclone retries (Nick Craig-Wood)
+ * Fix IAM Role for Service Account not working and other auth problems (Nick Craig-Wood)
+ * Fix `shared_credentials_file` auth after reverting incorrect fix (Nick Craig-Wood)
+ * Fix corrupted on transfer: sizes differ 0 vs xxxx with Ceph (Nick Craig-Wood)
+* Seafile
+ * Fix error when not configured for 2fa (Fred)
+* SFTP
+ * Fix timeout when doing MD5SUM of large file (Nick Craig-Wood)
+* Swift
+ * Update OCI URL (David Liu)
+ * Document OVH Cloud Archive (HNGamingUK)
+* Union
+ * Fix rename not working with union of local disk and bucket based remote (Nick Craig-Wood)
+
+## v1.56.2 - 2021-10-01
+
+[See commits](https://github.com/rclone/rclone/compare/v1.56.1...v1.56.2)
+
+* Bug Fixes
+ * serve http: Re-add missing auth to http service (Nolan Woods)
+ * build: Update golang.org/x/sys to fix crash on macOS when compiled with go1.17 (Herby Gillot)
+* FTP
+ * Fix deadlock after failed update when concurrency=1 (Ivan Andreev)
+
+## v1.56.1 - 2021-09-19
+
+[See commits](https://github.com/rclone/rclone/compare/v1.56.0...v1.56.1)
+
+* Bug Fixes
+ * accounting: Fix maximum bwlimit by scaling scale max token bucket size (Nick Craig-Wood)
+ * rc: Fix speed does not update in core/stats (negative0)
+ * selfupdate: Fix `--quiet` option, not quite quiet (yedamo)
+ * serve http: Fix `serve http` exiting directly after starting (Cnly)
+ * build
+ * Apply gofmt from golang 1.17 (Ivan Andreev)
+ * Update Go to 1.16 and NDK to 22b for android/any (x0b)
+* Mount
+ * Fix `--daemon` mode (Ivan Andreev)
+* VFS
+ * Fix duplicates on rename (Nick Craig-Wood)
+ * Fix crash when truncating a just uploaded object (Nick Craig-Wood)
+ * Fix issue where empty dirs would build up in cache meta dir (albertony)
+* Drive
+ * Fix instructions for auto config (Greg Sadetsky)
+ * Fix lsf example without drive-impersonate (Greg Sadetsky)
+* Onedrive
+ * Handle HTTP 400 better in PublicLink (Alex Chen)
+ * Clarification of the process for creating custom client_id (Mariano Absatz)
+* Pcloud
+ * Return an early error when Put is called with an unknown size (Nick Craig-Wood)
+ * Try harder to delete a failed upload (Nick Craig-Wood)
+* S3
+ * Add Wasabi's AP-Northeast endpoint info (hota)
+ * Fix typo in s3 documentation (Greg Sadetsky)
+* Seafile
+ * Fix 2fa config state machine (Fred)
+* SFTP
+ * Remove spurious error message on `--sftp-disable-concurrent-reads` (Nick Craig-Wood)
+* Sugarsync
+ * Fix initial connection after config re-arrangement (Nick Craig-Wood)
+
## v1.56.0 - 2021-07-20
[See commits](https://github.com/rclone/rclone/compare/v1.55.0...v1.56.0)
diff --git a/docs/content/chunker.md b/docs/content/chunker.md
index 047e819bf..dafd78d78 100644
--- a/docs/content/chunker.md
+++ b/docs/content/chunker.md
@@ -311,13 +311,14 @@ to keep rclone up-to-date to avoid data corruption.
Changing `transactions` is dangerous and requires explicit migration.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/chunker/chunker.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to chunker (Transparently chunk/split large files).
#### --chunker-remote
Remote to chunk/unchunk.
+
Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
"myremote:bucket" or maybe "myremote:" (not recommended).
@@ -337,7 +338,9 @@ Files larger than chunk size will be split in chunks.
#### --chunker-hash-type
-Choose how chunker handles hash sums. All modes but "none" require metadata.
+Choose how chunker handles hash sums.
+
+All modes but "none" require metadata.
- Config: hash_type
- Env Var: RCLONE_CHUNKER_HASH_TYPE
@@ -345,27 +348,30 @@ Choose how chunker handles hash sums. All modes but "none" require metadata.
- Default: "md5"
- Examples:
- "none"
- - Pass any hash supported by wrapped remote for non-chunked files, return nothing otherwise
+ - Pass any hash supported by wrapped remote for non-chunked files.
+ - Return nothing otherwise.
- "md5"
- - MD5 for composite files
+ - MD5 for composite files.
- "sha1"
- - SHA1 for composite files
+ - SHA1 for composite files.
- "md5all"
- - MD5 for all files
+ - MD5 for all files.
- "sha1all"
- - SHA1 for all files
+ - SHA1 for all files.
- "md5quick"
- - Copying a file to chunker will request MD5 from the source falling back to SHA1 if unsupported
+ - Copying a file to chunker will request MD5 from the source.
+ - Falling back to SHA1 if unsupported.
- "sha1quick"
- - Similar to "md5quick" but prefers SHA1 over MD5
+ - Similar to "md5quick" but prefers SHA1 over MD5.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to chunker (Transparently chunk/split large files).
#### --chunker-name-format
String format of chunk file names.
+
The two placeholders are: base file name (*) and chunk number (#...).
There must be one and only one asterisk and one or more consecutive hash characters.
If chunk number has less digits than the number of hashes, it is left-padded by zeros.
@@ -380,6 +386,7 @@ Possible chunk files are ignored if their name does not match given format.
#### --chunker-start-from
Minimum valid chunk number. Usually 0 or 1.
+
By default chunk numbers start from 1.
- Config: start_from
@@ -389,7 +396,9 @@ By default chunk numbers start from 1.
#### --chunker-meta-format
-Format of the metadata object or "none". By default "simplejson".
+Format of the metadata object or "none".
+
+By default "simplejson".
Metadata is a small JSON file named after the composite file.
- Config: meta_format
@@ -398,9 +407,11 @@ Metadata is a small JSON file named after the composite file.
- Default: "simplejson"
- Examples:
- "none"
- - Do not use metadata files at all. Requires hash type "none".
+ - Do not use metadata files at all.
+ - Requires hash type "none".
- "simplejson"
- Simple JSON supports hash sums and chunk validation.
+ -
- It has the following fields: ver, size, nchunks, md5, sha1.
#### --chunker-fail-hard
diff --git a/docs/content/commands/rclone.md b/docs/content/commands/rclone.md
index 6747f319a..1b4415fa9 100644
--- a/docs/content/commands/rclone.md
+++ b/docs/content/commands/rclone.md
@@ -41,9 +41,10 @@ See the [global flags page](/flags/) for global options not listed here.
* [rclone check](/commands/rclone_check/) - Checks the files in the source and destination match.
* [rclone checksum](/commands/rclone_checksum/) - Checks the files in the source against a SUM file.
* [rclone cleanup](/commands/rclone_cleanup/) - Clean up the remote if possible.
+* [rclone completion](/commands/rclone_completion/) - generate the autocompletion script for the specified shell
* [rclone config](/commands/rclone_config/) - Enter an interactive configuration session.
-* [rclone copy](/commands/rclone_copy/) - Copy files from source to dest, skipping already copied.
-* [rclone copyto](/commands/rclone_copyto/) - Copy files from source to dest, skipping already copied.
+* [rclone copy](/commands/rclone_copy/) - Copy files from source to dest, skipping identical files.
+* [rclone copyto](/commands/rclone_copyto/) - Copy files from source to dest, skipping identical files.
* [rclone copyurl](/commands/rclone_copyurl/) - Copy url content to dest.
* [rclone cryptcheck](/commands/rclone_cryptcheck/) - Cryptcheck checks the integrity of a crypted remote.
* [rclone cryptdecode](/commands/rclone_cryptdecode/) - Cryptdecode returns unencrypted file names.
diff --git a/docs/content/commands/rclone_about.md b/docs/content/commands/rclone_about.md
index 1d6e3392a..ab1e46253 100644
--- a/docs/content/commands/rclone_about.md
+++ b/docs/content/commands/rclone_about.md
@@ -17,23 +17,22 @@ output. The output is typically used, free, quota and trash contents.
E.g. Typical output from `rclone about remote:` is:
- Total: 17G
- Used: 7.444G
- Free: 1.315G
- Trashed: 100.000M
- Other: 8.241G
+ Total: 17 GiB
+ Used: 7.444 GiB
+ Free: 1.315 GiB
+ Trashed: 100.000 MiB
+ Other: 8.241 GiB
Where the fields are:
- * Total: total size available.
- * Used: total size used
- * Free: total space available to this user.
- * Trashed: total space used by trash
- * Other: total amount in other storage (e.g. Gmail, Google Photos)
- * Objects: total number of objects in the storage
+ * Total: Total size available.
+ * Used: Total size used.
+ * Free: Total space available to this user.
+ * Trashed: Total space used by trash.
+ * Other: Total amount in other storage (e.g. Gmail, Google Photos).
+ * Objects: Total number of objects in the storage.
-Not all backends print all fields. Information is not included if it is not
-provided by a backend. Where the value is unlimited it is omitted.
+All sizes are in number of bytes.
Applying a `--full` flag to the command prints the bytes in full, e.g.
@@ -53,9 +52,11 @@ A `--json` flag generates conveniently computer readable output, e.g.
"free": 1411001220
}
-Not all backends support the `rclone about` command.
+Not all backends print all fields. Information is not included if it is not
+provided by a backend. Where the value is unlimited it is omitted.
-See [List of backends that do not support about](https://rclone.org/overview/#optional-features)
+Some backends does not support the `rclone about` command at all,
+see complete list in [documentation](https://rclone.org/overview/#optional-features).
```
@@ -65,7 +66,7 @@ rclone about remote: [flags]
## Options
```
- --full Full numbers instead of SI units
+ --full Full numbers instead of human-readable
-h, --help help for about
--json Format output as JSON
```
diff --git a/docs/content/commands/rclone_backend.md b/docs/content/commands/rclone_backend.md
index a617aa908..69bac68ba 100644
--- a/docs/content/commands/rclone_backend.md
+++ b/docs/content/commands/rclone_backend.md
@@ -47,8 +47,8 @@ rclone backend <command> remote:path [opts] <args> [flags]
```
-h, --help help for backend
- --json Always output in JSON format.
- -o, --option stringArray Option in the form name=value or name.
+ --json Always output in JSON format
+ -o, --option stringArray Option in the form name=value or name
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_cat.md b/docs/content/commands/rclone_cat.md
index ee75c60f4..0b3b40f71 100644
--- a/docs/content/commands/rclone_cat.md
+++ b/docs/content/commands/rclone_cat.md
@@ -39,12 +39,12 @@ rclone cat remote:path [flags]
## Options
```
- --count int Only print N characters. (default -1)
- --discard Discard the output instead of printing.
- --head int Only print the first N characters.
+ --count int Only print N characters (default -1)
+ --discard Discard the output instead of printing
+ --head int Only print the first N characters
-h, --help help for cat
- --offset int Start printing at offset N (or from end if -ve).
- --tail int Only print the last N characters.
+ --offset int Start printing at offset N (or from end if -ve)
+ --tail int Only print the last N characters
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_check.md b/docs/content/commands/rclone_check.md
index 21b7b01ea..1911207a9 100644
--- a/docs/content/commands/rclone_check.md
+++ b/docs/content/commands/rclone_check.md
@@ -59,7 +59,7 @@ rclone check source:path dest:path [flags]
-C, --checkfile string Treat source:path as a SUM file with hashes of given type
--combined string Make a combined report of changes to this file
--differ string Report all non-matching files to this file
- --download Check by downloading rather than with hash.
+ --download Check by downloading rather than with hash
--error string Report all files with errors (hashing or reading) to this file
-h, --help help for check
--match string Report all matching files to this file
diff --git a/docs/content/commands/rclone_checksum.md b/docs/content/commands/rclone_checksum.md
index 691c56a8b..e285358bd 100644
--- a/docs/content/commands/rclone_checksum.md
+++ b/docs/content/commands/rclone_checksum.md
@@ -53,7 +53,7 @@ rclone checksum <hash> sumfile src:path [flags]
```
--combined string Make a combined report of changes to this file
--differ string Report all non-matching files to this file
- --download Check by hashing the contents.
+ --download Check by hashing the contents
--error string Report all files with errors (hashing or reading) to this file
-h, --help help for checksum
--match string Report all matching files to this file
diff --git a/docs/content/commands/rclone_completion.md b/docs/content/commands/rclone_completion.md
new file mode 100644
index 000000000..b30d71dfe
--- /dev/null
+++ b/docs/content/commands/rclone_completion.md
@@ -0,0 +1,34 @@
+---
+title: "rclone completion"
+description: "generate the autocompletion script for the specified shell"
+slug: rclone_completion
+url: /commands/rclone_completion/
+# autogenerated - DO NOT EDIT, instead edit the source code in cmd/completion/ and as part of making a release run "make commanddocs"
+---
+# rclone completion
+
+generate the autocompletion script for the specified shell
+
+## Synopsis
+
+
+Generate the autocompletion script for rclone for the specified shell.
+See each sub-command's help for details on how to use the generated script.
+
+
+## Options
+
+```
+ -h, --help help for completion
+```
+
+See the [global flags page](/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
+* [rclone completion bash](/commands/rclone_completion_bash/) - generate the autocompletion script for bash
+* [rclone completion fish](/commands/rclone_completion_fish/) - generate the autocompletion script for fish
+* [rclone completion powershell](/commands/rclone_completion_powershell/) - generate the autocompletion script for powershell
+* [rclone completion zsh](/commands/rclone_completion_zsh/) - generate the autocompletion script for zsh
+
diff --git a/docs/content/commands/rclone_completion_bash.md b/docs/content/commands/rclone_completion_bash.md
new file mode 100644
index 000000000..ce59b639f
--- /dev/null
+++ b/docs/content/commands/rclone_completion_bash.md
@@ -0,0 +1,48 @@
+---
+title: "rclone completion bash"
+description: "generate the autocompletion script for bash"
+slug: rclone_completion_bash
+url: /commands/rclone_completion_bash/
+# autogenerated - DO NOT EDIT, instead edit the source code in cmd/completion/bash/ and as part of making a release run "make commanddocs"
+---
+# rclone completion bash
+
+generate the autocompletion script for bash
+
+## Synopsis
+
+
+Generate the autocompletion script for the bash shell.
+
+This script depends on the 'bash-completion' package.
+If it is not installed already, you can install it via your OS's package manager.
+
+To load completions in your current shell session:
+$ source <(rclone completion bash)
+
+To load completions for every new session, execute once:
+Linux:
+ $ rclone completion bash > /etc/bash_completion.d/rclone
+MacOS:
+ $ rclone completion bash > /usr/local/etc/bash_completion.d/rclone
+
+You will need to start a new shell for this setup to take effect.
+
+
+```
+rclone completion bash
+```
+
+## Options
+
+```
+ -h, --help help for bash
+ --no-descriptions disable completion descriptions
+```
+
+See the [global flags page](/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone completion](/commands/rclone_completion/) - generate the autocompletion script for the specified shell
+
diff --git a/docs/content/commands/rclone_completion_fish.md b/docs/content/commands/rclone_completion_fish.md
new file mode 100644
index 000000000..62645463b
--- /dev/null
+++ b/docs/content/commands/rclone_completion_fish.md
@@ -0,0 +1,42 @@
+---
+title: "rclone completion fish"
+description: "generate the autocompletion script for fish"
+slug: rclone_completion_fish
+url: /commands/rclone_completion_fish/
+# autogenerated - DO NOT EDIT, instead edit the source code in cmd/completion/fish/ and as part of making a release run "make commanddocs"
+---
+# rclone completion fish
+
+generate the autocompletion script for fish
+
+## Synopsis
+
+
+Generate the autocompletion script for the fish shell.
+
+To load completions in your current shell session:
+$ rclone completion fish | source
+
+To load completions for every new session, execute once:
+$ rclone completion fish > ~/.config/fish/completions/rclone.fish
+
+You will need to start a new shell for this setup to take effect.
+
+
+```
+rclone completion fish [flags]
+```
+
+## Options
+
+```
+ -h, --help help for fish
+ --no-descriptions disable completion descriptions
+```
+
+See the [global flags page](/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone completion](/commands/rclone_completion/) - generate the autocompletion script for the specified shell
+
diff --git a/docs/content/commands/rclone_completion_powershell.md b/docs/content/commands/rclone_completion_powershell.md
new file mode 100644
index 000000000..9bd523e76
--- /dev/null
+++ b/docs/content/commands/rclone_completion_powershell.md
@@ -0,0 +1,40 @@
+---
+title: "rclone completion powershell"
+description: "generate the autocompletion script for powershell"
+slug: rclone_completion_powershell
+url: /commands/rclone_completion_powershell/
+# autogenerated - DO NOT EDIT, instead edit the source code in cmd/completion/powershell/ and as part of making a release run "make commanddocs"
+---
+# rclone completion powershell
+
+generate the autocompletion script for powershell
+
+## Synopsis
+
+
+Generate the autocompletion script for powershell.
+
+To load completions in your current shell session:
+PS C:\> rclone completion powershell | Out-String | Invoke-Expression
+
+To load completions for every new session, add the output of the above command
+to your powershell profile.
+
+
+```
+rclone completion powershell [flags]
+```
+
+## Options
+
+```
+ -h, --help help for powershell
+ --no-descriptions disable completion descriptions
+```
+
+See the [global flags page](/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone completion](/commands/rclone_completion/) - generate the autocompletion script for the specified shell
+
diff --git a/docs/content/commands/rclone_completion_zsh.md b/docs/content/commands/rclone_completion_zsh.md
new file mode 100644
index 000000000..2e487e674
--- /dev/null
+++ b/docs/content/commands/rclone_completion_zsh.md
@@ -0,0 +1,47 @@
+---
+title: "rclone completion zsh"
+description: "generate the autocompletion script for zsh"
+slug: rclone_completion_zsh
+url: /commands/rclone_completion_zsh/
+# autogenerated - DO NOT EDIT, instead edit the source code in cmd/completion/zsh/ and as part of making a release run "make commanddocs"
+---
+# rclone completion zsh
+
+generate the autocompletion script for zsh
+
+## Synopsis
+
+
+Generate the autocompletion script for the zsh shell.
+
+If shell completion is not already enabled in your environment you will need
+to enable it. You can execute the following once:
+
+$ echo "autoload -U compinit; compinit" >> ~/.zshrc
+
+To load completions for every new session, execute once:
+# Linux:
+$ rclone completion zsh > "${fpath[1]}/_rclone"
+# macOS:
+$ rclone completion zsh > /usr/local/share/zsh/site-functions/_rclone
+
+You will need to start a new shell for this setup to take effect.
+
+
+```
+rclone completion zsh [flags]
+```
+
+## Options
+
+```
+ -h, --help help for zsh
+ --no-descriptions disable completion descriptions
+```
+
+See the [global flags page](/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone completion](/commands/rclone_completion/) - generate the autocompletion script for the specified shell
+
diff --git a/docs/content/commands/rclone_config.md b/docs/content/commands/rclone_config.md
index f1d6ea602..f6ca5e419 100644
--- a/docs/content/commands/rclone_config.md
+++ b/docs/content/commands/rclone_config.md
@@ -32,11 +32,12 @@ See the [global flags page](/flags/) for global options not listed here.
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
* [rclone config create](/commands/rclone_config_create/) - Create a new remote with name, type and options.
-* [rclone config delete](/commands/rclone_config_delete/) - Delete an existing remote `name`.
+* [rclone config delete](/commands/rclone_config_delete/) - Delete an existing remote.
* [rclone config disconnect](/commands/rclone_config_disconnect/) - Disconnects user from remote
* [rclone config dump](/commands/rclone_config_dump/) - Dump the config file as JSON.
* [rclone config file](/commands/rclone_config_file/) - Show path of configuration file in use.
* [rclone config password](/commands/rclone_config_password/) - Update password in an existing remote.
+* [rclone config paths](/commands/rclone_config_paths/) - Show paths used for configuration, cache, temp etc.
* [rclone config providers](/commands/rclone_config_providers/) - List in JSON format all the providers and options.
* [rclone config reconnect](/commands/rclone_config_reconnect/) - Re-authenticates user with remote.
* [rclone config show](/commands/rclone_config_show/) - Print (decrypted) config file, or the config for a single remote.
diff --git a/docs/content/commands/rclone_config_create.md b/docs/content/commands/rclone_config_create.md
index 944c54681..d01bf9619 100644
--- a/docs/content/commands/rclone_config_create.md
+++ b/docs/content/commands/rclone_config_create.md
@@ -115,20 +115,20 @@ as a readable demonstration.
```
-rclone config create `name` `type` [`key` `value`]* [flags]
+rclone config create name type [key value]* [flags]
```
## Options
```
- --all Ask the full set of config questions.
- --continue Continue the configuration process with an answer.
+ --all Ask the full set of config questions
+ --continue Continue the configuration process with an answer
-h, --help help for create
- --no-obscure Force any passwords not to be obscured.
- --non-interactive Don't interact with user and return questions.
- --obscure Force any passwords to be obscured.
- --result string Result - use with --continue.
- --state string State - use with --continue.
+ --no-obscure Force any passwords not to be obscured
+ --non-interactive Don't interact with user and return questions
+ --obscure Force any passwords to be obscured
+ --result string Result - use with --continue
+ --state string State - use with --continue
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_config_delete.md b/docs/content/commands/rclone_config_delete.md
index 380daf80b..6b82e8006 100644
--- a/docs/content/commands/rclone_config_delete.md
+++ b/docs/content/commands/rclone_config_delete.md
@@ -1,16 +1,16 @@
---
title: "rclone config delete"
-description: "Delete an existing remote `name`."
+description: "Delete an existing remote."
slug: rclone_config_delete
url: /commands/rclone_config_delete/
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/config/delete/ and as part of making a release run "make commanddocs"
---
# rclone config delete
-Delete an existing remote `name`.
+Delete an existing remote.
```
-rclone config delete `name` [flags]
+rclone config delete name [flags]
```
## Options
diff --git a/docs/content/commands/rclone_config_password.md b/docs/content/commands/rclone_config_password.md
index b6ba9782e..86158b64b 100644
--- a/docs/content/commands/rclone_config_password.md
+++ b/docs/content/commands/rclone_config_password.md
@@ -26,7 +26,7 @@ both support obscuring passwords directly.
```
-rclone config password `name` [`key` `value`]+ [flags]
+rclone config password name [key value]+ [flags]
```
## Options
diff --git a/docs/content/commands/rclone_config_paths.md b/docs/content/commands/rclone_config_paths.md
new file mode 100644
index 000000000..7171828dd
--- /dev/null
+++ b/docs/content/commands/rclone_config_paths.md
@@ -0,0 +1,27 @@
+---
+title: "rclone config paths"
+description: "Show paths used for configuration, cache, temp etc."
+slug: rclone_config_paths
+url: /commands/rclone_config_paths/
+# autogenerated - DO NOT EDIT, instead edit the source code in cmd/config/paths/ and as part of making a release run "make commanddocs"
+---
+# rclone config paths
+
+Show paths used for configuration, cache, temp etc.
+
+```
+rclone config paths [flags]
+```
+
+## Options
+
+```
+ -h, --help help for paths
+```
+
+See the [global flags page](/flags/) for global options not listed here.
+
+## SEE ALSO
+
+* [rclone config](/commands/rclone_config/) - Enter an interactive configuration session.
+
diff --git a/docs/content/commands/rclone_config_update.md b/docs/content/commands/rclone_config_update.md
index 6b37bc261..f74f64fcd 100644
--- a/docs/content/commands/rclone_config_update.md
+++ b/docs/content/commands/rclone_config_update.md
@@ -115,20 +115,20 @@ as a readable demonstration.
```
-rclone config update `name` [`key` `value`]+ [flags]
+rclone config update name [key value]+ [flags]
```
## Options
```
- --all Ask the full set of config questions.
- --continue Continue the configuration process with an answer.
+ --all Ask the full set of config questions
+ --continue Continue the configuration process with an answer
-h, --help help for update
- --no-obscure Force any passwords not to be obscured.
- --non-interactive Don't interact with user and return questions.
- --obscure Force any passwords to be obscured.
- --result string Result - use with --continue.
- --state string State - use with --continue.
+ --no-obscure Force any passwords not to be obscured
+ --non-interactive Don't interact with user and return questions
+ --obscure Force any passwords to be obscured
+ --result string Result - use with --continue
+ --state string State - use with --continue
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_copy.md b/docs/content/commands/rclone_copy.md
index daf1d8ba8..163b0289b 100644
--- a/docs/content/commands/rclone_copy.md
+++ b/docs/content/commands/rclone_copy.md
@@ -1,62 +1,48 @@
---
title: "rclone copy"
-description: "Copy files from source to dest, skipping already copied."
+description: "Copy files from source to dest, skipping identical files."
slug: rclone_copy
url: /commands/rclone_copy/
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/copy/ and as part of making a release run "make commanddocs"
---
# rclone copy
-Copy files from source to dest, skipping already copied.
+Copy files from source to dest, skipping identical files.
## Synopsis
-Copy the source to the destination. Doesn't transfer
-unchanged files, testing by size and modification time or
-MD5SUM. Doesn't delete files from the destination.
+Copy the source to the destination. Does not transfer files that are
+identical on source and destination, testing by size and modification
+time or MD5SUM. Doesn't delete files from the destination.
-Note that when the source is a directory, it is always the contents
-of the directory that is copied, not the directory itself.
+Note that it is always the contents of the directory that is synced,
+not the directory so when source:path is a directory, it's the
+contents of source:path that are copied, not the directory name and
+contents.
-For example, given the following command:
+If dest:path doesn't exist, it is created and the source:path contents
+go there.
+
+For example
rclone copy source:sourcepath dest:destpath
-Let's say there are two files in source:
+Let's say there are two files in sourcepath
sourcepath/one.txt
sourcepath/two.txt
-The command will copy them to:
+This copies them to
destpath/one.txt
destpath/two.txt
-Not to:
+Not to
destpath/sourcepath/one.txt
destpath/sourcepath/two.txt
-Also note that the destination is always a directory. If the path
-does not exist, it will be created as a directory and the contents of
-the source will be copied into it. This is the case even if the source
-path points to a file. If you want to copy a single file to a different
-name you must use [copyto](commands/rclone_copyto/) instead.
-
-For example, given the command:
-
- rclone copy source:sourcepath/one.txt dest:destpath/one.txt
-
-Rclone will create a directory `dest:destpath/one.txt` and put the source file in there:
-
- dest:destpath/one.txt/one.txt
-
-Not copy the single source file as a file with the given destination path,
-which would be the result if copyto had been used instead:
-
- dest:destpath/one.txt
-
If you are familiar with `rsync`, rclone always works as if you had
written a trailing `/` - meaning "copy the contents of this directory".
This applies to all commands and whether you are talking about the
diff --git a/docs/content/commands/rclone_copyto.md b/docs/content/commands/rclone_copyto.md
index e571c8c75..93da1fea8 100644
--- a/docs/content/commands/rclone_copyto.md
+++ b/docs/content/commands/rclone_copyto.md
@@ -1,13 +1,13 @@
---
title: "rclone copyto"
-description: "Copy files from source to dest, skipping already copied."
+description: "Copy files from source to dest, skipping identical files."
slug: rclone_copyto
url: /commands/rclone_copyto/
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/copyto/ and as part of making a release run "make commanddocs"
---
# rclone copyto
-Copy files from source to dest, skipping already copied.
+Copy files from source to dest, skipping identical files.
## Synopsis
@@ -34,9 +34,9 @@ This will:
copy it to dst, overwriting existing files if they exist
see copy command for full details
-This doesn't transfer unchanged files, testing by size and
-modification time or MD5SUM. It doesn't delete files from the
-destination.
+This doesn't transfer files that are identical on src and dst, testing
+by size and modification time or MD5SUM. It doesn't delete files from
+the destination.
**Note**: Use the `-P`/`--progress` flag to view real-time transfer statistics
diff --git a/docs/content/commands/rclone_dedupe.md b/docs/content/commands/rclone_dedupe.md
index 8a997195f..2cb5de2e9 100644
--- a/docs/content/commands/rclone_dedupe.md
+++ b/docs/content/commands/rclone_dedupe.md
@@ -127,7 +127,7 @@ rclone dedupe [mode] remote:path [flags]
```
--by-hash Find indentical hashes rather than names
- --dedupe-mode string Dedupe mode interactive|skip|first|newest|oldest|largest|smallest|rename. (default "interactive")
+ --dedupe-mode string Dedupe mode interactive|skip|first|newest|oldest|largest|smallest|rename (default "interactive")
-h, --help help for dedupe
```
diff --git a/docs/content/commands/rclone_listremotes.md b/docs/content/commands/rclone_listremotes.md
index 77ca07560..98fe86311 100644
--- a/docs/content/commands/rclone_listremotes.md
+++ b/docs/content/commands/rclone_listremotes.md
@@ -25,7 +25,7 @@ rclone listremotes [flags]
```
-h, --help help for listremotes
- --long Show the type as well as names.
+ --long Show the type as well as names
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_lsd.md b/docs/content/commands/rclone_lsd.md
index 570110937..4407cd609 100644
--- a/docs/content/commands/rclone_lsd.md
+++ b/docs/content/commands/rclone_lsd.md
@@ -65,7 +65,7 @@ rclone lsd remote:path [flags]
```
-h, --help help for lsd
- -R, --recursive Recurse into the listing.
+ -R, --recursive Recurse into the listing
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_lsf.md b/docs/content/commands/rclone_lsf.md
index 109f79a84..6869b32b8 100644
--- a/docs/content/commands/rclone_lsf.md
+++ b/docs/content/commands/rclone_lsf.md
@@ -137,16 +137,16 @@ rclone lsf remote:path [flags]
## Options
```
- --absolute Put a leading / in front of path names.
- --csv Output in CSV format.
- -d, --dir-slash Append a slash to directory names. (default true)
- --dirs-only Only list directories.
- --files-only Only list files.
+ --absolute Put a leading / in front of path names
+ --csv Output in CSV format
+ -d, --dir-slash Append a slash to directory names (default true)
+ --dirs-only Only list directories
+ --files-only Only list files
-F, --format string Output format - see help for details (default "p")
--hash h Use this hash when h is used in the format MD5|SHA-1|DropboxHash (default "md5")
-h, --help help for lsf
- -R, --recursive Recurse into the listing.
- -s, --separator string Separator for the items in the format. (default ";")
+ -R, --recursive Recurse into the listing
+ -s, --separator string Separator for the items in the format (default ";")
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_lsjson.md b/docs/content/commands/rclone_lsjson.md
index 22606722b..bf52c3b47 100644
--- a/docs/content/commands/rclone_lsjson.md
+++ b/docs/content/commands/rclone_lsjson.md
@@ -55,6 +55,12 @@ returned
If --files-only is not specified directories in addition to the files
will be returned.
+if --stat is set then a single JSON blob will be returned about the
+item pointed to. This will return an error if the item isn't found.
+However on bucket based backends (like s3, gcs, b2, azureblob etc) if
+the item isn't found it will return an empty directory as it isn't
+possible to tell empty directories from missing directories there.
+
The Path field will only show folders below the remote path being listed.
If "remote:path" contains the file "subfolder/file.txt", the Path for "file.txt"
will be "subfolder/file.txt", not "remote:path/subfolder/file.txt".
@@ -105,16 +111,17 @@ rclone lsjson remote:path [flags]
## Options
```
- --dirs-only Show only directories in the listing.
- -M, --encrypted Show the encrypted names.
- --files-only Show only files in the listing.
- --hash Include hashes in the output (may take longer).
- --hash-type stringArray Show only this hash type (may be repeated).
+ --dirs-only Show only directories in the listing
+ -M, --encrypted Show the encrypted names
+ --files-only Show only files in the listing
+ --hash Include hashes in the output (may take longer)
+ --hash-type stringArray Show only this hash type (may be repeated)
-h, --help help for lsjson
- --no-mimetype Don't read the mime type (can speed things up).
- --no-modtime Don't read the modification time (can speed things up).
- --original Show the ID of the underlying Object.
- -R, --recursive Recurse into the listing.
+ --no-mimetype Don't read the mime type (can speed things up)
+ --no-modtime Don't read the modification time (can speed things up)
+ --original Show the ID of the underlying Object
+ -R, --recursive Recurse into the listing
+ --stat Just return the info for the pointed to file
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_mount.md b/docs/content/commands/rclone_mount.md
index 2bcde9883..122080693 100644
--- a/docs/content/commands/rclone_mount.md
+++ b/docs/content/commands/rclone_mount.md
@@ -57,7 +57,7 @@ When running in background mode the user will have to stop the mount manually:
# Linux
fusermount -u /path/to/local/mount
- # macOS
+ # OS X
umount /path/to/local/mount
The umount operation can fail, for example when the mountpoint is busy.
@@ -70,9 +70,6 @@ then an additional 1 PiB of free space is assumed. If the remote does not
[support](https://rclone.org/overview/#optional-features) the about feature
at all, then 1 PiB is set as both the total and the free size.
-**Note**: As of `rclone` 1.52.2, `rclone mount` now requires Go version 1.13
-or newer on some platforms depending on the underlying FUSE library in use.
-
## Installing on Windows
To run rclone mount on Windows, you will need to
@@ -171,11 +168,16 @@ By default, the owner and group will be taken from the current user, and the bui
group "Everyone" will be used to represent others. The user/group can be customized
with FUSE options "UserName" and "GroupName",
e.g. `-o UserName=user123 -o GroupName="Authenticated Users"`.
+The permissions on each entry will be set according to [options](#options)
+`--dir-perms` and `--file-perms`, which takes a value in traditional
+[numeric notation](https://en.wikipedia.org/wiki/File-system_permissions#Numeric_notation).
-The permissions on each entry will be set according to
-[options](#options) `--dir-perms` and `--file-perms`,
-which takes a value in traditional [numeric notation](https://en.wikipedia.org/wiki/File-system_permissions#Numeric_notation),
-where the default corresponds to `--file-perms 0666 --dir-perms 0777`.
+The default permissions corresponds to `--file-perms 0666 --dir-perms 0777`,
+i.e. read and write permissions to everyone. This means you will not be able
+to start any programs from the the mount. To be able to do that you must add
+execute permissions, e.g. `--file-perms 0777 --dir-perms 0777` to add it
+to everyone. If the program needs to write files, chances are you will have
+to enable [VFS File Caching](#vfs-file-caching) as well (see also [limitations](#limitations)).
Note that the mapping of permissions is not always trivial, and the result
you see in Windows Explorer may not be exactly like you expected.
@@ -255,7 +257,7 @@ ProcFS so the flag in fact sets **maximum** time to wait, while the real wait
can be less. On macOS / BSD the time to wait is constant and the check is
performed only at the end. We advise you to set wait time on macOS reasonably.
-Only supported on Linux, FreeBSD, macOS and Windows at the moment.
+Only supported on Linux, FreeBSD, OS X and Windows at the moment.
## rclone mount vs rclone sync/copy
@@ -390,22 +392,6 @@ Mount option syntax includes a few extra options treated specially:
- standard mount options like `x-systemd.automount`, `_netdev`, `nosuid` and alike
are intended only for Automountd and ignored by rclone.
-## chunked reading
-
-`--vfs-read-chunk-size` will enable reading the source objects in parts.
-This can reduce the used download quota for some remotes by requesting only chunks
-from the remote that are actually read at the cost of an increased number of requests.
-
-When `--vfs-read-chunk-size-limit` is also specified and greater than
-`--vfs-read-chunk-size`, the chunk size for each open file will get doubled
-for each chunk read, until the specified value is reached. A value of `-1` will disable
-the limit and the chunk size will grow indefinitely.
-
-With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
-the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
-When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
-0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
-
## VFS - Virtual File System
This command uses the VFS layer. This adapts the cloud storage objects
@@ -427,8 +413,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -482,10 +468,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -497,8 +483,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -567,27 +553,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -595,32 +609,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -633,7 +634,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -678,48 +679,48 @@ rclone mount remote:path /path/to/mountpoint [flags]
## Options
```
- --allow-non-empty Allow mounting over a non-empty directory. Not supported on Windows.
- --allow-other Allow access to other users. Not supported on Windows.
- --allow-root Allow access to root user. Not supported on Windows.
- --async-read Use asynchronous reads. Not supported on Windows. (default true)
- --attr-timeout duration Time for which file/directory attributes are cached. (default 1s)
- --daemon Run mount in background and exit parent process. Not supported on Windows. As background output is suppressed, use --log-file with --log-format=pid,... to monitor.
- --daemon-timeout duration Time limit for rclone to respond to kernel. Not supported on Windows.
- --daemon-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD). Ignored on Windows. (default 1m0s)
- --debug-fuse Debug the FUSE internals - needs -v.
- --default-permissions Makes kernel enforce access control based on the file mode. Not supported on Windows.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --allow-non-empty Allow mounting over a non-empty directory (not supported on Windows)
+ --allow-other Allow access to other users (not supported on Windows)
+ --allow-root Allow access to root user (not supported on Windows)
+ --async-read Use asynchronous reads (not supported on Windows) (default true)
+ --attr-timeout duration Time for which file/directory attributes are cached (default 1s)
+ --daemon Run mount in background and exit parent process (as background output is suppressed, use --log-file with --log-format=pid,... to monitor) (not supported on Windows)
+ --daemon-timeout duration Time limit for rclone to respond to kernel (not supported on Windows)
+ --daemon-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD) (not supported on Windows) (default 1m0s)
+ --debug-fuse Debug the FUSE internals - needs -v
+ --default-permissions Makes kernel enforce access control based on the file mode (not supported on Windows)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp. Repeat if required.
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp (repeat if required)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for mount
- --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads. Not supported on Windows. (default 128Ki)
- --network-mode Mount as remote network drive, instead of fixed disk drive. Supported on Windows only
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --noappledouble Ignore Apple Double (._) and .DS_Store files. Supported on macOS only. (default true)
- --noapplexattr Ignore all "com.apple.*" extended attributes. Supported on macOS only.
- -o, --option stringArray Option for libfuse/WinFsp. Repeat if required.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads (not supported on Windows) (default 128Ki)
+ --network-mode Mount as remote network drive, instead of fixed disk drive (supported on Windows only)
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --noappledouble Ignore Apple Double (._) and .DS_Store files (supported on OSX only) (default true)
+ --noapplexattr Ignore all "com.apple.*" extended attributes (supported on OSX only)
+ -o, --option stringArray Option for libfuse/WinFsp (repeat if required)
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
- --volname string Set the volume name. Supported on Windows and macOS only.
- --write-back-cache Makes kernel buffer writes before sending them to rclone. Without this, writethrough caching is used. Not supported on Windows.
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
+ --volname string Set the volume name (supported on Windows and OSX only)
+ --write-back-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on Windows)
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_move.md b/docs/content/commands/rclone_move.md
index 8eba2368c..0a53c1eea 100644
--- a/docs/content/commands/rclone_move.md
+++ b/docs/content/commands/rclone_move.md
@@ -26,25 +26,6 @@ move will be used, otherwise it will copy it (server-side if possible)
into `dest:path` then delete the original (if no errors on copy) in
`source:path`.
-Note that the destination is always a directory. If the path
-does not exist, it will be created as a directory and the contents of
-the source will be moved into it. This is the case even if the source
-path points to a file. If you want to move a single file to a different
-name you must use [moveto](commands/rclone_moveto/) instead.
-
-For example, given the command:
-
- rclone move source:sourcepath/one.txt dest:destpath/one.txt
-
-Rclone will create a directory `dest:destpath/one.txt` and put the source file in there:
-
- dest:destpath/one.txt/one.txt
-
-Not move the single source file into the given destination path,
-which would be the result if moveto had been used instead:
-
- dest:destpath/one.txt
-
If you want to delete empty source directories after move, use the --delete-empty-src-dirs flag.
See the [--no-traverse](/docs/#no-traverse) option for controlling
diff --git a/docs/content/commands/rclone_moveto.md b/docs/content/commands/rclone_moveto.md
index 159328a6c..7ba6f6545 100644
--- a/docs/content/commands/rclone_moveto.md
+++ b/docs/content/commands/rclone_moveto.md
@@ -34,9 +34,9 @@ This will:
move it to dst, overwriting existing files if they exist
see move command for full details
-This doesn't transfer unchanged files, testing by size and
-modification time or MD5SUM. src will be deleted on successful
-transfer.
+This doesn't transfer files that are identical on src and dst, testing
+by size and modification time or MD5SUM. src will be deleted on
+successful transfer.
**Important**: Since this can cause data loss, test first with the
`--dry-run` or the `--interactive`/`-i` flag.
diff --git a/docs/content/commands/rclone_ncdu.md b/docs/content/commands/rclone_ncdu.md
index c0310974d..6e48ee2b8 100644
--- a/docs/content/commands/rclone_ncdu.md
+++ b/docs/content/commands/rclone_ncdu.md
@@ -31,6 +31,7 @@ Here are the keys - press '?' to toggle the help on and off
c toggle counts
g toggle graph
a toggle average size in directory
+ u toggle human-readable format
n,s,C,A sort by name,size,count,average size
d delete file/directory
y copy current path to clipboard
diff --git a/docs/content/commands/rclone_rc.md b/docs/content/commands/rclone_rc.md
index 8547d3c93..ae3df6f6c 100644
--- a/docs/content/commands/rclone_rc.md
+++ b/docs/content/commands/rclone_rc.md
@@ -69,15 +69,15 @@ rclone rc commands parameter [flags]
## Options
```
- -a, --arg stringArray Argument placed in the "arg" array.
+ -a, --arg stringArray Argument placed in the "arg" array
-h, --help help for rc
- --json string Input JSON - use instead of key=value args.
- --loopback If set connect to this rclone instance not via HTTP.
- --no-output If set, don't output the JSON result.
- -o, --opt stringArray Option in the form name=value or name placed in the "opt" array.
- --pass string Password to use to connect to rclone remote control.
- --url string URL to connect to rclone remote control. (default "http://localhost:5572/")
- --user string Username to use to rclone remote control.
+ --json string Input JSON - use instead of key=value args
+ --loopback If set connect to this rclone instance not via HTTP
+ --no-output If set, don't output the JSON result
+ -o, --opt stringArray Option in the form name=value or name placed in the "opt" array
+ --pass string Password to use to connect to rclone remote control
+ --url string URL to connect to rclone remote control (default "http://localhost:5572/")
+ --user string Username to use to rclone remote control
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_selfupdate.md b/docs/content/commands/rclone_selfupdate.md
index ca66ff06b..2709c63f1 100644
--- a/docs/content/commands/rclone_selfupdate.md
+++ b/docs/content/commands/rclone_selfupdate.md
@@ -67,8 +67,8 @@ rclone selfupdate [flags]
## Options
```
- --beta Install beta release.
- --check Check for latest release, do not download.
+ --beta Install beta release
+ --check Check for latest release, do not download
-h, --help help for selfupdate
--output string Save the downloaded binary at a given path (default: replace running binary)
--package string Package format: zip|deb|rpm (default: zip)
diff --git a/docs/content/commands/rclone_serve_dlna.md b/docs/content/commands/rclone_serve_dlna.md
index 3073294fb..0ab69644e 100644
--- a/docs/content/commands/rclone_serve_dlna.md
+++ b/docs/content/commands/rclone_serve_dlna.md
@@ -54,8 +54,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -109,10 +109,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -124,8 +124,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -194,27 +194,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -222,32 +250,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -260,7 +275,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -305,33 +320,33 @@ rclone serve dlna remote:path [flags]
## Options
```
- --addr string ip:port or :port to bind the DLNA http server to. (default ":7879")
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --addr string The ip:port or :port to bind the DLNA http server to (default ":7879")
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for dlna
- --log-trace enable trace logging of SOAP traffic
- --name string name of DLNA server
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --log-trace Enable trace logging of SOAP traffic
+ --name string Name of DLNA server
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_serve_docker.md b/docs/content/commands/rclone_serve_docker.md
index ebd17fedf..bff08c257 100644
--- a/docs/content/commands/rclone_serve_docker.md
+++ b/docs/content/commands/rclone_serve_docker.md
@@ -72,8 +72,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -127,10 +127,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -142,8 +142,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -212,27 +212,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -240,32 +268,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -278,7 +293,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -323,52 +338,53 @@ rclone serve docker [flags]
## Options
```
- --allow-non-empty Allow mounting over a non-empty directory. Not supported on Windows.
- --allow-other Allow access to other users. Not supported on Windows.
- --allow-root Allow access to root user. Not supported on Windows.
- --async-read Use asynchronous reads. Not supported on Windows. (default true)
- --attr-timeout duration Time for which file/directory attributes are cached. (default 1s)
- --base-dir string base directory for volumes (default "/var/lib/docker-volumes/rclone")
- --daemon Run mount as a daemon (background mode). Not supported on Windows.
- --daemon-timeout duration Time limit for rclone to respond to kernel. Not supported on Windows.
- --debug-fuse Debug the FUSE internals - needs -v.
- --default-permissions Makes kernel enforce access control based on the file mode. Not supported on Windows.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --allow-non-empty Allow mounting over a non-empty directory (not supported on Windows)
+ --allow-other Allow access to other users (not supported on Windows)
+ --allow-root Allow access to root user (not supported on Windows)
+ --async-read Use asynchronous reads (not supported on Windows) (default true)
+ --attr-timeout duration Time for which file/directory attributes are cached (default 1s)
+ --base-dir string Base directory for volumes (default "/var/lib/docker-volumes/rclone")
+ --daemon Run mount in background and exit parent process (as background output is suppressed, use --log-file with --log-format=pid,... to monitor) (not supported on Windows)
+ --daemon-timeout duration Time limit for rclone to respond to kernel (not supported on Windows)
+ --daemon-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD) (not supported on Windows) (default 1m0s)
+ --debug-fuse Debug the FUSE internals - needs -v
+ --default-permissions Makes kernel enforce access control based on the file mode (not supported on Windows)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --forget-state skip restoring previous state
- --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp. Repeat if required.
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --forget-state Skip restoring previous state
+ --fuse-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp (repeat if required)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for docker
- --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads. Not supported on Windows. (default 128Ki)
- --network-mode Mount as remote network drive, instead of fixed disk drive. Supported on Windows only
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --no-spec do not write spec file
- --noappledouble Ignore Apple Double (._) and .DS_Store files. Supported on OSX only. (default true)
- --noapplexattr Ignore all "com.apple.*" extended attributes. Supported on OSX only.
- -o, --option stringArray Option for libfuse/WinFsp. Repeat if required.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --socket-addr string <host:port> or absolute path (default: /run/docker/plugins/rclone.sock)
+ --max-read-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads (not supported on Windows) (default 128Ki)
+ --network-mode Mount as remote network drive, instead of fixed disk drive (supported on Windows only)
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --no-spec Do not write spec file
+ --noappledouble Ignore Apple Double (._) and .DS_Store files (supported on OSX only) (default true)
+ --noapplexattr Ignore all "com.apple.*" extended attributes (supported on OSX only)
+ -o, --option stringArray Option for libfuse/WinFsp (repeat if required)
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --socket-addr string Address <host:port> or absolute path (default: /run/docker/plugins/rclone.sock)
--socket-gid int GID for unix socket (default: current process GID) (default 1000)
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
- --volname string Set the volume name. Supported on Windows and OSX only.
- --write-back-cache Makes kernel buffer writes before sending them to rclone. Without this, writethrough caching is used. Not supported on Windows.
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
+ --volname string Set the volume name (supported on Windows and OSX only)
+ --write-back-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on Windows)
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_serve_ftp.md b/docs/content/commands/rclone_serve_ftp.md
index 8e9867d0f..5dfd4633f 100644
--- a/docs/content/commands/rclone_serve_ftp.md
+++ b/docs/content/commands/rclone_serve_ftp.md
@@ -53,8 +53,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -108,10 +108,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -123,8 +123,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -193,27 +193,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -221,32 +249,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -259,7 +274,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -385,38 +400,38 @@ rclone serve ftp remote:path [flags]
## Options
```
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:2121")
- --auth-proxy string A program to use to create the backend from the auth.
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:2121")
+ --auth-proxy string A program to use to create the backend from the auth
--cert string TLS PEM key (concatenation of certificate and CA certificate)
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for ftp
--key string TLS PEM Private key
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication. (empty value allow every password)
- --passive-port string Passive port range to use. (default "30000-32000")
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --public-ip string Public IP address to advertise for passive connections.
- --read-only Mount read-only.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication. (default "anonymous")
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication (empty value allow every password)
+ --passive-port string Passive port range to use (default "30000-32000")
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --public-ip string Public IP address to advertise for passive connections
+ --read-only Mount read-only
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication (default "anonymous")
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_serve_http.md b/docs/content/commands/rclone_serve_http.md
index 982c34e5b..04ada469b 100644
--- a/docs/content/commands/rclone_serve_http.md
+++ b/docs/content/commands/rclone_serve_http.md
@@ -103,6 +103,8 @@ The password file can be updated while rclone is running.
Use --realm to set the authentication realm.
+Use --salt to change the password hashing salt from the default.
+
## VFS - Virtual File System
This command uses the VFS layer. This adapts the cloud storage objects
@@ -124,8 +126,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -179,10 +181,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -194,8 +196,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -264,27 +266,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -292,32 +322,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -330,7 +347,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -375,43 +392,44 @@ rclone serve http remote:path [flags]
## Options
```
- --addr string IPaddress:Port or :Port to bind server to. (default "127.0.0.1:8080")
- --baseurl string Prefix for URLs - leave blank for root.
+ --addr string IPaddress:Port or :Port to bind server to (default "127.0.0.1:8080")
+ --baseurl string Prefix for URLs - leave blank for root
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for http
- --htpasswd string htpasswd file - if not provided no authentication is done
+ --htpasswd string A htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
- --realm string realm for authentication
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
+ --realm string Realm for authentication
+ --salt string Password hashing salt (default "dlPL2MqE")
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --template string User Specified Template.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --template string User-specified template
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_serve_restic.md b/docs/content/commands/rclone_serve_restic.md
index 1daed58a9..f263b01bd 100644
--- a/docs/content/commands/rclone_serve_restic.md
+++ b/docs/content/commands/rclone_serve_restic.md
@@ -182,24 +182,24 @@ rclone serve restic remote:path [flags]
## Options
```
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:8080")
- --append-only disallow deletion of repository data
- --baseurl string Prefix for URLs - leave blank for root.
- --cache-objects cache listed objects (default true)
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:8080")
+ --append-only Disallow deletion of repository data
+ --baseurl string Prefix for URLs - leave blank for root
+ --cache-objects Cache listed objects (default true)
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
-h, --help help for restic
--htpasswd string htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --pass string Password for authentication.
- --private-repos users can only access their private repo
+ --pass string Password for authentication
+ --private-repos Users can only access their private repo
--realm string realm for authentication (default "rclone")
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --stdio run an HTTP2 server on stdin/stdout
- --template string User Specified Template.
- --user string User name for authentication.
+ --stdio Run an HTTP2 server on stdin/stdout
+ --template string User-specified template
+ --user string User name for authentication
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_serve_sftp.md b/docs/content/commands/rclone_serve_sftp.md
index 714705763..18d37d87c 100644
--- a/docs/content/commands/rclone_serve_sftp.md
+++ b/docs/content/commands/rclone_serve_sftp.md
@@ -33,8 +33,10 @@ that it can provide md5sum/sha1sum/df information for the rclone sftp
backend. This means that is can support SHA1SUMs, MD5SUMs and the
about command when paired with the rclone sftp backend.
-If you don't supply a --key then rclone will generate one and cache it
-for later use.
+If you don't supply a host --key then rclone will generate rsa, ecdsa
+and ed25519 variants, and cache them for later use in rclone's cache
+directory (see "rclone help flags cache-dir") in the "serve-sftp"
+directory.
By default the server binds to localhost:2022 - if you want it to be
reachable externally then supply "--addr :2022" for example.
@@ -69,8 +71,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -124,10 +126,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -139,8 +141,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -209,27 +211,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -237,32 +267,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -275,7 +292,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -401,38 +418,38 @@ rclone serve sftp remote:path [flags]
## Options
```
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:2022")
- --auth-proxy string A program to use to create the backend from the auth.
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:2022")
+ --auth-proxy string A program to use to create the backend from the auth
--authorized-keys string Authorized keys file (default "~/.ssh/authorized_keys")
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for sftp
--key stringArray SSH private host key file (Can be multi-valued, leave blank to auto generate)
- --no-auth Allow connections with no authentication if set.
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
+ --no-auth Allow connections with no authentication if set
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
--stdio Run an sftp server on run stdin/stdout
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_serve_webdav.md b/docs/content/commands/rclone_serve_webdav.md
index 94853b4f5..0170b7ea9 100644
--- a/docs/content/commands/rclone_serve_webdav.md
+++ b/docs/content/commands/rclone_serve_webdav.md
@@ -133,8 +133,8 @@ directory should be considered up to date and not refreshed from the
backend. Changes made through the mount will appear immediately or
invalidate the cache.
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
+ --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
However, changes made directly on the cloud storage by the web
interface or a different copy of rclone will only be picked up once
@@ -188,10 +188,10 @@ find that you need one or the other or both.
--cache-dir string Directory rclone will use for caching.
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
If run with `-vv` rclone will print the location of the file cache. The
files are stored in the user cache file area which is OS dependent but
@@ -203,8 +203,8 @@ The higher the cache mode the more compatible rclone becomes at the
cost of using disk space.
Note that files are written back to the remote only when they are
-closed and if they haven't been accessed for --vfs-write-back
-second. If rclone is quit or dies with files that haven't been
+closed and if they haven't been accessed for `--vfs-write-back`
+seconds. If rclone is quit or dies with files that haven't been
uploaded, these will be uploaded next time rclone is run with the same
flags.
@@ -273,27 +273,55 @@ their full size in the cache, but they will be sparse files with only
the data that has been downloaded present in them.
This mode should support all normal file system operations and is
-otherwise identical to --vfs-cache-mode writes.
+otherwise identical to `--vfs-cache-mode` writes.
-When reading a file rclone will read --buffer-size plus
---vfs-read-ahead bytes ahead. The --buffer-size is buffered in memory
-whereas the --vfs-read-ahead is buffered on disk.
+When reading a file rclone will read `--buffer-size` plus
+`--vfs-read-ahead` bytes ahead. The `--buffer-size` is buffered in memory
+whereas the `--vfs-read-ahead` is buffered on disk.
-When using this mode it is recommended that --buffer-size is not set
-too big and --vfs-read-ahead is set large if required.
+When using this mode it is recommended that `--buffer-size` is not set
+too large and `--vfs-read-ahead` is set large if required.
**IMPORTANT** not all file systems support sparse files. In particular
FAT/exFAT do not. Rclone will perform very badly if the cache
directory is on a filesystem which doesn't support sparse files and it
will log an ERROR message if one is detected.
+## VFS Chunked Reading
+
+When rclone reads files from a remote it reads them in chunks. This
+means that rather than requesting the whole file rclone reads the
+chunk specified. This can reduce the used download quota for some
+remotes by requesting only chunks from the remote that are actually
+read, at the cost of an increased number of requests.
+
+These flags control the chunking:
+
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128M)
+ --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default off)
+
+Rclone will start reading a chunk of size `--vfs-read-chunk-size`,
+and then double the size for each read. When `--vfs-read-chunk-size-limit` is
+specified, and greater than `--vfs-read-chunk-size`, the chunk size for each
+open file will get doubled only until the specified value is reached. If the
+value is "off", which is the default, the limit is disabled and the chunk size
+will grow indefinitely.
+
+With `--vfs-read-chunk-size 100M` and `--vfs-read-chunk-size-limit 0`
+the following parts will be downloaded: 0-100M, 100M-200M, 200M-300M, 300M-400M and so on.
+When `--vfs-read-chunk-size-limit 500M` is specified, the result would be
+0-100M, 100M-300M, 300M-700M, 700M-1200M, 1200M-1700M and so on.
+
+Setting `--vfs-read-chunk-size` to `0` or "off" disables chunked reading.
+
## VFS Performance
These flags may be used to enable/disable features of the VFS for
-performance or other reasons.
+performance or other reasons. See also the [chunked reading](#vfs-chunked-reading)
+feature.
-In particular S3 and Swift benefit hugely from the --no-modtime flag
-(or use --use-server-modtime for a slightly different effect) as each
+In particular S3 and Swift benefit hugely from the `--no-modtime` flag
+(or use `--use-server-modtime` for a slightly different effect) as each
read of the modification time takes a transaction.
--no-checksum Don't compare checksums on up/download.
@@ -301,32 +329,19 @@ read of the modification time takes a transaction.
--no-seek Don't allow seeking in files.
--read-only Mount read-only.
-When rclone reads files from a remote it reads them in chunks. This
-means that rather than requesting the whole file rclone reads the
-chunk specified. This is advantageous because some cloud providers
-account for reads being all the data requested, not all the data
-delivered.
-
-Rclone will keep doubling the chunk size requested starting at
---vfs-read-chunk-size with a maximum of --vfs-read-chunk-size-limit
-unless it is set to "off" in which case there will be no limit.
-
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128M)
- --vfs-read-chunk-size-limit SizeSuffix Max chunk doubling size (default "off")
-
Sometimes rclone is delivered reads or writes out of order. Rather
than seeking rclone will wait a short time for the in sequence read or
write to come in. These flags only come into effect when not using an
on disk cache file.
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
-When using VFS write caching (--vfs-cache-mode with value writes or full),
-the global flag --transfers can be set to adjust the number of parallel uploads of
-modified files from cache (the related global flag --checkers have no effect on mount).
+When using VFS write caching (`--vfs-cache-mode` with value writes or full),
+the global flag `--transfers` can be set to adjust the number of parallel uploads of
+modified files from cache (the related global flag `--checkers` have no effect on mount).
- --transfers int Number of file transfers to run in parallel. (default 4)
+ --transfers int Number of file transfers to run in parallel (default 4)
## VFS Case Sensitivity
@@ -339,7 +354,7 @@ to create the file is preserved and available for programs to query.
It is not allowed for two files in the same directory to differ only by case.
Usually file systems on macOS are case-insensitive. It is possible to make macOS
-file systems case-sensitive but that is not the default
+file systems case-sensitive but that is not the default.
The `--vfs-case-insensitive` mount flag controls how rclone handles these
two cases. If its value is "false", rclone passes file names to the mounted
@@ -465,46 +480,46 @@ rclone serve webdav remote:path [flags]
## Options
```
- --addr string IPaddress:Port or :Port to bind server to. (default "localhost:8080")
- --auth-proxy string A program to use to create the backend from the auth.
- --baseurl string Prefix for URLs - leave blank for root.
+ --addr string IPaddress:Port or :Port to bind server to (default "localhost:8080")
+ --auth-proxy string A program to use to create the backend from the auth
+ --baseurl string Prefix for URLs - leave blank for root
--cert string SSL PEM key (concatenation of certificate and CA certificate)
--client-ca string Client certificate authority to verify clients with
- --dir-cache-time duration Time to cache directory entries for. (default 5m0s)
+ --dir-cache-time duration Time to cache directory entries for (default 5m0s)
--dir-perms FileMode Directory permissions (default 0777)
--disable-dir-list Disable HTML directory list on GET request for a directory
--etag-hash string Which hash to use for the ETag, or auto or blank for off
--file-perms FileMode File permissions (default 0666)
- --gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ --gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
-h, --help help for webdav
--htpasswd string htpasswd file - if not provided no authentication is done
--key string SSL PEM Private key
--max-header-bytes int Maximum size of request header (default 4096)
- --no-checksum Don't compare checksums on up/download.
- --no-modtime Don't read/write the modification time (can speed things up).
- --no-seek Don't allow seeking in files.
- --pass string Password for authentication.
- --poll-interval duration Time to wait between polling for changes. Must be smaller than dir-cache-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- --read-only Mount read-only.
+ --no-checksum Don't compare checksums on up/download
+ --no-modtime Don't read/write the modification time (can speed things up)
+ --no-seek Don't allow seeking in files
+ --pass string Password for authentication
+ --poll-interval duration Time to wait between polling for changes, must be smaller than dir-cache-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ --read-only Mount read-only
--realm string realm for authentication (default "rclone")
--server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --template string User Specified Template.
- --uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- --umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- --user string User name for authentication.
- --vfs-cache-max-age duration Max age of objects in the cache. (default 1h0m0s)
- --vfs-cache-max-size SizeSuffix Max total size of objects in the cache. (default off)
+ --template string User-specified template
+ --uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ --umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ --user string User name for authentication
+ --vfs-cache-max-age duration Max age of objects in the cache (default 1h0m0s)
+ --vfs-cache-max-size SizeSuffix Max total size of objects in the cache (default off)
--vfs-cache-mode CacheMode Cache mode off|minimal|writes|full (default off)
- --vfs-cache-poll-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- --vfs-case-insensitive If a file name not found, find a case insensitive match.
- --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full.
- --vfs-read-chunk-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached. 'off' is unlimited. (default off)
- --vfs-read-wait duration Time to wait for in-sequence read before seeking. (default 20ms)
- --vfs-used-is-size rclone size Use the rclone size algorithm for Used size.
- --vfs-write-back duration Time to writeback files after last use when using cache. (default 5s)
- --vfs-write-wait duration Time to wait for in-sequence write before giving error. (default 1s)
+ --vfs-cache-poll-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ --vfs-case-insensitive If a file name not found, find a case insensitive match
+ --vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+ --vfs-read-chunk-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ --vfs-read-chunk-size-limit SizeSuffix If greater than --vfs-read-chunk-size, double the chunk size after each chunk read, until the limit is reached ('off' is unlimited) (default off)
+ --vfs-read-wait duration Time to wait for in-sequence read before seeking (default 20ms)
+ --vfs-used-is-size rclone size Use the rclone size algorithm for Used size
+ --vfs-write-back duration Time to writeback files after last use when using cache (default 5s)
+ --vfs-write-wait duration Time to wait for in-sequence write before giving error (default 1s)
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_size.md b/docs/content/commands/rclone_size.md
index a365986af..ce8e4552d 100644
--- a/docs/content/commands/rclone_size.md
+++ b/docs/content/commands/rclone_size.md
@@ -17,7 +17,7 @@ rclone size remote:path [flags]
```
-h, --help help for size
- --json format output as JSON
+ --json Format output as JSON
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_sync.md b/docs/content/commands/rclone_sync.md
index 0d3f65982..57e24dd2d 100644
--- a/docs/content/commands/rclone_sync.md
+++ b/docs/content/commands/rclone_sync.md
@@ -13,10 +13,10 @@ Make source and dest identical, modifying destination only.
Sync the source to the destination, changing the destination
-only. Doesn't transfer unchanged files, testing by size and
-modification time or MD5SUM. Destination is updated to match
-source, including deleting files if necessary (except duplicate
-objects, see below).
+only. Doesn't transfer files that are identical on source and
+destination, testing by size and modification time or MD5SUM.
+Destination is updated to match source, including deleting files
+if necessary (except duplicate objects, see below).
**Important**: Since this can cause data loss, test first with the
`--dry-run` or the `--interactive`/`-i` flag.
diff --git a/docs/content/commands/rclone_test_changenotify.md b/docs/content/commands/rclone_test_changenotify.md
index 04bf8b098..e5f1024de 100644
--- a/docs/content/commands/rclone_test_changenotify.md
+++ b/docs/content/commands/rclone_test_changenotify.md
@@ -17,7 +17,7 @@ rclone test changenotify remote: [flags]
```
-h, --help help for changenotify
- --poll-interval duration Time to wait between polling for changes. (default 10s)
+ --poll-interval duration Time to wait between polling for changes (default 10s)
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_test_info.md b/docs/content/commands/rclone_test_info.md
index bcde8eb9d..d8791d7c1 100644
--- a/docs/content/commands/rclone_test_info.md
+++ b/docs/content/commands/rclone_test_info.md
@@ -26,14 +26,14 @@ rclone test info [remote:path]+ [flags]
## Options
```
- --all Run all tests.
- --check-control Check control characters.
- --check-length Check max filename length.
- --check-normalization Check UTF-8 Normalization.
- --check-streaming Check uploads with indeterminate file size.
+ --all Run all tests
+ --check-control Check control characters
+ --check-length Check max filename length
+ --check-normalization Check UTF-8 Normalization
+ --check-streaming Check uploads with indeterminate file size
-h, --help help for info
- --upload-wait duration Wait after writing a file.
- --write-json string Write results to file.
+ --upload-wait duration Wait after writing a file
+ --write-json string Write results to file
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_touch.md b/docs/content/commands/rclone_touch.md
index 363fdc33b..556a15fec 100644
--- a/docs/content/commands/rclone_touch.md
+++ b/docs/content/commands/rclone_touch.md
@@ -12,21 +12,25 @@ Create new file or change file modification time.
## Synopsis
-Set the modification time on object(s) as specified by remote:path to
+Set the modification time on file(s) as specified by remote:path to
have the current time.
-If remote:path does not exist then a zero sized object will be created
-unless the --no-create flag is provided.
+If remote:path does not exist then a zero sized file will be created,
+unless `--no-create` or `--recursive` is provided.
-If --timestamp is used then it will set the modification time to that
+If `--recursive` is used then recursively sets the modification
+time on all existing files that is found under the path. Filters are supported,
+and you can test with the `--dry-run` or the `--interactive` flag.
+
+If `--timestamp` is used then sets the modification time to that
time instead of the current time. Times may be specified as one of:
- 'YYMMDD' - e.g. 17.10.30
- 'YYYY-MM-DDTHH:MM:SS' - e.g. 2006-01-02T15:04:05
- 'YYYY-MM-DDTHH:MM:SS.SSS' - e.g. 2006-01-02T15:04:05.123456789
-Note that --timestamp is in UTC if you want local time then add the
---localtime flag.
+Note that value of `--timestamp` is in UTC. If you want local time
+then add the `--localtime` flag.
```
@@ -37,9 +41,10 @@ rclone touch remote:path [flags]
```
-h, --help help for touch
- --localtime Use localtime for timestamp, not UTC.
- -C, --no-create Do not create the file if it does not exist.
- -t, --timestamp string Use specified time instead of the current time of day.
+ --localtime Use localtime for timestamp, not UTC
+ -C, --no-create Do not create the file if it does not exist (implied with --recursive)
+ -R, --recursive Recursively touch all files
+ -t, --timestamp string Use specified time instead of the current time of day
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_tree.md b/docs/content/commands/rclone_tree.md
index 368e5787c..f839f655d 100644
--- a/docs/content/commands/rclone_tree.md
+++ b/docs/content/commands/rclone_tree.md
@@ -43,27 +43,27 @@ rclone tree remote:path [flags]
## Options
```
- -a, --all All files are listed (list . files too).
- -C, --color Turn colorization on always.
- -d, --dirs-only List directories only.
- --dirsfirst List directories before files (-U disables).
- --full-path Print the full path prefix for each file.
+ -a, --all All files are listed (list . files too)
+ -C, --color Turn colorization on always
+ -d, --dirs-only List directories only
+ --dirsfirst List directories before files (-U disables)
+ --full-path Print the full path prefix for each file
-h, --help help for tree
--human Print the size in a more human readable way.
- --level int Descend only level directories deep.
+ --level int Descend only level directories deep
-D, --modtime Print the date of last modification.
- --noindent Don't print indentation lines.
- --noreport Turn off file/directory count at end of tree listing.
- -o, --output string Output to file instead of stdout.
+ --noindent Don't print indentation lines
+ --noreport Turn off file/directory count at end of tree listing
+ -o, --output string Output to file instead of stdout
-p, --protections Print the protections for each file.
-Q, --quote Quote filenames with double quotes.
-s, --size Print the size in bytes of each file.
- --sort string Select sort: name,version,size,mtime,ctime.
- --sort-ctime Sort files by last status change time.
- -t, --sort-modtime Sort files by last modification time.
- -r, --sort-reverse Reverse the order of the sort.
- -U, --unsorted Leave files unsorted.
- --version Sort files alphanumerically by version.
+ --sort string Select sort: name,version,size,mtime,ctime
+ --sort-ctime Sort files by last status change time
+ -t, --sort-modtime Sort files by last modification time
+ -r, --sort-reverse Reverse the order of the sort
+ -U, --unsorted Leave files unsorted
+ --version Sort files alphanumerically by version
```
See the [global flags page](/flags/) for global options not listed here.
diff --git a/docs/content/commands/rclone_version.md b/docs/content/commands/rclone_version.md
index 1aa613421..3f16a70ff 100644
--- a/docs/content/commands/rclone_version.md
+++ b/docs/content/commands/rclone_version.md
@@ -57,7 +57,7 @@ rclone version [flags]
## Options
```
- --check Check for new version.
+ --check Check for new version
-h, --help help for version
```
diff --git a/docs/content/compress.md b/docs/content/compress.md
index 7561fe818..2597c762e 100644
--- a/docs/content/compress.md
+++ b/docs/content/compress.md
@@ -88,7 +88,7 @@ The compressed files will be named `*.###########.gz` where `*` is the base file
size of the uncompressed file. The file names should not be changed by anything other than the rclone compression backend.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/compress/compress.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to compress (Compress a remote).
@@ -113,7 +113,7 @@ Compression mode.
- "gzip"
- Standard gzip compression with fastest parameters.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to compress (Compress a remote).
@@ -121,13 +121,13 @@ Here are the advanced options specific to compress (Compress a remote).
GZIP compression level (-2 to 9).
- Generally -1 (default, equivalent to 5) is recommended.
- Levels 1 to 9 increase compressiong at the cost of speed.. Going past 6
- generally offers very little return.
-
- Level -2 uses Huffmann encoding only. Only use if you now what you
- are doing
- Level 0 turns off compression.
+Generally -1 (default, equivalent to 5) is recommended.
+Levels 1 to 9 increase compression at the cost of speed. Going past 6
+generally offers very little return.
+
+Level -2 uses Huffmann encoding only. Only use if you know what you
+are doing.
+Level 0 turns off compression.
- Config: level
- Env Var: RCLONE_COMPRESS_LEVEL
@@ -137,11 +137,11 @@ GZIP compression level (-2 to 9).
#### --compress-ram-cache-limit
Some remotes don't allow the upload of files with unknown size.
- In this case the compressed file will need to be cached to determine
- it's size.
-
- Files smaller than this limit will be cached in RAM, file larger than
- this limit will be cached on disk
+In this case the compressed file will need to be cached to determine
+it's size.
+
+Files smaller than this limit will be cached in RAM, files larger than
+this limit will be cached on disk.
- Config: ram_cache_limit
- Env Var: RCLONE_COMPRESS_RAM_CACHE_LIMIT
diff --git a/docs/content/crypt.md b/docs/content/crypt.md
index f78bc59db..a7a43fe96 100644
--- a/docs/content/crypt.md
+++ b/docs/content/crypt.md
@@ -409,13 +409,14 @@ integrity of a crypted remote instead of `rclone check` which can't
check the checksums properly.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/crypt/crypt.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to crypt (Encrypt/Decrypt a remote).
#### --crypt-remote
Remote to encrypt/decrypt.
+
Normally should contain a ':' and a path, e.g. "myremote:path/to/dir",
"myremote:bucket" or maybe "myremote:" (not recommended).
@@ -434,11 +435,13 @@ How to encrypt the filenames.
- Default: "standard"
- Examples:
- "standard"
- - Encrypt the filenames see the docs for the details.
+ - Encrypt the filenames.
+ - See the docs for the details.
- "obfuscate"
- Very simple filename obfuscation.
- "off"
- - Don't encrypt the file names. Adds a ".bin" extension only.
+ - Don't encrypt the file names.
+ - Adds a ".bin" extension only.
#### --crypt-directory-name-encryption
@@ -469,7 +472,9 @@ Password or pass phrase for encryption.
#### --crypt-password2
-Password or pass phrase for salt. Optional but recommended.
+Password or pass phrase for salt.
+
+Optional but recommended.
Should be different to the previous password.
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
@@ -479,7 +484,7 @@ Should be different to the previous password.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to crypt (Encrypt/Decrypt a remote).
@@ -532,7 +537,7 @@ Option to either encrypt file data or leave it unencrypted.
- "false"
- Encrypt file data.
-### Backend commands
+## Backend commands
Here are the commands specific to the crypt backend.
@@ -548,7 +553,7 @@ info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](/rc/#backend/command).
-#### encode
+### encode
Encode the given filename(s)
@@ -563,7 +568,7 @@ Usage Example:
rclone rc backend/command command=encode fs=crypt: file1 [file2...]
-#### decode
+### decode
Decode the given filename(s)
diff --git a/docs/content/drive.md b/docs/content/drive.md
index f600ca514..acd55486d 100644
--- a/docs/content/drive.md
+++ b/docs/content/drive.md
@@ -543,7 +543,7 @@ Google Documents.
| webloc | macOS specific XML format | macOS |
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/drive/drive.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to drive (Google Drive).
@@ -561,7 +561,8 @@ If you leave this blank, it will use an internal key which is low performance.
#### --drive-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -595,7 +596,7 @@ Scope that rclone should use when requesting access from drive.
#### --drive-root-folder-id
-ID of the root folder
+ID of the root folder.
Leave blank normally.
Fill in to access "Computers" folders (see docs), or for rclone to use
@@ -609,13 +610,13 @@ a non root folder as its starting point.
#### --drive-service-account-file
-Service Account Credentials JSON file path
+Service Account Credentials JSON file path.
+
Leave blank normally.
Needed only if you want use SA instead of interactive login.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
-
- Config: service_account_file
- Env Var: RCLONE_DRIVE_SERVICE_ACCOUNT_FILE
- Type: string
@@ -623,14 +624,14 @@ Leading `~` will be expanded in the file name as will environment variables such
#### --drive-alternate-export
-Deprecated: no longer needed
+Deprecated: No longer needed.
- Config: alternate_export
- Env Var: RCLONE_DRIVE_ALTERNATE_EXPORT
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to drive (Google Drive).
@@ -646,6 +647,7 @@ OAuth Access Token as a JSON blob.
#### --drive-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -656,6 +658,7 @@ Leave blank to use the provider defaults.
#### --drive-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -665,7 +668,8 @@ Leave blank to use the provider defaults.
#### --drive-service-account-credentials
-Service Account Credentials JSON blob
+Service Account Credentials JSON blob.
+
Leave blank normally.
Needed only if you want use SA instead of interactive login.
@@ -676,7 +680,7 @@ Needed only if you want use SA instead of interactive login.
#### --drive-team-drive
-ID of the Shared Drive (Team Drive)
+ID of the Shared Drive (Team Drive).
- Config: team_drive
- Env Var: RCLONE_DRIVE_TEAM_DRIVE
@@ -695,6 +699,7 @@ Only consider files owned by the authenticated user.
#### --drive-use-trash
Send files to the trash instead of deleting permanently.
+
Defaults to true, namely sending files to the trash.
Use `--drive-use-trash=false` to delete files permanently instead.
@@ -706,6 +711,7 @@ Use `--drive-use-trash=false` to delete files permanently instead.
#### --drive-skip-gdocs
Skip google documents in all listings.
+
If given, gdocs practically become invisible to rclone.
- Config: skip_gdocs
@@ -752,6 +758,7 @@ commands (copy, sync, etc.), and with all other commands too.
#### --drive-trashed-only
Only show files that are in the trash.
+
This will show trashed files in their original directory structure.
- Config: trashed_only
@@ -770,7 +777,7 @@ Only show files that are starred.
#### --drive-formats
-Deprecated: see export_formats
+Deprecated: See export_formats.
- Config: formats
- Env Var: RCLONE_DRIVE_FORMATS
@@ -797,7 +804,9 @@ Comma separated list of preferred formats for uploading Google docs.
#### --drive-allow-import-name-change
-Allow the filetype to change when uploading Google docs (e.g. file.doc to file.docx). This will confuse sync and reupload every time.
+Allow the filetype to change when uploading Google docs.
+
+E.g. file.doc to file.docx. This will confuse sync and reupload every time.
- Config: allow_import_name_change
- Env Var: RCLONE_DRIVE_ALLOW_IMPORT_NAME_CHANGE
@@ -806,7 +815,7 @@ Allow the filetype to change when uploading Google docs (e.g. file.doc to file.d
#### --drive-use-created-date
-Use file created date instead of modified date.,
+Use file created date instead of modified date.
Useful when downloading data and you want the creation date used in
place of the last modified date.
@@ -846,7 +855,7 @@ date is used.
#### --drive-list-chunk
-Size of listing chunk 100-1000. 0 to disable.
+Size of listing chunk 100-1000, 0 to disable.
- Config: list_chunk
- Env Var: RCLONE_DRIVE_LIST_CHUNK
@@ -864,7 +873,7 @@ Impersonate this user when using a service account.
#### --drive-upload-cutoff
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
- Config: upload_cutoff
- Env Var: RCLONE_DRIVE_UPLOAD_CUTOFF
@@ -873,7 +882,9 @@ Cutoff for switching to chunked upload
#### --drive-chunk-size
-Upload chunk size. Must a power of 2 >= 256k.
+Upload chunk size.
+
+Must a power of 2 >= 256k.
Making this larger will improve performance, but note that each chunk
is buffered in memory one per transfer.
@@ -974,7 +985,7 @@ configurations.
#### --drive-disable-http2
-Disable drive using http2
+Disable drive using http2.
There is currently an unsolved issue with the google drive backend and
HTTP/2. HTTP/2 is therefore disabled by default for the drive backend
@@ -992,7 +1003,7 @@ See: https://github.com/rclone/rclone/issues/3631
#### --drive-stop-on-upload-limit
-Make upload limit errors be fatal
+Make upload limit errors be fatal.
At the time of writing it is only possible to upload 750 GiB of data to
Google Drive a day (this is an undocumented limit). When this limit is
@@ -1013,7 +1024,7 @@ See: https://github.com/rclone/rclone/issues/3857
#### --drive-stop-on-download-limit
-Make download limit errors be fatal
+Make download limit errors be fatal.
At the time of writing it is only possible to download 10 TiB of data from
Google Drive a day (this is an undocumented limit). When this limit is
@@ -1032,7 +1043,7 @@ Google don't document so it may break in the future.
#### --drive-skip-shortcuts
-If set skip shortcut files
+If set skip shortcut files.
Normally rclone dereferences shortcut files making them appear as if
they are the original file (see [the shortcuts section](#shortcuts)).
@@ -1048,14 +1059,14 @@ If this flag is set then rclone will ignore shortcut files completely.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_DRIVE_ENCODING
- Type: MultiEncoder
- Default: InvalidUtf8
-### Backend commands
+## Backend commands
Here are the commands specific to the drive backend.
@@ -1071,7 +1082,7 @@ info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](/rc/#backend/command).
-#### get
+### get
Get command for fetching the drive config parameters
@@ -1090,7 +1101,7 @@ Options:
- "chunk_size": show the current upload chunk size
- "service_account_file": show the current service account file
-#### set
+### set
Set command for updating the drive config parameters
@@ -1109,7 +1120,7 @@ Options:
- "chunk_size": update the current upload chunk size
- "service_account_file": update the current service account file
-#### shortcut
+### shortcut
Create shortcuts from files or directories
@@ -1137,7 +1148,7 @@ Options:
- "target": optional target remote for the shortcut destination
-#### drives
+### drives
List the Shared Drives available to this account
@@ -1148,7 +1159,7 @@ account.
Usage:
- rclone backend drives drive:
+ rclone backend [-o config] drives drive:
This will return a JSON list of objects like this
@@ -1165,9 +1176,25 @@ This will return a JSON list of objects like this
}
]
+With the -o config parameter it will output the list in a format
+suitable for adding to a config file to make aliases for all the
+drives found.
+
+ [My Drive]
+ type = alias
+ remote = drive,team_drive=0ABCDEF-01234567890,root_folder_id=:
+
+ [Test Drive]
+ type = alias
+ remote = drive,team_drive=0ABCDEFabcdefghijkl,root_folder_id=:
+
+Adding this to the rclone config file will cause those team drives to
+be accessible with the aliases shown. This may require manual editing
+of the names.
+
-#### untrash
+### untrash
Untrash files and directories
@@ -1194,7 +1221,7 @@ Result:
}
-#### copyid
+### copyid
Copy files by ID
diff --git a/docs/content/dropbox.md b/docs/content/dropbox.md
index 5bd3230c0..d0053fb71 100644
--- a/docs/content/dropbox.md
+++ b/docs/content/dropbox.md
@@ -180,13 +180,14 @@ finishes up the last batch using this mode.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/dropbox/dropbox.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to dropbox (Dropbox).
#### --dropbox-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -196,7 +197,8 @@ Leave blank normally.
#### --dropbox-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -204,7 +206,7 @@ Leave blank normally.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to dropbox (Dropbox).
@@ -220,6 +222,7 @@ OAuth Access Token as a JSON blob.
#### --dropbox-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -230,6 +233,7 @@ Leave blank to use the provider defaults.
#### --dropbox-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -239,7 +243,7 @@ Leave blank to use the provider defaults.
#### --dropbox-chunk-size
-Upload chunk size. (< 150Mi).
+Upload chunk size (< 150Mi).
Any files larger than this will be uploaded in chunks of this size.
@@ -361,7 +365,7 @@ maximise throughput.
#### --dropbox-batch-timeout
-Max time to allow an idle upload batch before uploading
+Max time to allow an idle upload batch before uploading.
If an upload batch is idle for more than this long then it will be
uploaded.
@@ -379,11 +383,20 @@ default based on the batch_mode in use.
- Type: Duration
- Default: 0s
+#### --dropbox-batch-commit-timeout
+
+Max time to wait for a batch to finish comitting
+
+- Config: batch_commit_timeout
+- Env Var: RCLONE_DROPBOX_BATCH_COMMIT_TIMEOUT
+- Type: Duration
+- Default: 10m0s
+
#### --dropbox-encoding
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_DROPBOX_ENCODING
diff --git a/docs/content/fichier.md b/docs/content/fichier.md
index ebe56c038..14293e1f5 100644
--- a/docs/content/fichier.md
+++ b/docs/content/fichier.md
@@ -114,26 +114,26 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in JSON strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/fichier/fichier.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to fichier (1Fichier).
#### --fichier-api-key
-Your API Key, get it from https://1fichier.com/console/params.pl
+Your API Key, get it from https://1fichier.com/console/params.pl.
- Config: api_key
- Env Var: RCLONE_FICHIER_API_KEY
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to fichier (1Fichier).
#### --fichier-shared-folder
-If you want to download a shared folder, add this parameter
+If you want to download a shared folder, add this parameter.
- Config: shared_folder
- Env Var: RCLONE_FICHIER_SHARED_FOLDER
@@ -142,7 +142,7 @@ If you want to download a shared folder, add this parameter
#### --fichier-file-password
-If you want to download a shared file that is password protected, add this parameter
+If you want to download a shared file that is password protected, add this parameter.
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
@@ -153,7 +153,7 @@ If you want to download a shared file that is password protected, add this param
#### --fichier-folder-password
-If you want to list the files in a shared folder that is password protected, add this parameter
+If you want to list the files in a shared folder that is password protected, add this parameter.
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
@@ -166,7 +166,7 @@ If you want to list the files in a shared folder that is password protected, add
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_FICHIER_ENCODING
diff --git a/docs/content/filefabric.md b/docs/content/filefabric.md
index 3ca2755f7..f9b1a8509 100644
--- a/docs/content/filefabric.md
+++ b/docs/content/filefabric.md
@@ -152,13 +152,13 @@ $ rclone lsf --dirs-only -Fip --csv filefabric:
The ID for "S3 Storage" would be `120673761`.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/filefabric/filefabric.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to filefabric (Enterprise File Fabric).
#### --filefabric-url
-URL of the Enterprise File Fabric to connect to
+URL of the Enterprise File Fabric to connect to.
- Config: url
- Env Var: RCLONE_FILEFABRIC_URL
@@ -174,7 +174,8 @@ URL of the Enterprise File Fabric to connect to
#### --filefabric-root-folder-id
-ID of the root folder
+ID of the root folder.
+
Leave blank normally.
Fill in to make rclone start with directory of a given ID.
@@ -187,7 +188,7 @@ Fill in to make rclone start with directory of a given ID.
#### --filefabric-permanent-token
-Permanent Authentication Token
+Permanent Authentication Token.
A Permanent Authentication Token can be created in the Enterprise File
Fabric, on the users Dashboard under Security, there is an entry
@@ -204,13 +205,13 @@ For more info see: https://docs.storagemadeeasy.com/organisationcloud/api-tokens
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to filefabric (Enterprise File Fabric).
#### --filefabric-token
-Session Token
+Session Token.
This is a session token which rclone caches in the config file. It is
usually valid for 1 hour.
@@ -225,7 +226,7 @@ Don't set this value - rclone will set it automatically.
#### --filefabric-token-expiry
-Token expiry time
+Token expiry time.
Don't set this value - rclone will set it automatically.
@@ -237,7 +238,7 @@ Don't set this value - rclone will set it automatically.
#### --filefabric-version
-Version read from the file fabric
+Version read from the file fabric.
Don't set this value - rclone will set it automatically.
@@ -251,7 +252,7 @@ Don't set this value - rclone will set it automatically.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_FILEFABRIC_ENCODING
diff --git a/docs/content/flags.md b/docs/content/flags.md
index 95453bc62..5f1a73a8b 100644
--- a/docs/content/flags.md
+++ b/docs/content/flags.md
@@ -21,7 +21,6 @@ These flags are available for every command.
--bwlimit BwTimetable Bandwidth limit in KiB/s, or use suffix B|K|M|G|T|P or a full timetable
--bwlimit-file BwTimetable Bandwidth limit per file in KiB/s, or use suffix B|K|M|G|T|P or a full timetable
--ca-cert string CA certificate used to verify servers
- --temp-dir string Directory rclone will use for temporary files (default "$TMPDIR")
--cache-dir string Directory rclone will use for caching (default "$HOME/.cache/rclone")
--check-first Do all the checks before starting transfers
--checkers int Number of checkers to run in parallel (default 8)
@@ -50,20 +49,21 @@ These flags are available for every command.
--exclude-from stringArray Read exclude patterns from file (use - to read from stdin)
--exclude-if-present string Exclude directories if filename is present
--expect-continue-timeout duration Timeout when using expect / 100-continue in HTTP (default 1s)
- --fast-list Use recursive list if available; Uses more memory but fewer transactions
+ --fast-list Use recursive list if available; uses more memory but fewer transactions
--files-from stringArray Read list of source-file names from file (use - to read from stdin)
--files-from-raw stringArray Read list of source-file names from file without any processing of lines (use - to read from stdin)
-f, --filter stringArray Add a file-filtering rule
--filter-from stringArray Read filtering patterns from a file (use - to read from stdin)
- --fs-cache-expire-duration duration cache remotes for this long (0 to disable caching) (default 5m0s)
- --fs-cache-expire-interval duration interval to check for expired remotes (default 1m0s)
+ --fs-cache-expire-duration duration Cache remotes for this long (0 to disable caching) (default 5m0s)
+ --fs-cache-expire-interval duration Interval to check for expired remotes (default 1m0s)
--header stringArray Set HTTP header for all transactions
--header-download stringArray Set HTTP header for download transactions
--header-upload stringArray Set HTTP header for upload transactions
+ --human-readable Print numbers in a human-readable format, sizes with suffix Ki|Mi|Gi|Ti|Pi
--ignore-case Ignore case in filters (case insensitive)
--ignore-case-sync Ignore case when synchronizing
--ignore-checksum Skip post copy check of checksums
- --ignore-errors delete even if there are I/O errors
+ --ignore-errors Delete even if there are I/O errors
--ignore-existing Skip all files that exist on destination
--ignore-size Ignore size when skipping use mod-time or checksum
-I, --ignore-times Don't skip files that match size and time - transfer all files
@@ -122,7 +122,7 @@ These flags are available for every command.
--rc-serve Enable the serving of remote objects
--rc-server-read-timeout duration Timeout for server reading data (default 1h0m0s)
--rc-server-write-timeout duration Timeout for server writing data (default 1h0m0s)
- --rc-template string User Specified Template
+ --rc-template string User-specified template
--rc-user string User name for authentication
--rc-web-fetch-url string URL to fetch the releases for webgui (default "https://api.github.com/repos/rclone/rclone-webui-react/releases/latest")
--rc-web-gui Launch WebGUI on localhost
@@ -131,10 +131,10 @@ These flags are available for every command.
--rc-web-gui-update Check and update to latest version of web gui
--refresh-times Refresh the modtime of remote files
--retries int Retry operations this many times if they fail (default 3)
- --retries-sleep duration Interval between retrying operations if they fail, e.g 500ms, 60s, 5. (0 to disable)
+ --retries-sleep duration Interval between retrying operations if they fail, e.g. 500ms, 60s, 5m (0 to disable)
--size-only Skip based on size only, not mod-time or checksum
- --stats duration Interval between printing stats, e.g 500ms, 60s, 5m. (0 to disable) (default 1m0s)
- --stats-file-name-length int Max file name length in stats, 0 for no limit (default 45)
+ --stats duration Interval between printing stats, e.g. 500ms, 60s, 5m (0 to disable) (default 1m0s)
+ --stats-file-name-length int Max file name length in stats (0 for no limit) (default 45)
--stats-log-level string Log level to show --stats output DEBUG|INFO|NOTICE|ERROR (default "INFO")
--stats-one-line Make the stats fit on one line
--stats-one-line-date Enable --stats-one-line and add current date/time prefix
@@ -145,6 +145,7 @@ These flags are available for every command.
--suffix-keep-extension Preserve the extension when using --suffix
--syslog Use Syslog for logging
--syslog-facility string Facility for syslog, e.g. KERN,USER,... (default "DAEMON")
+ --temp-dir string Directory rclone will use for temporary files (default "/tmp")
--timeout duration IO idle timeout (default 5m0s)
--tpslimit float Limit HTTP transactions per second to this
--tpslimit-burst int Max burst of transactions for --tpslimit (default 1)
@@ -156,7 +157,7 @@ These flags are available for every command.
--use-json-log Use json log format
--use-mmap Use mmap allocator (see docs)
--use-server-modtime Use server modified time instead of object metadata
- --user-agent string Set the user-agent to a specified string (default "rclone/v1.56.0")
+ --user-agent string Set the user-agent to a specified string (default "rclone/v1.57.0")
-v, --verbose count Print lots more stuff (repeat for more)
```
@@ -166,437 +167,451 @@ These flags are available for every command. They control the backends
and may be set in the config file.
```
- --acd-auth-url string Auth server URL
- --acd-client-id string OAuth Client Id
- --acd-client-secret string OAuth Client Secret
- --acd-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
- --acd-templink-threshold SizeSuffix Files >= this size will be downloaded via their tempLink (default 9Gi)
- --acd-token string OAuth Access Token as a JSON blob
- --acd-token-url string Token server url
- --acd-upload-wait-per-gb Duration Additional time per GiB to wait after a failed complete upload to see if it appears (default 3m0s)
- --alias-remote string Remote or path to alias
- --azureblob-access-tier string Access tier of blob: hot, cool or archive
- --azureblob-account string Storage Account Name (leave blank to use SAS URL or Emulator)
- --azureblob-archive-tier-delete Delete archive tier blobs before overwriting
- --azureblob-chunk-size SizeSuffix Upload chunk size (<= 100 MiB) (default 4Mi)
- --azureblob-disable-checksum Don't store MD5 checksum with object metadata
- --azureblob-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8)
- --azureblob-endpoint string Endpoint for the service
- --azureblob-key string Storage Account Key (leave blank to use SAS URL or Emulator)
- --azureblob-list-chunk int Size of blob list (default 5000)
- --azureblob-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
- --azureblob-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
- --azureblob-msi-client-id string Object ID of the user-assigned MSI to use, if any
- --azureblob-msi-mi-res-id string Azure resource ID of the user-assigned MSI to use, if any
- --azureblob-msi-object-id string Object ID of the user-assigned MSI to use, if any
- --azureblob-public-access string Public access level of a container: blob, container
- --azureblob-sas-url string SAS URL for container level access only
- --azureblob-service-principal-file string Path to file containing credentials for use with a service principal
- --azureblob-upload-cutoff string Cutoff for switching to chunked upload (<= 256 MiB) (deprecated)
- --azureblob-use-emulator Uses local storage emulator if provided as 'true' (leave blank if using real azure storage endpoint)
- --azureblob-use-msi Use a managed service identity to authenticate (only works in Azure)
- --b2-account string Account ID or Application Key ID
- --b2-chunk-size SizeSuffix Upload chunk size (default 96Mi)
- --b2-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4Gi)
- --b2-disable-checksum Disable checksums for large (> upload cutoff) files
- --b2-download-auth-duration Duration Time before the authorization token will expire in s or suffix ms|s|m|h|d (default 1w)
- --b2-download-url string Custom endpoint for downloads
- --b2-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --b2-endpoint string Endpoint for the service
- --b2-hard-delete Permanently delete files on remote removal, otherwise hide files
- --b2-key string Application Key
- --b2-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
- --b2-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
- --b2-test-mode string A flag string for X-Bz-Test-Mode header for debugging
- --b2-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
- --b2-versions Include old versions in directory listings
- --box-access-token string Box App Primary Access Token
- --box-auth-url string Auth server URL
- --box-box-config-file string Box App config.json location
- --box-box-sub-type string (Default "user")
- --box-client-id string OAuth Client Id
- --box-client-secret string OAuth Client Secret
- --box-commit-retries int Max number of times to try committing a multipart file (default 100)
- --box-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot)
- --box-root-folder-id string Fill in for rclone to use a non root folder as its starting point
- --box-token string OAuth Access Token as a JSON blob
- --box-token-url string Token server url
- --box-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (>= 50 MiB) (default 50Mi)
- --cache-chunk-clean-interval Duration How often should the cache perform cleanups of the chunk storage (default 1m0s)
- --cache-chunk-no-memory Disable the in-memory cache for storing chunks during streaming
- --cache-chunk-path string Directory to cache chunk files (default "$HOME/.cache/rclone/cache-backend")
- --cache-chunk-size SizeSuffix The size of a chunk (partial file data) (default 5Mi)
- --cache-chunk-total-size SizeSuffix The total size that the chunks can take up on the local disk (default 10Gi)
- --cache-db-path string Directory to store file structure metadata DB (default "$HOME/.cache/rclone/cache-backend")
- --cache-db-purge Clear all the cached data for this remote on start
- --cache-db-wait-time Duration How long to wait for the DB to be available - 0 is unlimited (default 1s)
- --cache-info-age Duration How long to cache file structure information (directory listings, file size, times, etc) (default 6h0m0s)
- --cache-plex-insecure string Skip all certificate verification when connecting to the Plex server
- --cache-plex-password string The password of the Plex user (obscured)
- --cache-plex-url string The URL of the Plex server
- --cache-plex-username string The username of the Plex user
- --cache-read-retries int How many times to retry a read from a cache storage (default 10)
- --cache-remote string Remote to cache
- --cache-rps int Limits the number of requests per second to the source FS (-1 to disable) (default -1)
- --cache-tmp-upload-path string Directory to keep temporary files until they are uploaded
- --cache-tmp-wait-time Duration How long should files be stored in local cache before being uploaded (default 15s)
- --cache-workers int How many workers should run in parallel to download chunks (default 4)
- --cache-writes Cache file data on writes through the FS
- --chunker-chunk-size SizeSuffix Files larger than chunk size will be split in chunks (default 2Gi)
- --chunker-fail-hard Choose how chunker should handle files with missing or invalid chunks
- --chunker-hash-type string Choose how chunker handles hash sums (default "md5")
- --chunker-remote string Remote to chunk/unchunk
- --compress-level int GZIP compression level (-2 to 9) (default -1)
- --compress-mode string Compression mode (default "gzip")
- --compress-ram-cache-limit SizeSuffix Some remotes don't allow the upload of files with unknown size (default 20Mi)
- --compress-remote string Remote to compress
- -L, --copy-links Follow symlinks and copy the pointed to item
- --crypt-directory-name-encryption Option to either encrypt directory names or leave them intact (default true)
- --crypt-filename-encryption string How to encrypt the filenames (default "standard")
- --crypt-no-data-encryption Option to either encrypt file data or leave it unencrypted
- --crypt-password string Password or pass phrase for encryption (obscured)
- --crypt-password2 string Password or pass phrase for salt (obscured)
- --crypt-remote string Remote to encrypt/decrypt
- --crypt-server-side-across-configs Allow server-side operations (e.g. copy) to work across different crypt configs
- --crypt-show-mapping For all files listed show how the names encrypt
- --drive-acknowledge-abuse Set to allow files which return cannotDownloadAbusiveFile to be downloaded
- --drive-allow-import-name-change Allow the filetype to change when uploading Google docs (e.g. file.doc to file.docx)
- --drive-auth-owner-only Only consider files owned by the authenticated user
- --drive-auth-url string Auth server URL
- --drive-chunk-size SizeSuffix Upload chunk size (default 8Mi)
- --drive-client-id string Google Application Client Id
- --drive-client-secret string OAuth Client Secret
- --drive-disable-http2 Disable drive using http2 (default true)
- --drive-encoding MultiEncoder This sets the encoding for the backend (default InvalidUtf8)
- --drive-export-formats string Comma separated list of preferred formats for downloading Google docs (default "docx,xlsx,pptx,svg")
- --drive-formats string Deprecated: see export_formats
- --drive-impersonate string Impersonate this user when using a service account
- --drive-import-formats string Comma separated list of preferred formats for uploading Google docs
- --drive-keep-revision-forever Keep new head revision of each file forever
- --drive-list-chunk int Size of listing chunk 100-1000, 0 to disable (default 1000)
- --drive-pacer-burst int Number of API calls to allow without sleeping (default 100)
- --drive-pacer-min-sleep Duration Minimum time to sleep between API calls (default 100ms)
- --drive-root-folder-id string ID of the root folder
- --drive-scope string Scope that rclone should use when requesting access from drive
- --drive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different drive configs
- --drive-service-account-credentials string Service Account Credentials JSON blob
- --drive-service-account-file string Service Account Credentials JSON file path
- --drive-shared-with-me Only show files that are shared with me
- --drive-size-as-quota Show sizes as storage quota usage, not actual size
- --drive-skip-checksum-gphotos Skip MD5 checksum on Google photos and videos only
- --drive-skip-gdocs Skip google documents in all listings
- --drive-skip-shortcuts If set skip shortcut files
- --drive-starred-only Only show files that are starred
- --drive-stop-on-download-limit Make download limit errors be fatal
- --drive-stop-on-upload-limit Make upload limit errors be fatal
- --drive-team-drive string ID of the Shared Drive (Team Drive)
- --drive-token string OAuth Access Token as a JSON blob
- --drive-token-url string Token server url
- --drive-trashed-only Only show files that are in the trash
- --drive-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 8Mi)
- --drive-use-created-date Use file created date instead of modified date
- --drive-use-shared-date Use date file was shared instead of modified date
- --drive-use-trash Send files to the trash instead of deleting permanently (default true)
- --drive-v2-download-min-size SizeSuffix If Object's are greater, use drive v2 API to download (default off)
- --dropbox-auth-url string Auth server URL
- --dropbox-batch-mode string Upload file batching sync|async|off (default "sync")
- --dropbox-batch-size int Max number of files in upload batch
- --dropbox-batch-timeout Duration Max time to allow an idle upload batch before uploading (default 0s)
- --dropbox-chunk-size SizeSuffix Upload chunk size (< 150Mi) (default 48Mi)
- --dropbox-client-id string OAuth Client Id
- --dropbox-client-secret string OAuth Client Secret
- --dropbox-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot)
- --dropbox-impersonate string Impersonate this user when using a business account
- --dropbox-shared-files Instructs rclone to work on individual shared files
- --dropbox-shared-folders Instructs rclone to work on shared folders
- --dropbox-token string OAuth Access Token as a JSON blob
- --dropbox-token-url string Token server url
- --fichier-api-key string Your API Key, get it from https://1fichier.com/console/params.pl
- --fichier-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot)
- --fichier-file-password string If you want to download a shared file that is password protected, add this parameter (obscured)
- --fichier-folder-password string If you want to list the files in a shared folder that is password protected, add this parameter (obscured)
- --fichier-shared-folder string If you want to download a shared folder, add this parameter
- --filefabric-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
- --filefabric-permanent-token string Permanent Authentication Token
- --filefabric-root-folder-id string ID of the root folder
- --filefabric-token string Session Token
- --filefabric-token-expiry string Token expiry time
- --filefabric-url string URL of the Enterprise File Fabric to connect to
- --filefabric-version string Version read from the file fabric
- --ftp-close-timeout Duration Maximum time to wait for a response to close (default 1m0s)
- --ftp-concurrency int Maximum number of FTP simultaneous connections, 0 for unlimited
- --ftp-disable-epsv Disable using EPSV even if server advertises support
- --ftp-disable-mlsd Disable using MLSD even if server advertises support
- --ftp-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,RightSpace,Dot)
- --ftp-explicit-tls Use Explicit FTPS (FTP over TLS)
- --ftp-host string FTP host to connect to
- --ftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
- --ftp-no-check-certificate Do not verify the TLS certificate of the server
- --ftp-pass string FTP password (obscured)
- --ftp-port string FTP port, leave blank to use default (21)
- --ftp-tls Use Implicit FTPS (FTP over TLS)
- --ftp-user string FTP username, leave blank for current username, $USER
- --gcs-anonymous Access public buckets and objects without credentials
- --gcs-auth-url string Auth server URL
- --gcs-bucket-acl string Access Control List for new buckets
- --gcs-bucket-policy-only Access checks should use bucket-level IAM policies
- --gcs-client-id string OAuth Client Id
- --gcs-client-secret string OAuth Client Secret
- --gcs-encoding MultiEncoder This sets the encoding for the backend (default Slash,CrLf,InvalidUtf8,Dot)
- --gcs-location string Location for the newly created buckets
- --gcs-object-acl string Access Control List for new objects
- --gcs-project-number string Project number
- --gcs-service-account-file string Service Account Credentials JSON file path
- --gcs-storage-class string The storage class to use when storing objects in Google Cloud Storage
- --gcs-token string OAuth Access Token as a JSON blob
- --gcs-token-url string Token server url
- --gphotos-auth-url string Auth server URL
- --gphotos-client-id string OAuth Client Id
- --gphotos-client-secret string OAuth Client Secret
- --gphotos-include-archived Also view and download archived media
- --gphotos-read-only Set to make the Google Photos backend read only
- --gphotos-read-size Set to read the size of media items
- --gphotos-start-year int Year limits the photos to be downloaded to those which are uploaded after the given year (default 2000)
- --gphotos-token string OAuth Access Token as a JSON blob.
- --gphotos-token-url string Token server url
- --hasher-auto-size SizeSuffix Auto-update checksum for files smaller than this size (disabled by default)
- --hasher-hashes CommaSepList Comma separated list of supported checksum types (default md5,sha1)
- --hasher-max-age Duration Maximum time to keep checksums in cache (0 = no cache, off = cache forever) (default off)
- --hasher-remote string Remote to cache checksums for (e.g. myRemote:path)
- --hdfs-data-transfer-protection string Kerberos data transfer protection: authentication|integrity|privacy
- --hdfs-encoding MultiEncoder This sets the encoding for the backend (default Slash,Colon,Del,Ctl,InvalidUtf8,Dot)
- --hdfs-namenode string hadoop name node and port
- --hdfs-service-principal-name string Kerberos service principal name for the namenode
- --hdfs-username string hadoop user name
- --http-headers CommaSepList Set HTTP headers for all transactions
- --http-no-head Don't use HEAD requests to find file sizes in dir listing
- --http-no-slash Set this if the site doesn't end directories with /
- --http-url string URL of http host to connect to
- --hubic-auth-url string Auth server URL
- --hubic-chunk-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
- --hubic-client-id string OAuth Client Id
- --hubic-client-secret string OAuth Client Secret
- --hubic-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
- --hubic-no-chunk Don't chunk files during streaming upload
- --hubic-token string OAuth Access Token as a JSON blob
- --hubic-token-url string Token server url
- --jottacloud-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
- --jottacloud-hard-delete Delete files permanently rather than putting them into the trash
- --jottacloud-md5-memory-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required (default 10Mi)
- --jottacloud-no-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them
- --jottacloud-trashed-only Only show files that are in the trash
- --jottacloud-upload-resume-limit SizeSuffix Files bigger than this can be resumed if the upload fail's (default 10Mi)
- --koofr-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --koofr-endpoint string The Koofr API endpoint to use (default "https://app.koofr.net")
- --koofr-mountid string Mount ID of the mount to use
- --koofr-password string Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password) (obscured)
- --koofr-setmtime Does the backend support setting modification time (default true)
- --koofr-user string Your Koofr user name
- -l, --links Translate symlinks to/from regular files with a '.rclonelink' extension
- --local-case-insensitive Force the filesystem to report itself as case insensitive
- --local-case-sensitive Force the filesystem to report itself as case sensitive
- --local-encoding MultiEncoder This sets the encoding for the backend (default Slash,Dot)
- --local-no-check-updated Don't check to see if the files change during upload
- --local-no-preallocate Disable preallocation of disk space for transferred files
- --local-no-set-modtime Disable setting modtime
- --local-no-sparse Disable sparse files for multi-thread downloads
- --local-nounc string Disable UNC (long path names) conversion on Windows
- --local-unicode-normalization Apply unicode NFC normalization to paths and filenames
- --local-zero-size-links Assume the Stat size of links is zero (and read them instead) (deprecated)
- --mailru-check-hash What should copy do if file checksum is mismatched or invalid (default true)
- --mailru-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --mailru-pass string Password (obscured)
- --mailru-speedup-enable Skip full upload if there is another file with same data hash (default true)
- --mailru-speedup-file-patterns string Comma separated list of file name patterns eligible for speedup (put by hash) (default "*.mkv,*.avi,*.mp4,*.mp3,*.zip,*.gz,*.rar,*.pdf")
- --mailru-speedup-max-disk SizeSuffix This option allows you to disable speedup (put by hash) for large files (default 3Gi)
- --mailru-speedup-max-memory SizeSuffix Files larger than the size given below will always be hashed on disk (default 32Mi)
- --mailru-user string User name (usually email)
- --mega-debug Output more debug from Mega
- --mega-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
- --mega-hard-delete Delete files permanently rather than putting them into the trash
- --mega-pass string Password (obscured)
- --mega-user string User name
- -x, --one-file-system Don't cross filesystem boundaries (unix/macOS only)
- --onedrive-auth-url string Auth server URL
- --onedrive-chunk-size SizeSuffix Chunk size to upload files with - must be multiple of 320k (327,680 bytes) (default 10Mi)
- --onedrive-client-id string OAuth Client Id
- --onedrive-client-secret string OAuth Client Secret
- --onedrive-drive-id string The ID of the drive to use
- --onedrive-drive-type string The type of the drive (personal | business | documentLibrary)
- --onedrive-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
- --onedrive-expose-onenote-files Set to make OneNote files show up in directory listings
- --onedrive-link-password string Set the password for links created by the link command
- --onedrive-link-scope string Set the scope of the links created by the link command (default "anonymous")
- --onedrive-link-type string Set the type of the links created by the link command (default "view")
- --onedrive-list-chunk int Size of listing chunk (default 1000)
- --onedrive-no-versions Remove all versions on modifying operations
- --onedrive-region string Choose national cloud region for OneDrive (default "global")
- --onedrive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different onedrive configs
- --onedrive-token string OAuth Access Token as a JSON blob
- --onedrive-token-url string Token server url
- --opendrive-chunk-size SizeSuffix Files will be uploaded in chunks this size (default 10Mi)
- --opendrive-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,LeftSpace,LeftCrLfHtVt,RightSpace,RightCrLfHtVt,InvalidUtf8,Dot)
- --opendrive-password string Password (obscured)
- --opendrive-username string Username
- --pcloud-auth-url string Auth server URL
- --pcloud-client-id string OAuth Client Id
- --pcloud-client-secret string OAuth Client Secret
- --pcloud-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --pcloud-hostname string Hostname to connect to (default "api.pcloud.com")
- --pcloud-root-folder-id string Fill in for rclone to use a non root folder as its starting point (default "d0")
- --pcloud-token string OAuth Access Token as a JSON blob
- --pcloud-token-url string Token server url
- --premiumizeme-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --putio-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- --qingstor-access-key-id string QingStor Access Key ID
- --qingstor-chunk-size SizeSuffix Chunk size to use for uploading (default 4Mi)
- --qingstor-connection-retries int Number of connection retries (default 3)
- --qingstor-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8)
- --qingstor-endpoint string Enter an endpoint URL to connection QingStor API
- --qingstor-env-auth Get QingStor credentials from runtime
- --qingstor-secret-access-key string QingStor Secret Access Key (password)
- --qingstor-upload-concurrency int Concurrency for multipart uploads (default 1)
- --qingstor-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
- --qingstor-zone string Zone to connect to
- --s3-access-key-id string AWS Access Key ID
- --s3-acl string Canned ACL used when creating buckets and storing or copying objects
- --s3-bucket-acl string Canned ACL used when creating buckets
- --s3-chunk-size SizeSuffix Chunk size to use for uploading (default 5Mi)
- --s3-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
- --s3-disable-checksum Don't store MD5 checksum with object metadata
- --s3-disable-http2 Disable usage of http2 for S3 backends
- --s3-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
- --s3-endpoint string Endpoint for S3 API
- --s3-env-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars)
- --s3-force-path-style If true use path style access if false use virtual hosted style (default true)
- --s3-leave-parts-on-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery
- --s3-list-chunk int Size of listing chunk (response list for each ListObject S3 request) (default 1000)
- --s3-location-constraint string Location constraint - must be set to match the Region
- --s3-max-upload-parts int Maximum number of parts in a multipart upload (default 10000)
- --s3-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
- --s3-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
- --s3-no-check-bucket If set, don't attempt to check the bucket exists or create it
- --s3-no-head If set, don't HEAD uploaded objects to check integrity
- --s3-no-head-object If set, don't HEAD objects
- --s3-profile string Profile to use in the shared credentials file
- --s3-provider string Choose your S3 provider
- --s3-region string Region to connect to
- --s3-requester-pays Enables requester pays option when interacting with S3 bucket
- --s3-secret-access-key string AWS Secret Access Key (password)
- --s3-server-side-encryption string The server-side encryption algorithm used when storing this object in S3
- --s3-session-token string An AWS session token
- --s3-shared-credentials-file string Path to the shared credentials file
- --s3-sse-customer-algorithm string If using SSE-C, the server-side encryption algorithm used when storing this object in S3
- --s3-sse-customer-key string If using SSE-C you must provide the secret encryption key used to encrypt/decrypt your data
- --s3-sse-customer-key-md5 string If using SSE-C you may provide the secret encryption key MD5 checksum (optional)
- --s3-sse-kms-key-id string If using KMS ID you must provide the ARN of Key
- --s3-storage-class string The storage class to use when storing new objects in S3
- --s3-upload-concurrency int Concurrency for multipart uploads (default 4)
- --s3-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
- --s3-use-accelerate-endpoint If true use the AWS S3 accelerated endpoint
- --s3-v2-auth If true use v2 authentication
- --seafile-2fa Two-factor authentication ('true' if the account has 2FA enabled)
- --seafile-create-library Should rclone create a library if it doesn't exist
- --seafile-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Ctl,InvalidUtf8)
- --seafile-library string Name of the library
- --seafile-library-key string Library password (for encrypted libraries only) (obscured)
- --seafile-pass string Password (obscured)
- --seafile-url string URL of seafile host to connect to
- --seafile-user string User name (usually email address)
- --sftp-ask-password Allow asking for SFTP password when needed
- --sftp-disable-concurrent-reads If set don't use concurrent reads
- --sftp-disable-concurrent-writes If set don't use concurrent writes
- --sftp-disable-hashcheck Disable the execution of SSH commands to determine if remote file hashing is available
- --sftp-host string SSH host to connect to
- --sftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
- --sftp-key-file string Path to PEM-encoded private key file, leave blank or set key-use-agent to use ssh-agent
- --sftp-key-file-pass string The passphrase to decrypt the PEM-encoded private key file (obscured)
- --sftp-key-pem string Raw PEM-encoded private key, If specified, will override key_file parameter
- --sftp-key-use-agent When set forces the usage of the ssh-agent
- --sftp-known-hosts-file string Optional path to known_hosts file
- --sftp-md5sum-command string The command used to read md5 hashes
- --sftp-pass string SSH password, leave blank to use ssh-agent (obscured)
- --sftp-path-override string Override path used by SSH connection
- --sftp-port string SSH port, leave blank to use default (22)
- --sftp-pubkey-file string Optional path to public key file
- --sftp-server-command string Specifies the path or command to run a sftp server on the remote host
- --sftp-set-modtime Set the modified time on the remote if set (default true)
- --sftp-sha1sum-command string The command used to read sha1 hashes
- --sftp-skip-links Set to skip any symlinks and any other non regular files
- --sftp-subsystem string Specifies the SSH2 subsystem on the remote host (default "sftp")
- --sftp-use-fstat If set use fstat instead of stat
- --sftp-use-insecure-cipher Enable the use of insecure ciphers and key exchange methods
- --sftp-user string SSH username, leave blank for current username, $USER
- --sharefile-chunk-size SizeSuffix Upload chunk size (default 64Mi)
- --sharefile-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot)
- --sharefile-endpoint string Endpoint for API calls
- --sharefile-root-folder-id string ID of the root folder
- --sharefile-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (default 128Mi)
- --skip-links Don't warn about skipped symlinks
- --sugarsync-access-key-id string Sugarsync Access Key ID
- --sugarsync-app-id string Sugarsync App ID
- --sugarsync-authorization string Sugarsync authorization
- --sugarsync-authorization-expiry string Sugarsync authorization expiry
- --sugarsync-deleted-id string Sugarsync deleted folder id
- --sugarsync-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8,Dot)
- --sugarsync-hard-delete Permanently delete files if true
- --sugarsync-private-access-key string Sugarsync Private Access Key
- --sugarsync-refresh-token string Sugarsync refresh token
- --sugarsync-root-id string Sugarsync root id
- --sugarsync-user string Sugarsync user
- --swift-application-credential-id string Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
- --swift-application-credential-name string Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
- --swift-application-credential-secret string Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
- --swift-auth string Authentication URL for server (OS_AUTH_URL)
- --swift-auth-token string Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
- --swift-auth-version int AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
- --swift-chunk-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
- --swift-domain string User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)
- --swift-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
- --swift-endpoint-type string Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE) (default "public")
- --swift-env-auth Get swift credentials from environment variables in standard OpenStack form
- --swift-key string API key or password (OS_PASSWORD)
- --swift-leave-parts-on-error If true avoid calling abort upload on a failure
- --swift-no-chunk Don't chunk files during streaming upload
- --swift-region string Region name - optional (OS_REGION_NAME)
- --swift-storage-policy string The storage policy to use when creating a new container
- --swift-storage-url string Storage URL - optional (OS_STORAGE_URL)
- --swift-tenant string Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
- --swift-tenant-domain string Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
- --swift-tenant-id string Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
- --swift-user string User name to log in (OS_USERNAME)
- --swift-user-id string User ID to log in - optional - most swift systems use user and leave this blank (v3 auth) (OS_USER_ID)
- --tardigrade-access-grant string Access grant
- --tardigrade-api-key string API key
- --tardigrade-passphrase string Encryption passphrase
- --tardigrade-provider string Choose an authentication method (default "existing")
- --tardigrade-satellite-address <nodeid>@<address>:<port> Satellite address (default "us-central-1.tardigrade.io")
- --union-action-policy string Policy to choose upstream on ACTION category (default "epall")
- --union-cache-time int Cache time of usage and free space (in seconds) (default 120)
- --union-create-policy string Policy to choose upstream on CREATE category (default "epmfs")
- --union-search-policy string Policy to choose upstream on SEARCH category (default "ff")
- --union-upstreams string List of space separated upstreams
- --uptobox-access-token string Your access Token, get it from https://uptobox.com/my_account
- --uptobox-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot)
- --webdav-bearer-token string Bearer token instead of user/pass (e.g. a Macaroon)
- --webdav-bearer-token-command string Command to run to get a bearer token
- --webdav-encoding string This sets the encoding for the backend
- --webdav-headers CommaSepList Set HTTP headers for all transactions
- --webdav-pass string Password (obscured)
- --webdav-url string URL of http host to connect to
- --webdav-user string User name
- --webdav-vendor string Name of the Webdav site/service/software you are using
- --yandex-auth-url string Auth server URL
- --yandex-client-id string OAuth Client Id
- --yandex-client-secret string OAuth Client Secret
- --yandex-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
- --yandex-token string OAuth Access Token as a JSON blob
- --yandex-token-url string Token server url
- --zoho-auth-url string Auth server URL
- --zoho-client-id string OAuth Client Id
- --zoho-client-secret string OAuth Client Secret
- --zoho-encoding MultiEncoder This sets the encoding for the backend (default Del,Ctl,InvalidUtf8)
- --zoho-region string Zoho region to connect to
- --zoho-token string OAuth Access Token as a JSON blob
- --zoho-token-url string Token server url
+ --acd-auth-url string Auth server URL
+ --acd-client-id string OAuth Client Id
+ --acd-client-secret string OAuth Client Secret
+ --acd-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --acd-templink-threshold SizeSuffix Files >= this size will be downloaded via their tempLink (default 9Gi)
+ --acd-token string OAuth Access Token as a JSON blob
+ --acd-token-url string Token server url
+ --acd-upload-wait-per-gb Duration Additional time per GiB to wait after a failed complete upload to see if it appears (default 3m0s)
+ --alias-remote string Remote or path to alias
+ --azureblob-access-tier string Access tier of blob: hot, cool or archive
+ --azureblob-account string Storage Account Name
+ --azureblob-archive-tier-delete Delete archive tier blobs before overwriting
+ --azureblob-chunk-size SizeSuffix Upload chunk size (<= 100 MiB) (default 4Mi)
+ --azureblob-disable-checksum Don't store MD5 checksum with object metadata
+ --azureblob-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8)
+ --azureblob-endpoint string Endpoint for the service
+ --azureblob-key string Storage Account Key
+ --azureblob-list-chunk int Size of blob list (default 5000)
+ --azureblob-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --azureblob-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --azureblob-msi-client-id string Object ID of the user-assigned MSI to use, if any
+ --azureblob-msi-mi-res-id string Azure resource ID of the user-assigned MSI to use, if any
+ --azureblob-msi-object-id string Object ID of the user-assigned MSI to use, if any
+ --azureblob-no-head-object If set, do not do HEAD before GET when getting objects
+ --azureblob-public-access string Public access level of a container: blob or container
+ --azureblob-sas-url string SAS URL for container level access only
+ --azureblob-service-principal-file string Path to file containing credentials for use with a service principal
+ --azureblob-upload-cutoff string Cutoff for switching to chunked upload (<= 256 MiB) (deprecated)
+ --azureblob-use-emulator Uses local storage emulator if provided as 'true'
+ --azureblob-use-msi Use a managed service identity to authenticate (only works in Azure)
+ --b2-account string Account ID or Application Key ID
+ --b2-chunk-size SizeSuffix Upload chunk size (default 96Mi)
+ --b2-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4Gi)
+ --b2-disable-checksum Disable checksums for large (> upload cutoff) files
+ --b2-download-auth-duration Duration Time before the authorization token will expire in s or suffix ms|s|m|h|d (default 1w)
+ --b2-download-url string Custom endpoint for downloads
+ --b2-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --b2-endpoint string Endpoint for the service
+ --b2-hard-delete Permanently delete files on remote removal, otherwise hide files
+ --b2-key string Application Key
+ --b2-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --b2-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --b2-test-mode string A flag string for X-Bz-Test-Mode header for debugging
+ --b2-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --b2-versions Include old versions in directory listings
+ --box-access-token string Box App Primary Access Token
+ --box-auth-url string Auth server URL
+ --box-box-config-file string Box App config.json location
+ --box-box-sub-type string (default "user")
+ --box-client-id string OAuth Client Id
+ --box-client-secret string OAuth Client Secret
+ --box-commit-retries int Max number of times to try committing a multipart file (default 100)
+ --box-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot)
+ --box-list-chunk int Size of listing chunk 1-1000 (default 1000)
+ --box-owned-by string Only show items owned by the login (email address) passed in
+ --box-root-folder-id string Fill in for rclone to use a non root folder as its starting point
+ --box-token string OAuth Access Token as a JSON blob
+ --box-token-url string Token server url
+ --box-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (>= 50 MiB) (default 50Mi)
+ --cache-chunk-clean-interval Duration How often should the cache perform cleanups of the chunk storage (default 1m0s)
+ --cache-chunk-no-memory Disable the in-memory cache for storing chunks during streaming
+ --cache-chunk-path string Directory to cache chunk files (default "$HOME/.cache/rclone/cache-backend")
+ --cache-chunk-size SizeSuffix The size of a chunk (partial file data) (default 5Mi)
+ --cache-chunk-total-size SizeSuffix The total size that the chunks can take up on the local disk (default 10Gi)
+ --cache-db-path string Directory to store file structure metadata DB (default "$HOME/.cache/rclone/cache-backend")
+ --cache-db-purge Clear all the cached data for this remote on start
+ --cache-db-wait-time Duration How long to wait for the DB to be available - 0 is unlimited (default 1s)
+ --cache-info-age Duration How long to cache file structure information (directory listings, file size, times, etc.) (default 6h0m0s)
+ --cache-plex-insecure string Skip all certificate verification when connecting to the Plex server
+ --cache-plex-password string The password of the Plex user (obscured)
+ --cache-plex-url string The URL of the Plex server
+ --cache-plex-username string The username of the Plex user
+ --cache-read-retries int How many times to retry a read from a cache storage (default 10)
+ --cache-remote string Remote to cache
+ --cache-rps int Limits the number of requests per second to the source FS (-1 to disable) (default -1)
+ --cache-tmp-upload-path string Directory to keep temporary files until they are uploaded
+ --cache-tmp-wait-time Duration How long should files be stored in local cache before being uploaded (default 15s)
+ --cache-workers int How many workers should run in parallel to download chunks (default 4)
+ --cache-writes Cache file data on writes through the FS
+ --chunker-chunk-size SizeSuffix Files larger than chunk size will be split in chunks (default 2Gi)
+ --chunker-fail-hard Choose how chunker should handle files with missing or invalid chunks
+ --chunker-hash-type string Choose how chunker handles hash sums (default "md5")
+ --chunker-remote string Remote to chunk/unchunk
+ --compress-level int GZIP compression level (-2 to 9) (default -1)
+ --compress-mode string Compression mode (default "gzip")
+ --compress-ram-cache-limit SizeSuffix Some remotes don't allow the upload of files with unknown size (default 20Mi)
+ --compress-remote string Remote to compress
+ -L, --copy-links Follow symlinks and copy the pointed to item
+ --crypt-directory-name-encryption Option to either encrypt directory names or leave them intact (default true)
+ --crypt-filename-encryption string How to encrypt the filenames (default "standard")
+ --crypt-no-data-encryption Option to either encrypt file data or leave it unencrypted
+ --crypt-password string Password or pass phrase for encryption (obscured)
+ --crypt-password2 string Password or pass phrase for salt (obscured)
+ --crypt-remote string Remote to encrypt/decrypt
+ --crypt-server-side-across-configs Allow server-side operations (e.g. copy) to work across different crypt configs
+ --crypt-show-mapping For all files listed show how the names encrypt
+ --drive-acknowledge-abuse Set to allow files which return cannotDownloadAbusiveFile to be downloaded
+ --drive-allow-import-name-change Allow the filetype to change when uploading Google docs
+ --drive-auth-owner-only Only consider files owned by the authenticated user
+ --drive-auth-url string Auth server URL
+ --drive-chunk-size SizeSuffix Upload chunk size (default 8Mi)
+ --drive-client-id string Google Application Client Id
+ --drive-client-secret string OAuth Client Secret
+ --drive-disable-http2 Disable drive using http2 (default true)
+ --drive-encoding MultiEncoder This sets the encoding for the backend (default InvalidUtf8)
+ --drive-export-formats string Comma separated list of preferred formats for downloading Google docs (default "docx,xlsx,pptx,svg")
+ --drive-formats string Deprecated: See export_formats
+ --drive-impersonate string Impersonate this user when using a service account
+ --drive-import-formats string Comma separated list of preferred formats for uploading Google docs
+ --drive-keep-revision-forever Keep new head revision of each file forever
+ --drive-list-chunk int Size of listing chunk 100-1000, 0 to disable (default 1000)
+ --drive-pacer-burst int Number of API calls to allow without sleeping (default 100)
+ --drive-pacer-min-sleep Duration Minimum time to sleep between API calls (default 100ms)
+ --drive-root-folder-id string ID of the root folder
+ --drive-scope string Scope that rclone should use when requesting access from drive
+ --drive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different drive configs
+ --drive-service-account-credentials string Service Account Credentials JSON blob
+ --drive-service-account-file string Service Account Credentials JSON file path
+ --drive-shared-with-me Only show files that are shared with me
+ --drive-size-as-quota Show sizes as storage quota usage, not actual size
+ --drive-skip-checksum-gphotos Skip MD5 checksum on Google photos and videos only
+ --drive-skip-gdocs Skip google documents in all listings
+ --drive-skip-shortcuts If set skip shortcut files
+ --drive-starred-only Only show files that are starred
+ --drive-stop-on-download-limit Make download limit errors be fatal
+ --drive-stop-on-upload-limit Make upload limit errors be fatal
+ --drive-team-drive string ID of the Shared Drive (Team Drive)
+ --drive-token string OAuth Access Token as a JSON blob
+ --drive-token-url string Token server url
+ --drive-trashed-only Only show files that are in the trash
+ --drive-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 8Mi)
+ --drive-use-created-date Use file created date instead of modified date
+ --drive-use-shared-date Use date file was shared instead of modified date
+ --drive-use-trash Send files to the trash instead of deleting permanently (default true)
+ --drive-v2-download-min-size SizeSuffix If Object's are greater, use drive v2 API to download (default off)
+ --dropbox-auth-url string Auth server URL
+ --dropbox-batch-commit-timeout Duration Max time to wait for a batch to finish comitting (default 10m0s)
+ --dropbox-batch-mode string Upload file batching sync|async|off (default "sync")
+ --dropbox-batch-size int Max number of files in upload batch
+ --dropbox-batch-timeout Duration Max time to allow an idle upload batch before uploading (default 0s)
+ --dropbox-chunk-size SizeSuffix Upload chunk size (< 150Mi) (default 48Mi)
+ --dropbox-client-id string OAuth Client Id
+ --dropbox-client-secret string OAuth Client Secret
+ --dropbox-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot)
+ --dropbox-impersonate string Impersonate this user when using a business account
+ --dropbox-shared-files Instructs rclone to work on individual shared files
+ --dropbox-shared-folders Instructs rclone to work on shared folders
+ --dropbox-token string OAuth Access Token as a JSON blob
+ --dropbox-token-url string Token server url
+ --fichier-api-key string Your API Key, get it from https://1fichier.com/console/params.pl
+ --fichier-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot)
+ --fichier-file-password string If you want to download a shared file that is password protected, add this parameter (obscured)
+ --fichier-folder-password string If you want to list the files in a shared folder that is password protected, add this parameter (obscured)
+ --fichier-shared-folder string If you want to download a shared folder, add this parameter
+ --filefabric-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
+ --filefabric-permanent-token string Permanent Authentication Token
+ --filefabric-root-folder-id string ID of the root folder
+ --filefabric-token string Session Token
+ --filefabric-token-expiry string Token expiry time
+ --filefabric-url string URL of the Enterprise File Fabric to connect to
+ --filefabric-version string Version read from the file fabric
+ --ftp-close-timeout Duration Maximum time to wait for a response to close (default 1m0s)
+ --ftp-concurrency int Maximum number of FTP simultaneous connections, 0 for unlimited
+ --ftp-disable-epsv Disable using EPSV even if server advertises support
+ --ftp-disable-mlsd Disable using MLSD even if server advertises support
+ --ftp-disable-tls13 Disable TLS 1.3 (workaround for FTP servers with buggy TLS)
+ --ftp-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,RightSpace,Dot)
+ --ftp-explicit-tls Use Explicit FTPS (FTP over TLS)
+ --ftp-host string FTP host to connect to
+ --ftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
+ --ftp-no-check-certificate Do not verify the TLS certificate of the server
+ --ftp-pass string FTP password (obscured)
+ --ftp-port string FTP port, leave blank to use default (21)
+ --ftp-shut-timeout Duration Maximum time to wait for data connection closing status (default 1m0s)
+ --ftp-tls Use Implicit FTPS (FTP over TLS)
+ --ftp-tls-cache-size int Size of TLS session cache for all control and data connections (default 32)
+ --ftp-user string FTP username, leave blank for current username, $USER
+ --ftp-writing-mdtm Use MDTM to set modification time (VsFtpd quirk)
+ --gcs-anonymous Access public buckets and objects without credentials
+ --gcs-auth-url string Auth server URL
+ --gcs-bucket-acl string Access Control List for new buckets
+ --gcs-bucket-policy-only Access checks should use bucket-level IAM policies
+ --gcs-client-id string OAuth Client Id
+ --gcs-client-secret string OAuth Client Secret
+ --gcs-encoding MultiEncoder This sets the encoding for the backend (default Slash,CrLf,InvalidUtf8,Dot)
+ --gcs-location string Location for the newly created buckets
+ --gcs-object-acl string Access Control List for new objects
+ --gcs-project-number string Project number
+ --gcs-service-account-file string Service Account Credentials JSON file path
+ --gcs-storage-class string The storage class to use when storing objects in Google Cloud Storage
+ --gcs-token string OAuth Access Token as a JSON blob
+ --gcs-token-url string Token server url
+ --gphotos-auth-url string Auth server URL
+ --gphotos-client-id string OAuth Client Id
+ --gphotos-client-secret string OAuth Client Secret
+ --gphotos-encoding MultiEncoder This sets the encoding for the backend (default Slash,CrLf,InvalidUtf8,Dot)
+ --gphotos-include-archived Also view and download archived media
+ --gphotos-read-only Set to make the Google Photos backend read only
+ --gphotos-read-size Set to read the size of media items
+ --gphotos-start-year int Year limits the photos to be downloaded to those which are uploaded after the given year (default 2000)
+ --gphotos-token string OAuth Access Token as a JSON blob
+ --gphotos-token-url string Token server url
+ --hasher-auto-size SizeSuffix Auto-update checksum for files smaller than this size (disabled by default)
+ --hasher-hashes CommaSepList Comma separated list of supported checksum types (default md5,sha1)
+ --hasher-max-age Duration Maximum time to keep checksums in cache (0 = no cache, off = cache forever) (default off)
+ --hasher-remote string Remote to cache checksums for (e.g. myRemote:path)
+ --hdfs-data-transfer-protection string Kerberos data transfer protection: authentication|integrity|privacy
+ --hdfs-encoding MultiEncoder This sets the encoding for the backend (default Slash,Colon,Del,Ctl,InvalidUtf8,Dot)
+ --hdfs-namenode string Hadoop name node and port
+ --hdfs-service-principal-name string Kerberos service principal name for the namenode
+ --hdfs-username string Hadoop user name
+ --http-headers CommaSepList Set HTTP headers for all transactions
+ --http-no-head Don't use HEAD requests to find file sizes in dir listing
+ --http-no-slash Set this if the site doesn't end directories with /
+ --http-url string URL of http host to connect to
+ --hubic-auth-url string Auth server URL
+ --hubic-chunk-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
+ --hubic-client-id string OAuth Client Id
+ --hubic-client-secret string OAuth Client Secret
+ --hubic-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
+ --hubic-no-chunk Don't chunk files during streaming upload
+ --hubic-token string OAuth Access Token as a JSON blob
+ --hubic-token-url string Token server url
+ --jottacloud-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
+ --jottacloud-hard-delete Delete files permanently rather than putting them into the trash
+ --jottacloud-md5-memory-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required (default 10Mi)
+ --jottacloud-no-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them
+ --jottacloud-trashed-only Only show files that are in the trash
+ --jottacloud-upload-resume-limit SizeSuffix Files bigger than this can be resumed if the upload fail's (default 10Mi)
+ --koofr-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --koofr-endpoint string The Koofr API endpoint to use (default "https://app.koofr.net")
+ --koofr-mountid string Mount ID of the mount to use
+ --koofr-password string Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password) (obscured)
+ --koofr-setmtime Does the backend support setting modification time (default true)
+ --koofr-user string Your Koofr user name
+ -l, --links Translate symlinks to/from regular files with a '.rclonelink' extension
+ --local-case-insensitive Force the filesystem to report itself as case insensitive
+ --local-case-sensitive Force the filesystem to report itself as case sensitive
+ --local-encoding MultiEncoder This sets the encoding for the backend (default Slash,Dot)
+ --local-no-check-updated Don't check to see if the files change during upload
+ --local-no-preallocate Disable preallocation of disk space for transferred files
+ --local-no-set-modtime Disable setting modtime
+ --local-no-sparse Disable sparse files for multi-thread downloads
+ --local-nounc string Disable UNC (long path names) conversion on Windows
+ --local-unicode-normalization Apply unicode NFC normalization to paths and filenames
+ --local-zero-size-links Assume the Stat size of links is zero (and read them instead) (deprecated)
+ --mailru-check-hash What should copy do if file checksum is mismatched or invalid (default true)
+ --mailru-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --mailru-pass string Password (obscured)
+ --mailru-speedup-enable Skip full upload if there is another file with same data hash (default true)
+ --mailru-speedup-file-patterns string Comma separated list of file name patterns eligible for speedup (put by hash) (default "*.mkv,*.avi,*.mp4,*.mp3,*.zip,*.gz,*.rar,*.pdf")
+ --mailru-speedup-max-disk SizeSuffix This option allows you to disable speedup (put by hash) for large files (default 3Gi)
+ --mailru-speedup-max-memory SizeSuffix Files larger than the size given below will always be hashed on disk (default 32Mi)
+ --mailru-user string User name (usually email)
+ --mega-debug Output more debug from Mega
+ --mega-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --mega-hard-delete Delete files permanently rather than putting them into the trash
+ --mega-pass string Password (obscured)
+ --mega-user string User name
+ -x, --one-file-system Don't cross filesystem boundaries (unix/macOS only)
+ --onedrive-auth-url string Auth server URL
+ --onedrive-chunk-size SizeSuffix Chunk size to upload files with - must be multiple of 320k (327,680 bytes) (default 10Mi)
+ --onedrive-client-id string OAuth Client Id
+ --onedrive-client-secret string OAuth Client Secret
+ --onedrive-drive-id string The ID of the drive to use
+ --onedrive-drive-type string The type of the drive (personal | business | documentLibrary)
+ --onedrive-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
+ --onedrive-expose-onenote-files Set to make OneNote files show up in directory listings
+ --onedrive-link-password string Set the password for links created by the link command
+ --onedrive-link-scope string Set the scope of the links created by the link command (default "anonymous")
+ --onedrive-link-type string Set the type of the links created by the link command (default "view")
+ --onedrive-list-chunk int Size of listing chunk (default 1000)
+ --onedrive-no-versions Remove all versions on modifying operations
+ --onedrive-region string Choose national cloud region for OneDrive (default "global")
+ --onedrive-server-side-across-configs Allow server-side operations (e.g. copy) to work across different onedrive configs
+ --onedrive-token string OAuth Access Token as a JSON blob
+ --onedrive-token-url string Token server url
+ --opendrive-chunk-size SizeSuffix Files will be uploaded in chunks this size (default 10Mi)
+ --opendrive-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,LeftSpace,LeftCrLfHtVt,RightSpace,RightCrLfHtVt,InvalidUtf8,Dot)
+ --opendrive-password string Password (obscured)
+ --opendrive-username string Username
+ --pcloud-auth-url string Auth server URL
+ --pcloud-client-id string OAuth Client Id
+ --pcloud-client-secret string OAuth Client Secret
+ --pcloud-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --pcloud-hostname string Hostname to connect to (default "api.pcloud.com")
+ --pcloud-root-folder-id string Fill in for rclone to use a non root folder as its starting point (default "d0")
+ --pcloud-token string OAuth Access Token as a JSON blob
+ --pcloud-token-url string Token server url
+ --premiumizeme-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --putio-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ --qingstor-access-key-id string QingStor Access Key ID
+ --qingstor-chunk-size SizeSuffix Chunk size to use for uploading (default 4Mi)
+ --qingstor-connection-retries int Number of connection retries (default 3)
+ --qingstor-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8)
+ --qingstor-endpoint string Enter an endpoint URL to connection QingStor API
+ --qingstor-env-auth Get QingStor credentials from runtime
+ --qingstor-secret-access-key string QingStor Secret Access Key (password)
+ --qingstor-upload-concurrency int Concurrency for multipart uploads (default 1)
+ --qingstor-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --qingstor-zone string Zone to connect to
+ --s3-access-key-id string AWS Access Key ID
+ --s3-acl string Canned ACL used when creating buckets and storing or copying objects
+ --s3-bucket-acl string Canned ACL used when creating buckets
+ --s3-chunk-size SizeSuffix Chunk size to use for uploading (default 5Mi)
+ --s3-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
+ --s3-disable-checksum Don't store MD5 checksum with object metadata
+ --s3-disable-http2 Disable usage of http2 for S3 backends
+ --s3-download-url string Custom endpoint for downloads
+ --s3-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ --s3-endpoint string Endpoint for S3 API
+ --s3-env-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars)
+ --s3-force-path-style If true use path style access if false use virtual hosted style (default true)
+ --s3-leave-parts-on-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery
+ --s3-list-chunk int Size of listing chunk (response list for each ListObject S3 request) (default 1000)
+ --s3-location-constraint string Location constraint - must be set to match the Region
+ --s3-max-upload-parts int Maximum number of parts in a multipart upload (default 10000)
+ --s3-memory-pool-flush-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ --s3-memory-pool-use-mmap Whether to use mmap buffers in internal memory pool
+ --s3-no-check-bucket If set, don't attempt to check the bucket exists or create it
+ --s3-no-head If set, don't HEAD uploaded objects to check integrity
+ --s3-no-head-object If set, do not do HEAD before GET when getting objects
+ --s3-profile string Profile to use in the shared credentials file
+ --s3-provider string Choose your S3 provider
+ --s3-region string Region to connect to
+ --s3-requester-pays Enables requester pays option when interacting with S3 bucket
+ --s3-secret-access-key string AWS Secret Access Key (password)
+ --s3-server-side-encryption string The server-side encryption algorithm used when storing this object in S3
+ --s3-session-token string An AWS session token
+ --s3-shared-credentials-file string Path to the shared credentials file
+ --s3-sse-customer-algorithm string If using SSE-C, the server-side encryption algorithm used when storing this object in S3
+ --s3-sse-customer-key string If using SSE-C you must provide the secret encryption key used to encrypt/decrypt your data
+ --s3-sse-customer-key-md5 string If using SSE-C you may provide the secret encryption key MD5 checksum (optional)
+ --s3-sse-kms-key-id string If using KMS ID you must provide the ARN of Key
+ --s3-storage-class string The storage class to use when storing new objects in S3
+ --s3-upload-concurrency int Concurrency for multipart uploads (default 4)
+ --s3-upload-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ --s3-use-accelerate-endpoint If true use the AWS S3 accelerated endpoint
+ --s3-v2-auth If true use v2 authentication
+ --seafile-2fa Two-factor authentication ('true' if the account has 2FA enabled)
+ --seafile-create-library Should rclone create a library if it doesn't exist
+ --seafile-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Ctl,InvalidUtf8)
+ --seafile-library string Name of the library
+ --seafile-library-key string Library password (for encrypted libraries only) (obscured)
+ --seafile-pass string Password (obscured)
+ --seafile-url string URL of seafile host to connect to
+ --seafile-user string User name (usually email address)
+ --sftp-ask-password Allow asking for SFTP password when needed
+ --sftp-disable-concurrent-reads If set don't use concurrent reads
+ --sftp-disable-concurrent-writes If set don't use concurrent writes
+ --sftp-disable-hashcheck Disable the execution of SSH commands to determine if remote file hashing is available
+ --sftp-host string SSH host to connect to
+ --sftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
+ --sftp-key-file string Path to PEM-encoded private key file
+ --sftp-key-file-pass string The passphrase to decrypt the PEM-encoded private key file (obscured)
+ --sftp-key-pem string Raw PEM-encoded private key
+ --sftp-key-use-agent When set forces the usage of the ssh-agent
+ --sftp-known-hosts-file string Optional path to known_hosts file
+ --sftp-md5sum-command string The command used to read md5 hashes
+ --sftp-pass string SSH password, leave blank to use ssh-agent (obscured)
+ --sftp-path-override string Override path used by SSH connection
+ --sftp-port string SSH port, leave blank to use default (22)
+ --sftp-pubkey-file string Optional path to public key file
+ --sftp-server-command string Specifies the path or command to run a sftp server on the remote host
+ --sftp-set-modtime Set the modified time on the remote if set (default true)
+ --sftp-sha1sum-command string The command used to read sha1 hashes
+ --sftp-skip-links Set to skip any symlinks and any other non regular files
+ --sftp-subsystem string Specifies the SSH2 subsystem on the remote host (default "sftp")
+ --sftp-use-fstat If set use fstat instead of stat
+ --sftp-use-insecure-cipher Enable the use of insecure ciphers and key exchange methods
+ --sftp-user string SSH username, leave blank for current username, $USER
+ --sharefile-chunk-size SizeSuffix Upload chunk size (default 64Mi)
+ --sharefile-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot)
+ --sharefile-endpoint string Endpoint for API calls
+ --sharefile-root-folder-id string ID of the root folder
+ --sharefile-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (default 128Mi)
+ --sia-api-password string Sia Daemon API Password (obscured)
+ --sia-api-url string Sia daemon API URL, like http://sia.daemon.host:9980 (default "http://127.0.0.1:9980")
+ --sia-encoding MultiEncoder This sets the encoding for the backend (default Slash,Question,Hash,Percent,Del,Ctl,InvalidUtf8,Dot)
+ --sia-user-agent string Siad User Agent (default "Sia-Agent")
+ --skip-links Don't warn about skipped symlinks
+ --sugarsync-access-key-id string Sugarsync Access Key ID
+ --sugarsync-app-id string Sugarsync App ID
+ --sugarsync-authorization string Sugarsync authorization
+ --sugarsync-authorization-expiry string Sugarsync authorization expiry
+ --sugarsync-deleted-id string Sugarsync deleted folder id
+ --sugarsync-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8,Dot)
+ --sugarsync-hard-delete Permanently delete files if true
+ --sugarsync-private-access-key string Sugarsync Private Access Key
+ --sugarsync-refresh-token string Sugarsync refresh token
+ --sugarsync-root-id string Sugarsync root id
+ --sugarsync-user string Sugarsync user
+ --swift-application-credential-id string Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
+ --swift-application-credential-name string Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
+ --swift-application-credential-secret string Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
+ --swift-auth string Authentication URL for server (OS_AUTH_URL)
+ --swift-auth-token string Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
+ --swift-auth-version int AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
+ --swift-chunk-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
+ --swift-domain string User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)
+ --swift-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
+ --swift-endpoint-type string Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE) (default "public")
+ --swift-env-auth Get swift credentials from environment variables in standard OpenStack form
+ --swift-key string API key or password (OS_PASSWORD)
+ --swift-leave-parts-on-error If true avoid calling abort upload on a failure
+ --swift-no-chunk Don't chunk files during streaming upload
+ --swift-region string Region name - optional (OS_REGION_NAME)
+ --swift-storage-policy string The storage policy to use when creating a new container
+ --swift-storage-url string Storage URL - optional (OS_STORAGE_URL)
+ --swift-tenant string Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
+ --swift-tenant-domain string Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
+ --swift-tenant-id string Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
+ --swift-user string User name to log in (OS_USERNAME)
+ --swift-user-id string User ID to log in - optional - most swift systems use user and leave this blank (v3 auth) (OS_USER_ID)
+ --tardigrade-access-grant string Access grant
+ --tardigrade-api-key string API key
+ --tardigrade-passphrase string Encryption passphrase
+ --tardigrade-provider string Choose an authentication method (default "existing")
+ --tardigrade-satellite-address string Satellite address (default "us-central-1.tardigrade.io")
+ --union-action-policy string Policy to choose upstream on ACTION category (default "epall")
+ --union-cache-time int Cache time of usage and free space (in seconds) (default 120)
+ --union-create-policy string Policy to choose upstream on CREATE category (default "epmfs")
+ --union-search-policy string Policy to choose upstream on SEARCH category (default "ff")
+ --union-upstreams string List of space separated upstreams
+ --uptobox-access-token string Your access token
+ --uptobox-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot)
+ --webdav-bearer-token string Bearer token instead of user/pass (e.g. a Macaroon)
+ --webdav-bearer-token-command string Command to run to get a bearer token
+ --webdav-encoding string This sets the encoding for the backend
+ --webdav-headers CommaSepList Set HTTP headers for all transactions
+ --webdav-pass string Password (obscured)
+ --webdav-url string URL of http host to connect to
+ --webdav-user string User name
+ --webdav-vendor string Name of the Webdav site/service/software you are using
+ --yandex-auth-url string Auth server URL
+ --yandex-client-id string OAuth Client Id
+ --yandex-client-secret string OAuth Client Secret
+ --yandex-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
+ --yandex-token string OAuth Access Token as a JSON blob
+ --yandex-token-url string Token server url
+ --zoho-auth-url string Auth server URL
+ --zoho-client-id string OAuth Client Id
+ --zoho-client-secret string OAuth Client Secret
+ --zoho-encoding MultiEncoder This sets the encoding for the backend (default Del,Ctl,InvalidUtf8)
+ --zoho-region string Zoho region to connect to
+ --zoho-token string OAuth Access Token as a JSON blob
+ --zoho-token-url string Token server url
```
diff --git a/docs/content/ftp.md b/docs/content/ftp.md
index 2b791a905..587ff0fc3 100644
--- a/docs/content/ftp.md
+++ b/docs/content/ftp.md
@@ -136,25 +136,24 @@ sensible encoding settings for major FTP servers: ProFTPd, PureFTPd, VsFTPd.
Just hit a selection number when prompted.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/ftp/ftp.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to ftp (FTP Connection).
#### --ftp-host
-FTP host to connect to
+FTP host to connect to.
+
+E.g. "ftp.example.com".
- Config: host
- Env Var: RCLONE_FTP_HOST
- Type: string
- Default: ""
-- Examples:
- - "ftp.example.com"
- - Connect to ftp.example.com
#### --ftp-user
-FTP username, leave blank for current username, $USER
+FTP username, leave blank for current username, $USER.
- Config: user
- Env Var: RCLONE_FTP_USER
@@ -163,7 +162,7 @@ FTP username, leave blank for current username, $USER
#### --ftp-port
-FTP port, leave blank to use default (21)
+FTP port, leave blank to use default (21).
- Config: port
- Env Var: RCLONE_FTP_PORT
@@ -172,7 +171,7 @@ FTP port, leave blank to use default (21)
#### --ftp-pass
-FTP password
+FTP password.
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
@@ -183,7 +182,8 @@ FTP password
#### --ftp-tls
-Use Implicit FTPS (FTP over TLS)
+Use Implicit FTPS (FTP over TLS).
+
When using implicit FTP over TLS the client connects using TLS
right from the start which breaks compatibility with
non-TLS-aware servers. This is usually served over port 990 rather
@@ -196,7 +196,8 @@ than port 21. Cannot be used in combination with explicit FTP.
#### --ftp-explicit-tls
-Use Explicit FTPS (FTP over TLS)
+Use Explicit FTPS (FTP over TLS).
+
When using explicit FTP over TLS the client explicitly requests
security from the server in order to upgrade a plain text connection
to an encrypted one. Cannot be used in combination with implicit FTP.
@@ -206,13 +207,13 @@ to an encrypted one. Cannot be used in combination with implicit FTP.
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to ftp (FTP Connection).
#### --ftp-concurrency
-Maximum number of FTP simultaneous connections, 0 for unlimited
+Maximum number of FTP simultaneous connections, 0 for unlimited.
- Config: concurrency
- Env Var: RCLONE_FTP_CONCURRENCY
@@ -221,7 +222,7 @@ Maximum number of FTP simultaneous connections, 0 for unlimited
#### --ftp-no-check-certificate
-Do not verify the TLS certificate of the server
+Do not verify the TLS certificate of the server.
- Config: no_check_certificate
- Env Var: RCLONE_FTP_NO_CHECK_CERTIFICATE
@@ -230,7 +231,7 @@ Do not verify the TLS certificate of the server
#### --ftp-disable-epsv
-Disable using EPSV even if server advertises support
+Disable using EPSV even if server advertises support.
- Config: disable_epsv
- Env Var: RCLONE_FTP_DISABLE_EPSV
@@ -239,7 +240,7 @@ Disable using EPSV even if server advertises support
#### --ftp-disable-mlsd
-Disable using MLSD even if server advertises support
+Disable using MLSD even if server advertises support.
- Config: disable_mlsd
- Env Var: RCLONE_FTP_DISABLE_MLSD
@@ -257,7 +258,7 @@ Use MDTM to set modification time (VsFtpd quirk)
#### --ftp-idle-timeout
-Max time before closing idle connections
+Max time before closing idle connections.
If no connections have been returned to the connection pool in the time
given, rclone will empty the connection pool.
@@ -279,11 +280,42 @@ Maximum time to wait for a response to close.
- Type: Duration
- Default: 1m0s
+#### --ftp-tls-cache-size
+
+Size of TLS session cache for all control and data connections.
+
+TLS cache allows to resume TLS sessions and reuse PSK between connections.
+Increase if default size is not enough resulting in TLS resumption errors.
+Enabled by default. Use 0 to disable.
+
+- Config: tls_cache_size
+- Env Var: RCLONE_FTP_TLS_CACHE_SIZE
+- Type: int
+- Default: 32
+
+#### --ftp-disable-tls13
+
+Disable TLS 1.3 (workaround for FTP servers with buggy TLS)
+
+- Config: disable_tls13
+- Env Var: RCLONE_FTP_DISABLE_TLS13
+- Type: bool
+- Default: false
+
+#### --ftp-shut-timeout
+
+Maximum time to wait for data connection closing status.
+
+- Config: shut_timeout
+- Env Var: RCLONE_FTP_SHUT_TIMEOUT
+- Type: Duration
+- Default: 1m0s
+
#### --ftp-encoding
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_FTP_ENCODING
diff --git a/docs/content/googlecloudstorage.md b/docs/content/googlecloudstorage.md
index 2f57fe66e..b4072ba72 100644
--- a/docs/content/googlecloudstorage.md
+++ b/docs/content/googlecloudstorage.md
@@ -271,13 +271,14 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in JSON strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/googlecloudstorage/googlecloudstorage.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to google cloud storage (Google Cloud Storage (this is not Google Drive)).
#### --gcs-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -287,7 +288,8 @@ Leave blank normally.
#### --gcs-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -298,6 +300,7 @@ Leave blank normally.
#### --gcs-project-number
Project number.
+
Optional - needed only for list/create/delete buckets - see your developer console.
- Config: project_number
@@ -307,13 +310,13 @@ Optional - needed only for list/create/delete buckets - see your developer conso
#### --gcs-service-account-file
-Service Account Credentials JSON file path
+Service Account Credentials JSON file path.
+
Leave blank normally.
Needed only if you want use SA instead of interactive login.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
-
- Config: service_account_file
- Env Var: RCLONE_GCS_SERVICE_ACCOUNT_FILE
- Type: string
@@ -321,7 +324,8 @@ Leading `~` will be expanded in the file name as will environment variables such
#### --gcs-service-account-credentials
-Service Account Credentials JSON blob
+Service Account Credentials JSON blob.
+
Leave blank normally.
Needed only if you want use SA instead of interactive login.
@@ -332,7 +336,8 @@ Needed only if you want use SA instead of interactive login.
#### --gcs-anonymous
-Access public buckets and objects without credentials
+Access public buckets and objects without credentials.
+
Set to 'true' if you just want to download files and don't configure credentials.
- Config: anonymous
@@ -350,17 +355,23 @@ Access Control List for new objects.
- Default: ""
- Examples:
- "authenticatedRead"
- - Object owner gets OWNER access, and all Authenticated Users get READER access.
+ - Object owner gets OWNER access.
+ - All Authenticated Users get READER access.
- "bucketOwnerFullControl"
- - Object owner gets OWNER access, and project team owners get OWNER access.
+ - Object owner gets OWNER access.
+ - Project team owners get OWNER access.
- "bucketOwnerRead"
- - Object owner gets OWNER access, and project team owners get READER access.
+ - Object owner gets OWNER access.
+ - Project team owners get READER access.
- "private"
- - Object owner gets OWNER access [default if left blank].
+ - Object owner gets OWNER access.
+ - Default if left blank.
- "projectPrivate"
- - Object owner gets OWNER access, and project team members get access according to their roles.
+ - Object owner gets OWNER access.
+ - Project team members get access according to their roles.
- "publicRead"
- - Object owner gets OWNER access, and all Users get READER access.
+ - Object owner gets OWNER access.
+ - All Users get READER access.
#### --gcs-bucket-acl
@@ -372,15 +383,19 @@ Access Control List for new buckets.
- Default: ""
- Examples:
- "authenticatedRead"
- - Project team owners get OWNER access, and all Authenticated Users get READER access.
+ - Project team owners get OWNER access.
+ - All Authenticated Users get READER access.
- "private"
- - Project team owners get OWNER access [default if left blank].
+ - Project team owners get OWNER access.
+ - Default if left blank.
- "projectPrivate"
- Project team members get access according to their roles.
- "publicRead"
- - Project team owners get OWNER access, and all Users get READER access.
+ - Project team owners get OWNER access.
+ - All Users get READER access.
- "publicReadWrite"
- - Project team owners get OWNER access, and all Users get WRITER access.
+ - Project team owners get OWNER access.
+ - All Users get WRITER access.
#### --gcs-bucket-policy-only
@@ -413,45 +428,45 @@ Location for the newly created buckets.
- Default: ""
- Examples:
- ""
- - Empty for default location (US).
+ - Empty for default location (US)
- "asia"
- - Multi-regional location for Asia.
+ - Multi-regional location for Asia
- "eu"
- - Multi-regional location for Europe.
+ - Multi-regional location for Europe
- "us"
- - Multi-regional location for United States.
+ - Multi-regional location for United States
- "asia-east1"
- - Taiwan.
+ - Taiwan
- "asia-east2"
- - Hong Kong.
+ - Hong Kong
- "asia-northeast1"
- - Tokyo.
+ - Tokyo
- "asia-south1"
- - Mumbai.
+ - Mumbai
- "asia-southeast1"
- - Singapore.
+ - Singapore
- "australia-southeast1"
- - Sydney.
+ - Sydney
- "europe-north1"
- - Finland.
+ - Finland
- "europe-west1"
- - Belgium.
+ - Belgium
- "europe-west2"
- - London.
+ - London
- "europe-west3"
- - Frankfurt.
+ - Frankfurt
- "europe-west4"
- - Netherlands.
+ - Netherlands
- "us-central1"
- - Iowa.
+ - Iowa
- "us-east1"
- - South Carolina.
+ - South Carolina
- "us-east4"
- - Northern Virginia.
+ - Northern Virginia
- "us-west1"
- - Oregon.
+ - Oregon
- "us-west2"
- - California.
+ - California
#### --gcs-storage-class
@@ -477,7 +492,7 @@ The storage class to use when storing objects in Google Cloud Storage.
- "DURABLE_REDUCED_AVAILABILITY"
- Durable reduced availability storage class
-### Advanced Options
+### Advanced options
Here are the advanced options specific to google cloud storage (Google Cloud Storage (this is not Google Drive)).
@@ -493,6 +508,7 @@ OAuth Access Token as a JSON blob.
#### --gcs-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -503,6 +519,7 @@ Leave blank to use the provider defaults.
#### --gcs-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -514,7 +531,7 @@ Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_GCS_ENCODING
diff --git a/docs/content/googlephotos.md b/docs/content/googlephotos.md
index 74ade606f..45b015fbd 100644
--- a/docs/content/googlephotos.md
+++ b/docs/content/googlephotos.md
@@ -222,13 +222,14 @@ The `shared-album` directory shows albums shared with you or by you.
This is similar to the Sharing tab in the Google Photos web interface.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/googlephotos/googlephotos.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to google photos (Google Photos).
#### --gphotos-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -238,7 +239,8 @@ Leave blank normally.
#### --gphotos-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -258,7 +260,7 @@ to your photos, otherwise rclone will request full access.
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to google photos (Google Photos).
@@ -274,6 +276,7 @@ OAuth Access Token as a JSON blob.
#### --gphotos-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -284,6 +287,7 @@ Leave blank to use the provider defaults.
#### --gphotos-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -308,7 +312,7 @@ you want to read the media.
#### --gphotos-start-year
-Year limits the photos to be downloaded to those which are uploaded after the given year
+Year limits the photos to be downloaded to those which are uploaded after the given year.
- Config: start_year
- Env Var: RCLONE_GPHOTOS_START_YEAR
@@ -336,6 +340,17 @@ listings and won't be transferred.
- Type: bool
- Default: false
+#### --gphotos-encoding
+
+This sets the encoding for the backend.
+
+See the [encoding section in the overview](/overview/#encoding) for more info.
+
+- Config: encoding
+- Env Var: RCLONE_GPHOTOS_ENCODING
+- Type: MultiEncoder
+- Default: Slash,CrLf,InvalidUtf8,Dot
+
{{< rem autogenerated options stop >}}
## Limitations
diff --git a/docs/content/hasher.md b/docs/content/hasher.md
index f591a1cef..f142dc0a9 100644
--- a/docs/content/hasher.md
+++ b/docs/content/hasher.md
@@ -170,7 +170,7 @@ or by full re-read/re-write of the files.
## Configuration reference
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/hasher/hasher.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to hasher (Better checksums for other remotes).
@@ -201,7 +201,7 @@ Maximum time to keep checksums in cache (0 = no cache, off = cache forever).
- Type: Duration
- Default: off
-### Advanced Options
+### Advanced options
Here are the advanced options specific to hasher (Better checksums for other remotes).
@@ -214,7 +214,7 @@ Auto-update checksum for files smaller than this size (disabled by default).
- Type: SizeSuffix
- Default: 0
-### Backend commands
+## Backend commands
Here are the commands specific to the hasher backend.
@@ -230,7 +230,7 @@ info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](/rc/#backend/command).
-#### drop
+### drop
Drop cache
@@ -241,7 +241,7 @@ Usage Example:
rclone backend drop hasher:
-#### dump
+### dump
Dump the database
@@ -249,7 +249,7 @@ Dump the database
Dump cache records covered by the current remote
-#### fulldump
+### fulldump
Full dump of the database
@@ -257,7 +257,7 @@ Full dump of the database
Dump all cache records in the database
-#### import
+### import
Import a SUM file
@@ -268,7 +268,7 @@ Usage Example:
rclone backend import hasher:subdir md5 /path/to/sum.md5
-#### stickyimport
+### stickyimport
Perform fast import of a SUM file
diff --git a/docs/content/hdfs.md b/docs/content/hdfs.md
index a312093d2..8dee31425 100644
--- a/docs/content/hdfs.md
+++ b/docs/content/hdfs.md
@@ -149,25 +149,24 @@ the following characters are also replaced:
Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8).
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/hdfs/hdfs.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to hdfs (Hadoop distributed file system).
#### --hdfs-namenode
-hadoop name node and port
+Hadoop name node and port.
+
+E.g. "namenode:8020" to connect to host namenode at port 8020.
- Config: namenode
- Env Var: RCLONE_HDFS_NAMENODE
- Type: string
- Default: ""
-- Examples:
- - "namenode:8020"
- - Connect to host namenode at port 8020
#### --hdfs-username
-hadoop user name
+Hadoop user name.
- Config: username
- Env Var: RCLONE_HDFS_USERNAME
@@ -175,30 +174,28 @@ hadoop user name
- Default: ""
- Examples:
- "root"
- - Connect to hdfs as root
+ - Connect to hdfs as root.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to hdfs (Hadoop distributed file system).
#### --hdfs-service-principal-name
-Kerberos service principal name for the namenode
+Kerberos service principal name for the namenode.
Enables KERBEROS authentication. Specifies the Service Principal Name
-(SERVICE/FQDN) for the namenode.
+(SERVICE/FQDN) for the namenode. E.g. \"hdfs/namenode.hadoop.docker\"
+for namenode running as service 'hdfs' with FQDN 'namenode.hadoop.docker'.
- Config: service_principal_name
- Env Var: RCLONE_HDFS_SERVICE_PRINCIPAL_NAME
- Type: string
- Default: ""
-- Examples:
- - "hdfs/namenode.hadoop.docker"
- - Namenode running as service 'hdfs' with FQDN 'namenode.hadoop.docker'.
#### --hdfs-data-transfer-protection
-Kerberos data transfer protection: authentication|integrity|privacy
+Kerberos data transfer protection: authentication|integrity|privacy.
Specifies whether or not authentication, data signature integrity
checks, and wire encryption is required when communicating the the
@@ -217,7 +214,7 @@ datanodes. Possible values are 'authentication', 'integrity' and
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_HDFS_ENCODING
diff --git a/docs/content/http.md b/docs/content/http.md
index 75686449c..cbce12ed4 100644
--- a/docs/content/http.md
+++ b/docs/content/http.md
@@ -101,33 +101,30 @@ without a config file:
rclone lsd --http-url https://beta.rclone.org :http:
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/http/http.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to http (http Connection).
#### --http-url
-URL of http host to connect to
+URL of http host to connect to.
+
+E.g. "https://example.com", or "https://user:[email protected]" to use a username and password.
- Config: url
- Env Var: RCLONE_HTTP_URL
- Type: string
- Default: ""
-- Examples:
- - "https://example.com"
- - Connect to example.com
- - "https://user:[email protected]"
- - Connect to example.com using a username and password
-### Advanced Options
+### Advanced options
Here are the advanced options specific to http (http Connection).
#### --http-headers
-Set HTTP headers for all transactions
+Set HTTP headers for all transactions.
-Use this to set additional HTTP headers for all transactions
+Use this to set additional HTTP headers for all transactions.
The input format is comma separated list of key,value pairs. Standard
[CSV encoding](https://godoc.org/encoding/csv) may be used.
@@ -144,7 +141,7 @@ You can set multiple headers, e.g. '"Cookie","name=value","Authorization","xxx"'
#### --http-no-slash
-Set this if the site doesn't end directories with /
+Set this if the site doesn't end directories with /.
Use this if your target website does not use / on the end of
directories.
@@ -164,7 +161,7 @@ directories.
#### --http-no-head
-Don't use HEAD requests to find file sizes in dir listing
+Don't use HEAD requests to find file sizes in dir listing.
If your site is being very slow to load then you can try this option.
Normally rclone does a HEAD request for each potential file in a
diff --git a/docs/content/hubic.md b/docs/content/hubic.md
index 91e249a85..968052fca 100644
--- a/docs/content/hubic.md
+++ b/docs/content/hubic.md
@@ -107,13 +107,14 @@ Note that Hubic wraps the Swift backend, so most of the properties of
are the same.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/hubic/hubic.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to hubic (Hubic).
#### --hubic-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -123,7 +124,8 @@ Leave blank normally.
#### --hubic-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -131,7 +133,7 @@ Leave blank normally.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to hubic (Hubic).
@@ -147,6 +149,7 @@ OAuth Access Token as a JSON blob.
#### --hubic-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -157,6 +160,7 @@ Leave blank to use the provider defaults.
#### --hubic-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -198,7 +202,7 @@ copy operations.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_HUBIC_ENCODING
diff --git a/docs/content/jottacloud.md b/docs/content/jottacloud.md
index ba1d2d711..bcf0925df 100644
--- a/docs/content/jottacloud.md
+++ b/docs/content/jottacloud.md
@@ -220,7 +220,7 @@ command which will display your usage limit (unless it is unlimited)
and the current usage.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/jottacloud/jottacloud.go then run make backenddocs" >}}
-### Advanced Options
+### Advanced options
Here are the advanced options specific to jottacloud (Jottacloud).
@@ -236,6 +236,7 @@ Files bigger than this will be cached on disk to calculate the MD5 if required.
#### --jottacloud-trashed-only
Only show files that are in the trash.
+
This will show trashed files in their original directory structure.
- Config: trashed_only
@@ -274,7 +275,7 @@ Avoid server side versioning by deleting files and recreating files instead of o
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_JOTTACLOUD_ENCODING
diff --git a/docs/content/koofr.md b/docs/content/koofr.md
index fe8b87054..062e232e7 100644
--- a/docs/content/koofr.md
+++ b/docs/content/koofr.md
@@ -99,13 +99,13 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in XML strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/koofr/koofr.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to koofr (Koofr).
#### --koofr-user
-Your Koofr user name
+Your Koofr user name.
- Config: user
- Env Var: RCLONE_KOOFR_USER
@@ -114,7 +114,7 @@ Your Koofr user name
#### --koofr-password
-Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password)
+Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password).
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
@@ -123,13 +123,13 @@ Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to koofr (Koofr).
#### --koofr-endpoint
-The Koofr API endpoint to use
+The Koofr API endpoint to use.
- Config: endpoint
- Env Var: RCLONE_KOOFR_ENDPOINT
@@ -138,7 +138,9 @@ The Koofr API endpoint to use
#### --koofr-mountid
-Mount ID of the mount to use. If omitted, the primary mount is used.
+Mount ID of the mount to use.
+
+If omitted, the primary mount is used.
- Config: mountid
- Env Var: RCLONE_KOOFR_MOUNTID
@@ -147,7 +149,9 @@ Mount ID of the mount to use. If omitted, the primary mount is used.
#### --koofr-setmtime
-Does the backend support setting modification time. Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend.
+Does the backend support setting modification time.
+
+Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend.
- Config: setmtime
- Env Var: RCLONE_KOOFR_SETMTIME
@@ -158,7 +162,7 @@ Does the backend support setting modification time. Set this to false if you use
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_KOOFR_ENCODING
diff --git a/docs/content/local.md b/docs/content/local.md
index 3eed168a3..b08a32f6c 100644
--- a/docs/content/local.md
+++ b/docs/content/local.md
@@ -325,13 +325,13 @@ filesystem.
where it isn't supported (e.g. Windows) it will be ignored.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/local/local.go then run make backenddocs" >}}
-### Advanced Options
+### Advanced options
Here are the advanced options specific to local (Local Disk).
#### --local-nounc
-Disable UNC (long path names) conversion on Windows
+Disable UNC (long path names) conversion on Windows.
- Config: nounc
- Env Var: RCLONE_LOCAL_NOUNC
@@ -339,7 +339,7 @@ Disable UNC (long path names) conversion on Windows
- Default: ""
- Examples:
- "true"
- - Disables long file names
+ - Disables long file names.
#### --copy-links / -L
@@ -352,7 +352,7 @@ Follow symlinks and copy the pointed to item.
#### --links / -l
-Translate symlinks to/from regular files with a '.rclonelink' extension
+Translate symlinks to/from regular files with a '.rclonelink' extension.
- Config: links
- Env Var: RCLONE_LOCAL_LINKS
@@ -362,6 +362,7 @@ Translate symlinks to/from regular files with a '.rclonelink' extension
#### --skip-links
Don't warn about skipped symlinks.
+
This flag disables warning messages on skipped symlinks or junction
points, as you explicitly acknowledge that they should be skipped.
@@ -372,15 +373,15 @@ points, as you explicitly acknowledge that they should be skipped.
#### --local-zero-size-links
-Assume the Stat size of links is zero (and read them instead) (Deprecated)
+Assume the Stat size of links is zero (and read them instead) (deprecated).
-Rclone used to use the Stat size of links as the link size, but this fails in quite a few places
+Rclone used to use the Stat size of links as the link size, but this fails in quite a few places:
- Windows
- On some virtual filesystems (such ash LucidLink)
- Android
-So rclone now always reads the link
+So rclone now always reads the link.
- Config: zero_size_links
@@ -390,7 +391,7 @@ So rclone now always reads the link
#### --local-unicode-normalization
-Apply unicode NFC normalization to paths and filenames
+Apply unicode NFC normalization to paths and filenames.
This flag can be used to normalize file names into unicode NFC form
that are read from the local filesystem.
@@ -412,7 +413,7 @@ routine so this flag shouldn't normally be used.
#### --local-no-check-updated
-Don't check to see if the files change during upload
+Don't check to see if the files change during upload.
Normally rclone checks the size and modification time of files as they
are being uploaded and aborts with a message which starts "can't copy
@@ -468,7 +469,7 @@ to override the default choice.
#### --local-case-insensitive
-Force the filesystem to report itself as case insensitive
+Force the filesystem to report itself as case insensitive.
Normally the local backend declares itself as case insensitive on
Windows/macOS and case sensitive for everything else. Use this flag
@@ -481,7 +482,7 @@ to override the default choice.
#### --local-no-preallocate
-Disable preallocation of disk space for transferred files
+Disable preallocation of disk space for transferred files.
Preallocation of disk space helps prevent filesystem fragmentation.
However, some virtual filesystem layers (such as Google Drive File
@@ -496,7 +497,7 @@ Use this flag to disable preallocation.
#### --local-no-sparse
-Disable sparse files for multi-thread downloads
+Disable sparse files for multi-thread downloads.
On Windows platforms rclone will make sparse files when doing
multi-thread downloads. This avoids long pauses on large files where
@@ -510,7 +511,7 @@ cause disk fragmentation and can be slow to work with.
#### --local-no-set-modtime
-Disable setting modtime
+Disable setting modtime.
Normally rclone updates modification time of files after they are done
uploading. This can cause permissions issues on Linux platforms when
@@ -527,14 +528,14 @@ enabled, rclone will no longer update the modtime after copying a file.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_LOCAL_ENCODING
- Type: MultiEncoder
- Default: Slash,Dot
-### Backend commands
+## Backend commands
Here are the commands specific to the local backend.
@@ -550,7 +551,7 @@ info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](/rc/#backend/command).
-#### noop
+### noop
A null operation for testing backend commands
diff --git a/docs/content/mailru.md b/docs/content/mailru.md
index 72f0670e3..4fede133e 100644
--- a/docs/content/mailru.md
+++ b/docs/content/mailru.md
@@ -154,13 +154,13 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in JSON strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/mailru/mailru.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to mailru (Mail.ru Cloud).
#### --mailru-user
-User name (usually email)
+User name (usually email).
- Config: user
- Env Var: RCLONE_MAILRU_USER
@@ -169,7 +169,7 @@ User name (usually email)
#### --mailru-pass
-Password
+Password.
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
@@ -181,6 +181,7 @@ Password
#### --mailru-speedup-enable
Skip full upload if there is another file with same data hash.
+
This feature is called "speedup" or "put by hash". It is especially efficient
in case of generally available files like popular books, video or audio clips,
because files are searched by hash in all accounts of all mailru users.
@@ -200,13 +201,14 @@ streaming or partial uploads), it will not even try this optimization.
- "false"
- Disable
-### Advanced Options
+### Advanced options
Here are the advanced options specific to mailru (Mail.ru Cloud).
#### --mailru-speedup-file-patterns
Comma separated list of file name patterns eligible for speedup (put by hash).
+
Patterns are case insensitive and can contain '*' or '?' meta characters.
- Config: speedup_file_patterns
@@ -225,8 +227,9 @@ Patterns are case insensitive and can contain '*' or '?' meta characters.
#### --mailru-speedup-max-disk
-This option allows you to disable speedup (put by hash) for large files
-(because preliminary hashing can exhaust you RAM or disk space)
+This option allows you to disable speedup (put by hash) for large files.
+
+Reason is that preliminary hashing can exhaust your RAM or disk space.
- Config: speedup_max_disk
- Env Var: RCLONE_MAILRU_SPEEDUP_MAX_DISK
@@ -258,7 +261,7 @@ Files larger than the size given below will always be hashed on disk.
#### --mailru-check-hash
-What should copy do if file checksum is mismatched or invalid
+What should copy do if file checksum is mismatched or invalid.
- Config: check_hash
- Env Var: RCLONE_MAILRU_CHECK_HASH
@@ -273,6 +276,7 @@ What should copy do if file checksum is mismatched or invalid
#### --mailru-user-agent
HTTP user agent used internally by client.
+
Defaults to "rclone/VERSION" or "--user-agent" provided on command line.
- Config: user_agent
@@ -283,6 +287,7 @@ Defaults to "rclone/VERSION" or "--user-agent" provided on command line.
#### --mailru-quirks
Comma separated list of internal maintenance flags.
+
This option must not be used by an ordinary user. It is intended only to
facilitate remote troubleshooting of backend issues. Strict meaning of
flags is not documented and not guaranteed to persist between releases.
@@ -298,7 +303,7 @@ Supported quirks: atomicmkdir binlist unknowndirs
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_MAILRU_ENCODING
diff --git a/docs/content/mega.md b/docs/content/mega.md
index 2f8f2af4d..c6e967b4a 100644
--- a/docs/content/mega.md
+++ b/docs/content/mega.md
@@ -152,13 +152,13 @@ and you are sure the user and the password are correct, likely you
have got the remote blocked for a while.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/mega/mega.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to mega (Mega).
#### --mega-user
-User name
+User name.
- Config: user
- Env Var: RCLONE_MEGA_USER
@@ -176,7 +176,7 @@ Password.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to mega (Mega).
@@ -209,7 +209,7 @@ permanently delete objects instead.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_MEGA_ENCODING
diff --git a/docs/content/onedrive.md b/docs/content/onedrive.md
index aaef67a9a..f979fc4e6 100644
--- a/docs/content/onedrive.md
+++ b/docs/content/onedrive.md
@@ -192,13 +192,14 @@ trash, so you will have to do that with one of Microsoft's apps or via
the OneDrive website.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/onedrive/onedrive.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to onedrive (Microsoft OneDrive).
#### --onedrive-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -208,7 +209,8 @@ Leave blank normally.
#### --onedrive-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -234,7 +236,7 @@ Choose national cloud region for OneDrive.
- "cn"
- Azure and Office 365 operated by 21Vianet in China
-### Advanced Options
+### Advanced options
Here are the advanced options specific to onedrive (Microsoft OneDrive).
@@ -250,6 +252,7 @@ OAuth Access Token as a JSON blob.
#### --onedrive-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -260,6 +263,7 @@ Leave blank to use the provider defaults.
#### --onedrive-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -282,7 +286,7 @@ Note that the chunks will be buffered into memory.
#### --onedrive-drive-id
-The ID of the drive to use
+The ID of the drive to use.
- Config: drive_id
- Env Var: RCLONE_ONEDRIVE_DRIVE_ID
@@ -291,7 +295,7 @@ The ID of the drive to use
#### --onedrive-drive-type
-The type of the drive ( personal | business | documentLibrary )
+The type of the drive (personal | business | documentLibrary).
- Config: drive_type
- Env Var: RCLONE_ONEDRIVE_DRIVE_TYPE
@@ -337,7 +341,7 @@ Size of listing chunk.
#### --onedrive-no-versions
-Remove all versions on modifying operations
+Remove all versions on modifying operations.
Onedrive for business creates versions when rclone uploads new files
overwriting an existing one and when it sets the modification time.
@@ -366,9 +370,12 @@ Set the scope of the links created by the link command.
- Default: "anonymous"
- Examples:
- "anonymous"
- - Anyone with the link has access, without needing to sign in. This may include people outside of your organization. Anonymous link support may be disabled by an administrator.
+ - Anyone with the link has access, without needing to sign in.
+ - This may include people outside of your organization.
+ - Anonymous link support may be disabled by an administrator.
- "organization"
- - Anyone signed into your organization (tenant) can use the link to get access. Only available in OneDrive for Business and SharePoint.
+ - Anyone signed into your organization (tenant) can use the link to get access.
+ - Only available in OneDrive for Business and SharePoint.
#### --onedrive-link-type
@@ -402,7 +409,7 @@ At the time of writing this only works with OneDrive personal paid accounts.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_ONEDRIVE_ENCODING
diff --git a/docs/content/opendrive.md b/docs/content/opendrive.md
index 03b7bc434..ab2eeda09 100644
--- a/docs/content/opendrive.md
+++ b/docs/content/opendrive.md
@@ -100,13 +100,13 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in JSON strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/opendrive/opendrive.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to opendrive (OpenDrive).
#### --opendrive-username
-Username
+Username.
- Config: username
- Env Var: RCLONE_OPENDRIVE_USERNAME
@@ -124,7 +124,7 @@ Password.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to opendrive (OpenDrive).
@@ -132,7 +132,7 @@ Here are the advanced options specific to opendrive (OpenDrive).
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_OPENDRIVE_ENCODING
diff --git a/docs/content/pcloud.md b/docs/content/pcloud.md
index 919a82506..598eab20f 100644
--- a/docs/content/pcloud.md
+++ b/docs/content/pcloud.md
@@ -135,13 +135,14 @@ in the browser, then you use `5xxxxxxxx8` as
the `root_folder_id` in the config.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/pcloud/pcloud.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to pcloud (Pcloud).
#### --pcloud-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -151,7 +152,8 @@ Leave blank normally.
#### --pcloud-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -159,7 +161,7 @@ Leave blank normally.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to pcloud (Pcloud).
@@ -175,6 +177,7 @@ OAuth Access Token as a JSON blob.
#### --pcloud-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -185,6 +188,7 @@ Leave blank to use the provider defaults.
#### --pcloud-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -196,7 +200,7 @@ Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_PCLOUD_ENCODING
diff --git a/docs/content/premiumizeme.md b/docs/content/premiumizeme.md
index e9854f0cd..5965fa595 100644
--- a/docs/content/premiumizeme.md
+++ b/docs/content/premiumizeme.md
@@ -102,7 +102,7 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in JSON strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/premiumizeme/premiumizeme.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to premiumizeme (premiumize.me).
@@ -118,7 +118,7 @@ This is not normally used - use oauth instead.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to premiumizeme (premiumize.me).
@@ -126,7 +126,7 @@ Here are the advanced options specific to premiumizeme (premiumize.me).
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_PREMIUMIZEME_ENCODING
diff --git a/docs/content/putio.md b/docs/content/putio.md
index 5816c92de..381032df6 100644
--- a/docs/content/putio.md
+++ b/docs/content/putio.md
@@ -109,7 +109,7 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in JSON strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/putio/putio.go then run make backenddocs" >}}
-### Advanced Options
+### Advanced options
Here are the advanced options specific to putio (Put.io).
@@ -117,7 +117,7 @@ Here are the advanced options specific to putio (Put.io).
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_PUTIO_ENCODING
diff --git a/docs/content/qingstor.md b/docs/content/qingstor.md
index 5102399eb..b0607a83c 100644
--- a/docs/content/qingstor.md
+++ b/docs/content/qingstor.md
@@ -142,13 +142,15 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in JSON strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/qingstor/qingstor.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to qingstor (QingCloud Object Storage).
#### --qingstor-env-auth
-Get QingStor credentials from runtime. Only applies if access_key_id and secret_access_key is blank.
+Get QingStor credentials from runtime.
+
+Only applies if access_key_id and secret_access_key is blank.
- Config: env_auth
- Env Var: RCLONE_QINGSTOR_ENV_AUTH
@@ -156,13 +158,14 @@ Get QingStor credentials from runtime. Only applies if access_key_id and secret_
- Default: false
- Examples:
- "false"
- - Enter QingStor credentials in the next step
+ - Enter QingStor credentials in the next step.
- "true"
- - Get QingStor credentials from the environment (env vars or IAM)
+ - Get QingStor credentials from the environment (env vars or IAM).
#### --qingstor-access-key-id
-QingStor Access Key ID
+QingStor Access Key ID.
+
Leave blank for anonymous access or runtime credentials.
- Config: access_key_id
@@ -172,7 +175,8 @@ Leave blank for anonymous access or runtime credentials.
#### --qingstor-secret-access-key
-QingStor Secret Access Key (password)
+QingStor Secret Access Key (password).
+
Leave blank for anonymous access or runtime credentials.
- Config: secret_access_key
@@ -183,7 +187,8 @@ Leave blank for anonymous access or runtime credentials.
#### --qingstor-endpoint
Enter an endpoint URL to connection QingStor API.
-Leave blank will use the default value "https://qingstor.com:443"
+
+Leave blank will use the default value "https://qingstor.com:443".
- Config: endpoint
- Env Var: RCLONE_QINGSTOR_ENDPOINT
@@ -193,6 +198,7 @@ Leave blank will use the default value "https://qingstor.com:443"
#### --qingstor-zone
Zone to connect to.
+
Default is "pek3a".
- Config: zone
@@ -201,16 +207,16 @@ Default is "pek3a".
- Default: ""
- Examples:
- "pek3a"
- - The Beijing (China) Three Zone
+ - The Beijing (China) Three Zone.
- Needs location constraint pek3a.
- "sh1a"
- - The Shanghai (China) First Zone
+ - The Shanghai (China) First Zone.
- Needs location constraint sh1a.
- "gd2a"
- - The Guangdong (China) Second Zone
+ - The Guangdong (China) Second Zone.
- Needs location constraint gd2a.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to qingstor (QingCloud Object Storage).
@@ -225,7 +231,7 @@ Number of connection retries.
#### --qingstor-upload-cutoff
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
Any files larger than this will be uploaded in chunks of chunk_size.
The minimum is 0 and the maximum is 5 GiB.
@@ -276,7 +282,7 @@ this may help to speed up the transfers.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_QINGSTOR_ENCODING
diff --git a/docs/content/rc.md b/docs/content/rc.md
index 959f1b98c..23226a220 100644
--- a/docs/content/rc.md
+++ b/docs/content/rc.md
@@ -431,18 +431,18 @@ And this is equivalent to `/tmp/dir`
{{< rem autogenerated start "- run make rcdocs - don't edit here" >}}
### backend/command: Runs a backend command. {#backend-command}
-This takes the following parameters
+This takes the following parameters:
- command - a string with the command name
- fs - a remote name string e.g. "drive:"
- arg - a list of arguments for the backend command
- opt - a map of string to string of options
-Returns
+Returns:
- result - result from the backend command
-For example
+Example:
rclone rc backend/command command=noop fs=. -o echo=yes -o blue -a path1 -a path2
@@ -520,7 +520,7 @@ Show statistics for the cache remote.
### config/create: create the config for a remote. {#config-create}
-This takes the following parameters
+This takes the following parameters:
- name - name of remote
- parameters - a map of \{ "key": "value" \} pairs
@@ -581,7 +581,7 @@ See the [listremotes command](/commands/rclone_listremotes/) command for more in
### config/password: password the config for a remote. {#config-password}
-This takes the following parameters
+This takes the following parameters:
- name - name of remote
- parameters - a map of \{ "key": "value" \} pairs
@@ -602,7 +602,7 @@ See the [config providers command](/commands/rclone_config_providers/) command f
### config/update: update the config for a remote. {#config-update}
-This takes the following parameters
+This takes the following parameters:
- name - name of remote
- parameters - a map of \{ "key": "value" \} pairs
@@ -668,29 +668,29 @@ In either case "rate" is returned as a human readable string, and
### core/command: Run a rclone terminal command over rc. {#core-command}
-This takes the following parameters
+This takes the following parameters:
-- command - a string with the command name
-- arg - a list of arguments for the backend command
-- opt - a map of string to string of options
-- returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR")
- - defaults to "COMBINED_OUTPUT" if not set
- - the STREAM returnTypes will write the output to the body of the HTTP message
- - the COMBINED_OUTPUT will write the output to the "result" parameter
+- command - a string with the command name.
+- arg - a list of arguments for the backend command.
+- opt - a map of string to string of options.
+- returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR").
+ - Defaults to "COMBINED_OUTPUT" if not set.
+ - The STREAM returnTypes will write the output to the body of the HTTP message.
+ - The COMBINED_OUTPUT will write the output to the "result" parameter.
-Returns
+Returns:
-- result - result from the backend command
- - only set when using returnType "COMBINED_OUTPUT"
-- error - set if rclone exits with an error code
-- returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR")
+- result - result from the backend command.
+ - Only set when using returnType "COMBINED_OUTPUT".
+- error - set if rclone exits with an error code.
+- returnType - one of ("COMBINED_OUTPUT", "STREAM", "STREAM_ONLY_STDOUT", "STREAM_ONLY_STDERR").
-For example
+Example:
rclone rc core/command command=ls -a mydrive:/ -o max-depth=1
rclone rc core/command -a ls -a mydrive:/ -o max-depth=1
-Returns
+Returns:
```
{
@@ -737,17 +737,17 @@ are explained in the go docs: https://golang.org/pkg/runtime/#MemStats
The most interesting values for most people are:
-* HeapAlloc: This is the amount of memory rclone is actually using
-* HeapSys: This is the amount of memory rclone has obtained from the OS
-* Sys: this is the total amount of memory requested from the OS
- * It is virtual memory so may include unused memory
+- HeapAlloc - this is the amount of memory rclone is actually using
+- HeapSys - this is the amount of memory rclone has obtained from the OS
+- Sys - this is the total amount of memory requested from the OS
+ - It is virtual memory so may include unused memory
### core/obscure: Obscures a string passed in. {#core-obscure}
Pass a clear string and rclone will obscure it for the config file:
- clear - string
-Returns
+Returns:
- obscured - string
### core/pid: Return PID of current process {#core-pid}
@@ -757,7 +757,7 @@ Useful for stopping rclone process.
### core/quit: Terminates the app. {#core-quit}
-(optional) Pass an exit code to be used for terminating the app:
+(Optional) Pass an exit code to be used for terminating the app:
- exitCode - int
### core/stats: Returns stats about current transfers. {#core-stats}
@@ -814,7 +814,7 @@ The value for "eta" is null if an eta cannot be determined.
### core/stats-delete: Delete stats group. {#core-stats-delete}
-This deletes entire stats group
+This deletes entire stats group.
Parameters
@@ -864,7 +864,7 @@ Returns the following values:
### core/version: Shows the current version of rclone and the go runtime. {#core-version}
-This shows the current version of go and the go runtime
+This shows the current version of go and the go runtime:
- version - rclone version, e.g. "v1.53.0"
- decomposed - version number as [major, minor, patch]
@@ -889,7 +889,7 @@ After calling this you can use this to see the blocking profile:
go tool pprof http://localhost:5572/debug/pprof/block
-Parameters
+Parameters:
- rate - int
@@ -906,11 +906,11 @@ Once this is set you can look use this to profile the mutex contention:
go tool pprof http://localhost:5572/debug/pprof/mutex
-Parameters
+Parameters:
- rate - int
-Results
+Results:
- previousRate - int
@@ -936,19 +936,19 @@ Returns
### job/list: Lists the IDs of the running jobs {#job-list}
-Parameters - None
+Parameters: None.
-Results
+Results:
-- jobids - array of integer job ids
+- jobids - array of integer job ids.
### job/status: Reads the status of the job ID {#job-status}
-Parameters
+Parameters:
-- jobid - id of the job (integer)
+- jobid - id of the job (integer).
-Results
+Results:
- finished - boolean
- duration - time in seconds that the job ran for
@@ -963,13 +963,13 @@ Results
### job/stop: Stop the running job {#job-stop}
-Parameters
+Parameters:
-- jobid - id of the job (integer)
+- jobid - id of the job (integer).
### mount/listmounts: Show current mount points {#mount-listmounts}
-This shows currently mounted points, which can be used for performing an unmount
+This shows currently mounted points, which can be used for performing an unmount.
This takes no parameters and returns
@@ -988,22 +988,22 @@ Rclone's cloud storage systems as a file system with FUSE.
If no mountType is provided, the priority is given as follows: 1. mount 2.cmount 3.mount2
-This takes the following parameters
+This takes the following parameters:
- fs - a remote path to be mounted (required)
- mountPoint: valid path on the local machine (required)
-- mountType: One of the values (mount, cmount, mount2) specifies the mount implementation to use
+- mountType: one of the values (mount, cmount, mount2) specifies the mount implementation to use
- mountOpt: a JSON object with Mount options in.
- vfsOpt: a JSON object with VFS options in.
-Eg
+Example:
rclone rc mount/mount fs=mydrive: mountPoint=/home/<user>/mountPoint
rclone rc mount/mount fs=mydrive: mountPoint=/home/<user>/mountPoint mountType=mount
rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt='{"CacheMode": 2}' mountOpt='{"AllowOther": true}'
The vfsOpt are as described in options/get and can be seen in the the
-"vfs" section when running and the mountOpt can be seen in the "mount" section.
+"vfs" section when running and the mountOpt can be seen in the "mount" section:
rclone rc options/get
@@ -1032,11 +1032,11 @@ rclone allows Linux, FreeBSD, macOS and Windows to
mount any of Rclone's cloud storage systems as a file system with
FUSE.
-This takes the following parameters
+This takes the following parameters:
- mountPoint: valid path on the local machine where the mount was created (required)
-Eg
+Example:
rclone rc mount/unmount mountPoint=/home/<user>/mountPoint
@@ -1044,7 +1044,7 @@ Eg
### mount/unmountall: Show current mount points {#mount-unmountall}
-This shows currently mounted points, which can be used for performing an unmount
+This shows currently mounted points, which can be used for performing an unmount.
This takes no parameters and returns error if unmount does not succeed.
@@ -1056,7 +1056,7 @@ Eg
### operations/about: Return the space used on the remote {#operations-about}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -1068,7 +1068,7 @@ See the [about command](/commands/rclone_size/) command for more information on
### operations/cleanup: Remove trashed files in the remote or path {#operations-cleanup}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -1078,7 +1078,7 @@ See the [cleanup command](/commands/rclone_cleanup/) command for more informatio
### operations/copyfile: Copy a file from source remote to destination remote {#operations-copyfile}
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:" for the source
- srcRemote - a path within that remote e.g. "file.txt" for the source
@@ -1089,7 +1089,7 @@ This takes the following parameters
### operations/copyurl: Copy the URL to the object {#operations-copyurl}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -1101,7 +1101,7 @@ See the [copyurl command](/commands/rclone_copyurl/) command for more informatio
### operations/delete: Remove files in the path {#operations-delete}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -1111,7 +1111,7 @@ See the [delete command](/commands/rclone_delete/) command for more information
### operations/deletefile: Remove the single file pointed to {#operations-deletefile}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -1122,7 +1122,7 @@ See the [deletefile command](/commands/rclone_deletefile/) command for more info
### operations/fsinfo: Return information about the remote {#operations-fsinfo}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
@@ -1179,7 +1179,7 @@ This command does not have a command line equivalent so use this instead:
### operations/list: List the given remote and path in JSON format {#operations-list}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -1189,8 +1189,12 @@ This takes the following parameters
- showEncrypted - If set show decrypted names
- showOrigIDs - If set show the IDs for each item if known
- showHash - If set return a dictionary of hashes
+ - noMimeType - If set don't show mime types
+ - dirsOnly - If set only show directories
+ - filesOnly - If set only show files
+ - hashTypes - array of strings of hash types to show if showHash set
-The result is
+Returns:
- list
- This is an array of objects as described in the lsjson command
@@ -1201,7 +1205,7 @@ See the [lsjson command](/commands/rclone_lsjson/) for more information on the a
### operations/mkdir: Make a destination directory or container {#operations-mkdir}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -1212,7 +1216,7 @@ See the [mkdir command](/commands/rclone_mkdir/) command for more information on
### operations/movefile: Move a file from source remote to destination remote {#operations-movefile}
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:" for the source
- srcRemote - a path within that remote e.g. "file.txt" for the source
@@ -1223,14 +1227,14 @@ This takes the following parameters
### operations/publiclink: Create or retrieve a public link to the given file or folder. {#operations-publiclink}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
- unlink - boolean - if set removes the link rather than adding it (optional)
- expire - string - the expiry time of the link e.g. "1d" (optional)
-Returns
+Returns:
- url - URL of the resource
@@ -1240,7 +1244,7 @@ See the [link command](/commands/rclone_link/) command for more information on t
### operations/purge: Remove a directory or container and all of its contents {#operations-purge}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -1251,7 +1255,7 @@ See the [purge command](/commands/rclone_purge/) command for more information on
### operations/rmdir: Remove an empty directory or container {#operations-rmdir}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
@@ -1262,23 +1266,22 @@ See the [rmdir command](/commands/rclone_rmdir/) command for more information on
### operations/rmdirs: Remove all the empty directories in the path {#operations-rmdirs}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
- leaveRoot - boolean, set to true not to delete the root
-
See the [rmdirs command](/commands/rclone_rmdirs/) command for more information on the above.
**Authentication is required for this call.**
### operations/size: Count the number of bytes and files in remote {#operations-size}
-This takes the following parameters
+This takes the following parameters:
- fs - a remote name string e.g. "drive:path/to/dir"
-Returns
+Returns:
- count - number of files
- bytes - number of bytes in those files
@@ -1287,10 +1290,30 @@ See the [size command](/commands/rclone_size/) command for more information on t
**Authentication is required for this call.**
-### operations/uploadfile: Upload file using multiform/form-data {#operations-uploadfile}
+### operations/stat: Give information about the supplied file or directory {#operations-stat}
This takes the following parameters
+- fs - a remote name string eg "drive:"
+- remote - a path within that remote eg "dir"
+- opt - a dictionary of options to control the listing (optional)
+ - see operations/list for the options
+
+The result is
+
+- item - an object as described in the lsjson command. Will be null if not found.
+
+Note that if you are only interested in files then it is much more
+efficient to set the filesOnly flag in the options.
+
+See the [lsjson command](/commands/rclone_lsjson/) for more information on the above and examples.
+
+**Authentication is required for this call.**
+
+### operations/uploadfile: Upload file using multiform/form-data {#operations-uploadfile}
+
+This takes the following parameters:
+
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
- each part in body represents a file to be uploaded
@@ -1300,7 +1323,7 @@ See the [uploadfile command](/commands/rclone_uploadfile/) command for more info
### options/blocks: List all the option blocks {#options-blocks}
-Returns
+Returns:
- options - a list of the options block names
### options/get: Get all the global options {#options-get}
@@ -1333,7 +1356,7 @@ map to the external options very easily with a few exceptions.
### options/set: Set an option {#options-set}
-Parameters
+Parameters:
- option block name containing an object with
- key: value
@@ -1361,13 +1384,13 @@ And this sets NOTICE level logs (normal without -v)
### pluginsctl/addPlugin: Add a plugin using url {#pluginsctl-addPlugin}
-used for adding a plugin to the webgui
+Used for adding a plugin to the webgui.
-This takes the following parameters
+This takes the following parameters:
-- url: http url of the github repo where the plugin is hosted (http://github.com/rclone/rclone-webui-react)
+- url - http url of the github repo where the plugin is hosted (http://github.com/rclone/rclone-webui-react).
-Eg
+Example:
rclone rc pluginsctl/addPlugin
@@ -1375,19 +1398,19 @@ Eg
### pluginsctl/getPluginsForType: Get plugins with type criteria {#pluginsctl-getPluginsForType}
-This shows all possible plugins by a mime type
+This shows all possible plugins by a mime type.
-This takes the following parameters
+This takes the following parameters:
-- type: supported mime type by a loaded plugin e.g. (video/mp4, audio/mp3)
-- pluginType: filter plugins based on their type e.g. (DASHBOARD, FILE_HANDLER, TERMINAL)
+- type - supported mime type by a loaded plugin e.g. (video/mp4, audio/mp3).
+- pluginType - filter plugins based on their type e.g. (DASHBOARD, FILE_HANDLER, TERMINAL).
-and returns
+Returns:
-- loadedPlugins: list of current production plugins
-- testPlugins: list of temporarily loaded development plugins, usually running on a different server.
+- loadedPlugins - list of current production plugins.
+- testPlugins - list of temporarily loaded development plugins, usually running on a different server.
-Eg
+Example:
rclone rc pluginsctl/getPluginsForType type=video/mp4
@@ -1397,12 +1420,12 @@ Eg
This allows you to get the currently enabled plugins and their details.
-This takes no parameters and returns
+This takes no parameters and returns:
-- loadedPlugins: list of current production plugins
-- testPlugins: list of temporarily loaded development plugins, usually running on a different server.
+- loadedPlugins - list of current production plugins.
+- testPlugins - list of temporarily loaded development plugins, usually running on a different server.
-Eg
+E.g.
rclone rc pluginsctl/listPlugins
@@ -1410,13 +1433,13 @@ Eg
### pluginsctl/listTestPlugins: Show currently loaded test plugins {#pluginsctl-listTestPlugins}
-allows listing of test plugins with the rclone.test set to true in package.json of the plugin
+Allows listing of test plugins with the rclone.test set to true in package.json of the plugin.
-This takes no parameters and returns
+This takes no parameters and returns:
-- loadedTestPlugins: list of currently available test plugins
+- loadedTestPlugins - list of currently available test plugins.
-Eg
+E.g.
rclone rc pluginsctl/listTestPlugins
@@ -1424,13 +1447,13 @@ Eg
### pluginsctl/removePlugin: Remove a loaded plugin {#pluginsctl-removePlugin}
-This allows you to remove a plugin using it's name
+This allows you to remove a plugin using it's name.
-This takes parameters
+This takes parameters:
-- name: name of the plugin in the format `author`/`plugin_name`
+- name - name of the plugin in the format `author`/`plugin_name`.
-Eg
+E.g.
rclone rc pluginsctl/removePlugin name=rclone/video-plugin
@@ -1438,13 +1461,13 @@ Eg
### pluginsctl/removeTestPlugin: Remove a test plugin {#pluginsctl-removeTestPlugin}
-This allows you to remove a plugin using it's name
+This allows you to remove a plugin using it's name.
-This takes the following parameters
+This takes the following parameters:
-- name: name of the plugin in the format `author`/`plugin_name`
+- name - name of the plugin in the format `author`/`plugin_name`.
-Eg
+Example:
rclone rc pluginsctl/removeTestPlugin name=rclone/rclone-webui-react
@@ -1476,7 +1499,7 @@ check that parameter passing is working properly.
### sync/copy: copy a directory from source remote to destination remote {#sync-copy}
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:src" for the source
- dstFs - a remote name string e.g. "drive:dst" for the destination
@@ -1489,7 +1512,7 @@ See the [copy command](/commands/rclone_copy/) command for more information on t
### sync/move: move a directory from source remote to destination remote {#sync-move}
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:src" for the source
- dstFs - a remote name string e.g. "drive:dst" for the destination
@@ -1503,7 +1526,7 @@ See the [move command](/commands/rclone_move/) command for more information on t
### sync/sync: sync a directory from source remote to destination remote {#sync-sync}
-This takes the following parameters
+This takes the following parameters:
- srcFs - a remote name string e.g. "drive:src" for the source
- dstFs - a remote name string e.g. "drive:dst" for the destination
diff --git a/docs/content/s3.md b/docs/content/s3.md
index 36b5ddfca..aad4b7a68 100644
--- a/docs/content/s3.md
+++ b/docs/content/s3.md
@@ -550,7 +550,7 @@ Note that rclone only speaks the S3 API it does not speak the Glacier
Vault API, so rclone cannot directly access Glacier Vaults.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/s3/s3.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, SeaweedFS, and Tencent COS).
@@ -595,6 +595,7 @@ Choose your S3 provider.
#### --s3-env-auth
Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars).
+
Only applies if access_key_id and secret_access_key is blank.
- Config: env_auth
@@ -603,13 +604,14 @@ Only applies if access_key_id and secret_access_key is blank.
- Default: false
- Examples:
- "false"
- - Enter AWS credentials in the next step
+ - Enter AWS credentials in the next step.
- "true"
- - Get AWS credentials from the environment (env vars or IAM)
+ - Get AWS credentials from the environment (env vars or IAM).
#### --s3-access-key-id
AWS Access Key ID.
+
Leave blank for anonymous access or runtime credentials.
- Config: access_key_id
@@ -619,7 +621,8 @@ Leave blank for anonymous access or runtime credentials.
#### --s3-secret-access-key
-AWS Secret Access Key (password)
+AWS Secret Access Key (password).
+
Leave blank for anonymous access or runtime credentials.
- Config: secret_access_key
@@ -641,76 +644,76 @@ Region to connect to.
- US Region, Northern Virginia, or Pacific Northwest.
- Leave location constraint empty.
- "us-east-2"
- - US East (Ohio) Region
+ - US East (Ohio) Region.
- Needs location constraint us-east-2.
- "us-west-1"
- - US West (Northern California) Region
+ - US West (Northern California) Region.
- Needs location constraint us-west-1.
- "us-west-2"
- - US West (Oregon) Region
+ - US West (Oregon) Region.
- Needs location constraint us-west-2.
- "ca-central-1"
- - Canada (Central) Region
+ - Canada (Central) Region.
- Needs location constraint ca-central-1.
- "eu-west-1"
- - EU (Ireland) Region
+ - EU (Ireland) Region.
- Needs location constraint EU or eu-west-1.
- "eu-west-2"
- - EU (London) Region
+ - EU (London) Region.
- Needs location constraint eu-west-2.
- "eu-west-3"
- - EU (Paris) Region
+ - EU (Paris) Region.
- Needs location constraint eu-west-3.
- "eu-north-1"
- - EU (Stockholm) Region
+ - EU (Stockholm) Region.
- Needs location constraint eu-north-1.
- "eu-south-1"
- - EU (Milan) Region
+ - EU (Milan) Region.
- Needs location constraint eu-south-1.
- "eu-central-1"
- - EU (Frankfurt) Region
+ - EU (Frankfurt) Region.
- Needs location constraint eu-central-1.
- "ap-southeast-1"
- - Asia Pacific (Singapore) Region
+ - Asia Pacific (Singapore) Region.
- Needs location constraint ap-southeast-1.
- "ap-southeast-2"
- - Asia Pacific (Sydney) Region
+ - Asia Pacific (Sydney) Region.
- Needs location constraint ap-southeast-2.
- "ap-northeast-1"
- - Asia Pacific (Tokyo) Region
+ - Asia Pacific (Tokyo) Region.
- Needs location constraint ap-northeast-1.
- "ap-northeast-2"
- - Asia Pacific (Seoul)
+ - Asia Pacific (Seoul).
- Needs location constraint ap-northeast-2.
- "ap-northeast-3"
- - Asia Pacific (Osaka-Local)
+ - Asia Pacific (Osaka-Local).
- Needs location constraint ap-northeast-3.
- "ap-south-1"
- - Asia Pacific (Mumbai)
+ - Asia Pacific (Mumbai).
- Needs location constraint ap-south-1.
- "ap-east-1"
- - Asia Pacific (Hong Kong) Region
+ - Asia Pacific (Hong Kong) Region.
- Needs location constraint ap-east-1.
- "sa-east-1"
- - South America (Sao Paulo) Region
+ - South America (Sao Paulo) Region.
- Needs location constraint sa-east-1.
- "me-south-1"
- - Middle East (Bahrain) Region
+ - Middle East (Bahrain) Region.
- Needs location constraint me-south-1.
- "af-south-1"
- - Africa (Cape Town) Region
+ - Africa (Cape Town) Region.
- Needs location constraint af-south-1.
- "cn-north-1"
- - China (Beijing) Region
+ - China (Beijing) Region.
- Needs location constraint cn-north-1.
- "cn-northwest-1"
- - China (Ningxia) Region
+ - China (Ningxia) Region.
- Needs location constraint cn-northwest-1.
- "us-gov-east-1"
- - AWS GovCloud (US-East) Region
+ - AWS GovCloud (US-East) Region.
- Needs location constraint us-gov-east-1.
- "us-gov-west-1"
- - AWS GovCloud (US) Region
+ - AWS GovCloud (US) Region.
- Needs location constraint us-gov-west-1.
#### --s3-region
@@ -730,6 +733,7 @@ Region to connect to.
#### --s3-region
Region to connect to.
+
Leave blank if you are using an S3 clone and you don't have a region.
- Config: region
@@ -738,13 +742,16 @@ Leave blank if you are using an S3 clone and you don't have a region.
- Default: ""
- Examples:
- ""
- - Use this if unsure. Will use v4 signatures and an empty region.
+ - Use this if unsure.
+ - Will use v4 signatures and an empty region.
- "other-v2-signature"
- - Use this only if v4 signatures don't work, e.g. pre Jewel/v10 CEPH.
+ - Use this only if v4 signatures don't work.
+ - E.g. pre Jewel/v10 CEPH.
#### --s3-endpoint
Endpoint for S3 API.
+
Leave blank if using AWS to use the default endpoint for the region.
- Config: endpoint
@@ -755,6 +762,7 @@ Leave blank if using AWS to use the default endpoint for the region.
#### --s3-endpoint
Endpoint for IBM COS S3 API.
+
Specify if using an IBM COS On Premise.
- Config: endpoint
@@ -987,47 +995,48 @@ Endpoint for Tencent COS API.
- Default: ""
- Examples:
- "cos.ap-beijing.myqcloud.com"
- - Beijing Region.
+ - Beijing Region
- "cos.ap-nanjing.myqcloud.com"
- - Nanjing Region.
+ - Nanjing Region
- "cos.ap-shanghai.myqcloud.com"
- - Shanghai Region.
+ - Shanghai Region
- "cos.ap-guangzhou.myqcloud.com"
- - Guangzhou Region.
+ - Guangzhou Region
- "cos.ap-nanjing.myqcloud.com"
- - Nanjing Region.
+ - Nanjing Region
- "cos.ap-chengdu.myqcloud.com"
- - Chengdu Region.
+ - Chengdu Region
- "cos.ap-chongqing.myqcloud.com"
- - Chongqing Region.
+ - Chongqing Region
- "cos.ap-hongkong.myqcloud.com"
- - Hong Kong (China) Region.
+ - Hong Kong (China) Region
- "cos.ap-singapore.myqcloud.com"
- - Singapore Region.
+ - Singapore Region
- "cos.ap-mumbai.myqcloud.com"
- - Mumbai Region.
+ - Mumbai Region
- "cos.ap-seoul.myqcloud.com"
- - Seoul Region.
+ - Seoul Region
- "cos.ap-bangkok.myqcloud.com"
- - Bangkok Region.
+ - Bangkok Region
- "cos.ap-tokyo.myqcloud.com"
- - Tokyo Region.
+ - Tokyo Region
- "cos.na-siliconvalley.myqcloud.com"
- - Silicon Valley Region.
+ - Silicon Valley Region
- "cos.na-ashburn.myqcloud.com"
- - Virginia Region.
+ - Virginia Region
- "cos.na-toronto.myqcloud.com"
- - Toronto Region.
+ - Toronto Region
- "cos.eu-frankfurt.myqcloud.com"
- - Frankfurt Region.
+ - Frankfurt Region
- "cos.eu-moscow.myqcloud.com"
- - Moscow Region.
+ - Moscow Region
- "cos.accelerate.myqcloud.com"
- - Use Tencent COS Accelerate Endpoint.
+ - Use Tencent COS Accelerate Endpoint
#### --s3-endpoint
Endpoint for S3 API.
+
Required when using an S3 clone.
- Config: endpoint
@@ -1057,6 +1066,7 @@ Required when using an S3 clone.
#### --s3-location-constraint
Location constraint - must be set to match the Region.
+
Used when creating buckets only.
- Config: location_constraint
@@ -1065,60 +1075,61 @@ Used when creating buckets only.
- Default: ""
- Examples:
- ""
- - Empty for US Region, Northern Virginia, or Pacific Northwest.
+ - Empty for US Region, Northern Virginia, or Pacific Northwest
- "us-east-2"
- - US East (Ohio) Region.
+ - US East (Ohio) Region
- "us-west-1"
- - US West (Northern California) Region.
+ - US West (Northern California) Region
- "us-west-2"
- - US West (Oregon) Region.
+ - US West (Oregon) Region
- "ca-central-1"
- - Canada (Central) Region.
+ - Canada (Central) Region
- "eu-west-1"
- - EU (Ireland) Region.
+ - EU (Ireland) Region
- "eu-west-2"
- - EU (London) Region.
+ - EU (London) Region
- "eu-west-3"
- - EU (Paris) Region.
+ - EU (Paris) Region
- "eu-north-1"
- - EU (Stockholm) Region.
+ - EU (Stockholm) Region
- "eu-south-1"
- - EU (Milan) Region.
+ - EU (Milan) Region
- "EU"
- - EU Region.
+ - EU Region
- "ap-southeast-1"
- - Asia Pacific (Singapore) Region.
+ - Asia Pacific (Singapore) Region
- "ap-southeast-2"
- - Asia Pacific (Sydney) Region.
+ - Asia Pacific (Sydney) Region
- "ap-northeast-1"
- - Asia Pacific (Tokyo) Region.
+ - Asia Pacific (Tokyo) Region
- "ap-northeast-2"
- - Asia Pacific (Seoul) Region.
+ - Asia Pacific (Seoul) Region
- "ap-northeast-3"
- - Asia Pacific (Osaka-Local) Region.
+ - Asia Pacific (Osaka-Local) Region
- "ap-south-1"
- - Asia Pacific (Mumbai) Region.
+ - Asia Pacific (Mumbai) Region
- "ap-east-1"
- - Asia Pacific (Hong Kong) Region.
+ - Asia Pacific (Hong Kong) Region
- "sa-east-1"
- - South America (Sao Paulo) Region.
+ - South America (Sao Paulo) Region
- "me-south-1"
- - Middle East (Bahrain) Region.
+ - Middle East (Bahrain) Region
- "af-south-1"
- - Africa (Cape Town) Region.
+ - Africa (Cape Town) Region
- "cn-north-1"
- China (Beijing) Region
- "cn-northwest-1"
- - China (Ningxia) Region.
+ - China (Ningxia) Region
- "us-gov-east-1"
- - AWS GovCloud (US-East) Region.
+ - AWS GovCloud (US-East) Region
- "us-gov-west-1"
- - AWS GovCloud (US) Region.
+ - AWS GovCloud (US) Region
#### --s3-location-constraint
Location constraint - must match endpoint when using IBM Cloud Public.
-For on-prem COS, do not make a selection from this list, hit enter
+
+For on-prem COS, do not make a selection from this list, hit enter.
- Config: location_constraint
- Env Var: RCLONE_S3_LOCATION_CONSTRAINT
@@ -1193,6 +1204,7 @@ For on-prem COS, do not make a selection from this list, hit enter
#### --s3-location-constraint
Location constraint - must be set to match the Region.
+
Leave blank if not sure. Used when creating buckets only.
- Config: location_constraint
@@ -1217,30 +1229,45 @@ doesn't copy the ACL from the source but rather writes a fresh one.
- Default: ""
- Examples:
- "default"
- - Owner gets Full_CONTROL. No one else has access rights (default).
+ - Owner gets Full_CONTROL.
+ - No one else has access rights (default).
- "private"
- - Owner gets FULL_CONTROL. No one else has access rights (default).
+ - Owner gets FULL_CONTROL.
+ - No one else has access rights (default).
- "public-read"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ access.
- "public-read-write"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ and WRITE access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ and WRITE access.
- Granting this on a bucket is generally not recommended.
- "authenticated-read"
- - Owner gets FULL_CONTROL. The AuthenticatedUsers group gets READ access.
+ - Owner gets FULL_CONTROL.
+ - The AuthenticatedUsers group gets READ access.
- "bucket-owner-read"
- - Object owner gets FULL_CONTROL. Bucket owner gets READ access.
+ - Object owner gets FULL_CONTROL.
+ - Bucket owner gets READ access.
- If you specify this canned ACL when creating a bucket, Amazon S3 ignores it.
- "bucket-owner-full-control"
- Both the object owner and the bucket owner get FULL_CONTROL over the object.
- If you specify this canned ACL when creating a bucket, Amazon S3 ignores it.
- "private"
- - Owner gets FULL_CONTROL. No one else has access rights (default). This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise COS
+ - Owner gets FULL_CONTROL.
+ - No one else has access rights (default).
+ - This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise COS.
- "public-read"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ access. This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise IBM COS
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ access.
+ - This acl is available on IBM Cloud (Infra), IBM Cloud (Storage), On-Premise IBM COS.
- "public-read-write"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ and WRITE access. This acl is available on IBM Cloud (Infra), On-Premise IBM COS
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ and WRITE access.
+ - This acl is available on IBM Cloud (Infra), On-Premise IBM COS.
- "authenticated-read"
- - Owner gets FULL_CONTROL. The AuthenticatedUsers group gets READ access. Not supported on Buckets. This acl is available on IBM Cloud (Infra) and On-Premise IBM COS
+ - Owner gets FULL_CONTROL.
+ - The AuthenticatedUsers group gets READ access.
+ - Not supported on Buckets.
+ - This acl is available on IBM Cloud (Infra) and On-Premise IBM COS.
#### --s3-server-side-encryption
@@ -1312,9 +1339,9 @@ The storage class to use when storing new objects in OSS.
- "STANDARD"
- Standard storage class
- "GLACIER"
- - Archive storage mode.
+ - Archive storage mode
- "STANDARD_IA"
- - Infrequent access storage mode.
+ - Infrequent access storage mode
#### --s3-storage-class
@@ -1330,9 +1357,9 @@ The storage class to use when storing new objects in Tencent COS.
- "STANDARD"
- Standard storage class
- "ARCHIVE"
- - Archive storage mode.
+ - Archive storage mode
- "STANDARD_IA"
- - Infrequent access storage mode.
+ - Infrequent access storage mode
#### --s3-storage-class
@@ -1344,13 +1371,15 @@ The storage class to use when storing new objects in S3.
- Default: ""
- Examples:
- ""
- - Default
+ - Default.
- "STANDARD"
- - The Standard class for any upload; suitable for on-demand content like streaming or CDN.
+ - The Standard class for any upload.
+ - Suitable for on-demand content like streaming or CDN.
- "GLACIER"
- - Archived storage; prices are lower, but it needs to be restored first to be accessed.
+ - Archived storage.
+ - Prices are lower, but it needs to be restored first to be accessed.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, Digital Ocean, Dreamhost, IBM COS, Minio, SeaweedFS, and Tencent COS).
@@ -1369,14 +1398,18 @@ isn't set then "acl" is used instead.
- Default: ""
- Examples:
- "private"
- - Owner gets FULL_CONTROL. No one else has access rights (default).
+ - Owner gets FULL_CONTROL.
+ - No one else has access rights (default).
- "public-read"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ access.
- "public-read-write"
- - Owner gets FULL_CONTROL. The AllUsers group gets READ and WRITE access.
+ - Owner gets FULL_CONTROL.
+ - The AllUsers group gets READ and WRITE access.
- Granting this on a bucket is generally not recommended.
- "authenticated-read"
- - Owner gets FULL_CONTROL. The AuthenticatedUsers group gets READ access.
+ - Owner gets FULL_CONTROL.
+ - The AuthenticatedUsers group gets READ access.
#### --s3-requester-pays
@@ -1430,7 +1463,7 @@ If you leave it blank, this is calculated automatically from the sse_customer_ke
#### --s3-upload-cutoff
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
Any files larger than this will be uploaded in chunks of chunk_size.
The minimum is 0 and the maximum is 5 GiB.
@@ -1490,7 +1523,7 @@ large file of a known size to stay below this number of chunks limit.
#### --s3-copy-cutoff
-Cutoff for switching to multipart copy
+Cutoff for switching to multipart copy.
Any files larger than this that need to be server-side copied will be
copied in chunks of this size.
@@ -1504,7 +1537,7 @@ The minimum is 0 and the maximum is 5 GiB.
#### --s3-disable-checksum
-Don't store MD5 checksum with object metadata
+Don't store MD5 checksum with object metadata.
Normally rclone will calculate the MD5 checksum of the input before
uploading it so it can add it to metadata on the object. This is great
@@ -1518,7 +1551,7 @@ to start uploading.
#### --s3-shared-credentials-file
-Path to the shared credentials file
+Path to the shared credentials file.
If env_auth = true then rclone can use a shared credentials file.
@@ -1537,7 +1570,7 @@ it will default to the current user's home directory.
#### --s3-profile
-Profile to use in the shared credentials file
+Profile to use in the shared credentials file.
If env_auth = true then rclone can use a shared credentials file. This
variable controls which profile is used in that file.
@@ -1553,7 +1586,7 @@ If empty it will default to the environment variable "AWS_PROFILE" or
#### --s3-session-token
-An AWS session token
+An AWS session token.
- Config: session_token
- Env Var: RCLONE_S3_SESSION_TOKEN
@@ -1650,7 +1683,7 @@ In Ceph, this can be increased with the "rgw list buckets max chunk" option.
#### --s3-no-check-bucket
-If set, don't attempt to check the bucket exists or create it
+If set, don't attempt to check the bucket exists or create it.
This can be useful when trying to minimise the number of transactions
rclone does if you know the bucket exists already.
@@ -1667,7 +1700,7 @@ due to a bug.
#### --s3-no-head
-If set, don't HEAD uploaded objects to check integrity
+If set, don't HEAD uploaded objects to check integrity.
This can be useful when trying to minimise the number of transactions
rclone does.
@@ -1704,7 +1737,7 @@ very small even with this flag.
#### --s3-no-head-object
-If set, don't HEAD objects
+If set, do not do HEAD before GET when getting objects.
- Config: no_head_object
- Env Var: RCLONE_S3_NO_HEAD_OBJECT
@@ -1715,7 +1748,7 @@ If set, don't HEAD objects
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_S3_ENCODING
@@ -1725,6 +1758,7 @@ See: the [encoding section in the overview](/overview/#encoding) for more info.
#### --s3-memory-pool-flush-time
How often internal memory buffer pools will be flushed.
+
Uploads which requires additional buffers (f.e multipart) will use memory pool for allocations.
This option controls how often unused buffers will be removed from the pool.
@@ -1744,7 +1778,7 @@ Whether to use mmap buffers in internal memory pool.
#### --s3-disable-http2
-Disable usage of http2 for S3 backends
+Disable usage of http2 for S3 backends.
There is currently an unsolved issue with the s3 (specifically minio) backend
and HTTP/2. HTTP/2 is enabled by default for the s3 backend but can be
@@ -1759,7 +1793,18 @@ See: https://github.com/rclone/rclone/issues/4673, https://github.com/rclone/rcl
- Type: bool
- Default: false
-### Backend commands
+#### --s3-download-url
+
+Custom endpoint for downloads.
+This is usually set to a CloudFront CDN URL as AWS S3 offers
+cheaper egress for data downloaded through the CloudFront network.
+
+- Config: download_url
+- Env Var: RCLONE_S3_DOWNLOAD_URL
+- Type: string
+- Default: ""
+
+## Backend commands
Here are the commands specific to the s3 backend.
@@ -1775,7 +1820,7 @@ info on how to pass options and arguments.
These can be run on a running backend using the rc command
[backend/command](/rc/#backend/command).
-#### restore
+### restore
Restore objects from GLACIER to normal storage
@@ -1821,7 +1866,7 @@ Options:
- "lifetime": Lifetime of the active copy in days
- "priority": Priority of restore: Standard|Expedited|Bulk
-#### list-multipart-uploads
+### list-multipart-uploads
List the unfinished multipart uploads
@@ -1860,7 +1905,7 @@ a bucket or with a bucket and path.
-#### cleanup
+### cleanup
Remove unfinished multipart uploads.
diff --git a/docs/content/seafile.md b/docs/content/seafile.md
index 3867bffab..d02481d6b 100644
--- a/docs/content/seafile.md
+++ b/docs/content/seafile.md
@@ -264,13 +264,13 @@ Versions below 6.0 are not supported.
Versions between 6.0 and 6.3 haven't been tested and might not work properly.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/seafile/seafile.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to seafile (seafile).
#### --seafile-url
-URL of seafile host to connect to
+URL of seafile host to connect to.
- Config: url
- Env Var: RCLONE_SEAFILE_URL
@@ -278,11 +278,11 @@ URL of seafile host to connect to
- Default: ""
- Examples:
- "https://cloud.seafile.com/"
- - Connect to cloud.seafile.com
+ - Connect to cloud.seafile.com.
#### --seafile-user
-User name (usually email address)
+User name (usually email address).
- Config: user
- Env Var: RCLONE_SEAFILE_USER
@@ -291,7 +291,7 @@ User name (usually email address)
#### --seafile-pass
-Password
+Password.
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
@@ -302,7 +302,7 @@ Password
#### --seafile-2fa
-Two-factor authentication ('true' if the account has 2FA enabled)
+Two-factor authentication ('true' if the account has 2FA enabled).
- Config: 2fa
- Env Var: RCLONE_SEAFILE_2FA
@@ -311,7 +311,9 @@ Two-factor authentication ('true' if the account has 2FA enabled)
#### --seafile-library
-Name of the library. Leave blank to access all non-encrypted libraries.
+Name of the library.
+
+Leave blank to access all non-encrypted libraries.
- Config: library
- Env Var: RCLONE_SEAFILE_LIBRARY
@@ -320,7 +322,9 @@ Name of the library. Leave blank to access all non-encrypted libraries.
#### --seafile-library-key
-Library password (for encrypted libraries only). Leave blank if you pass it through the command line.
+Library password (for encrypted libraries only).
+
+Leave blank if you pass it through the command line.
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
@@ -331,20 +335,20 @@ Library password (for encrypted libraries only). Leave blank if you pass it thro
#### --seafile-auth-token
-Authentication token
+Authentication token.
- Config: auth_token
- Env Var: RCLONE_SEAFILE_AUTH_TOKEN
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to seafile (seafile).
#### --seafile-create-library
-Should rclone create a library if it doesn't exist
+Should rclone create a library if it doesn't exist.
- Config: create_library
- Env Var: RCLONE_SEAFILE_CREATE_LIBRARY
@@ -355,7 +359,7 @@ Should rclone create a library if it doesn't exist
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_SEAFILE_ENCODING
diff --git a/docs/content/sftp.md b/docs/content/sftp.md
index c6aff29eb..fc1e5fad8 100644
--- a/docs/content/sftp.md
+++ b/docs/content/sftp.md
@@ -252,25 +252,24 @@ are using one of these servers, you can set the option `set_modtime = false` in
your RClone backend configuration to disable this behaviour.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/sftp/sftp.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to sftp (SSH/SFTP Connection).
#### --sftp-host
-SSH host to connect to
+SSH host to connect to.
+
+E.g. "example.com".
- Config: host
- Env Var: RCLONE_SFTP_HOST
- Type: string
- Default: ""
-- Examples:
- - "example.com"
- - Connect to example.com
#### --sftp-user
-SSH username, leave blank for current username, $USER
+SSH username, leave blank for current username, $USER.
- Config: user
- Env Var: RCLONE_SFTP_USER
@@ -279,7 +278,7 @@ SSH username, leave blank for current username, $USER
#### --sftp-port
-SSH port, leave blank to use default (22)
+SSH port, leave blank to use default (22).
- Config: port
- Env Var: RCLONE_SFTP_PORT
@@ -299,7 +298,9 @@ SSH password, leave blank to use ssh-agent.
#### --sftp-key-pem
-Raw PEM-encoded private key, If specified, will override key_file parameter.
+Raw PEM-encoded private key.
+
+If specified, will override key_file parameter.
- Config: key_pem
- Env Var: RCLONE_SFTP_KEY_PEM
@@ -308,10 +309,11 @@ Raw PEM-encoded private key, If specified, will override key_file parameter.
#### --sftp-key-file
-Path to PEM-encoded private key file, leave blank or set key-use-agent to use ssh-agent.
+Path to PEM-encoded private key file.
-Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
+Leave blank or set key-use-agent to use ssh-agent.
+Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
- Config: key_file
- Env Var: RCLONE_SFTP_KEY_FILE
@@ -340,7 +342,6 @@ Set this if you have a signed certificate you want to use for authentication.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
-
- Config: pubkey_file
- Env Var: RCLONE_SFTP_PUBKEY_FILE
- Type: string
@@ -387,6 +388,7 @@ Those algorithms are insecure and may allow plaintext data to be recovered by an
#### --sftp-disable-hashcheck
Disable the execution of SSH commands to determine if remote file hashing is available.
+
Leave blank or set to false to enable hashing (recommended), set to true to disable hashing.
- Config: disable_hashcheck
@@ -394,7 +396,7 @@ Leave blank or set to false to enable hashing (recommended), set to true to disa
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to sftp (SSH/SFTP Connection).
@@ -406,14 +408,13 @@ Set this value to enable server host key validation.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
-
- Config: known_hosts_file
- Env Var: RCLONE_SFTP_KNOWN_HOSTS_FILE
- Type: string
- Default: ""
- Examples:
- "~/.ssh/known_hosts"
- - Use OpenSSH's known_hosts file
+ - Use OpenSSH's known_hosts file.
#### --sftp-ask-password
@@ -460,7 +461,9 @@ Set the modified time on the remote if set.
#### --sftp-md5sum-command
-The command used to read md5 hashes. Leave blank for autodetect.
+The command used to read md5 hashes.
+
+Leave blank for autodetect.
- Config: md5sum_command
- Env Var: RCLONE_SFTP_MD5SUM_COMMAND
@@ -469,7 +472,9 @@ The command used to read md5 hashes. Leave blank for autodetect.
#### --sftp-sha1sum-command
-The command used to read sha1 hashes. Leave blank for autodetect.
+The command used to read sha1 hashes.
+
+Leave blank for autodetect.
- Config: sha1sum_command
- Env Var: RCLONE_SFTP_SHA1SUM_COMMAND
@@ -507,7 +512,7 @@ The subsystem option is ignored when server_command is defined.
#### --sftp-use-fstat
-If set use fstat instead of stat
+If set use fstat instead of stat.
Some servers limit the amount of open files and calling Stat after opening
the file will throw an error from the server. Setting this flag will call
@@ -525,7 +530,7 @@ any given time.
#### --sftp-disable-concurrent-reads
-If set don't use concurrent reads
+If set don't use concurrent reads.
Normally concurrent reads are safe to use and not using them will
degrade performance, so this option is disabled by default.
@@ -548,7 +553,7 @@ If concurrent reads are disabled, the use_fstat option is ignored.
#### --sftp-disable-concurrent-writes
-If set don't use concurrent writes
+If set don't use concurrent writes.
Normally rclone uses concurrent writes to upload files. This improves
the performance greatly, especially for distant servers.
@@ -563,7 +568,7 @@ This option disables concurrent writes should that be necessary.
#### --sftp-idle-timeout
-Max time before closing idle connections
+Max time before closing idle connections.
If no connections have been returned to the connection pool in the time
given, rclone will empty the connection pool.
diff --git a/docs/content/sharefile.md b/docs/content/sharefile.md
index b8196fe9c..84ab3e00f 100644
--- a/docs/content/sharefile.md
+++ b/docs/content/sharefile.md
@@ -148,13 +148,13 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in JSON strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/sharefile/sharefile.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to sharefile (Citrix Sharefile).
#### --sharefile-root-folder-id
-ID of the root folder
+ID of the root folder.
Leave blank to access "Personal Folders". You can use one of the
standard values here or any folder ID (long hex number ID).
@@ -165,7 +165,7 @@ standard values here or any folder ID (long hex number ID).
- Default: ""
- Examples:
- ""
- - Access the Personal Folders. (Default)
+ - Access the Personal Folders (default).
- "favorites"
- Access the Favorites folder.
- "allshared"
@@ -175,7 +175,7 @@ standard values here or any folder ID (long hex number ID).
- "top"
- Access the home, favorites, and shared folders as well as the connectors.
-### Advanced Options
+### Advanced options
Here are the advanced options specific to sharefile (Citrix Sharefile).
@@ -190,7 +190,9 @@ Cutoff for switching to multipart upload.
#### --sharefile-chunk-size
-Upload chunk size. Must a power of 2 >= 256k.
+Upload chunk size.
+
+Must a power of 2 >= 256k.
Making this larger will improve performance, but note that each chunk
is buffered in memory one per transfer.
@@ -219,7 +221,7 @@ be set manually to something like: https://XXX.sharefile.com
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_SHAREFILE_ENCODING
diff --git a/docs/content/sia.md b/docs/content/sia.md
index edc76d410..40679f6cd 100644
--- a/docs/content/sia.md
+++ b/docs/content/sia.md
@@ -137,6 +137,7 @@ Here are the standard options specific to sia (Sia Decentralized Cloud).
#### --sia-api-url
Sia daemon API URL, like http://sia.daemon.host:9980.
+
Note that siad must run with --disable-api-security to open API port for other hosts (not recommended).
Keep default if Sia daemon runs on localhost.
@@ -148,6 +149,7 @@ Keep default if Sia daemon runs on localhost.
#### --sia-api-password
Sia Daemon API Password.
+
Can be found in the apipassword file located in HOME/.sia/ or in the daemon directory.
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
@@ -164,6 +166,7 @@ Here are the advanced options specific to sia (Sia Decentralized Cloud).
#### --sia-user-agent
Siad User Agent
+
Sia daemon requires the 'Sia-Agent' user agent by default for security
- Config: user_agent
@@ -175,7 +178,7 @@ Sia daemon requires the 'Sia-Agent' user agent by default for security
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_SIA_ENCODING
diff --git a/docs/content/sugarsync.md b/docs/content/sugarsync.md
index a65ca906f..99a424f65 100644
--- a/docs/content/sugarsync.md
+++ b/docs/content/sugarsync.md
@@ -121,7 +121,7 @@ deleted straight away.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/sugarsync/sugarsync.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to sugarsync (Sugarsync).
@@ -149,7 +149,7 @@ Leave blank to use rclone's.
#### --sugarsync-private-access-key
-Sugarsync Private Access Key
+Sugarsync Private Access Key.
Leave blank to use rclone's.
@@ -168,13 +168,13 @@ otherwise put them in the deleted files.
- Type: bool
- Default: false
-### Advanced Options
+### Advanced options
Here are the advanced options specific to sugarsync (Sugarsync).
#### --sugarsync-refresh-token
-Sugarsync refresh token
+Sugarsync refresh token.
Leave blank normally, will be auto configured by rclone.
@@ -185,7 +185,7 @@ Leave blank normally, will be auto configured by rclone.
#### --sugarsync-authorization
-Sugarsync authorization
+Sugarsync authorization.
Leave blank normally, will be auto configured by rclone.
@@ -196,7 +196,7 @@ Leave blank normally, will be auto configured by rclone.
#### --sugarsync-authorization-expiry
-Sugarsync authorization expiry
+Sugarsync authorization expiry.
Leave blank normally, will be auto configured by rclone.
@@ -207,7 +207,7 @@ Leave blank normally, will be auto configured by rclone.
#### --sugarsync-user
-Sugarsync user
+Sugarsync user.
Leave blank normally, will be auto configured by rclone.
@@ -218,7 +218,7 @@ Leave blank normally, will be auto configured by rclone.
#### --sugarsync-root-id
-Sugarsync root id
+Sugarsync root id.
Leave blank normally, will be auto configured by rclone.
@@ -229,7 +229,7 @@ Leave blank normally, will be auto configured by rclone.
#### --sugarsync-deleted-id
-Sugarsync deleted folder id
+Sugarsync deleted folder id.
Leave blank normally, will be auto configured by rclone.
@@ -242,7 +242,7 @@ Leave blank normally, will be auto configured by rclone.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_SUGARSYNC_ENCODING
diff --git a/docs/content/swift.md b/docs/content/swift.md
index 47388a493..8580d000e 100644
--- a/docs/content/swift.md
+++ b/docs/content/swift.md
@@ -243,7 +243,7 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in JSON strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/swift/swift.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to swift (OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)).
@@ -257,9 +257,10 @@ Get swift credentials from environment variables in standard OpenStack form.
- Default: false
- Examples:
- "false"
- - Enter swift credentials in the next step
+ - Enter swift credentials in the next step.
- "true"
- - Get swift credentials from environment vars. Leave other fields blank if using this.
+ - Get swift credentials from environment vars.
+ - Leave other fields blank if using this.
#### --swift-user
@@ -321,7 +322,7 @@ User domain - optional (v3 auth) (OS_USER_DOMAIN_NAME)
#### --swift-tenant
-Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
+Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME).
- Config: tenant
- Env Var: RCLONE_SWIFT_TENANT
@@ -330,7 +331,7 @@ Tenant name - optional for v1 auth, this or tenant_id required otherwise (OS_TEN
#### --swift-tenant-id
-Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
+Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID).
- Config: tenant_id
- Env Var: RCLONE_SWIFT_TENANT_ID
@@ -339,7 +340,7 @@ Tenant ID - optional for v1 auth, this or tenant required otherwise (OS_TENANT_I
#### --swift-tenant-domain
-Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
+Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME).
- Config: tenant_domain
- Env Var: RCLONE_SWIFT_TENANT_DOMAIN
@@ -348,7 +349,7 @@ Tenant domain - optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
#### --swift-region
-Region name - optional (OS_REGION_NAME)
+Region name - optional (OS_REGION_NAME).
- Config: region
- Env Var: RCLONE_SWIFT_REGION
@@ -357,7 +358,7 @@ Region name - optional (OS_REGION_NAME)
#### --swift-storage-url
-Storage URL - optional (OS_STORAGE_URL)
+Storage URL - optional (OS_STORAGE_URL).
- Config: storage_url
- Env Var: RCLONE_SWIFT_STORAGE_URL
@@ -366,7 +367,7 @@ Storage URL - optional (OS_STORAGE_URL)
#### --swift-auth-token
-Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
+Auth Token from alternate authentication - optional (OS_AUTH_TOKEN).
- Config: auth_token
- Env Var: RCLONE_SWIFT_AUTH_TOKEN
@@ -375,7 +376,7 @@ Auth Token from alternate authentication - optional (OS_AUTH_TOKEN)
#### --swift-application-credential-id
-Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
+Application Credential ID (OS_APPLICATION_CREDENTIAL_ID).
- Config: application_credential_id
- Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_ID
@@ -384,7 +385,7 @@ Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
#### --swift-application-credential-name
-Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
+Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME).
- Config: application_credential_name
- Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_NAME
@@ -393,7 +394,7 @@ Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
#### --swift-application-credential-secret
-Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
+Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET).
- Config: application_credential_secret
- Env Var: RCLONE_SWIFT_APPLICATION_CREDENTIAL_SECRET
@@ -402,7 +403,7 @@ Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
#### --swift-auth-version
-AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
+AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION).
- Config: auth_version
- Env Var: RCLONE_SWIFT_AUTH_VERSION
@@ -411,7 +412,7 @@ AuthVersion - optional - set to (1,2,3) if your auth URL has no version (ST_AUTH
#### --swift-endpoint-type
-Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE)
+Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE).
- Config: endpoint_type
- Env Var: RCLONE_SWIFT_ENDPOINT_TYPE
@@ -427,7 +428,7 @@ Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE)
#### --swift-storage-policy
-The storage policy to use when creating a new container
+The storage policy to use when creating a new container.
This applies the specified storage policy when creating a new
container. The policy cannot be changed afterwards. The allowed
@@ -446,13 +447,15 @@ provider.
- "pca"
- OVH Public Cloud Archive
-### Advanced Options
+### Advanced options
Here are the advanced options specific to swift (OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)).
#### --swift-leave-parts-on-error
-If true avoid calling abort upload on a failure. It should be set to true for resuming uploads across different sessions.
+If true avoid calling abort upload on a failure.
+
+It should be set to true for resuming uploads across different sessions.
- Config: leave_parts_on_error
- Env Var: RCLONE_SWIFT_LEAVE_PARTS_ON_ERROR
@@ -493,7 +496,7 @@ copy operations.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_SWIFT_ENCODING
diff --git a/docs/content/tardigrade.md b/docs/content/tardigrade.md
index 1ab691dc0..0b0588ec1 100644
--- a/docs/content/tardigrade.md
+++ b/docs/content/tardigrade.md
@@ -123,7 +123,7 @@ y/e/d> y
```
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/tardigrade/tardigrade.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to tardigrade (Tardigrade Decentralized Cloud Storage).
@@ -143,7 +143,7 @@ Choose an authentication method.
#### --tardigrade-access-grant
-Access Grant.
+Access grant.
- Config: access_grant
- Env Var: RCLONE_TARDIGRADE_ACCESS_GRANT
@@ -152,7 +152,9 @@ Access Grant.
#### --tardigrade-satellite-address
-Satellite Address. Custom satellite address should match the format: `<nodeid>@<address>:<port>`.
+Satellite address.
+
+Custom satellite address should match the format: `<nodeid>@<address>:<port>`.
- Config: satellite_address
- Env Var: RCLONE_TARDIGRADE_SATELLITE_ADDRESS
@@ -168,7 +170,7 @@ Satellite Address. Custom satellite address should match the format: `<nodeid>@<
#### --tardigrade-api-key
-API Key.
+API key.
- Config: api_key
- Env Var: RCLONE_TARDIGRADE_API_KEY
@@ -177,7 +179,9 @@ API Key.
#### --tardigrade-passphrase
-Encryption Passphrase. To access existing objects enter passphrase used for uploading.
+Encryption passphrase.
+
+To access existing objects enter passphrase used for uploading.
- Config: passphrase
- Env Var: RCLONE_TARDIGRADE_PASSPHRASE
diff --git a/docs/content/union.md b/docs/content/union.md
index c28e8d961..1e97fd4bd 100644
--- a/docs/content/union.md
+++ b/docs/content/union.md
@@ -172,15 +172,15 @@ The policies definition are inspired by [trapexit/mergerfs](https://github.com/t
| rand (random) | Calls **all** and then randomizes. Returns only one upstream. |
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/union/union.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to union (Union merges the contents of several upstream fs).
#### --union-upstreams
List of space separated upstreams.
-Can be 'upstreama:test/dir upstreamb:', '"upstreama:test/space:ro dir" upstreamb:', etc.
+Can be 'upstreama:test/dir upstreamb:', '"upstreama:test/space:ro dir" upstreamb:', etc.
- Config: upstreams
- Env Var: RCLONE_UNION_UPSTREAMS
@@ -216,7 +216,9 @@ Policy to choose upstream on SEARCH category.
#### --union-cache-time
-Cache time of usage and free space (in seconds). This option is only useful when a path preserving policy is used.
+Cache time of usage and free space (in seconds).
+
+This option is only useful when a path preserving policy is used.
- Config: cache_time
- Env Var: RCLONE_UNION_CACHE_TIME
diff --git a/docs/content/uptobox.md b/docs/content/uptobox.md
index 7ccfe6330..264ee0b2e 100644
--- a/docs/content/uptobox.md
+++ b/docs/content/uptobox.md
@@ -99,20 +99,22 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in XML strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/uptobox/uptobox.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to uptobox (Uptobox).
#### --uptobox-access-token
-Your access Token, get it from https://uptobox.com/my_account
+Your access token.
+
+Get it from https://uptobox.com/my_account.
- Config: access_token
- Env Var: RCLONE_UPTOBOX_ACCESS_TOKEN
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to uptobox (Uptobox).
@@ -120,7 +122,7 @@ Here are the advanced options specific to uptobox (Uptobox).
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_UPTOBOX_ENCODING
diff --git a/docs/content/webdav.md b/docs/content/webdav.md
index 896455c37..7c59b6a44 100644
--- a/docs/content/webdav.md
+++ b/docs/content/webdav.md
@@ -108,25 +108,24 @@ appear on all objects, or only on objects which had a hash uploaded
with them.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/webdav/webdav.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to webdav (Webdav).
#### --webdav-url
-URL of http host to connect to
+URL of http host to connect to.
+
+E.g. https://example.com.
- Config: url
- Env Var: RCLONE_WEBDAV_URL
- Type: string
- Default: ""
-- Examples:
- - "https://example.com"
- - Connect to example.com
#### --webdav-vendor
-Name of the Webdav site/service/software you are using
+Name of the Webdav site/service/software you are using.
- Config: vendor
- Env Var: RCLONE_WEBDAV_VENDOR
@@ -138,15 +137,17 @@ Name of the Webdav site/service/software you are using
- "owncloud"
- Owncloud
- "sharepoint"
- - Sharepoint Online, authenticated by Microsoft account.
+ - Sharepoint Online, authenticated by Microsoft account
- "sharepoint-ntlm"
- - Sharepoint with NTLM authentication. Usually self-hosted or on-premises.
+ - Sharepoint with NTLM authentication, usually self-hosted or on-premises
- "other"
- Other site/service or software
#### --webdav-user
-User name. In case NTLM authentication is used, the username should be in the format 'Domain\User'.
+User name.
+
+In case NTLM authentication is used, the username should be in the format 'Domain\User'.
- Config: user
- Env Var: RCLONE_WEBDAV_USER
@@ -166,20 +167,20 @@ Password.
#### --webdav-bearer-token
-Bearer token instead of user/pass (e.g. a Macaroon)
+Bearer token instead of user/pass (e.g. a Macaroon).
- Config: bearer_token
- Env Var: RCLONE_WEBDAV_BEARER_TOKEN
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to webdav (Webdav).
#### --webdav-bearer-token-command
-Command to run to get a bearer token
+Command to run to get a bearer token.
- Config: bearer_token_command
- Env Var: RCLONE_WEBDAV_BEARER_TOKEN_COMMAND
@@ -190,7 +191,7 @@ Command to run to get a bearer token
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
Default encoding is Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Hash,Percent,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8 for sharepoint-ntlm or identity otherwise.
@@ -201,7 +202,7 @@ Default encoding is Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Hash,Per
#### --webdav-headers
-Set HTTP headers for all transactions
+Set HTTP headers for all transactions.
Use this to set additional HTTP headers for all transactions
diff --git a/docs/content/yandex.md b/docs/content/yandex.md
index f733ee134..b8093ed97 100644
--- a/docs/content/yandex.md
+++ b/docs/content/yandex.md
@@ -114,13 +114,14 @@ Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in JSON strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/yandex/yandex.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to yandex (Yandex Disk).
#### --yandex-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -130,7 +131,8 @@ Leave blank normally.
#### --yandex-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -138,7 +140,7 @@ Leave blank normally.
- Type: string
- Default: ""
-### Advanced Options
+### Advanced options
Here are the advanced options specific to yandex (Yandex Disk).
@@ -154,6 +156,7 @@ OAuth Access Token as a JSON blob.
#### --yandex-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -164,6 +167,7 @@ Leave blank to use the provider defaults.
#### --yandex-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -175,7 +179,7 @@ Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_YANDEX_ENCODING
diff --git a/docs/content/zoho.md b/docs/content/zoho.md
index f2a99b1da..8fea49716 100644
--- a/docs/content/zoho.md
+++ b/docs/content/zoho.md
@@ -125,13 +125,14 @@ Unicode full-width characters are not supported at all and will be removed
from filenames during upload.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/zoho/zoho.go then run make backenddocs" >}}
-### Standard Options
+### Standard options
Here are the standard options specific to zoho (Zoho).
#### --zoho-client-id
-OAuth Client Id
+OAuth Client Id.
+
Leave blank normally.
- Config: client_id
@@ -141,7 +142,8 @@ Leave blank normally.
#### --zoho-client-secret
-OAuth Client Secret
+OAuth Client Secret.
+
Leave blank normally.
- Config: client_secret
@@ -171,7 +173,7 @@ browser.
- "com.au"
- Australia
-### Advanced Options
+### Advanced options
Here are the advanced options specific to zoho (Zoho).
@@ -187,6 +189,7 @@ OAuth Access Token as a JSON blob.
#### --zoho-auth-url
Auth server URL.
+
Leave blank to use the provider defaults.
- Config: auth_url
@@ -197,6 +200,7 @@ Leave blank to use the provider defaults.
#### --zoho-token-url
Token server url.
+
Leave blank to use the provider defaults.
- Config: token_url
@@ -208,7 +212,7 @@ Leave blank to use the provider defaults.
This sets the encoding for the backend.
-See: the [encoding section in the overview](/overview/#encoding) for more info.
+See the [encoding section in the overview](/overview/#encoding) for more info.
- Config: encoding
- Env Var: RCLONE_ZOHO_ENCODING
diff --git a/rclone.1 b/rclone.1
index c48ef072d..48be8ab66 100644
--- a/rclone.1
+++ b/rclone.1
@@ -1,7 +1,7 @@
.\"t
.\" Automatically generated by Pandoc 2.5
.\"
-.TH "rclone" "1" "Jul 20, 2021" "User Manual" ""
+.TH "rclone" "1" "Nov 01, 2021" "User Manual" ""
.hy
.SH Rclone syncs your files to cloud storage
.PP
@@ -50,8 +50,9 @@ local disk.
.PP
Virtual backends wrap local and cloud file systems to apply
encryption (https://rclone.org/crypt/),
-compression (https://rclone.org/compress/)
-chunking (https://rclone.org/chunker/) and
+compression (https://rclone.org/compress/),
+chunking (https://rclone.org/chunker/),
+hashing (https://rclone.org/hasher/) and
joining (https://rclone.org/union/).
.PP
Rclone mounts (https://rclone.org/commands/rclone_mount/) any local,
@@ -232,6 +233,8 @@ SeaweedFS
.IP \[bu] 2
SFTP
.IP \[bu] 2
+Sia
+.IP \[bu] 2
StackPath
.IP \[bu] 2
SugarSync
@@ -269,8 +272,8 @@ Rclone is a Go program and comes as a single binary file.
.IP \[bu] 2
Download (https://rclone.org/downloads/) the relevant binary.
.IP \[bu] 2
-Extract the \f[C]rclone\f[R] or \f[C]rclone.exe\f[R] binary from the
-archive
+Extract the \f[C]rclone\f[R] executable, \f[C]rclone.exe\f[R] on
+Windows, from the archive.
.IP \[bu] 2
Run \f[C]rclone config\f[R] to setup.
See rclone config docs (https://rclone.org/docs/) for more details.
@@ -279,8 +282,8 @@ Optionally configure automatic execution.
.PP
See below for some expanded Linux / macOS instructions.
.PP
-See the Usage section (https://rclone.org/docs/#usage) of the docs for
-how to use rclone, or run \f[C]rclone \-h\f[R].
+See the usage (https://rclone.org/docs/) docs for how to use rclone, or
+run \f[C]rclone \-h\f[R].
.PP
Already installed rclone can be easily updated to the latest version
using the rclone
@@ -352,6 +355,11 @@ rclone config
brew install rclone
\f[R]
.fi
+.PP
+NOTE: This version of rclone will not support \f[C]mount\f[R] any more
+(see #5373 (https://github.com/rclone/rclone/issues/5373)).
+If mounting is wanted on macOS, either install a precompiled binary or
+enable the relevant option when installing from source.
.SS macOS installation from precompiled binary, using curl
.PP
To avoid problems with macOS gatekeeper enforcing the binary to be
@@ -524,7 +532,7 @@ kill %1
.fi
.SS Install from source
.PP
-Make sure you have at least Go (https://golang.org/) go1.13 installed.
+Make sure you have at least Go (https://golang.org/) go1.14 installed.
Download go (https://golang.org/dl/) if necessary.
The latest release is recommended.
Then
@@ -534,6 +542,7 @@ Then
git clone https://github.com/rclone/rclone.git
cd rclone
go build
+# If on macOS and mount is wanted, instead run: make GOTAGS=cmount
\&./rclone version
\f[R]
.fi
@@ -584,7 +593,31 @@ add the role to the hosts you want rclone installed to:
\- rclone
\f[R]
.fi
-.SH Autostart
+.SS Portable installation
+.PP
+As mentioned above (https://rclone.org/install/#quickstart), rclone is
+single executable (\f[C]rclone\f[R], or \f[C]rclone.exe\f[R] on Windows)
+that you can download as a zip archive and extract into a location of
+your choosing.
+When executing different commands, it may create files in different
+locations, such as a configuration file and various temporary files.
+By default the locations for these are according to your operating
+system, e.g.
+configuration file in your user profile directory and temporary files in
+the standard temporary directory, but you can customize all of them,
+e.g.
+to make a completely self\-contained, portable installation.
+.PP
+Run the config paths (https://rclone.org/commands/rclone_config_paths/)
+command to see the locations that rclone will use.
+.PP
+To override them set the corresponding options (as command\-line
+arguments, or as environment
+variables (https://rclone.org/docs/#environment-variables)): \-
+\-\-config (https://rclone.org/docs/#config-config-file) \-
+\-\-cache\-dir (https://rclone.org/docs/#cache-dir-dir) \-
+\-\-temp\-dir (https://rclone.org/docs/#temp-dir-dir)
+.SS Autostart
.PP
After installing and configuring rclone, as described above, you are
ready to use rclone as an interactive command line utility.
@@ -758,6 +791,13 @@ configured user has logged into the system.
.PP
To run a periodic command, such as a copy/sync, you can set up a cron
job.
+.SH Usage
+.PP
+Rclone is a command line program to manage files on cloud storage.
+After download (https://rclone.org/downloads/) and install (/install),
+continue here to learn how to use it: Initial configuration, what the
+basic syntax looks like, describes the various subcommands, the various
+options, and more.
.SS Configure
.PP
First, you\[aq]ll need to configure rclone.
@@ -812,13 +852,16 @@ Google Drive (https://rclone.org/drive/)
.IP \[bu] 2
Google Photos (https://rclone.org/googlephotos/)
.IP \[bu] 2
+Hasher (https://rclone.org/hasher/) \- to handle checksums for other
+remotes
+.IP \[bu] 2
HDFS (https://rclone.org/hdfs/)
.IP \[bu] 2
HTTP (https://rclone.org/http/)
.IP \[bu] 2
Hubic (https://rclone.org/hubic/)
.IP \[bu] 2
-Jottacloud / GetSky.no (https://rclone.org/jottacloud/)
+Jottacloud (https://rclone.org/jottacloud/)
.IP \[bu] 2
Koofr (https://rclone.org/koofr/)
.IP \[bu] 2
@@ -849,6 +892,8 @@ Seafile (https://rclone.org/seafile/)
.IP \[bu] 2
SFTP (https://rclone.org/sftp/)
.IP \[bu] 2
+Sia (https://rclone.org/sia/)
+.IP \[bu] 2
SugarSync (https://rclone.org/sugarsync/)
.IP \[bu] 2
Tardigrade (https://rclone.org/tardigrade/)
@@ -864,7 +909,7 @@ Yandex Disk (https://rclone.org/yandex/)
Zoho WorkDrive (https://rclone.org/zoho/)
.IP \[bu] 2
The local filesystem (https://rclone.org/local/)
-.SS Usage
+.SS Basic syntax
.PP
Rclone syncs a directory tree from one storage system to another.
.PP
@@ -929,7 +974,7 @@ rclone config create (https://rclone.org/commands/rclone_config_create/)
\- Create a new remote with name, type and options.
.IP \[bu] 2
rclone config delete (https://rclone.org/commands/rclone_config_delete/)
-\- Delete an existing remote \f[C]name\f[R].
+\- Delete an existing remote.
.IP \[bu] 2
rclone config
disconnect (https://rclone.org/commands/rclone_config_disconnect/) \-
@@ -945,6 +990,9 @@ rclone config
password (https://rclone.org/commands/rclone_config_password/) \- Update
password in an existing remote.
.IP \[bu] 2
+rclone config paths (https://rclone.org/commands/rclone_config_paths/)
+\- Show paths used for configuration, cache, temp etc.
+.IP \[bu] 2
rclone config
providers (https://rclone.org/commands/rclone_config_providers/) \- List
in JSON format all the providers and options.
@@ -967,12 +1015,12 @@ userinfo (https://rclone.org/commands/rclone_config_userinfo/) \- Prints
info about logged in user of remote.
.SH rclone copy
.PP
-Copy files from source to dest, skipping already copied.
+Copy files from source to dest, skipping identical files.
.SS Synopsis
.PP
Copy the source to the destination.
-Doesn\[aq]t transfer unchanged files, testing by size and modification
-time or MD5SUM.
+Does not transfer files that are identical on source and destination,
+testing by size and modification time or MD5SUM.
Doesn\[aq]t delete files from the destination.
.PP
Note that it is always the contents of the directory that is synced, not
@@ -1071,8 +1119,8 @@ Make source and dest identical, modifying destination only.
.SS Synopsis
.PP
Sync the source to the destination, changing the destination only.
-Doesn\[aq]t transfer unchanged files, testing by size and modification
-time or MD5SUM.
+Doesn\[aq]t transfer files that are identical on source and destination,
+testing by size and modification time or MD5SUM.
Destination is updated to match source, including deleting files if
necessary (except duplicate objects, see below).
.PP
@@ -1408,7 +1456,7 @@ rclone check source:path dest:path [flags]
\-C, \-\-checkfile string Treat source:path as a SUM file with hashes of given type
\-\-combined string Make a combined report of changes to this file
\-\-differ string Report all non\-matching files to this file
- \-\-download Check by downloading rather than with hash.
+ \-\-download Check by downloading rather than with hash
\-\-error string Report all files with errors (hashing or reading) to this file
\-h, \-\-help help for check
\-\-match string Report all matching files to this file
@@ -1568,7 +1616,7 @@ rclone lsd remote:path [flags]
.nf
\f[C]
\-h, \-\-help help for lsd
- \-R, \-\-recursive Recurse into the listing.
+ \-R, \-\-recursive Recurse into the listing
\f[R]
.fi
.PP
@@ -1733,7 +1781,7 @@ rclone size remote:path [flags]
.nf
\f[C]
\-h, \-\-help help for size
- \-\-json format output as JSON
+ \-\-json Format output as JSON
\f[R]
.fi
.PP
@@ -1806,7 +1854,7 @@ rclone version [flags]
.IP
.nf
\f[C]
- \-\-check Check for new version.
+ \-\-check Check for new version
\-h, \-\-help help for version
\f[R]
.fi
@@ -2011,7 +2059,7 @@ rclone dedupe [mode] remote:path [flags]
.nf
\f[C]
\-\-by\-hash Find indentical hashes rather than names
- \-\-dedupe\-mode string Dedupe mode interactive|skip|first|newest|oldest|largest|smallest|rename. (default \[dq]interactive\[dq])
+ \-\-dedupe\-mode string Dedupe mode interactive|skip|first|newest|oldest|largest|smallest|rename (default \[dq]interactive\[dq])
\-h, \-\-help help for dedupe
\f[R]
.fi
@@ -2036,32 +2084,30 @@ Typical output from \f[C]rclone about remote:\f[R] is:
.IP
.nf
\f[C]
-Total: 17G
-Used: 7.444G
-Free: 1.315G
-Trashed: 100.000M
-Other: 8.241G
+Total: 17 GiB
+Used: 7.444 GiB
+Free: 1.315 GiB
+Trashed: 100.000 MiB
+Other: 8.241 GiB
\f[R]
.fi
.PP
Where the fields are:
.IP \[bu] 2
-Total: total size available.
+Total: Total size available.
.IP \[bu] 2
-Used: total size used
+Used: Total size used.
.IP \[bu] 2
-Free: total space available to this user.
+Free: Total space available to this user.
.IP \[bu] 2
-Trashed: total space used by trash
+Trashed: Total space used by trash.
.IP \[bu] 2
-Other: total amount in other storage (e.g.
-Gmail, Google Photos)
+Other: Total amount in other storage (e.g.
+Gmail, Google Photos).
.IP \[bu] 2
-Objects: total number of objects in the storage
+Objects: Total number of objects in the storage.
.PP
-Not all backends print all fields.
-Information is not included if it is not provided by a backend.
-Where the value is unlimited it is omitted.
+All sizes are in number of bytes.
.PP
Applying a \f[C]\-\-full\f[R] flag to the command prints the bytes in
full, e.g.
@@ -2091,10 +2137,13 @@ output, e.g.
\f[R]
.fi
.PP
-Not all backends support the \f[C]rclone about\f[R] command.
+Not all backends print all fields.
+Information is not included if it is not provided by a backend.
+Where the value is unlimited it is omitted.
.PP
-See List of backends that do not support
-about (https://rclone.org/overview/#optional-features)
+Some backends does not support the \f[C]rclone about\f[R] command at
+all, see complete list in
+documentation (https://rclone.org/overview/#optional-features).
.IP
.nf
\f[C]
@@ -2105,7 +2154,7 @@ rclone about remote: [flags]
.IP
.nf
\f[C]
- \-\-full Full numbers instead of SI units
+ \-\-full Full numbers instead of human\-readable
\-h, \-\-help help for about
\-\-json Format output as JSON
\f[R]
@@ -2208,8 +2257,8 @@ rclone backend <command> remote:path [opts] <args> [flags]
.nf
\f[C]
\-h, \-\-help help for backend
- \-\-json Always output in JSON format.
- \-o, \-\-option stringArray Option in the form name=value or name.
+ \-\-json Always output in JSON format
+ \-o, \-\-option stringArray Option in the form name=value or name
\f[R]
.fi
.PP
@@ -2266,12 +2315,12 @@ rclone cat remote:path [flags]
.IP
.nf
\f[C]
- \-\-count int Only print N characters. (default \-1)
- \-\-discard Discard the output instead of printing.
- \-\-head int Only print the first N characters.
+ \-\-count int Only print N characters (default \-1)
+ \-\-discard Discard the output instead of printing
+ \-\-head int Only print the first N characters
\-h, \-\-help help for cat
- \-\-offset int Start printing at offset N (or from end if \-ve).
- \-\-tail int Only print the last N characters.
+ \-\-offset int Start printing at offset N (or from end if \-ve)
+ \-\-tail int Only print the last N characters
\f[R]
.fi
.PP
@@ -2296,6 +2345,8 @@ from remote and calculate the contents hash on the fly.
This can be useful for remotes that don\[aq]t support hashes or if you
really want to check all the data.
.PP
+Note that hash values in the SUM file are treated as case insensitive.
+.PP
If you supply the \f[C]\-\-one\-way\f[R] flag, it will only check that
files in the source match the files in the destination, not the other
way around.
@@ -2341,7 +2392,7 @@ rclone checksum <hash> sumfile src:path [flags]
\f[C]
\-\-combined string Make a combined report of changes to this file
\-\-differ string Report all non\-matching files to this file
- \-\-download Check by hashing the contents.
+ \-\-download Check by hashing the contents
\-\-error string Report all files with errors (hashing or reading) to this file
\-h, \-\-help help for checksum
\-\-match string Report all matching files to this file
@@ -2357,6 +2408,191 @@ not listed here.
.IP \[bu] 2
rclone (https://rclone.org/commands/rclone/) \- Show help for rclone
commands, flags and backends.
+.SH rclone completion
+.PP
+generate the autocompletion script for the specified shell
+.SS Synopsis
+.PP
+Generate the autocompletion script for rclone for the specified shell.
+See each sub\-command\[aq]s help for details on how to use the generated
+script.
+.SS Options
+.IP
+.nf
+\f[C]
+ \-h, \-\-help help for completion
+\f[R]
+.fi
+.PP
+See the global flags page (https://rclone.org/flags/) for global options
+not listed here.
+.SS SEE ALSO
+.IP \[bu] 2
+rclone (https://rclone.org/commands/rclone/) \- Show help for rclone
+commands, flags and backends.
+.IP \[bu] 2
+rclone completion
+bash (https://rclone.org/commands/rclone_completion_bash/) \- generate
+the autocompletion script for bash
+.IP \[bu] 2
+rclone completion
+fish (https://rclone.org/commands/rclone_completion_fish/) \- generate
+the autocompletion script for fish
+.IP \[bu] 2
+rclone completion
+powershell (https://rclone.org/commands/rclone_completion_powershell/)
+\- generate the autocompletion script for powershell
+.IP \[bu] 2
+rclone completion
+zsh (https://rclone.org/commands/rclone_completion_zsh/) \- generate the
+autocompletion script for zsh
+.SH rclone completion bash
+.PP
+generate the autocompletion script for bash
+.SS Synopsis
+.PP
+Generate the autocompletion script for the bash shell.
+.PP
+This script depends on the \[aq]bash\-completion\[aq] package.
+If it is not installed already, you can install it via your OS\[aq]s
+package manager.
+.PP
+To load completions in your current shell session: $ source <(rclone
+completion bash)
+.PP
+To load completions for every new session, execute once: Linux: $ rclone
+completion bash > /etc/bash_completion.d/rclone MacOS: $ rclone
+completion bash > /usr/local/etc/bash_completion.d/rclone
+.PP
+You will need to start a new shell for this setup to take effect.
+.IP
+.nf
+\f[C]
+rclone completion bash
+\f[R]
+.fi
+.SS Options
+.IP
+.nf
+\f[C]
+ \-h, \-\-help help for bash
+ \-\-no\-descriptions disable completion descriptions
+\f[R]
+.fi
+.PP
+See the global flags page (https://rclone.org/flags/) for global options
+not listed here.
+.SS SEE ALSO
+.IP \[bu] 2
+rclone completion (https://rclone.org/commands/rclone_completion/) \-
+generate the autocompletion script for the specified shell
+.SH rclone completion fish
+.PP
+generate the autocompletion script for fish
+.SS Synopsis
+.PP
+Generate the autocompletion script for the fish shell.
+.PP
+To load completions in your current shell session: $ rclone completion
+fish | source
+.PP
+To load completions for every new session, execute once: $ rclone
+completion fish > \[ti]/.config/fish/completions/rclone.fish
+.PP
+You will need to start a new shell for this setup to take effect.
+.IP
+.nf
+\f[C]
+rclone completion fish [flags]
+\f[R]
+.fi
+.SS Options
+.IP
+.nf
+\f[C]
+ \-h, \-\-help help for fish
+ \-\-no\-descriptions disable completion descriptions
+\f[R]
+.fi
+.PP
+See the global flags page (https://rclone.org/flags/) for global options
+not listed here.
+.SS SEE ALSO
+.IP \[bu] 2
+rclone completion (https://rclone.org/commands/rclone_completion/) \-
+generate the autocompletion script for the specified shell
+.SH rclone completion powershell
+.PP
+generate the autocompletion script for powershell
+.SS Synopsis
+.PP
+Generate the autocompletion script for powershell.
+.PP
+To load completions in your current shell session: PS C:> rclone
+completion powershell | Out\-String | Invoke\-Expression
+.PP
+To load completions for every new session, add the output of the above
+command to your powershell profile.
+.IP
+.nf
+\f[C]
+rclone completion powershell [flags]
+\f[R]
+.fi
+.SS Options
+.IP
+.nf
+\f[C]
+ \-h, \-\-help help for powershell
+ \-\-no\-descriptions disable completion descriptions
+\f[R]
+.fi
+.PP
+See the global flags page (https://rclone.org/flags/) for global options
+not listed here.
+.SS SEE ALSO
+.IP \[bu] 2
+rclone completion (https://rclone.org/commands/rclone_completion/) \-
+generate the autocompletion script for the specified shell
+.SH rclone completion zsh
+.PP
+generate the autocompletion script for zsh
+.SS Synopsis
+.PP
+Generate the autocompletion script for the zsh shell.
+.PP
+If shell completion is not already enabled in your environment you will
+need to enable it.
+You can execute the following once:
+.PP
+$ echo \[dq]autoload \-U compinit; compinit\[dq] >> \[ti]/.zshrc
+.PP
+To load completions for every new session, execute once: # Linux: $
+rclone completion zsh > \[dq]${fpath[1]}/_rclone\[dq] # macOS: $ rclone
+completion zsh > /usr/local/share/zsh/site\-functions/_rclone
+.PP
+You will need to start a new shell for this setup to take effect.
+.IP
+.nf
+\f[C]
+rclone completion zsh [flags]
+\f[R]
+.fi
+.SS Options
+.IP
+.nf
+\f[C]
+ \-h, \-\-help help for zsh
+ \-\-no\-descriptions disable completion descriptions
+\f[R]
+.fi
+.PP
+See the global flags page (https://rclone.org/flags/) for global options
+not listed here.
+.SS SEE ALSO
+.IP \[bu] 2
+rclone completion (https://rclone.org/commands/rclone_completion/) \-
+generate the autocompletion script for the specified shell
.SH rclone config create
.PP
Create a new remote with name, type and options.
@@ -2499,21 +2735,21 @@ protocol as a readable demonstration.
.IP
.nf
\f[C]
-rclone config create \[ga]name\[ga] \[ga]type\[ga] [\[ga]key\[ga] \[ga]value\[ga]]* [flags]
+rclone config create name type [key value]* [flags]
\f[R]
.fi
.SS Options
.IP
.nf
\f[C]
- \-\-all Ask the full set of config questions.
- \-\-continue Continue the configuration process with an answer.
+ \-\-all Ask the full set of config questions
+ \-\-continue Continue the configuration process with an answer
\-h, \-\-help help for create
- \-\-no\-obscure Force any passwords not to be obscured.
- \-\-non\-interactive Don\[aq]t interact with user and return questions.
- \-\-obscure Force any passwords to be obscured.
- \-\-result string Result \- use with \-\-continue.
- \-\-state string State \- use with \-\-continue.
+ \-\-no\-obscure Force any passwords not to be obscured
+ \-\-non\-interactive Don\[aq]t interact with user and return questions
+ \-\-obscure Force any passwords to be obscured
+ \-\-result string Result \- use with \-\-continue
+ \-\-state string State \- use with \-\-continue
\f[R]
.fi
.PP
@@ -2525,11 +2761,11 @@ rclone config (https://rclone.org/commands/rclone_config/) \- Enter an
interactive configuration session.
.SH rclone config delete
.PP
-Delete an existing remote \f[C]name\f[R].
+Delete an existing remote.
.IP
.nf
\f[C]
-rclone config delete \[ga]name\[ga] [flags]
+rclone config delete name [flags]
\f[R]
.fi
.SS Options
@@ -2674,7 +2910,7 @@ This command is obsolete now that \[dq]config update\[dq] and
.IP
.nf
\f[C]
-rclone config password \[ga]name\[ga] [\[ga]key\[ga] \[ga]value\[ga]]+ [flags]
+rclone config password name [key value]+ [flags]
\f[R]
.fi
.SS Options
@@ -2691,6 +2927,29 @@ not listed here.
.IP \[bu] 2
rclone config (https://rclone.org/commands/rclone_config/) \- Enter an
interactive configuration session.
+.SH rclone config paths
+.PP
+Show paths used for configuration, cache, temp etc.
+.IP
+.nf
+\f[C]
+rclone config paths [flags]
+\f[R]
+.fi
+.SS Options
+.IP
+.nf
+\f[C]
+ \-h, \-\-help help for paths
+\f[R]
+.fi
+.PP
+See the global flags page (https://rclone.org/flags/) for global options
+not listed here.
+.SS SEE ALSO
+.IP \[bu] 2
+rclone config (https://rclone.org/commands/rclone_config/) \- Enter an
+interactive configuration session.
.SH rclone config providers
.PP
List in JSON format all the providers and options.
@@ -2932,21 +3191,21 @@ protocol as a readable demonstration.
.IP
.nf
\f[C]
-rclone config update \[ga]name\[ga] [\[ga]key\[ga] \[ga]value\[ga]]+ [flags]
+rclone config update name [key value]+ [flags]
\f[R]
.fi
.SS Options
.IP
.nf
\f[C]
- \-\-all Ask the full set of config questions.
- \-\-continue Continue the configuration process with an answer.
+ \-\-all Ask the full set of config questions
+ \-\-continue Continue the configuration process with an answer
\-h, \-\-help help for update
- \-\-no\-obscure Force any passwords not to be obscured.
- \-\-non\-interactive Don\[aq]t interact with user and return questions.
- \-\-obscure Force any passwords to be obscured.
- \-\-result string Result \- use with \-\-continue.
- \-\-state string State \- use with \-\-continue.
+ \-\-no\-obscure Force any passwords not to be obscured
+ \-\-non\-interactive Don\[aq]t interact with user and return questions
+ \-\-obscure Force any passwords to be obscured
+ \-\-result string Result \- use with \-\-continue
+ \-\-state string State \- use with \-\-continue
\f[R]
.fi
.PP
@@ -2986,7 +3245,7 @@ rclone config (https://rclone.org/commands/rclone_config/) \- Enter an
interactive configuration session.
.SH rclone copyto
.PP
-Copy files from source to dest, skipping already copied.
+Copy files from source to dest, skipping identical files.
.SS Synopsis
.PP
If source:path is a file or directory then it copies it to a file or
@@ -3019,8 +3278,8 @@ if src is directory
\f[R]
.fi
.PP
-This doesn\[aq]t transfer unchanged files, testing by size and
-modification time or MD5SUM.
+This doesn\[aq]t transfer files that are identical on src and dst,
+testing by size and modification time or MD5SUM.
It doesn\[aq]t delete files from the destination.
.PP
\f[B]Note\f[R]: Use the \f[C]\-P\f[R]/\f[C]\-\-progress\f[R] flag to
@@ -3494,6 +3753,7 @@ Supported hashes are:
* sha1
* whirlpool
* crc32
+ * sha256
* dropbox
* mailru
* quickxor
@@ -3508,7 +3768,8 @@ $ rclone hashsum MD5 remote:path
\f[R]
.fi
.PP
-Note that hash names are case insensitive.
+Note that hash names are case insensitive and values are output in lower
+case.
.IP
.nf
\f[C]
@@ -3605,7 +3866,7 @@ rclone listremotes [flags]
.nf
\f[C]
\-h, \-\-help help for listremotes
- \-\-long Show the type as well as names.
+ \-\-long Show the type as well as names
\f[R]
.fi
.PP
@@ -3787,16 +4048,16 @@ rclone lsf remote:path [flags]
.IP
.nf
\f[C]
- \-\-absolute Put a leading / in front of path names.
- \-\-csv Output in CSV format.
- \-d, \-\-dir\-slash Append a slash to directory names. (default true)
- \-\-dirs\-only Only list directories.
- \-\-files\-only Only list files.
+ \-\-absolute Put a leading / in front of path names
+ \-\-csv Output in CSV format
+ \-d, \-\-dir\-slash Append a slash to directory names (default true)
+ \-\-dirs\-only Only list directories
+ \-\-files\-only Only list files
\-F, \-\-format string Output format \- see help for details (default \[dq]p\[dq])
\-\-hash h Use this hash when h is used in the format MD5|SHA\-1|DropboxHash (default \[dq]md5\[dq])
\-h, \-\-help help for lsf
- \-R, \-\-recursive Recurse into the listing.
- \-s, \-\-separator string Separator for the items in the format. (default \[dq];\[dq])
+ \-R, \-\-recursive Recurse into the listing
+ \-s, \-\-separator string Separator for the items in the format (default \[dq];\[dq])
\f[R]
.fi
.PP
@@ -3852,6 +4113,14 @@ returned
If \-\-files\-only is not specified directories in addition to the files
will be returned.
.PP
+if \-\-stat is set then a single JSON blob will be returned about the
+item pointed to.
+This will return an error if the item isn\[aq]t found.
+However on bucket based backends (like s3, gcs, b2, azureblob etc) if
+the item isn\[aq]t found it will return an empty directory as it
+isn\[aq]t possible to tell empty directories from missing directories
+there.
+.PP
The Path field will only show folders below the remote path being
listed.
If \[dq]remote:path\[dq] contains the file \[dq]subfolder/file.txt\[dq],
@@ -3914,16 +4183,17 @@ rclone lsjson remote:path [flags]
.IP
.nf
\f[C]
- \-\-dirs\-only Show only directories in the listing.
- \-M, \-\-encrypted Show the encrypted names.
- \-\-files\-only Show only files in the listing.
- \-\-hash Include hashes in the output (may take longer).
- \-\-hash\-type stringArray Show only this hash type (may be repeated).
+ \-\-dirs\-only Show only directories in the listing
+ \-M, \-\-encrypted Show the encrypted names
+ \-\-files\-only Show only files in the listing
+ \-\-hash Include hashes in the output (may take longer)
+ \-\-hash\-type stringArray Show only this hash type (may be repeated)
\-h, \-\-help help for lsjson
- \-\-no\-mimetype Don\[aq]t read the mime type (can speed things up).
- \-\-no\-modtime Don\[aq]t read the modification time (can speed things up).
- \-\-original Show the ID of the underlying Object.
- \-R, \-\-recursive Recurse into the listing.
+ \-\-no\-mimetype Don\[aq]t read the mime type (can speed things up)
+ \-\-no\-modtime Don\[aq]t read the modification time (can speed things up)
+ \-\-original Show the ID of the underlying Object
+ \-R, \-\-recursive Recurse into the listing
+ \-\-stat Just return the info for the pointed to file
\f[R]
.fi
.PP
@@ -3944,11 +4214,16 @@ Rclone\[aq]s cloud storage systems as a file system with FUSE.
First set up your remote using \f[C]rclone config\f[R].
Check it works with \f[C]rclone ls\f[R] etc.
.PP
-On Linux and OSX, you can either run mount in foreground mode or
-background (daemon) mode.
-Mount runs in foreground mode by default, use the \f[C]\-\-daemon\f[R]
-flag to specify background mode.
-You can only run mount in foreground mode on Windows.
+On Linux and macOS, you can run mount in either foreground or background
+(aka daemon) mode.
+Mount runs in foreground mode by default.
+Use the \f[C]\-\-daemon\f[R] flag to force background mode.
+On Windows you can run mount in foreground only, the flag is ignored.
+.PP
+In background mode rclone acts as a generic Unix mount program: the main
+program starts, spawns background rclone process to setup and maintain
+the mount, waits until success or timeout and exits with appropriate
+code (killing the child process if it fails).
.PP
On Linux/macOS/FreeBSD start the mount like this, where
\f[C]/path/to/local/mount\f[R] is an \f[B]empty\f[R] \f[B]existing\f[R]
@@ -3962,6 +4237,11 @@ rclone mount remote:path/to/files /path/to/local/mount
.PP
On Windows you can start a mount in different ways.
See below for details.
+If foreground mount is used interactively from a console window, rclone
+will serve the mount and occupy the console so another window should be
+used to work with the mount until rclone is interrupted e.g.
+by pressing Ctrl\-C.
+.PP
The following examples will mount to an automatically assigned drive, to
specific drive letter \f[C]X:\f[R], to path
\f[C]C:\[rs]path\[rs]parent\[rs]mount\f[R] (where parent directory or
@@ -4007,10 +4287,6 @@ additional 1 PiB of free space is assumed.
If the remote does not
support (https://rclone.org/overview/#optional-features) the about
feature at all, then 1 PiB is set as both the total and the free size.
-.PP
-\f[B]Note\f[R]: As of \f[C]rclone\f[R] 1.52.2, \f[C]rclone mount\f[R]
-now requires Go version 1.13 or newer on some platforms depending on the
-underlying FUSE library in use.
.SS Installing on Windows
.PP
To run rclone mount on Windows, you will need to download and install
@@ -4147,13 +4423,21 @@ the built\-in group \[dq]Everyone\[dq] will be used to represent others.
The user/group can be customized with FUSE options \[dq]UserName\[dq]
and \[dq]GroupName\[dq], e.g.
\f[C]\-o UserName=user123 \-o GroupName=\[dq]Authenticated Users\[dq]\f[R].
-.PP
The permissions on each entry will be set according to options
\f[C]\-\-dir\-perms\f[R] and \f[C]\-\-file\-perms\f[R], which takes a
value in traditional numeric
-notation (https://en.wikipedia.org/wiki/File-system_permissions#Numeric_notation),
-where the default corresponds to
-\f[C]\-\-file\-perms 0666 \-\-dir\-perms 0777\f[R].
+notation (https://en.wikipedia.org/wiki/File-system_permissions#Numeric_notation).
+.PP
+The default permissions corresponds to
+\f[C]\-\-file\-perms 0666 \-\-dir\-perms 0777\f[R], i.e.
+read and write permissions to everyone.
+This means you will not be able to start any programs from the the
+mount.
+To be able to do that you must add execute permissions, e.g.
+\f[C]\-\-file\-perms 0777 \-\-dir\-perms 0777\f[R] to add it to
+everyone.
+If the program needs to write files, chances are you will have to enable
+VFS File Caching as well (see also limitations).
.PP
Note that the mapping of permissions is not always trivial, and the
result you see in Windows Explorer may not be exactly like you expected.
@@ -4240,6 +4524,16 @@ Swift, S3, Google Compute Storage, B2, Hubic) do not support the concept
of empty directories, so empty directories will have a tendency to
disappear once they fall out of the directory cache.
.PP
+When \f[C]rclone mount\f[R] is invoked on Unix with \f[C]\-\-daemon\f[R]
+flag, the main rclone program will wait for the background mount to
+become ready or until the timeout specified by the
+\f[C]\-\-daemon\-wait\f[R] flag.
+On Linux it can check mount status using ProcFS so the flag in fact sets
+\f[B]maximum\f[R] time to wait, while the real wait can be less.
+On macOS / BSD the time to wait is constant and the check is performed
+only at the end.
+We advise you to set wait time on macOS reasonably.
+.PP
Only supported on Linux, FreeBSD, OS X and Windows at the moment.
.SS rclone mount vs rclone sync/copy
.PP
@@ -4299,27 +4593,113 @@ In this case the service will enter the started state after the
mountpoint has been successfully set up.
Units having the rclone mount service specified as a requirement will
see all files and folders immediately in this mode.
-.SS chunked reading
.PP
-\f[C]\-\-vfs\-read\-chunk\-size\f[R] will enable reading the source
-objects in parts.
-This can reduce the used download quota for some remotes by requesting
-only chunks from the remote that are actually read at the cost of an
-increased number of requests.
+Note that systemd runs mount units without any environment variables
+including \f[C]PATH\f[R] or \f[C]HOME\f[R].
+This means that tilde (\f[C]\[ti]\f[R]) expansion will not work and you
+should provide \f[C]\-\-config\f[R] and \f[C]\-\-cache\-dir\f[R]
+explicitly as absolute paths via rclone arguments.
+Since mounting requires the \f[C]fusermount\f[R] program, rclone will
+use the fallback PATH of \f[C]/bin:/usr/bin\f[R] in this scenario.
+Please ensure that \f[C]fusermount\f[R] is present on this PATH.
+.SS Rclone as Unix mount helper
+.PP
+The core Unix program \f[C]/bin/mount\f[R] normally takes the
+\f[C]\-t FSTYPE\f[R] argument then runs the \f[C]/sbin/mount.FSTYPE\f[R]
+helper program passing it mount options as \f[C]\-o key=val,...\f[R] or
+\f[C]\-\-opt=...\f[R].
+Automount (classic or systemd) behaves in a similar way.
+.PP
+rclone by default expects GNU\-style flags \f[C]\-\-key val\f[R].
+To run it as a mount helper you should symlink rclone binary to
+\f[C]/sbin/mount.rclone\f[R] and optionally \f[C]/usr/bin/rclonefs\f[R],
+e.g.
+\f[C]ln \-s /usr/bin/rclone /sbin/mount.rclone\f[R].
+rclone will detect it and translate command\-line arguments
+appropriately.
.PP
-When \f[C]\-\-vfs\-read\-chunk\-size\-limit\f[R] is also specified and
-greater than \f[C]\-\-vfs\-read\-chunk\-size\f[R], the chunk size for
-each open file will get doubled for each chunk read, until the specified
-value is reached.
-A value of \f[C]\-1\f[R] will disable the limit and the chunk size will
-grow indefinitely.
+Now you can run classic mounts like this:
+.IP
+.nf
+\f[C]
+mount sftp1:subdir /mnt/data \-t rclone \-o vfs_cache_mode=writes,sftp_key_file=/path/to/pem
+\f[R]
+.fi
.PP
-With \f[C]\-\-vfs\-read\-chunk\-size 100M\f[R] and
-\f[C]\-\-vfs\-read\-chunk\-size\-limit 0\f[R] the following parts will
-be downloaded: 0\-100M, 100M\-200M, 200M\-300M, 300M\-400M and so on.
-When \f[C]\-\-vfs\-read\-chunk\-size\-limit 500M\f[R] is specified, the
-result would be 0\-100M, 100M\-300M, 300M\-700M, 700M\-1200M,
-1200M\-1700M and so on.
+or create systemd mount units:
+.IP
+.nf
+\f[C]
+# /etc/systemd/system/mnt\-data.mount
+[Unit]
+After=network\-online.target
+[Mount]
+Type=rclone
+What=sftp1:subdir
+Where=/mnt/data
+Options=rw,allow_other,args2env,vfs\-cache\-mode=writes,config=/etc/rclone.conf,cache\-dir=/var/rclone
+\f[R]
+.fi
+.PP
+optionally accompanied by systemd automount unit
+.IP
+.nf
+\f[C]
+# /etc/systemd/system/mnt\-data.automount
+[Unit]
+After=network\-online.target
+Before=remote\-fs.target
+[Automount]
+Where=/mnt/data
+TimeoutIdleSec=600
+[Install]
+WantedBy=multi\-user.target
+\f[R]
+.fi
+.PP
+or add in \f[C]/etc/fstab\f[R] a line like
+.IP
+.nf
+\f[C]
+sftp1:subdir /mnt/data rclone rw,noauto,nofail,_netdev,x\-systemd.automount,args2env,vfs_cache_mode=writes,config=/etc/rclone.conf,cache_dir=/var/cache/rclone 0 0
+\f[R]
+.fi
+.PP
+or use classic Automountd.
+Remember to provide explicit \f[C]config=...,cache\-dir=...\f[R] as a
+workaround for mount units being run without \f[C]HOME\f[R].
+.PP
+Rclone in the mount helper mode will split \f[C]\-o\f[R] argument(s) by
+comma, replace \f[C]_\f[R] by \f[C]\-\f[R] and prepend \f[C]\-\-\f[R] to
+get the command\-line flags.
+Options containing commas or spaces can be wrapped in single or double
+quotes.
+Any inner quotes inside outer quotes of the same type should be doubled.
+.PP
+Mount option syntax includes a few extra options treated specially:
+.IP \[bu] 2
+\f[C]env.NAME=VALUE\f[R] will set an environment variable for the mount
+process.
+This helps with Automountd and Systemd.mount which don\[aq]t allow
+setting custom environment for mount helpers.
+Typically you will use \f[C]env.HTTPS_PROXY=proxy.host:3128\f[R] or
+\f[C]env.HOME=/root\f[R]
+.IP \[bu] 2
+\f[C]command=cmount\f[R] can be used to run \f[C]cmount\f[R] or any
+other rclone command rather than the default \f[C]mount\f[R].
+.IP \[bu] 2
+\f[C]args2env\f[R] will pass mount options to the mount helper running
+in background via environment variables instead of command line
+arguments.
+This allows to hide secrets from such commands as \f[C]ps\f[R] or
+\f[C]pgrep\f[R].
+.IP \[bu] 2
+\f[C]vv...\f[R] will be transformed into appropriate
+\f[C]\-\-verbose=N\f[R]
+.IP \[bu] 2
+standard mount options like \f[C]x\-systemd.automount\f[R],
+\f[C]_netdev\f[R], \f[C]nosuid\f[R] and alike are intended only for
+Automountd and ignored by rclone.
.SS VFS \- Virtual File System
.PP
This command uses the VFS layer.
@@ -4344,8 +4724,8 @@ cache.
.IP
.nf
\f[C]
-\-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
-\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+\-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
+\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
\f[R]
.fi
.PP
@@ -4417,10 +4797,10 @@ find that you need one or the other or both.
\f[C]
\-\-cache\-dir string Directory rclone will use for caching.
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
-\-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
-\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
-\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
-\-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
+\-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
+\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+\-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
\f[R]
.fi
.PP
@@ -4436,7 +4816,8 @@ The higher the cache mode the more compatible rclone becomes at the cost
of using disk space.
.PP
Note that files are written back to the remote only when they are closed
-and if they haven\[aq]t been accessed for \-\-vfs\-write\-back second.
+and if they haven\[aq]t been accessed for \f[C]\-\-vfs\-write\-back\f[R]
+seconds.
If rclone is quit or dies with files that haven\[aq]t been uploaded,
these will be uploaded next time rclone is run with the same flags.
.PP
@@ -4514,28 +4895,68 @@ will be sparse files with only the data that has been downloaded present
in them.
.PP
This mode should support all normal file system operations and is
-otherwise identical to \-\-vfs\-cache\-mode writes.
+otherwise identical to \f[C]\-\-vfs\-cache\-mode\f[R] writes.
.PP
-When reading a file rclone will read \-\-buffer\-size plus
-\-\-vfs\-read\-ahead bytes ahead.
-The \-\-buffer\-size is buffered in memory whereas the
-\-\-vfs\-read\-ahead is buffered on disk.
+When reading a file rclone will read \f[C]\-\-buffer\-size\f[R] plus
+\f[C]\-\-vfs\-read\-ahead\f[R] bytes ahead.
+The \f[C]\-\-buffer\-size\f[R] is buffered in memory whereas the
+\f[C]\-\-vfs\-read\-ahead\f[R] is buffered on disk.
.PP
-When using this mode it is recommended that \-\-buffer\-size is not set
-too big and \-\-vfs\-read\-ahead is set large if required.
+When using this mode it is recommended that \f[C]\-\-buffer\-size\f[R]
+is not set too large and \f[C]\-\-vfs\-read\-ahead\f[R] is set large if
+required.
.PP
\f[B]IMPORTANT\f[R] not all file systems support sparse files.
In particular FAT/exFAT do not.
Rclone will perform very badly if the cache directory is on a filesystem
which doesn\[aq]t support sparse files and it will log an ERROR message
if one is detected.
+.SS VFS Chunked Reading
+.PP
+When rclone reads files from a remote it reads them in chunks.
+This means that rather than requesting the whole file rclone reads the
+chunk specified.
+This can reduce the used download quota for some remotes by requesting
+only chunks from the remote that are actually read, at the cost of an
+increased number of requests.
+.PP
+These flags control the chunking:
+.IP
+.nf
+\f[C]
+\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128M)
+\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default off)
+\f[R]
+.fi
+.PP
+Rclone will start reading a chunk of size
+\f[C]\-\-vfs\-read\-chunk\-size\f[R], and then double the size for each
+read.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit\f[R] is specified, and
+greater than \f[C]\-\-vfs\-read\-chunk\-size\f[R], the chunk size for
+each open file will get doubled only until the specified value is
+reached.
+If the value is \[dq]off\[dq], which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+.PP
+With \f[C]\-\-vfs\-read\-chunk\-size 100M\f[R] and
+\f[C]\-\-vfs\-read\-chunk\-size\-limit 0\f[R] the following parts will
+be downloaded: 0\-100M, 100M\-200M, 200M\-300M, 300M\-400M and so on.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit 500M\f[R] is specified, the
+result would be 0\-100M, 100M\-300M, 300M\-700M, 700M\-1200M,
+1200M\-1700M and so on.
+.PP
+Setting \f[C]\-\-vfs\-read\-chunk\-size\f[R] to \f[C]0\f[R] or
+\[dq]off\[dq] disables chunked reading.
.SS VFS Performance
.PP
These flags may be used to enable/disable features of the VFS for
performance or other reasons.
+See also the chunked reading feature.
.PP
-In particular S3 and Swift benefit hugely from the \-\-no\-modtime flag
-(or use \-\-use\-server\-modtime for a slightly different effect) as
+In particular S3 and Swift benefit hugely from the
+\f[C]\-\-no\-modtime\f[R] flag (or use
+\f[C]\-\-use\-server\-modtime\f[R] for a slightly different effect) as
each read of the modification time takes a transaction.
.IP
.nf
@@ -4547,24 +4968,6 @@ each read of the modification time takes a transaction.
\f[R]
.fi
.PP
-When rclone reads files from a remote it reads them in chunks.
-This means that rather than requesting the whole file rclone reads the
-chunk specified.
-This is advantageous because some cloud providers account for reads
-being all the data requested, not all the data delivered.
-.PP
-Rclone will keep doubling the chunk size requested starting at
-\-\-vfs\-read\-chunk\-size with a maximum of
-\-\-vfs\-read\-chunk\-size\-limit unless it is set to \[dq]off\[dq] in
-which case there will be no limit.
-.IP
-.nf
-\f[C]
-\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128M)
-\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default \[dq]off\[dq])
-\f[R]
-.fi
-.PP
Sometimes rclone is delivered reads or writes out of order.
Rather than seeking rclone will wait a short time for the in sequence
read or write to come in.
@@ -4572,19 +4975,19 @@ These flags only come into effect when not using an on disk cache file.
.IP
.nf
\f[C]
-\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
-\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
-When using VFS write caching (\-\-vfs\-cache\-mode with value writes or
-full), the global flag \-\-transfers can be set to adjust the number of
-parallel uploads of modified files from cache (the related global flag
-\-\-checkers have no effect on mount).
+When using VFS write caching (\f[C]\-\-vfs\-cache\-mode\f[R] with value
+writes or full), the global flag \f[C]\-\-transfers\f[R] can be set to
+adjust the number of parallel uploads of modified files from cache (the
+related global flag \f[C]\-\-checkers\f[R] have no effect on mount).
.IP
.nf
\f[C]
-\-\-transfers int Number of file transfers to run in parallel. (default 4)
+\-\-transfers int Number of file transfers to run in parallel (default 4)
\f[R]
.fi
.SS VFS Case Sensitivity
@@ -4601,7 +5004,7 @@ case.
.PP
Usually file systems on macOS are case\-insensitive.
It is possible to make macOS file systems case\-sensitive but that is
-not the default
+not the default.
.PP
The \f[C]\-\-vfs\-case\-insensitive\f[R] mount flag controls how rclone
handles these two cases.
@@ -4656,47 +5059,48 @@ rclone mount remote:path /path/to/mountpoint [flags]
.IP
.nf
\f[C]
- \-\-allow\-non\-empty Allow mounting over a non\-empty directory. Not supported on Windows.
- \-\-allow\-other Allow access to other users. Not supported on Windows.
- \-\-allow\-root Allow access to root user. Not supported on Windows.
- \-\-async\-read Use asynchronous reads. Not supported on Windows. (default true)
- \-\-attr\-timeout duration Time for which file/directory attributes are cached. (default 1s)
- \-\-daemon Run mount as a daemon (background mode). Not supported on Windows.
- \-\-daemon\-timeout duration Time limit for rclone to respond to kernel. Not supported on Windows.
- \-\-debug\-fuse Debug the FUSE internals \- needs \-v.
- \-\-default\-permissions Makes kernel enforce access control based on the file mode. Not supported on Windows.
- \-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
+ \-\-allow\-non\-empty Allow mounting over a non\-empty directory (not supported on Windows)
+ \-\-allow\-other Allow access to other users (not supported on Windows)
+ \-\-allow\-root Allow access to root user (not supported on Windows)
+ \-\-async\-read Use asynchronous reads (not supported on Windows) (default true)
+ \-\-attr\-timeout duration Time for which file/directory attributes are cached (default 1s)
+ \-\-daemon Run mount in background and exit parent process (as background output is suppressed, use \-\-log\-file with \-\-log\-format=pid,... to monitor) (not supported on Windows)
+ \-\-daemon\-timeout duration Time limit for rclone to respond to kernel (not supported on Windows)
+ \-\-daemon\-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD) (not supported on Windows) (default 1m0s)
+ \-\-debug\-fuse Debug the FUSE internals \- needs \-v
+ \-\-default\-permissions Makes kernel enforce access control based on the file mode (not supported on Windows)
+ \-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
\-\-dir\-perms FileMode Directory permissions (default 0777)
\-\-file\-perms FileMode File permissions (default 0666)
- \-\-fuse\-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp. Repeat if required.
- \-\-gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ \-\-fuse\-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp (repeat if required)
+ \-\-gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
\-h, \-\-help help for mount
- \-\-max\-read\-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads. Not supported on Windows. (default 128Ki)
- \-\-network\-mode Mount as remote network drive, instead of fixed disk drive. Supported on Windows only
- \-\-no\-checksum Don\[aq]t compare checksums on up/download.
- \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up).
- \-\-no\-seek Don\[aq]t allow seeking in files.
- \-\-noappledouble Ignore Apple Double (._) and .DS_Store files. Supported on OSX only. (default true)
- \-\-noapplexattr Ignore all \[dq]com.apple.*\[dq] extended attributes. Supported on OSX only.
- \-o, \-\-option stringArray Option for libfuse/WinFsp. Repeat if required.
- \-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- \-\-read\-only Mount read\-only.
- \-\-uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- \-\-umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- \-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
- \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
+ \-\-max\-read\-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads (not supported on Windows) (default 128Ki)
+ \-\-network\-mode Mount as remote network drive, instead of fixed disk drive (supported on Windows only)
+ \-\-no\-checksum Don\[aq]t compare checksums on up/download
+ \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up)
+ \-\-no\-seek Don\[aq]t allow seeking in files
+ \-\-noappledouble Ignore Apple Double (._) and .DS_Store files (supported on OSX only) (default true)
+ \-\-noapplexattr Ignore all \[dq]com.apple.*\[dq] extended attributes (supported on OSX only)
+ \-o, \-\-option stringArray Option for libfuse/WinFsp (repeat if required)
+ \-\-poll\-interval duration Time to wait between polling for changes, must be smaller than dir\-cache\-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ \-\-read\-only Mount read\-only
+ \-\-uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ \-\-umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ \-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+ \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
- \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match.
- \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full.
- \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached. \[aq]off\[aq] is unlimited. (default off)
- \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
- \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size.
- \-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
- \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
- \-\-volname string Set the volume name. Supported on Windows and OSX only.
- \-\-write\-back\-cache Makes kernel buffer writes before sending them to rclone. Without this, writethrough caching is used. Not supported on Windows.
+ \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match
+ \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full
+ \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached (\[aq]off\[aq] is unlimited) (default off)
+ \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+ \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size
+ \-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
+ \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
+ \-\-volname string Set the volume name (supported on Windows and OSX only)
+ \-\-write\-back\-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on Windows)
\f[R]
.fi
.PP
@@ -4741,8 +5145,8 @@ if src is directory
\f[R]
.fi
.PP
-This doesn\[aq]t transfer unchanged files, testing by size and
-modification time or MD5SUM.
+This doesn\[aq]t transfer files that are identical on src and dst,
+testing by size and modification time or MD5SUM.
src will be deleted on successful transfer.
.PP
\f[B]Important\f[R]: Since this can cause data loss, test first with the
@@ -4796,6 +5200,7 @@ Here are the keys \- press \[aq]?\[aq] to toggle the help on and off
c toggle counts
g toggle graph
a toggle average size in directory
+ u toggle human\-readable format
n,s,C,A sort by name,size,count,average size
d delete file/directory
y copy current path to clipboard
@@ -4968,15 +5373,15 @@ rclone rc commands parameter [flags]
.IP
.nf
\f[C]
- \-a, \-\-arg stringArray Argument placed in the \[dq]arg\[dq] array.
+ \-a, \-\-arg stringArray Argument placed in the \[dq]arg\[dq] array
\-h, \-\-help help for rc
- \-\-json string Input JSON \- use instead of key=value args.
- \-\-loopback If set connect to this rclone instance not via HTTP.
- \-\-no\-output If set, don\[aq]t output the JSON result.
- \-o, \-\-opt stringArray Option in the form name=value or name placed in the \[dq]opt\[dq] array.
- \-\-pass string Password to use to connect to rclone remote control.
- \-\-url string URL to connect to rclone remote control. (default \[dq]http://localhost:5572/\[dq])
- \-\-user string Username to use to rclone remote control.
+ \-\-json string Input JSON \- use instead of key=value args
+ \-\-loopback If set connect to this rclone instance not via HTTP
+ \-\-no\-output If set, don\[aq]t output the JSON result
+ \-o, \-\-opt stringArray Option in the form name=value or name placed in the \[dq]opt\[dq] array
+ \-\-pass string Password to use to connect to rclone remote control
+ \-\-url string URL to connect to rclone remote control (default \[dq]http://localhost:5572/\[dq])
+ \-\-user string Username to use to rclone remote control
\f[R]
.fi
.PP
@@ -5204,8 +5609,8 @@ rclone selfupdate [flags]
.IP
.nf
\f[C]
- \-\-beta Install beta release.
- \-\-check Check for latest release, do not download.
+ \-\-beta Install beta release
+ \-\-check Check for latest release, do not download
\-h, \-\-help help for selfupdate
\-\-output string Save the downloaded binary at a given path (default: replace running binary)
\-\-package string Package format: zip|deb|rpm (default: zip)
@@ -5331,8 +5736,8 @@ cache.
.IP
.nf
\f[C]
-\-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
-\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+\-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
+\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
\f[R]
.fi
.PP
@@ -5404,10 +5809,10 @@ find that you need one or the other or both.
\f[C]
\-\-cache\-dir string Directory rclone will use for caching.
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
-\-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
-\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
-\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
-\-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
+\-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
+\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+\-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
\f[R]
.fi
.PP
@@ -5423,7 +5828,8 @@ The higher the cache mode the more compatible rclone becomes at the cost
of using disk space.
.PP
Note that files are written back to the remote only when they are closed
-and if they haven\[aq]t been accessed for \-\-vfs\-write\-back second.
+and if they haven\[aq]t been accessed for \f[C]\-\-vfs\-write\-back\f[R]
+seconds.
If rclone is quit or dies with files that haven\[aq]t been uploaded,
these will be uploaded next time rclone is run with the same flags.
.PP
@@ -5501,28 +5907,68 @@ will be sparse files with only the data that has been downloaded present
in them.
.PP
This mode should support all normal file system operations and is
-otherwise identical to \-\-vfs\-cache\-mode writes.
+otherwise identical to \f[C]\-\-vfs\-cache\-mode\f[R] writes.
.PP
-When reading a file rclone will read \-\-buffer\-size plus
-\-\-vfs\-read\-ahead bytes ahead.
-The \-\-buffer\-size is buffered in memory whereas the
-\-\-vfs\-read\-ahead is buffered on disk.
+When reading a file rclone will read \f[C]\-\-buffer\-size\f[R] plus
+\f[C]\-\-vfs\-read\-ahead\f[R] bytes ahead.
+The \f[C]\-\-buffer\-size\f[R] is buffered in memory whereas the
+\f[C]\-\-vfs\-read\-ahead\f[R] is buffered on disk.
.PP
-When using this mode it is recommended that \-\-buffer\-size is not set
-too big and \-\-vfs\-read\-ahead is set large if required.
+When using this mode it is recommended that \f[C]\-\-buffer\-size\f[R]
+is not set too large and \f[C]\-\-vfs\-read\-ahead\f[R] is set large if
+required.
.PP
\f[B]IMPORTANT\f[R] not all file systems support sparse files.
In particular FAT/exFAT do not.
Rclone will perform very badly if the cache directory is on a filesystem
which doesn\[aq]t support sparse files and it will log an ERROR message
if one is detected.
+.SS VFS Chunked Reading
+.PP
+When rclone reads files from a remote it reads them in chunks.
+This means that rather than requesting the whole file rclone reads the
+chunk specified.
+This can reduce the used download quota for some remotes by requesting
+only chunks from the remote that are actually read, at the cost of an
+increased number of requests.
+.PP
+These flags control the chunking:
+.IP
+.nf
+\f[C]
+\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128M)
+\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default off)
+\f[R]
+.fi
+.PP
+Rclone will start reading a chunk of size
+\f[C]\-\-vfs\-read\-chunk\-size\f[R], and then double the size for each
+read.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit\f[R] is specified, and
+greater than \f[C]\-\-vfs\-read\-chunk\-size\f[R], the chunk size for
+each open file will get doubled only until the specified value is
+reached.
+If the value is \[dq]off\[dq], which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+.PP
+With \f[C]\-\-vfs\-read\-chunk\-size 100M\f[R] and
+\f[C]\-\-vfs\-read\-chunk\-size\-limit 0\f[R] the following parts will
+be downloaded: 0\-100M, 100M\-200M, 200M\-300M, 300M\-400M and so on.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit 500M\f[R] is specified, the
+result would be 0\-100M, 100M\-300M, 300M\-700M, 700M\-1200M,
+1200M\-1700M and so on.
+.PP
+Setting \f[C]\-\-vfs\-read\-chunk\-size\f[R] to \f[C]0\f[R] or
+\[dq]off\[dq] disables chunked reading.
.SS VFS Performance
.PP
These flags may be used to enable/disable features of the VFS for
performance or other reasons.
+See also the chunked reading feature.
.PP
-In particular S3 and Swift benefit hugely from the \-\-no\-modtime flag
-(or use \-\-use\-server\-modtime for a slightly different effect) as
+In particular S3 and Swift benefit hugely from the
+\f[C]\-\-no\-modtime\f[R] flag (or use
+\f[C]\-\-use\-server\-modtime\f[R] for a slightly different effect) as
each read of the modification time takes a transaction.
.IP
.nf
@@ -5534,24 +5980,6 @@ each read of the modification time takes a transaction.
\f[R]
.fi
.PP
-When rclone reads files from a remote it reads them in chunks.
-This means that rather than requesting the whole file rclone reads the
-chunk specified.
-This is advantageous because some cloud providers account for reads
-being all the data requested, not all the data delivered.
-.PP
-Rclone will keep doubling the chunk size requested starting at
-\-\-vfs\-read\-chunk\-size with a maximum of
-\-\-vfs\-read\-chunk\-size\-limit unless it is set to \[dq]off\[dq] in
-which case there will be no limit.
-.IP
-.nf
-\f[C]
-\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128M)
-\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default \[dq]off\[dq])
-\f[R]
-.fi
-.PP
Sometimes rclone is delivered reads or writes out of order.
Rather than seeking rclone will wait a short time for the in sequence
read or write to come in.
@@ -5559,19 +5987,19 @@ These flags only come into effect when not using an on disk cache file.
.IP
.nf
\f[C]
-\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
-\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
-When using VFS write caching (\-\-vfs\-cache\-mode with value writes or
-full), the global flag \-\-transfers can be set to adjust the number of
-parallel uploads of modified files from cache (the related global flag
-\-\-checkers have no effect on mount).
+When using VFS write caching (\f[C]\-\-vfs\-cache\-mode\f[R] with value
+writes or full), the global flag \f[C]\-\-transfers\f[R] can be set to
+adjust the number of parallel uploads of modified files from cache (the
+related global flag \f[C]\-\-checkers\f[R] have no effect on mount).
.IP
.nf
\f[C]
-\-\-transfers int Number of file transfers to run in parallel. (default 4)
+\-\-transfers int Number of file transfers to run in parallel (default 4)
\f[R]
.fi
.SS VFS Case Sensitivity
@@ -5588,7 +6016,7 @@ case.
.PP
Usually file systems on macOS are case\-insensitive.
It is possible to make macOS file systems case\-sensitive but that is
-not the default
+not the default.
.PP
The \f[C]\-\-vfs\-case\-insensitive\f[R] mount flag controls how rclone
handles these two cases.
@@ -5643,33 +6071,33 @@ rclone serve dlna remote:path [flags]
.IP
.nf
\f[C]
- \-\-addr string ip:port or :port to bind the DLNA http server to. (default \[dq]:7879\[dq])
- \-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
+ \-\-addr string The ip:port or :port to bind the DLNA http server to (default \[dq]:7879\[dq])
+ \-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
\-\-dir\-perms FileMode Directory permissions (default 0777)
\-\-file\-perms FileMode File permissions (default 0666)
- \-\-gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ \-\-gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
\-h, \-\-help help for dlna
- \-\-log\-trace enable trace logging of SOAP traffic
- \-\-name string name of DLNA server
- \-\-no\-checksum Don\[aq]t compare checksums on up/download.
- \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up).
- \-\-no\-seek Don\[aq]t allow seeking in files.
- \-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- \-\-read\-only Mount read\-only.
- \-\-uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- \-\-umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- \-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
- \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
+ \-\-log\-trace Enable trace logging of SOAP traffic
+ \-\-name string Name of DLNA server
+ \-\-no\-checksum Don\[aq]t compare checksums on up/download
+ \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up)
+ \-\-no\-seek Don\[aq]t allow seeking in files
+ \-\-poll\-interval duration Time to wait between polling for changes, must be smaller than dir\-cache\-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ \-\-read\-only Mount read\-only
+ \-\-uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ \-\-umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ \-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+ \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
- \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match.
- \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full.
- \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached. \[aq]off\[aq] is unlimited. (default off)
- \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
- \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size.
- \-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
- \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+ \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match
+ \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full
+ \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached (\[aq]off\[aq] is unlimited) (default off)
+ \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+ \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size
+ \-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
+ \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
@@ -5757,8 +6185,8 @@ cache.
.IP
.nf
\f[C]
-\-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
-\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+\-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
+\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
\f[R]
.fi
.PP
@@ -5830,10 +6258,10 @@ find that you need one or the other or both.
\f[C]
\-\-cache\-dir string Directory rclone will use for caching.
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
-\-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
-\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
-\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
-\-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
+\-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
+\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+\-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
\f[R]
.fi
.PP
@@ -5849,7 +6277,8 @@ The higher the cache mode the more compatible rclone becomes at the cost
of using disk space.
.PP
Note that files are written back to the remote only when they are closed
-and if they haven\[aq]t been accessed for \-\-vfs\-write\-back second.
+and if they haven\[aq]t been accessed for \f[C]\-\-vfs\-write\-back\f[R]
+seconds.
If rclone is quit or dies with files that haven\[aq]t been uploaded,
these will be uploaded next time rclone is run with the same flags.
.PP
@@ -5927,28 +6356,68 @@ will be sparse files with only the data that has been downloaded present
in them.
.PP
This mode should support all normal file system operations and is
-otherwise identical to \-\-vfs\-cache\-mode writes.
+otherwise identical to \f[C]\-\-vfs\-cache\-mode\f[R] writes.
.PP
-When reading a file rclone will read \-\-buffer\-size plus
-\-\-vfs\-read\-ahead bytes ahead.
-The \-\-buffer\-size is buffered in memory whereas the
-\-\-vfs\-read\-ahead is buffered on disk.
+When reading a file rclone will read \f[C]\-\-buffer\-size\f[R] plus
+\f[C]\-\-vfs\-read\-ahead\f[R] bytes ahead.
+The \f[C]\-\-buffer\-size\f[R] is buffered in memory whereas the
+\f[C]\-\-vfs\-read\-ahead\f[R] is buffered on disk.
.PP
-When using this mode it is recommended that \-\-buffer\-size is not set
-too big and \-\-vfs\-read\-ahead is set large if required.
+When using this mode it is recommended that \f[C]\-\-buffer\-size\f[R]
+is not set too large and \f[C]\-\-vfs\-read\-ahead\f[R] is set large if
+required.
.PP
\f[B]IMPORTANT\f[R] not all file systems support sparse files.
In particular FAT/exFAT do not.
Rclone will perform very badly if the cache directory is on a filesystem
which doesn\[aq]t support sparse files and it will log an ERROR message
if one is detected.
+.SS VFS Chunked Reading
+.PP
+When rclone reads files from a remote it reads them in chunks.
+This means that rather than requesting the whole file rclone reads the
+chunk specified.
+This can reduce the used download quota for some remotes by requesting
+only chunks from the remote that are actually read, at the cost of an
+increased number of requests.
+.PP
+These flags control the chunking:
+.IP
+.nf
+\f[C]
+\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128M)
+\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default off)
+\f[R]
+.fi
+.PP
+Rclone will start reading a chunk of size
+\f[C]\-\-vfs\-read\-chunk\-size\f[R], and then double the size for each
+read.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit\f[R] is specified, and
+greater than \f[C]\-\-vfs\-read\-chunk\-size\f[R], the chunk size for
+each open file will get doubled only until the specified value is
+reached.
+If the value is \[dq]off\[dq], which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+.PP
+With \f[C]\-\-vfs\-read\-chunk\-size 100M\f[R] and
+\f[C]\-\-vfs\-read\-chunk\-size\-limit 0\f[R] the following parts will
+be downloaded: 0\-100M, 100M\-200M, 200M\-300M, 300M\-400M and so on.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit 500M\f[R] is specified, the
+result would be 0\-100M, 100M\-300M, 300M\-700M, 700M\-1200M,
+1200M\-1700M and so on.
+.PP
+Setting \f[C]\-\-vfs\-read\-chunk\-size\f[R] to \f[C]0\f[R] or
+\[dq]off\[dq] disables chunked reading.
.SS VFS Performance
.PP
These flags may be used to enable/disable features of the VFS for
performance or other reasons.
+See also the chunked reading feature.
.PP
-In particular S3 and Swift benefit hugely from the \-\-no\-modtime flag
-(or use \-\-use\-server\-modtime for a slightly different effect) as
+In particular S3 and Swift benefit hugely from the
+\f[C]\-\-no\-modtime\f[R] flag (or use
+\f[C]\-\-use\-server\-modtime\f[R] for a slightly different effect) as
each read of the modification time takes a transaction.
.IP
.nf
@@ -5960,24 +6429,6 @@ each read of the modification time takes a transaction.
\f[R]
.fi
.PP
-When rclone reads files from a remote it reads them in chunks.
-This means that rather than requesting the whole file rclone reads the
-chunk specified.
-This is advantageous because some cloud providers account for reads
-being all the data requested, not all the data delivered.
-.PP
-Rclone will keep doubling the chunk size requested starting at
-\-\-vfs\-read\-chunk\-size with a maximum of
-\-\-vfs\-read\-chunk\-size\-limit unless it is set to \[dq]off\[dq] in
-which case there will be no limit.
-.IP
-.nf
-\f[C]
-\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128M)
-\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default \[dq]off\[dq])
-\f[R]
-.fi
-.PP
Sometimes rclone is delivered reads or writes out of order.
Rather than seeking rclone will wait a short time for the in sequence
read or write to come in.
@@ -5985,19 +6436,19 @@ These flags only come into effect when not using an on disk cache file.
.IP
.nf
\f[C]
-\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
-\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
-When using VFS write caching (\-\-vfs\-cache\-mode with value writes or
-full), the global flag \-\-transfers can be set to adjust the number of
-parallel uploads of modified files from cache (the related global flag
-\-\-checkers have no effect on mount).
+When using VFS write caching (\f[C]\-\-vfs\-cache\-mode\f[R] with value
+writes or full), the global flag \f[C]\-\-transfers\f[R] can be set to
+adjust the number of parallel uploads of modified files from cache (the
+related global flag \f[C]\-\-checkers\f[R] have no effect on mount).
.IP
.nf
\f[C]
-\-\-transfers int Number of file transfers to run in parallel. (default 4)
+\-\-transfers int Number of file transfers to run in parallel (default 4)
\f[R]
.fi
.SS VFS Case Sensitivity
@@ -6014,7 +6465,7 @@ case.
.PP
Usually file systems on macOS are case\-insensitive.
It is possible to make macOS file systems case\-sensitive but that is
-not the default
+not the default.
.PP
The \f[C]\-\-vfs\-case\-insensitive\f[R] mount flag controls how rclone
handles these two cases.
@@ -6069,52 +6520,53 @@ rclone serve docker [flags]
.IP
.nf
\f[C]
- \-\-allow\-non\-empty Allow mounting over a non\-empty directory. Not supported on Windows.
- \-\-allow\-other Allow access to other users. Not supported on Windows.
- \-\-allow\-root Allow access to root user. Not supported on Windows.
- \-\-async\-read Use asynchronous reads. Not supported on Windows. (default true)
- \-\-attr\-timeout duration Time for which file/directory attributes are cached. (default 1s)
- \-\-base\-dir string base directory for volumes (default \[dq]/var/lib/docker\-volumes/rclone\[dq])
- \-\-daemon Run mount as a daemon (background mode). Not supported on Windows.
- \-\-daemon\-timeout duration Time limit for rclone to respond to kernel. Not supported on Windows.
- \-\-debug\-fuse Debug the FUSE internals \- needs \-v.
- \-\-default\-permissions Makes kernel enforce access control based on the file mode. Not supported on Windows.
- \-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
+ \-\-allow\-non\-empty Allow mounting over a non\-empty directory (not supported on Windows)
+ \-\-allow\-other Allow access to other users (not supported on Windows)
+ \-\-allow\-root Allow access to root user (not supported on Windows)
+ \-\-async\-read Use asynchronous reads (not supported on Windows) (default true)
+ \-\-attr\-timeout duration Time for which file/directory attributes are cached (default 1s)
+ \-\-base\-dir string Base directory for volumes (default \[dq]/var/lib/docker\-volumes/rclone\[dq])
+ \-\-daemon Run mount in background and exit parent process (as background output is suppressed, use \-\-log\-file with \-\-log\-format=pid,... to monitor) (not supported on Windows)
+ \-\-daemon\-timeout duration Time limit for rclone to respond to kernel (not supported on Windows)
+ \-\-daemon\-wait duration Time to wait for ready mount from daemon (maximum time on Linux, constant sleep time on OSX/BSD) (not supported on Windows) (default 1m0s)
+ \-\-debug\-fuse Debug the FUSE internals \- needs \-v
+ \-\-default\-permissions Makes kernel enforce access control based on the file mode (not supported on Windows)
+ \-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
\-\-dir\-perms FileMode Directory permissions (default 0777)
\-\-file\-perms FileMode File permissions (default 0666)
- \-\-forget\-state skip restoring previous state
- \-\-fuse\-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp. Repeat if required.
- \-\-gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ \-\-forget\-state Skip restoring previous state
+ \-\-fuse\-flag stringArray Flags or arguments to be passed direct to libfuse/WinFsp (repeat if required)
+ \-\-gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
\-h, \-\-help help for docker
- \-\-max\-read\-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads. Not supported on Windows. (default 128Ki)
- \-\-network\-mode Mount as remote network drive, instead of fixed disk drive. Supported on Windows only
- \-\-no\-checksum Don\[aq]t compare checksums on up/download.
- \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up).
- \-\-no\-seek Don\[aq]t allow seeking in files.
- \-\-no\-spec do not write spec file
- \-\-noappledouble Ignore Apple Double (._) and .DS_Store files. Supported on OSX only. (default true)
- \-\-noapplexattr Ignore all \[dq]com.apple.*\[dq] extended attributes. Supported on OSX only.
- \-o, \-\-option stringArray Option for libfuse/WinFsp. Repeat if required.
- \-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- \-\-read\-only Mount read\-only.
- \-\-socket\-addr string <host:port> or absolute path (default: /run/docker/plugins/rclone.sock)
+ \-\-max\-read\-ahead SizeSuffix The number of bytes that can be prefetched for sequential reads (not supported on Windows) (default 128Ki)
+ \-\-network\-mode Mount as remote network drive, instead of fixed disk drive (supported on Windows only)
+ \-\-no\-checksum Don\[aq]t compare checksums on up/download
+ \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up)
+ \-\-no\-seek Don\[aq]t allow seeking in files
+ \-\-no\-spec Do not write spec file
+ \-\-noappledouble Ignore Apple Double (._) and .DS_Store files (supported on OSX only) (default true)
+ \-\-noapplexattr Ignore all \[dq]com.apple.*\[dq] extended attributes (supported on OSX only)
+ \-o, \-\-option stringArray Option for libfuse/WinFsp (repeat if required)
+ \-\-poll\-interval duration Time to wait between polling for changes, must be smaller than dir\-cache\-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ \-\-read\-only Mount read\-only
+ \-\-socket\-addr string Address <host:port> or absolute path (default: /run/docker/plugins/rclone.sock)
\-\-socket\-gid int GID for unix socket (default: current process GID) (default 1000)
- \-\-uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- \-\-umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- \-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
- \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
+ \-\-uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ \-\-umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ \-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+ \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
- \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match.
- \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full.
- \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached. \[aq]off\[aq] is unlimited. (default off)
- \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
- \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size.
- \-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
- \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
- \-\-volname string Set the volume name. Supported on Windows and OSX only.
- \-\-write\-back\-cache Makes kernel buffer writes before sending them to rclone. Without this, writethrough caching is used. Not supported on Windows.
+ \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match
+ \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full
+ \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached (\[aq]off\[aq] is unlimited) (default off)
+ \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+ \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size
+ \-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
+ \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
+ \-\-volname string Set the volume name (supported on Windows and OSX only)
+ \-\-write\-back\-cache Makes kernel buffer writes before sending them to rclone (without this, writethrough caching is used) (not supported on Windows)
\f[R]
.fi
.PP
@@ -6173,8 +6625,8 @@ cache.
.IP
.nf
\f[C]
-\-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
-\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+\-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
+\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
\f[R]
.fi
.PP
@@ -6246,10 +6698,10 @@ find that you need one or the other or both.
\f[C]
\-\-cache\-dir string Directory rclone will use for caching.
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
-\-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
-\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
-\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
-\-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
+\-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
+\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+\-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
\f[R]
.fi
.PP
@@ -6265,7 +6717,8 @@ The higher the cache mode the more compatible rclone becomes at the cost
of using disk space.
.PP
Note that files are written back to the remote only when they are closed
-and if they haven\[aq]t been accessed for \-\-vfs\-write\-back second.
+and if they haven\[aq]t been accessed for \f[C]\-\-vfs\-write\-back\f[R]
+seconds.
If rclone is quit or dies with files that haven\[aq]t been uploaded,
these will be uploaded next time rclone is run with the same flags.
.PP
@@ -6343,28 +6796,68 @@ will be sparse files with only the data that has been downloaded present
in them.
.PP
This mode should support all normal file system operations and is
-otherwise identical to \-\-vfs\-cache\-mode writes.
+otherwise identical to \f[C]\-\-vfs\-cache\-mode\f[R] writes.
.PP
-When reading a file rclone will read \-\-buffer\-size plus
-\-\-vfs\-read\-ahead bytes ahead.
-The \-\-buffer\-size is buffered in memory whereas the
-\-\-vfs\-read\-ahead is buffered on disk.
+When reading a file rclone will read \f[C]\-\-buffer\-size\f[R] plus
+\f[C]\-\-vfs\-read\-ahead\f[R] bytes ahead.
+The \f[C]\-\-buffer\-size\f[R] is buffered in memory whereas the
+\f[C]\-\-vfs\-read\-ahead\f[R] is buffered on disk.
.PP
-When using this mode it is recommended that \-\-buffer\-size is not set
-too big and \-\-vfs\-read\-ahead is set large if required.
+When using this mode it is recommended that \f[C]\-\-buffer\-size\f[R]
+is not set too large and \f[C]\-\-vfs\-read\-ahead\f[R] is set large if
+required.
.PP
\f[B]IMPORTANT\f[R] not all file systems support sparse files.
In particular FAT/exFAT do not.
Rclone will perform very badly if the cache directory is on a filesystem
which doesn\[aq]t support sparse files and it will log an ERROR message
if one is detected.
+.SS VFS Chunked Reading
+.PP
+When rclone reads files from a remote it reads them in chunks.
+This means that rather than requesting the whole file rclone reads the
+chunk specified.
+This can reduce the used download quota for some remotes by requesting
+only chunks from the remote that are actually read, at the cost of an
+increased number of requests.
+.PP
+These flags control the chunking:
+.IP
+.nf
+\f[C]
+\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128M)
+\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default off)
+\f[R]
+.fi
+.PP
+Rclone will start reading a chunk of size
+\f[C]\-\-vfs\-read\-chunk\-size\f[R], and then double the size for each
+read.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit\f[R] is specified, and
+greater than \f[C]\-\-vfs\-read\-chunk\-size\f[R], the chunk size for
+each open file will get doubled only until the specified value is
+reached.
+If the value is \[dq]off\[dq], which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+.PP
+With \f[C]\-\-vfs\-read\-chunk\-size 100M\f[R] and
+\f[C]\-\-vfs\-read\-chunk\-size\-limit 0\f[R] the following parts will
+be downloaded: 0\-100M, 100M\-200M, 200M\-300M, 300M\-400M and so on.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit 500M\f[R] is specified, the
+result would be 0\-100M, 100M\-300M, 300M\-700M, 700M\-1200M,
+1200M\-1700M and so on.
+.PP
+Setting \f[C]\-\-vfs\-read\-chunk\-size\f[R] to \f[C]0\f[R] or
+\[dq]off\[dq] disables chunked reading.
.SS VFS Performance
.PP
These flags may be used to enable/disable features of the VFS for
performance or other reasons.
+See also the chunked reading feature.
.PP
-In particular S3 and Swift benefit hugely from the \-\-no\-modtime flag
-(or use \-\-use\-server\-modtime for a slightly different effect) as
+In particular S3 and Swift benefit hugely from the
+\f[C]\-\-no\-modtime\f[R] flag (or use
+\f[C]\-\-use\-server\-modtime\f[R] for a slightly different effect) as
each read of the modification time takes a transaction.
.IP
.nf
@@ -6376,24 +6869,6 @@ each read of the modification time takes a transaction.
\f[R]
.fi
.PP
-When rclone reads files from a remote it reads them in chunks.
-This means that rather than requesting the whole file rclone reads the
-chunk specified.
-This is advantageous because some cloud providers account for reads
-being all the data requested, not all the data delivered.
-.PP
-Rclone will keep doubling the chunk size requested starting at
-\-\-vfs\-read\-chunk\-size with a maximum of
-\-\-vfs\-read\-chunk\-size\-limit unless it is set to \[dq]off\[dq] in
-which case there will be no limit.
-.IP
-.nf
-\f[C]
-\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128M)
-\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default \[dq]off\[dq])
-\f[R]
-.fi
-.PP
Sometimes rclone is delivered reads or writes out of order.
Rather than seeking rclone will wait a short time for the in sequence
read or write to come in.
@@ -6401,19 +6876,19 @@ These flags only come into effect when not using an on disk cache file.
.IP
.nf
\f[C]
-\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
-\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
-When using VFS write caching (\-\-vfs\-cache\-mode with value writes or
-full), the global flag \-\-transfers can be set to adjust the number of
-parallel uploads of modified files from cache (the related global flag
-\-\-checkers have no effect on mount).
+When using VFS write caching (\f[C]\-\-vfs\-cache\-mode\f[R] with value
+writes or full), the global flag \f[C]\-\-transfers\f[R] can be set to
+adjust the number of parallel uploads of modified files from cache (the
+related global flag \f[C]\-\-checkers\f[R] have no effect on mount).
.IP
.nf
\f[C]
-\-\-transfers int Number of file transfers to run in parallel. (default 4)
+\-\-transfers int Number of file transfers to run in parallel (default 4)
\f[R]
.fi
.SS VFS Case Sensitivity
@@ -6430,7 +6905,7 @@ case.
.PP
Usually file systems on macOS are case\-insensitive.
It is possible to make macOS file systems case\-sensitive but that is
-not the default
+not the default.
.PP
The \f[C]\-\-vfs\-case\-insensitive\f[R] mount flag controls how rclone
handles these two cases.
@@ -6578,38 +7053,38 @@ rclone serve ftp remote:path [flags]
.IP
.nf
\f[C]
- \-\-addr string IPaddress:Port or :Port to bind server to. (default \[dq]localhost:2121\[dq])
- \-\-auth\-proxy string A program to use to create the backend from the auth.
+ \-\-addr string IPaddress:Port or :Port to bind server to (default \[dq]localhost:2121\[dq])
+ \-\-auth\-proxy string A program to use to create the backend from the auth
\-\-cert string TLS PEM key (concatenation of certificate and CA certificate)
- \-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
+ \-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
\-\-dir\-perms FileMode Directory permissions (default 0777)
\-\-file\-perms FileMode File permissions (default 0666)
- \-\-gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ \-\-gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
\-h, \-\-help help for ftp
\-\-key string TLS PEM Private key
- \-\-no\-checksum Don\[aq]t compare checksums on up/download.
- \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up).
- \-\-no\-seek Don\[aq]t allow seeking in files.
- \-\-pass string Password for authentication. (empty value allow every password)
- \-\-passive\-port string Passive port range to use. (default \[dq]30000\-32000\[dq])
- \-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- \-\-public\-ip string Public IP address to advertise for passive connections.
- \-\-read\-only Mount read\-only.
- \-\-uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- \-\-umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- \-\-user string User name for authentication. (default \[dq]anonymous\[dq])
- \-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
- \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
+ \-\-no\-checksum Don\[aq]t compare checksums on up/download
+ \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up)
+ \-\-no\-seek Don\[aq]t allow seeking in files
+ \-\-pass string Password for authentication (empty value allow every password)
+ \-\-passive\-port string Passive port range to use (default \[dq]30000\-32000\[dq])
+ \-\-poll\-interval duration Time to wait between polling for changes, must be smaller than dir\-cache\-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ \-\-public\-ip string Public IP address to advertise for passive connections
+ \-\-read\-only Mount read\-only
+ \-\-uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ \-\-umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ \-\-user string User name for authentication (default \[dq]anonymous\[dq])
+ \-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+ \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
- \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match.
- \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full.
- \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached. \[aq]off\[aq] is unlimited. (default off)
- \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
- \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size.
- \-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
- \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+ \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match
+ \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full
+ \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached (\[aq]off\[aq] is unlimited) (default off)
+ \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+ \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size
+ \-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
+ \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
@@ -6797,6 +7272,8 @@ htpasswd \-B htpasswd anotherUser
The password file can be updated while rclone is running.
.PP
Use \-\-realm to set the authentication realm.
+.PP
+Use \-\-salt to change the password hashing salt from the default.
.SS VFS \- Virtual File System
.PP
This command uses the VFS layer.
@@ -6821,8 +7298,8 @@ cache.
.IP
.nf
\f[C]
-\-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
-\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+\-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
+\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
\f[R]
.fi
.PP
@@ -6894,10 +7371,10 @@ find that you need one or the other or both.
\f[C]
\-\-cache\-dir string Directory rclone will use for caching.
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
-\-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
-\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
-\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
-\-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
+\-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
+\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+\-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
\f[R]
.fi
.PP
@@ -6913,7 +7390,8 @@ The higher the cache mode the more compatible rclone becomes at the cost
of using disk space.
.PP
Note that files are written back to the remote only when they are closed
-and if they haven\[aq]t been accessed for \-\-vfs\-write\-back second.
+and if they haven\[aq]t been accessed for \f[C]\-\-vfs\-write\-back\f[R]
+seconds.
If rclone is quit or dies with files that haven\[aq]t been uploaded,
these will be uploaded next time rclone is run with the same flags.
.PP
@@ -6991,28 +7469,68 @@ will be sparse files with only the data that has been downloaded present
in them.
.PP
This mode should support all normal file system operations and is
-otherwise identical to \-\-vfs\-cache\-mode writes.
+otherwise identical to \f[C]\-\-vfs\-cache\-mode\f[R] writes.
.PP
-When reading a file rclone will read \-\-buffer\-size plus
-\-\-vfs\-read\-ahead bytes ahead.
-The \-\-buffer\-size is buffered in memory whereas the
-\-\-vfs\-read\-ahead is buffered on disk.
+When reading a file rclone will read \f[C]\-\-buffer\-size\f[R] plus
+\f[C]\-\-vfs\-read\-ahead\f[R] bytes ahead.
+The \f[C]\-\-buffer\-size\f[R] is buffered in memory whereas the
+\f[C]\-\-vfs\-read\-ahead\f[R] is buffered on disk.
.PP
-When using this mode it is recommended that \-\-buffer\-size is not set
-too big and \-\-vfs\-read\-ahead is set large if required.
+When using this mode it is recommended that \f[C]\-\-buffer\-size\f[R]
+is not set too large and \f[C]\-\-vfs\-read\-ahead\f[R] is set large if
+required.
.PP
\f[B]IMPORTANT\f[R] not all file systems support sparse files.
In particular FAT/exFAT do not.
Rclone will perform very badly if the cache directory is on a filesystem
which doesn\[aq]t support sparse files and it will log an ERROR message
if one is detected.
+.SS VFS Chunked Reading
+.PP
+When rclone reads files from a remote it reads them in chunks.
+This means that rather than requesting the whole file rclone reads the
+chunk specified.
+This can reduce the used download quota for some remotes by requesting
+only chunks from the remote that are actually read, at the cost of an
+increased number of requests.
+.PP
+These flags control the chunking:
+.IP
+.nf
+\f[C]
+\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128M)
+\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default off)
+\f[R]
+.fi
+.PP
+Rclone will start reading a chunk of size
+\f[C]\-\-vfs\-read\-chunk\-size\f[R], and then double the size for each
+read.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit\f[R] is specified, and
+greater than \f[C]\-\-vfs\-read\-chunk\-size\f[R], the chunk size for
+each open file will get doubled only until the specified value is
+reached.
+If the value is \[dq]off\[dq], which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+.PP
+With \f[C]\-\-vfs\-read\-chunk\-size 100M\f[R] and
+\f[C]\-\-vfs\-read\-chunk\-size\-limit 0\f[R] the following parts will
+be downloaded: 0\-100M, 100M\-200M, 200M\-300M, 300M\-400M and so on.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit 500M\f[R] is specified, the
+result would be 0\-100M, 100M\-300M, 300M\-700M, 700M\-1200M,
+1200M\-1700M and so on.
+.PP
+Setting \f[C]\-\-vfs\-read\-chunk\-size\f[R] to \f[C]0\f[R] or
+\[dq]off\[dq] disables chunked reading.
.SS VFS Performance
.PP
These flags may be used to enable/disable features of the VFS for
performance or other reasons.
+See also the chunked reading feature.
.PP
-In particular S3 and Swift benefit hugely from the \-\-no\-modtime flag
-(or use \-\-use\-server\-modtime for a slightly different effect) as
+In particular S3 and Swift benefit hugely from the
+\f[C]\-\-no\-modtime\f[R] flag (or use
+\f[C]\-\-use\-server\-modtime\f[R] for a slightly different effect) as
each read of the modification time takes a transaction.
.IP
.nf
@@ -7024,24 +7542,6 @@ each read of the modification time takes a transaction.
\f[R]
.fi
.PP
-When rclone reads files from a remote it reads them in chunks.
-This means that rather than requesting the whole file rclone reads the
-chunk specified.
-This is advantageous because some cloud providers account for reads
-being all the data requested, not all the data delivered.
-.PP
-Rclone will keep doubling the chunk size requested starting at
-\-\-vfs\-read\-chunk\-size with a maximum of
-\-\-vfs\-read\-chunk\-size\-limit unless it is set to \[dq]off\[dq] in
-which case there will be no limit.
-.IP
-.nf
-\f[C]
-\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128M)
-\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default \[dq]off\[dq])
-\f[R]
-.fi
-.PP
Sometimes rclone is delivered reads or writes out of order.
Rather than seeking rclone will wait a short time for the in sequence
read or write to come in.
@@ -7049,19 +7549,19 @@ These flags only come into effect when not using an on disk cache file.
.IP
.nf
\f[C]
-\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
-\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
-When using VFS write caching (\-\-vfs\-cache\-mode with value writes or
-full), the global flag \-\-transfers can be set to adjust the number of
-parallel uploads of modified files from cache (the related global flag
-\-\-checkers have no effect on mount).
+When using VFS write caching (\f[C]\-\-vfs\-cache\-mode\f[R] with value
+writes or full), the global flag \f[C]\-\-transfers\f[R] can be set to
+adjust the number of parallel uploads of modified files from cache (the
+related global flag \f[C]\-\-checkers\f[R] have no effect on mount).
.IP
.nf
\f[C]
-\-\-transfers int Number of file transfers to run in parallel. (default 4)
+\-\-transfers int Number of file transfers to run in parallel (default 4)
\f[R]
.fi
.SS VFS Case Sensitivity
@@ -7078,7 +7578,7 @@ case.
.PP
Usually file systems on macOS are case\-insensitive.
It is possible to make macOS file systems case\-sensitive but that is
-not the default
+not the default.
.PP
The \f[C]\-\-vfs\-case\-insensitive\f[R] mount flag controls how rclone
handles these two cases.
@@ -7133,43 +7633,44 @@ rclone serve http remote:path [flags]
.IP
.nf
\f[C]
- \-\-addr string IPaddress:Port or :Port to bind server to. (default \[dq]127.0.0.1:8080\[dq])
- \-\-baseurl string Prefix for URLs \- leave blank for root.
+ \-\-addr string IPaddress:Port or :Port to bind server to (default \[dq]127.0.0.1:8080\[dq])
+ \-\-baseurl string Prefix for URLs \- leave blank for root
\-\-cert string SSL PEM key (concatenation of certificate and CA certificate)
\-\-client\-ca string Client certificate authority to verify clients with
- \-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
+ \-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
\-\-dir\-perms FileMode Directory permissions (default 0777)
\-\-file\-perms FileMode File permissions (default 0666)
- \-\-gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ \-\-gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
\-h, \-\-help help for http
- \-\-htpasswd string htpasswd file \- if not provided no authentication is done
+ \-\-htpasswd string A htpasswd file \- if not provided no authentication is done
\-\-key string SSL PEM Private key
\-\-max\-header\-bytes int Maximum size of request header (default 4096)
- \-\-no\-checksum Don\[aq]t compare checksums on up/download.
- \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up).
- \-\-no\-seek Don\[aq]t allow seeking in files.
- \-\-pass string Password for authentication.
- \-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- \-\-read\-only Mount read\-only.
- \-\-realm string realm for authentication
+ \-\-no\-checksum Don\[aq]t compare checksums on up/download
+ \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up)
+ \-\-no\-seek Don\[aq]t allow seeking in files
+ \-\-pass string Password for authentication
+ \-\-poll\-interval duration Time to wait between polling for changes, must be smaller than dir\-cache\-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ \-\-read\-only Mount read\-only
+ \-\-realm string Realm for authentication
+ \-\-salt string Password hashing salt (default \[dq]dlPL2MqE\[dq])
\-\-server\-read\-timeout duration Timeout for server reading data (default 1h0m0s)
\-\-server\-write\-timeout duration Timeout for server writing data (default 1h0m0s)
- \-\-template string User Specified Template.
- \-\-uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- \-\-umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- \-\-user string User name for authentication.
- \-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
- \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
+ \-\-template string User\-specified template
+ \-\-uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ \-\-umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ \-\-user string User name for authentication
+ \-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+ \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
- \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match.
- \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full.
- \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached. \[aq]off\[aq] is unlimited. (default off)
- \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
- \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size.
- \-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
- \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+ \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match
+ \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full
+ \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached (\[aq]off\[aq] is unlimited) (default off)
+ \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+ \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size
+ \-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
+ \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
@@ -7448,24 +7949,24 @@ rclone serve restic remote:path [flags]
.IP
.nf
\f[C]
- \-\-addr string IPaddress:Port or :Port to bind server to. (default \[dq]localhost:8080\[dq])
- \-\-append\-only disallow deletion of repository data
- \-\-baseurl string Prefix for URLs \- leave blank for root.
- \-\-cache\-objects cache listed objects (default true)
+ \-\-addr string IPaddress:Port or :Port to bind server to (default \[dq]localhost:8080\[dq])
+ \-\-append\-only Disallow deletion of repository data
+ \-\-baseurl string Prefix for URLs \- leave blank for root
+ \-\-cache\-objects Cache listed objects (default true)
\-\-cert string SSL PEM key (concatenation of certificate and CA certificate)
\-\-client\-ca string Client certificate authority to verify clients with
\-h, \-\-help help for restic
\-\-htpasswd string htpasswd file \- if not provided no authentication is done
\-\-key string SSL PEM Private key
\-\-max\-header\-bytes int Maximum size of request header (default 4096)
- \-\-pass string Password for authentication.
- \-\-private\-repos users can only access their private repo
+ \-\-pass string Password for authentication
+ \-\-private\-repos Users can only access their private repo
\-\-realm string realm for authentication (default \[dq]rclone\[dq])
\-\-server\-read\-timeout duration Timeout for server reading data (default 1h0m0s)
\-\-server\-write\-timeout duration Timeout for server writing data (default 1h0m0s)
- \-\-stdio run an HTTP2 server on stdin/stdout
- \-\-template string User Specified Template.
- \-\-user string User name for authentication.
+ \-\-stdio Run an HTTP2 server on stdin/stdout
+ \-\-template string User\-specified template
+ \-\-user string User name for authentication
\f[R]
.fi
.PP
@@ -7506,8 +8007,10 @@ backend.
This means that is can support SHA1SUMs, MD5SUMs and the about command
when paired with the rclone sftp backend.
.PP
-If you don\[aq]t supply a \-\-key then rclone will generate one and
-cache it for later use.
+If you don\[aq]t supply a host \-\-key then rclone will generate rsa,
+ecdsa and ed25519 variants, and cache them for later use in rclone\[aq]s
+cache directory (see \[dq]rclone help flags cache\-dir\[dq]) in the
+\[dq]serve\-sftp\[dq] directory.
.PP
By default the server binds to localhost:2022 \- if you want it to be
reachable externally then supply \[dq]\-\-addr :2022\[dq] for example.
@@ -7547,8 +8050,8 @@ cache.
.IP
.nf
\f[C]
-\-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
-\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+\-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
+\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
\f[R]
.fi
.PP
@@ -7620,10 +8123,10 @@ find that you need one or the other or both.
\f[C]
\-\-cache\-dir string Directory rclone will use for caching.
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
-\-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
-\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
-\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
-\-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
+\-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
+\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+\-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
\f[R]
.fi
.PP
@@ -7639,7 +8142,8 @@ The higher the cache mode the more compatible rclone becomes at the cost
of using disk space.
.PP
Note that files are written back to the remote only when they are closed
-and if they haven\[aq]t been accessed for \-\-vfs\-write\-back second.
+and if they haven\[aq]t been accessed for \f[C]\-\-vfs\-write\-back\f[R]
+seconds.
If rclone is quit or dies with files that haven\[aq]t been uploaded,
these will be uploaded next time rclone is run with the same flags.
.PP
@@ -7717,28 +8221,68 @@ will be sparse files with only the data that has been downloaded present
in them.
.PP
This mode should support all normal file system operations and is
-otherwise identical to \-\-vfs\-cache\-mode writes.
+otherwise identical to \f[C]\-\-vfs\-cache\-mode\f[R] writes.
.PP
-When reading a file rclone will read \-\-buffer\-size plus
-\-\-vfs\-read\-ahead bytes ahead.
-The \-\-buffer\-size is buffered in memory whereas the
-\-\-vfs\-read\-ahead is buffered on disk.
+When reading a file rclone will read \f[C]\-\-buffer\-size\f[R] plus
+\f[C]\-\-vfs\-read\-ahead\f[R] bytes ahead.
+The \f[C]\-\-buffer\-size\f[R] is buffered in memory whereas the
+\f[C]\-\-vfs\-read\-ahead\f[R] is buffered on disk.
.PP
-When using this mode it is recommended that \-\-buffer\-size is not set
-too big and \-\-vfs\-read\-ahead is set large if required.
+When using this mode it is recommended that \f[C]\-\-buffer\-size\f[R]
+is not set too large and \f[C]\-\-vfs\-read\-ahead\f[R] is set large if
+required.
.PP
\f[B]IMPORTANT\f[R] not all file systems support sparse files.
In particular FAT/exFAT do not.
Rclone will perform very badly if the cache directory is on a filesystem
which doesn\[aq]t support sparse files and it will log an ERROR message
if one is detected.
+.SS VFS Chunked Reading
+.PP
+When rclone reads files from a remote it reads them in chunks.
+This means that rather than requesting the whole file rclone reads the
+chunk specified.
+This can reduce the used download quota for some remotes by requesting
+only chunks from the remote that are actually read, at the cost of an
+increased number of requests.
+.PP
+These flags control the chunking:
+.IP
+.nf
+\f[C]
+\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128M)
+\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default off)
+\f[R]
+.fi
+.PP
+Rclone will start reading a chunk of size
+\f[C]\-\-vfs\-read\-chunk\-size\f[R], and then double the size for each
+read.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit\f[R] is specified, and
+greater than \f[C]\-\-vfs\-read\-chunk\-size\f[R], the chunk size for
+each open file will get doubled only until the specified value is
+reached.
+If the value is \[dq]off\[dq], which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+.PP
+With \f[C]\-\-vfs\-read\-chunk\-size 100M\f[R] and
+\f[C]\-\-vfs\-read\-chunk\-size\-limit 0\f[R] the following parts will
+be downloaded: 0\-100M, 100M\-200M, 200M\-300M, 300M\-400M and so on.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit 500M\f[R] is specified, the
+result would be 0\-100M, 100M\-300M, 300M\-700M, 700M\-1200M,
+1200M\-1700M and so on.
+.PP
+Setting \f[C]\-\-vfs\-read\-chunk\-size\f[R] to \f[C]0\f[R] or
+\[dq]off\[dq] disables chunked reading.
.SS VFS Performance
.PP
These flags may be used to enable/disable features of the VFS for
performance or other reasons.
+See also the chunked reading feature.
.PP
-In particular S3 and Swift benefit hugely from the \-\-no\-modtime flag
-(or use \-\-use\-server\-modtime for a slightly different effect) as
+In particular S3 and Swift benefit hugely from the
+\f[C]\-\-no\-modtime\f[R] flag (or use
+\f[C]\-\-use\-server\-modtime\f[R] for a slightly different effect) as
each read of the modification time takes a transaction.
.IP
.nf
@@ -7750,24 +8294,6 @@ each read of the modification time takes a transaction.
\f[R]
.fi
.PP
-When rclone reads files from a remote it reads them in chunks.
-This means that rather than requesting the whole file rclone reads the
-chunk specified.
-This is advantageous because some cloud providers account for reads
-being all the data requested, not all the data delivered.
-.PP
-Rclone will keep doubling the chunk size requested starting at
-\-\-vfs\-read\-chunk\-size with a maximum of
-\-\-vfs\-read\-chunk\-size\-limit unless it is set to \[dq]off\[dq] in
-which case there will be no limit.
-.IP
-.nf
-\f[C]
-\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128M)
-\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default \[dq]off\[dq])
-\f[R]
-.fi
-.PP
Sometimes rclone is delivered reads or writes out of order.
Rather than seeking rclone will wait a short time for the in sequence
read or write to come in.
@@ -7775,19 +8301,19 @@ These flags only come into effect when not using an on disk cache file.
.IP
.nf
\f[C]
-\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
-\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
-When using VFS write caching (\-\-vfs\-cache\-mode with value writes or
-full), the global flag \-\-transfers can be set to adjust the number of
-parallel uploads of modified files from cache (the related global flag
-\-\-checkers have no effect on mount).
+When using VFS write caching (\f[C]\-\-vfs\-cache\-mode\f[R] with value
+writes or full), the global flag \f[C]\-\-transfers\f[R] can be set to
+adjust the number of parallel uploads of modified files from cache (the
+related global flag \f[C]\-\-checkers\f[R] have no effect on mount).
.IP
.nf
\f[C]
-\-\-transfers int Number of file transfers to run in parallel. (default 4)
+\-\-transfers int Number of file transfers to run in parallel (default 4)
\f[R]
.fi
.SS VFS Case Sensitivity
@@ -7804,7 +8330,7 @@ case.
.PP
Usually file systems on macOS are case\-insensitive.
It is possible to make macOS file systems case\-sensitive but that is
-not the default
+not the default.
.PP
The \f[C]\-\-vfs\-case\-insensitive\f[R] mount flag controls how rclone
handles these two cases.
@@ -7952,38 +8478,38 @@ rclone serve sftp remote:path [flags]
.IP
.nf
\f[C]
- \-\-addr string IPaddress:Port or :Port to bind server to. (default \[dq]localhost:2022\[dq])
- \-\-auth\-proxy string A program to use to create the backend from the auth.
+ \-\-addr string IPaddress:Port or :Port to bind server to (default \[dq]localhost:2022\[dq])
+ \-\-auth\-proxy string A program to use to create the backend from the auth
\-\-authorized\-keys string Authorized keys file (default \[dq]\[ti]/.ssh/authorized_keys\[dq])
- \-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
+ \-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
\-\-dir\-perms FileMode Directory permissions (default 0777)
\-\-file\-perms FileMode File permissions (default 0666)
- \-\-gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ \-\-gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
\-h, \-\-help help for sftp
\-\-key stringArray SSH private host key file (Can be multi\-valued, leave blank to auto generate)
- \-\-no\-auth Allow connections with no authentication if set.
- \-\-no\-checksum Don\[aq]t compare checksums on up/download.
- \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up).
- \-\-no\-seek Don\[aq]t allow seeking in files.
- \-\-pass string Password for authentication.
- \-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- \-\-read\-only Mount read\-only.
+ \-\-no\-auth Allow connections with no authentication if set
+ \-\-no\-checksum Don\[aq]t compare checksums on up/download
+ \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up)
+ \-\-no\-seek Don\[aq]t allow seeking in files
+ \-\-pass string Password for authentication
+ \-\-poll\-interval duration Time to wait between polling for changes, must be smaller than dir\-cache\-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ \-\-read\-only Mount read\-only
\-\-stdio Run an sftp server on run stdin/stdout
- \-\-uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- \-\-umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- \-\-user string User name for authentication.
- \-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
- \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
+ \-\-uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ \-\-umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ \-\-user string User name for authentication
+ \-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+ \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
- \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match.
- \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full.
- \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached. \[aq]off\[aq] is unlimited. (default off)
- \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
- \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size.
- \-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
- \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+ \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match
+ \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full
+ \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached (\[aq]off\[aq] is unlimited) (default off)
+ \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+ \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size
+ \-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
+ \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
@@ -8199,8 +8725,8 @@ cache.
.IP
.nf
\f[C]
-\-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
-\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
+\-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
+\-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable (default 1m0s)
\f[R]
.fi
.PP
@@ -8272,10 +8798,10 @@ find that you need one or the other or both.
\f[C]
\-\-cache\-dir string Directory rclone will use for caching.
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
-\-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
-\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
-\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
-\-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
+\-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+\-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
+\-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+\-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
\f[R]
.fi
.PP
@@ -8291,7 +8817,8 @@ The higher the cache mode the more compatible rclone becomes at the cost
of using disk space.
.PP
Note that files are written back to the remote only when they are closed
-and if they haven\[aq]t been accessed for \-\-vfs\-write\-back second.
+and if they haven\[aq]t been accessed for \f[C]\-\-vfs\-write\-back\f[R]
+seconds.
If rclone is quit or dies with files that haven\[aq]t been uploaded,
these will be uploaded next time rclone is run with the same flags.
.PP
@@ -8369,28 +8896,68 @@ will be sparse files with only the data that has been downloaded present
in them.
.PP
This mode should support all normal file system operations and is
-otherwise identical to \-\-vfs\-cache\-mode writes.
+otherwise identical to \f[C]\-\-vfs\-cache\-mode\f[R] writes.
.PP
-When reading a file rclone will read \-\-buffer\-size plus
-\-\-vfs\-read\-ahead bytes ahead.
-The \-\-buffer\-size is buffered in memory whereas the
-\-\-vfs\-read\-ahead is buffered on disk.
+When reading a file rclone will read \f[C]\-\-buffer\-size\f[R] plus
+\f[C]\-\-vfs\-read\-ahead\f[R] bytes ahead.
+The \f[C]\-\-buffer\-size\f[R] is buffered in memory whereas the
+\f[C]\-\-vfs\-read\-ahead\f[R] is buffered on disk.
.PP
-When using this mode it is recommended that \-\-buffer\-size is not set
-too big and \-\-vfs\-read\-ahead is set large if required.
+When using this mode it is recommended that \f[C]\-\-buffer\-size\f[R]
+is not set too large and \f[C]\-\-vfs\-read\-ahead\f[R] is set large if
+required.
.PP
\f[B]IMPORTANT\f[R] not all file systems support sparse files.
In particular FAT/exFAT do not.
Rclone will perform very badly if the cache directory is on a filesystem
which doesn\[aq]t support sparse files and it will log an ERROR message
if one is detected.
+.SS VFS Chunked Reading
+.PP
+When rclone reads files from a remote it reads them in chunks.
+This means that rather than requesting the whole file rclone reads the
+chunk specified.
+This can reduce the used download quota for some remotes by requesting
+only chunks from the remote that are actually read, at the cost of an
+increased number of requests.
+.PP
+These flags control the chunking:
+.IP
+.nf
+\f[C]
+\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128M)
+\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default off)
+\f[R]
+.fi
+.PP
+Rclone will start reading a chunk of size
+\f[C]\-\-vfs\-read\-chunk\-size\f[R], and then double the size for each
+read.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit\f[R] is specified, and
+greater than \f[C]\-\-vfs\-read\-chunk\-size\f[R], the chunk size for
+each open file will get doubled only until the specified value is
+reached.
+If the value is \[dq]off\[dq], which is the default, the limit is
+disabled and the chunk size will grow indefinitely.
+.PP
+With \f[C]\-\-vfs\-read\-chunk\-size 100M\f[R] and
+\f[C]\-\-vfs\-read\-chunk\-size\-limit 0\f[R] the following parts will
+be downloaded: 0\-100M, 100M\-200M, 200M\-300M, 300M\-400M and so on.
+When \f[C]\-\-vfs\-read\-chunk\-size\-limit 500M\f[R] is specified, the
+result would be 0\-100M, 100M\-300M, 300M\-700M, 700M\-1200M,
+1200M\-1700M and so on.
+.PP
+Setting \f[C]\-\-vfs\-read\-chunk\-size\f[R] to \f[C]0\f[R] or
+\[dq]off\[dq] disables chunked reading.
.SS VFS Performance
.PP
These flags may be used to enable/disable features of the VFS for
performance or other reasons.
+See also the chunked reading feature.
.PP
-In particular S3 and Swift benefit hugely from the \-\-no\-modtime flag
-(or use \-\-use\-server\-modtime for a slightly different effect) as
+In particular S3 and Swift benefit hugely from the
+\f[C]\-\-no\-modtime\f[R] flag (or use
+\f[C]\-\-use\-server\-modtime\f[R] for a slightly different effect) as
each read of the modification time takes a transaction.
.IP
.nf
@@ -8402,24 +8969,6 @@ each read of the modification time takes a transaction.
\f[R]
.fi
.PP
-When rclone reads files from a remote it reads them in chunks.
-This means that rather than requesting the whole file rclone reads the
-chunk specified.
-This is advantageous because some cloud providers account for reads
-being all the data requested, not all the data delivered.
-.PP
-Rclone will keep doubling the chunk size requested starting at
-\-\-vfs\-read\-chunk\-size with a maximum of
-\-\-vfs\-read\-chunk\-size\-limit unless it is set to \[dq]off\[dq] in
-which case there will be no limit.
-.IP
-.nf
-\f[C]
-\-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128M)
-\-\-vfs\-read\-chunk\-size\-limit SizeSuffix Max chunk doubling size (default \[dq]off\[dq])
-\f[R]
-.fi
-.PP
Sometimes rclone is delivered reads or writes out of order.
Rather than seeking rclone will wait a short time for the in sequence
read or write to come in.
@@ -8427,19 +8976,19 @@ These flags only come into effect when not using an on disk cache file.
.IP
.nf
\f[C]
-\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
-\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+\-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+\-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
-When using VFS write caching (\-\-vfs\-cache\-mode with value writes or
-full), the global flag \-\-transfers can be set to adjust the number of
-parallel uploads of modified files from cache (the related global flag
-\-\-checkers have no effect on mount).
+When using VFS write caching (\f[C]\-\-vfs\-cache\-mode\f[R] with value
+writes or full), the global flag \f[C]\-\-transfers\f[R] can be set to
+adjust the number of parallel uploads of modified files from cache (the
+related global flag \f[C]\-\-checkers\f[R] have no effect on mount).
.IP
.nf
\f[C]
-\-\-transfers int Number of file transfers to run in parallel. (default 4)
+\-\-transfers int Number of file transfers to run in parallel (default 4)
\f[R]
.fi
.SS VFS Case Sensitivity
@@ -8456,7 +9005,7 @@ case.
.PP
Usually file systems on macOS are case\-insensitive.
It is possible to make macOS file systems case\-sensitive but that is
-not the default
+not the default.
.PP
The \f[C]\-\-vfs\-case\-insensitive\f[R] mount flag controls how rclone
handles these two cases.
@@ -8604,46 +9153,46 @@ rclone serve webdav remote:path [flags]
.IP
.nf
\f[C]
- \-\-addr string IPaddress:Port or :Port to bind server to. (default \[dq]localhost:8080\[dq])
- \-\-auth\-proxy string A program to use to create the backend from the auth.
- \-\-baseurl string Prefix for URLs \- leave blank for root.
+ \-\-addr string IPaddress:Port or :Port to bind server to (default \[dq]localhost:8080\[dq])
+ \-\-auth\-proxy string A program to use to create the backend from the auth
+ \-\-baseurl string Prefix for URLs \- leave blank for root
\-\-cert string SSL PEM key (concatenation of certificate and CA certificate)
\-\-client\-ca string Client certificate authority to verify clients with
- \-\-dir\-cache\-time duration Time to cache directory entries for. (default 5m0s)
+ \-\-dir\-cache\-time duration Time to cache directory entries for (default 5m0s)
\-\-dir\-perms FileMode Directory permissions (default 0777)
\-\-disable\-dir\-list Disable HTML directory list on GET request for a directory
\-\-etag\-hash string Which hash to use for the ETag, or auto or blank for off
\-\-file\-perms FileMode File permissions (default 0666)
- \-\-gid uint32 Override the gid field set by the filesystem. Not supported on Windows. (default 1000)
+ \-\-gid uint32 Override the gid field set by the filesystem (not supported on Windows) (default 1000)
\-h, \-\-help help for webdav
\-\-htpasswd string htpasswd file \- if not provided no authentication is done
\-\-key string SSL PEM Private key
\-\-max\-header\-bytes int Maximum size of request header (default 4096)
- \-\-no\-checksum Don\[aq]t compare checksums on up/download.
- \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up).
- \-\-no\-seek Don\[aq]t allow seeking in files.
- \-\-pass string Password for authentication.
- \-\-poll\-interval duration Time to wait between polling for changes. Must be smaller than dir\-cache\-time. Only on supported remotes. Set to 0 to disable. (default 1m0s)
- \-\-read\-only Mount read\-only.
+ \-\-no\-checksum Don\[aq]t compare checksums on up/download
+ \-\-no\-modtime Don\[aq]t read/write the modification time (can speed things up)
+ \-\-no\-seek Don\[aq]t allow seeking in files
+ \-\-pass string Password for authentication
+ \-\-poll\-interval duration Time to wait between polling for changes, must be smaller than dir\-cache\-time and only on supported remotes (set 0 to disable) (default 1m0s)
+ \-\-read\-only Mount read\-only
\-\-realm string realm for authentication (default \[dq]rclone\[dq])
\-\-server\-read\-timeout duration Timeout for server reading data (default 1h0m0s)
\-\-server\-write\-timeout duration Timeout for server writing data (default 1h0m0s)
- \-\-template string User Specified Template.
- \-\-uid uint32 Override the uid field set by the filesystem. Not supported on Windows. (default 1000)
- \-\-umask int Override the permission bits set by the filesystem. Not supported on Windows. (default 2)
- \-\-user string User name for authentication.
- \-\-vfs\-cache\-max\-age duration Max age of objects in the cache. (default 1h0m0s)
- \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache. (default off)
+ \-\-template string User\-specified template
+ \-\-uid uint32 Override the uid field set by the filesystem (not supported on Windows) (default 1000)
+ \-\-umask int Override the permission bits set by the filesystem (not supported on Windows) (default 2)
+ \-\-user string User name for authentication
+ \-\-vfs\-cache\-max\-age duration Max age of objects in the cache (default 1h0m0s)
+ \-\-vfs\-cache\-max\-size SizeSuffix Max total size of objects in the cache (default off)
\-\-vfs\-cache\-mode CacheMode Cache mode off|minimal|writes|full (default off)
- \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects. (default 1m0s)
- \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match.
- \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full.
- \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks. (default 128Mi)
- \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached. \[aq]off\[aq] is unlimited. (default off)
- \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking. (default 20ms)
- \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size.
- \-\-vfs\-write\-back duration Time to writeback files after last use when using cache. (default 5s)
- \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error. (default 1s)
+ \-\-vfs\-cache\-poll\-interval duration Interval to poll the cache for stale objects (default 1m0s)
+ \-\-vfs\-case\-insensitive If a file name not found, find a case insensitive match
+ \-\-vfs\-read\-ahead SizeSuffix Extra read ahead over \-\-buffer\-size when using cache\-mode full
+ \-\-vfs\-read\-chunk\-size SizeSuffix Read the source objects in chunks (default 128Mi)
+ \-\-vfs\-read\-chunk\-size\-limit SizeSuffix If greater than \-\-vfs\-read\-chunk\-size, double the chunk size after each chunk read, until the limit is reached (\[aq]off\[aq] is unlimited) (default off)
+ \-\-vfs\-read\-wait duration Time to wait for in\-sequence read before seeking (default 20ms)
+ \-\-vfs\-used\-is\-size rclone size Use the rclone size algorithm for Used size
+ \-\-vfs\-write\-back duration Time to writeback files after last use when using cache (default 5s)
+ \-\-vfs\-write\-wait duration Time to wait for in\-sequence write before giving error (default 1s)
\f[R]
.fi
.PP
@@ -8779,7 +9328,7 @@ rclone test changenotify remote: [flags]
.nf
\f[C]
\-h, \-\-help help for changenotify
- \-\-poll\-interval duration Time to wait between polling for changes. (default 10s)
+ \-\-poll\-interval duration Time to wait between polling for changes (default 10s)
\f[R]
.fi
.PP
@@ -8842,14 +9391,14 @@ rclone test info [remote:path]+ [flags]
.IP
.nf
\f[C]
- \-\-all Run all tests.
- \-\-check\-control Check control characters.
- \-\-check\-length Check max filename length.
- \-\-check\-normalization Check UTF\-8 Normalization.
- \-\-check\-streaming Check uploads with indeterminate file size.
+ \-\-all Run all tests
+ \-\-check\-control Check control characters
+ \-\-check\-length Check max filename length
+ \-\-check\-normalization Check UTF\-8 Normalization
+ \-\-check\-streaming Check uploads with indeterminate file size
\-h, \-\-help help for info
- \-\-upload\-wait duration Wait after writing a file.
- \-\-write\-json string Write results to file.
+ \-\-upload\-wait duration Wait after writing a file
+ \-\-write\-json string Write results to file
\f[R]
.fi
.PP
@@ -8917,14 +9466,19 @@ command
Create new file or change file modification time.
.SS Synopsis
.PP
-Set the modification time on object(s) as specified by remote:path to
-have the current time.
+Set the modification time on file(s) as specified by remote:path to have
+the current time.
+.PP
+If remote:path does not exist then a zero sized file will be created,
+unless \f[C]\-\-no\-create\f[R] or \f[C]\-\-recursive\f[R] is provided.
.PP
-If remote:path does not exist then a zero sized object will be created
-unless the \-\-no\-create flag is provided.
+If \f[C]\-\-recursive\f[R] is used then recursively sets the
+modification time on all existing files that is found under the path.
+Filters are supported, and you can test with the \f[C]\-\-dry\-run\f[R]
+or the \f[C]\-\-interactive\f[R] flag.
.PP
-If \-\-timestamp is used then it will set the modification time to that
-time instead of the current time.
+If \f[C]\-\-timestamp\f[R] is used then sets the modification time to
+that time instead of the current time.
Times may be specified as one of:
.IP \[bu] 2
\[aq]YYMMDD\[aq] \- e.g.
@@ -8936,8 +9490,8 @@ Times may be specified as one of:
\[aq]YYYY\-MM\-DDTHH:MM:SS.SSS\[aq] \- e.g.
2006\-01\-02T15:04:05.123456789
.PP
-Note that \-\-timestamp is in UTC if you want local time then add the
-\-\-localtime flag.
+Note that value of \f[C]\-\-timestamp\f[R] is in UTC.
+If you want local time then add the \f[C]\-\-localtime\f[R] flag.
.IP
.nf
\f[C]
@@ -8949,9 +9503,10 @@ rclone touch remote:path [flags]
.nf
\f[C]
\-h, \-\-help help for touch
- \-\-localtime Use localtime for timestamp, not UTC.
- \-C, \-\-no\-create Do not create the file if it does not exist.
- \-t, \-\-timestamp string Use specified time instead of the current time of day.
+ \-\-localtime Use localtime for timestamp, not UTC
+ \-C, \-\-no\-create Do not create the file if it does not exist (implied with \-\-recursive)
+ \-R, \-\-recursive Recursively touch all files
+ \-t, \-\-timestamp string Use specified time instead of the current time of day
\f[R]
.fi
.PP
@@ -9004,27 +9559,27 @@ rclone tree remote:path [flags]
.IP
.nf
\f[C]
- \-a, \-\-all All files are listed (list . files too).
- \-C, \-\-color Turn colorization on always.
- \-d, \-\-dirs\-only List directories only.
- \-\-dirsfirst List directories before files (\-U disables).
- \-\-full\-path Print the full path prefix for each file.
+ \-a, \-\-all All files are listed (list . files too)
+ \-C, \-\-color Turn colorization on always
+ \-d, \-\-dirs\-only List directories only
+ \-\-dirsfirst List directories before files (\-U disables)
+ \-\-full\-path Print the full path prefix for each file
\-h, \-\-help help for tree
\-\-human Print the size in a more human readable way.
- \-\-level int Descend only level directories deep.
+ \-\-level int Descend only level directories deep
\-D, \-\-modtime Print the date of last modification.
- \-\-noindent Don\[aq]t print indentation lines.
- \-\-noreport Turn off file/directory count at end of tree listing.
- \-o, \-\-output string Output to file instead of stdout.
+ \-\-noindent Don\[aq]t print indentation lines
+ \-\-noreport Turn off file/directory count at end of tree listing
+ \-o, \-\-output string Output to file instead of stdout
\-p, \-\-protections Print the protections for each file.
\-Q, \-\-quote Quote filenames with double quotes.
\-s, \-\-size Print the size in bytes of each file.
- \-\-sort string Select sort: name,version,size,mtime,ctime.
- \-\-sort\-ctime Sort files by last status change time.
- \-t, \-\-sort\-modtime Sort files by last modification time.
- \-r, \-\-sort\-reverse Reverse the order of the sort.
- \-U, \-\-unsorted Leave files unsorted.
- \-\-version Sort files alphanumerically by version.
+ \-\-sort string Select sort: name,version,size,mtime,ctime
+ \-\-sort\-ctime Sort files by last status change time
+ \-t, \-\-sort\-modtime Sort files by last modification time
+ \-r, \-\-sort\-reverse Reverse the order of the sort
+ \-U, \-\-unsorted Leave files unsorted
+ \-\-version Sort files alphanumerically by version
\f[R]
.fi
.PP
@@ -9326,10 +9881,11 @@ DEBUG : :s3: detected overridden config \- adding \[dq]{YTu53}\[dq] suffix to na
\f[R]
.fi
.SS Valid remote names
-.IP \[bu] 2
-Remote names may only contain 0\-9, A\-Z ,a\-z ,_ , \- and space.
-.IP \[bu] 2
-Remote names may not start with \-.
+.PP
+Remote names are case sensitive, and must adhere to the following rules:
+\- May only contain \f[C]0\f[R]\-\f[C]9\f[R], \f[C]A\f[R]\-\f[C]Z\f[R],
+\f[C]a\f[R]\-\f[C]z\f[R], \f[C]_\f[R], \f[C]\-\f[R] and space.
+\- May not start with \f[C]\-\f[R] or space.
.SS Quoting and the shell
.PP
When you are typing commands to your computer you are using something
@@ -9470,10 +10026,10 @@ with optional fraction and a unit suffix, such as \[dq]300ms\[dq],
Valid time units are \[dq]ns\[dq], \[dq]us\[dq] (or \[dq]\[mc]s\[dq]),
\[dq]ms\[dq], \[dq]s\[dq], \[dq]m\[dq], \[dq]h\[dq].
.PP
-Options which use SIZE use KiByte (multiples of 1024 bytes) by default.
-However, a suffix of \f[C]B\f[R] for Byte, \f[C]K\f[R] for KiByte,
-\f[C]M\f[R] for MiByte, \f[C]G\f[R] for GiByte, \f[C]T\f[R] for TiByte
-and \f[C]P\f[R] for PiByte may be used.
+Options which use SIZE use KiB (multiples of 1024 bytes) by default.
+However, a suffix of \f[C]B\f[R] for Byte, \f[C]K\f[R] for KiB,
+\f[C]M\f[R] for MiB, \f[C]G\f[R] for GiB, \f[C]T\f[R] for TiB and
+\f[C]P\f[R] for PiB may be used.
These are the binary units, e.g.
1, 2**10, 2**20, 2**30 respectively.
.SS \-\-backup\-dir=DIR
@@ -9527,11 +10083,11 @@ For example
\f[R]
.fi
.PP
-would mean limit the upload and download bandwidth to 10 MiByte/s.
+would mean limit the upload and download bandwidth to 10 MiB/s.
\f[B]NB\f[R] this is \f[B]bytes\f[R] per second not \f[B]bits\f[R] per
second.
-To use a single limit, specify the desired bandwidth in KiByte/s, or use
-a suffix B|K|M|G|T|P.
+To use a single limit, specify the desired bandwidth in KiB/s, or use a
+suffix B|K|M|G|T|P.
The default is \f[C]0\f[R] which means to not limit bandwidth.
.PP
The upload and download bandwidth can be specified seperately, as
@@ -9543,8 +10099,8 @@ The upload and download bandwidth can be specified seperately, as
\f[R]
.fi
.PP
-would mean limit the upload bandwidth to 10 MiByte/s and the download
-bandwidth to 100 KiByte/s.
+would mean limit the upload bandwidth to 10 MiB/s and the download
+bandwidth to 100 KiB/s.
Either limit can be \[dq]off\[dq] meaning no limit, so to just limit the
upload bandwidth you would use
.IP
@@ -9554,7 +10110,7 @@ upload bandwidth you would use
\f[R]
.fi
.PP
-this would limit the upload bandwidth to 10 MiByte/s but the download
+this would limit the upload bandwidth to 10 MiB/s but the download
bandwidth would be unlimited.
.PP
When specified as above the bandwidth limits last for the duration of
@@ -9580,22 +10136,21 @@ daytime working hours could be:
.PP
\f[C]\-\-bwlimit \[dq]08:00,512k 12:00,10M 13:00,512k 18:00,30M 23:00,off\[dq]\f[R]
.PP
-In this example, the transfer bandwidth will be set to 512 KiByte/s at
-8am every day.
-At noon, it will rise to 10 MiByte/s, and drop back to 512 KiByte/sec at
-1pm.
-At 6pm, the bandwidth limit will be set to 30 MiByte/s, and at 11pm it
-will be completely disabled (full speed).
+In this example, the transfer bandwidth will be set to 512 KiB/s at 8am
+every day.
+At noon, it will rise to 10 MiB/s, and drop back to 512 KiB/sec at 1pm.
+At 6pm, the bandwidth limit will be set to 30 MiB/s, and at 11pm it will
+be completely disabled (full speed).
Anything between 11pm and 8am will remain unlimited.
.PP
An example of timetable with \f[C]WEEKDAY\f[R] could be:
.PP
\f[C]\-\-bwlimit \[dq]Mon\-00:00,512 Fri\-23:59,10M Sat\-10:00,1M Sun\-20:00,off\[dq]\f[R]
.PP
-It means that, the transfer bandwidth will be set to 512 KiByte/s on
+It means that, the transfer bandwidth will be set to 512 KiB/s on
Monday.
-It will rise to 10 MiByte/s before the end of Friday.
-At 10:00 on Saturday it will be set to 1 MiByte/s.
+It will rise to 10 MiB/s before the end of Friday.
+At 10:00 on Saturday it will be set to 1 MiB/s.
From 20:00 on Sunday it will be unlimited.
.PP
Timeslots without \f[C]WEEKDAY\f[R] are extended to the whole week.
@@ -9616,7 +10171,7 @@ Note that the units are \f[B]Byte/s\f[R], not \f[B]bit/s\f[R].
Typically connections are measured in bit/s \- to convert divide by 8.
For example, let\[aq]s say you have a 10 Mbit/s connection and you wish
rclone to use half of it \- 5 Mbit/s.
-This is 5/8 = 0.625 MiByte/s so you would use a
+This is 5/8 = 0.625 MiB/s so you would use a
\f[C]\-\-bwlimit 0.625M\f[R] parameter for rclone.
.PP
On Unix systems (Linux, macOS, \&...) the bandwidth limiter can be
@@ -9646,7 +10201,7 @@ rclone rc core/bwlimit rate=1M
This option controls per file bandwidth limit.
For the options see the \f[C]\-\-bwlimit\f[R] flag.
.PP
-For example use this to allow no transfers to be faster than 1 MiByte/s
+For example use this to allow no transfers to be faster than 1 MiB/s
.IP
.nf
\f[C]
@@ -9673,6 +10228,31 @@ usage.
.PP
Note that the memory allocation of the buffers is influenced by the
\-\-use\-mmap flag.
+.SS \-\-cache\-dir=DIR
+.PP
+Specify the directory rclone will use for caching, to override the
+default.
+.PP
+Default value is depending on operating system: \- Windows
+\f[C]%LocalAppData%\[rs]rclone\f[R], if \f[C]LocalAppData\f[R] is
+defined.
+\- macOS \f[C]$HOME/Library/Caches/rclone\f[R] if \f[C]HOME\f[R] is
+defined.
+\- Unix \f[C]$XDG_CACHE_HOME/rclone\f[R] if \f[C]XDG_CACHE_HOME\f[R] is
+defined, else \f[C]$HOME/.cache/rclone\f[R] if \f[C]HOME\f[R] is
+defined.
+\- Fallback (on all OS) to \f[C]$TMPDIR/rclone\f[R], where
+\f[C]TMPDIR\f[R] is the value from \-\-temp\-dir.
+.PP
+You can use the config
+paths (https://rclone.org/commands/rclone_config_paths/) command to see
+the current value.
+.PP
+Cache directory is heavily used by the VFS File
+Caching (https://rclone.org/commands/rclone_mount/#vfs-file-caching)
+mount feature, but also by
+serve (https://rclone.org/commands/rclone_serve/), GUI (/gui) and other
+parts of rclone.
.SS \-\-check\-first
.PP
If this flag is set then in a \f[C]sync\f[R], \f[C]copy\f[R] or
@@ -10031,6 +10611,51 @@ rclone sync \-i \[ti]/src s3:test/dst \-\-header\-upload \[dq]Content\-Dispositi
.PP
See the GitHub issue here (https://github.com/rclone/rclone/issues/59)
for currently supported backends.
+.SS \-\-human\-readable
+.PP
+Rclone commands output values for sizes (e.g.
+number of bytes) and counts (e.g.
+number of files) either as \f[I]raw\f[R] numbers, or in
+\f[I]human\-readable\f[R] format.
+.PP
+In human\-readable format the values are scaled to larger units,
+indicated with a suffix shown after the value, and rounded to three
+decimals.
+Rclone consistently uses binary units (powers of 2) for sizes and
+decimal units (powers of 10) for counts.
+The unit prefix for size is according to IEC standard notation, e.g.
+\f[C]Ki\f[R] for kibi.
+Used with byte unit, \f[C]1 KiB\f[R] means 1024 Byte.
+In list type of output, only the unit prefix appended to the value (e.g.
+\f[C]9.762Ki\f[R]), while in more textual output the full unit is shown
+(e.g.
+\f[C]9.762 KiB\f[R]).
+For counts the SI standard notation is used, e.g.
+prefix \f[C]k\f[R] for kilo.
+Used with file counts, \f[C]1k\f[R] means 1000 files.
+.PP
+The various list (commands/rclone_ls/) commands output raw numbers by
+default.
+Option \f[C]\-\-human\-readable\f[R] will make them output values in
+human\-readable format instead (with the short unit prefix).
+.PP
+The about (commands/rclone_about/) command outputs human\-readable by
+default, with a command\-specific option \f[C]\-\-full\f[R] to output
+the raw numbers instead.
+.PP
+Command size (commands/rclone_size/) outputs both human\-readable and
+raw numbers in the same output.
+.PP
+The tree (commands/rclone_tree/) command also considers
+\f[C]\-\-human\-readable\f[R], but it will not use the exact same
+notation as the other commands: It rounds to one decimal, and uses
+single letter suffix, e.g.
+\f[C]K\f[R] instead of \f[C]Ki\f[R].
+The reason for this is that it relies on an external library.
+.PP
+The interactive command ncdu (commands/rclone_ncdu/) shows
+human\-readable by default, and responds to key \f[C]u\f[R] for toggling
+human\-readable format.
.SS \-\-ignore\-case\-sync
.PP
Using this option will cause rclone to ignore the case of the files when
@@ -10055,6 +10680,10 @@ While this isn\[aq]t a generally recommended option, it can be useful in
cases where your files change due to encryption.
However, it cannot correct partial transfers in case a transfer was
interrupted.
+.PP
+When performing a \f[C]move\f[R]/\f[C]moveto\f[R] command, this flag
+will leave skipped files in the source location unchanged when a file
+with the same name exists on the destination.
.SS \-\-ignore\-size
.PP
Normally rclone will look at modification time and size of files to see
@@ -10167,9 +10796,15 @@ as rclone doesn\[aq]t have a signal to rotate logs.
.SS \-\-log\-format LIST
.PP
Comma separated list of log format options.
-\f[C]date\f[R], \f[C]time\f[R], \f[C]microseconds\f[R],
-\f[C]longfile\f[R], \f[C]shortfile\f[R], \f[C]UTC\f[R].
-The default is \[dq]\f[C]date\f[R],\f[C]time\f[R]\[dq].
+Accepted options are \f[C]date\f[R], \f[C]time\f[R],
+\f[C]microseconds\f[R], \f[C]pid\f[R], \f[C]longfile\f[R],
+\f[C]shortfile\f[R], \f[C]UTC\f[R].
+Any other keywords will be silently ignored.
+\f[C]pid\f[R] will tag log messages with process identifier which useful
+with \f[C]rclone mount \-\-daemon\f[R].
+Other accepted options are explained in the go
+documentation (https://pkg.go.dev/log#pkg-constants).
+The default log format is \[dq]\f[C]date\f[R],\f[C]time\f[R]\[dq].
.SS \-\-log\-level LEVEL
.PP
This sets the log level for rclone.
@@ -10751,6 +11386,24 @@ If using \f[C]\-\-syslog\f[R] this sets the syslog facility (e.g.
\f[C]KERN\f[R], \f[C]USER\f[R]).
See \f[C]man syslog\f[R] for a list of possible facilities.
The default facility is \f[C]DAEMON\f[R].
+.SS \-\-temp\-dir=DIR
+.PP
+Specify the directory rclone will use for temporary files, to override
+the default.
+Make sure the directory exists and have accessible permissions.
+.PP
+By default the operating system\[aq]s temp directory will be used: \- On
+Unix systems, \f[C]$TMPDIR\f[R] if non\-empty, else \f[C]/tmp\f[R].
+\- On Windows, the first non\-empty value from \f[C]%TMP%\f[R],
+\f[C]%TEMP%\f[R], \f[C]%USERPROFILE%\f[R], or the Windows directory.
+.PP
+When overriding the default with this option, the specified path will be
+set as value of environment variable \f[C]TMPDIR\f[R] on Unix systems
+and \f[C]TMP\f[R] and \f[C]TEMP\f[R] on Windows.
+.PP
+You can use the config
+paths (https://rclone.org/commands/rclone_config_paths/) command to see
+the current value.
.SS \-\-tpslimit float
.PP
Limit transactions per second to this number.
@@ -11438,7 +12091,7 @@ config file (using unix ways of setting environment variables):
$ export RCLONE_CONFIG_MYS3_TYPE=s3
$ export RCLONE_CONFIG_MYS3_ACCESS_KEY_ID=XXX
$ export RCLONE_CONFIG_MYS3_SECRET_ACCESS_KEY=XXX
-$ rclone lsd MYS3:
+$ rclone lsd mys3:
\-1 2016\-09\-21 12:54:21 \-1 my\-bucket
$ rclone listremotes | grep mys3
mys3:
@@ -11448,6 +12101,22 @@ mys3:
Note that if you want to create a remote using environment variables you
must create the \f[C]..._TYPE\f[R] variable as above.
.PP
+Note that the name of a remote created using environment variable is
+case insensitive, in contrast to regular remotes stored in config file
+as documented above.
+You must write the name in uppercase in the environment variable, but as
+seen from example above it will be listed and can be accessed in
+lowercase, while you can also refer to the same remote in uppercase:
+.IP
+.nf
+\f[C]
+$ rclone lsd mys3:
+ \-1 2016\-09\-21 12:54:21 \-1 my\-bucket
+$ rclone lsd MYS3:
+ \-1 2016\-09\-21 12:54:21 \-1 my\-bucket
+\f[R]
+.fi
+.PP
Note that you can only set the options of the immediate backend, so
RCLONE_CONFIG_MYS3CRYPT_ACCESS_KEY_ID has no effect, if myS3Crypt is a
crypt remote based on an S3 remote.
@@ -12414,21 +13083,21 @@ The fix then is to quote values containing spaces.
.SS \f[C]\-\-min\-size\f[R] \- Don\[aq]t transfer any file smaller than this
.PP
Controls the minimum size file within the scope of an rclone command.
-Default units are \f[C]KiByte\f[R] but abbreviations \f[C]K\f[R],
+Default units are \f[C]KiB\f[R] but abbreviations \f[C]K\f[R],
\f[C]M\f[R], \f[C]G\f[R], \f[C]T\f[R] or \f[C]P\f[R] are valid.
.PP
E.g.
\f[C]rclone ls remote: \-\-min\-size 50k\f[R] lists files on
-\f[C]remote:\f[R] of 50 KiByte size or larger.
+\f[C]remote:\f[R] of 50 KiB size or larger.
.SS \f[C]\-\-max\-size\f[R] \- Don\[aq]t transfer any file larger than this
.PP
Controls the maximum size file within the scope of an rclone command.
-Default units are \f[C]KiByte\f[R] but abbreviations \f[C]K\f[R],
+Default units are \f[C]KiB\f[R] but abbreviations \f[C]K\f[R],
\f[C]M\f[R], \f[C]G\f[R], \f[C]T\f[R] or \f[C]P\f[R] are valid.
.PP
E.g.
\f[C]rclone ls remote: \-\-max\-size 1G\f[R] lists files on
-\f[C]remote:\f[R] of 1 GiByte size or smaller.
+\f[C]remote:\f[R] of 1 GiB size or smaller.
.SS \f[C]\-\-max\-age\f[R] \- Don\[aq]t transfer any file older than this
.PP
Controls the maximum age of files within the scope of an rclone command.
@@ -12497,8 +13166,8 @@ rclone \-\-min\-size 50k \-\-delete\-excluded sync A: B:
\f[R]
.fi
.PP
-All files on \f[C]B:\f[R] which are less than 50 KiByte are deleted
-because they are excluded from the rclone sync command.
+All files on \f[C]B:\f[R] which are less than 50 KiB are deleted because
+they are excluded from the rclone sync command.
.SS \f[C]\-\-dump filters\f[R] \- dump the filters to the output
.PP
Dumps the defined filters to standard output in regular expression
@@ -13159,7 +13828,7 @@ And this is equivalent to \f[C]/tmp/dir\f[R]
.SS Supported commands
.SS backend/command: Runs a backend command.
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
command \- a string with the command name
.IP \[bu] 2
@@ -13170,11 +13839,11 @@ arg \- a list of arguments for the backend command
.IP \[bu] 2
opt \- a map of string to string of options
.PP
-Returns
+Returns:
.IP \[bu] 2
result \- result from the backend command
.PP
-For example
+Example:
.IP
.nf
\f[C]
@@ -13268,7 +13937,7 @@ used on top of the cache.
Show statistics for the cache remote.
.SS config/create: create the config for a remote.
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
name \- name of remote
.IP \[bu] 2
@@ -13344,7 +14013,7 @@ more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS config/password: password the config for a remote.
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
name \- name of remote
.IP \[bu] 2
@@ -13366,7 +14035,7 @@ for more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS config/update: update the config for a remote.
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
name \- name of remote
.IP \[bu] 2
@@ -13451,41 +14120,41 @@ In either case \[dq]rate\[dq] is returned as a human readable string,
and \[dq]bytesPerSecond\[dq] is returned as a number.
.SS core/command: Run a rclone terminal command over rc.
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
-command \- a string with the command name
+command \- a string with the command name.
.IP \[bu] 2
-arg \- a list of arguments for the backend command
+arg \- a list of arguments for the backend command.
.IP \[bu] 2
-opt \- a map of string to string of options
+opt \- a map of string to string of options.
.IP \[bu] 2
returnType \- one of (\[dq]COMBINED_OUTPUT\[dq], \[dq]STREAM\[dq],
-\[dq]STREAM_ONLY_STDOUT\[dq], \[dq]STREAM_ONLY_STDERR\[dq])
+\[dq]STREAM_ONLY_STDOUT\[dq], \[dq]STREAM_ONLY_STDERR\[dq]).
.RS 2
.IP \[bu] 2
-defaults to \[dq]COMBINED_OUTPUT\[dq] if not set
+Defaults to \[dq]COMBINED_OUTPUT\[dq] if not set.
.IP \[bu] 2
-the STREAM returnTypes will write the output to the body of the HTTP
-message
+The STREAM returnTypes will write the output to the body of the HTTP
+message.
.IP \[bu] 2
-the COMBINED_OUTPUT will write the output to the \[dq]result\[dq]
-parameter
+The COMBINED_OUTPUT will write the output to the \[dq]result\[dq]
+parameter.
.RE
.PP
-Returns
+Returns:
.IP \[bu] 2
-result \- result from the backend command
+result \- result from the backend command.
.RS 2
.IP \[bu] 2
-only set when using returnType \[dq]COMBINED_OUTPUT\[dq]
+Only set when using returnType \[dq]COMBINED_OUTPUT\[dq].
.RE
.IP \[bu] 2
-error \- set if rclone exits with an error code
+error \- set if rclone exits with an error code.
.IP \[bu] 2
returnType \- one of (\[dq]COMBINED_OUTPUT\[dq], \[dq]STREAM\[dq],
-\[dq]STREAM_ONLY_STDOUT\[dq], \[dq]STREAM_ONLY_STDERR\[dq])
+\[dq]STREAM_ONLY_STDOUT\[dq], \[dq]STREAM_ONLY_STDERR\[dq]).
.PP
-For example
+Example:
.IP
.nf
\f[C]
@@ -13494,7 +14163,7 @@ rclone rc core/command \-a ls \-a mydrive:/ \-o max\-depth=1
\f[R]
.fi
.PP
-Returns
+Returns:
.IP
.nf
\f[C]
@@ -13543,11 +14212,11 @@ https://golang.org/pkg/runtime/#MemStats
.PP
The most interesting values for most people are:
.IP \[bu] 2
-HeapAlloc: This is the amount of memory rclone is actually using
+HeapAlloc \- this is the amount of memory rclone is actually using
.IP \[bu] 2
-HeapSys: This is the amount of memory rclone has obtained from the OS
+HeapSys \- this is the amount of memory rclone has obtained from the OS
.IP \[bu] 2
-Sys: this is the total amount of memory requested from the OS
+Sys \- this is the total amount of memory requested from the OS
.RS 2
.IP \[bu] 2
It is virtual memory so may include unused memory
@@ -13557,14 +14226,14 @@ It is virtual memory so may include unused memory
Pass a clear string and rclone will obscure it for the config file: \-
clear \- string
.PP
-Returns \- obscured \- string
+Returns: \- obscured \- string
.SS core/pid: Return PID of current process
.PP
This returns PID of current process.
Useful for stopping rclone process.
.SS core/quit: Terminates the app.
.PP
-(optional) Pass an exit code to be used for terminating the app: \-
+(Optional) Pass an exit code to be used for terminating the app: \-
exitCode \- int
.SS core/stats: Returns stats about current transfers.
.PP
@@ -13627,7 +14296,7 @@ Values for \[dq]transferring\[dq], \[dq]checking\[dq] and
The value for \[dq]eta\[dq] is null if an eta cannot be determined.
.SS core/stats\-delete: Delete stats group.
.PP
-This deletes entire stats group
+This deletes entire stats group.
.PP
Parameters
.IP \[bu] 2
@@ -13681,7 +14350,7 @@ Returns the following values:
.fi
.SS core/version: Shows the current version of rclone and the go runtime.
.PP
-This shows the current version of go and the go runtime
+This shows the current version of go and the go runtime:
.IP \[bu] 2
version \- rclone version, e.g.
\[dq]v1.53.0\[dq]
@@ -13719,7 +14388,7 @@ go tool pprof http://localhost:5572/debug/pprof/block
\f[R]
.fi
.PP
-Parameters
+Parameters:
.IP \[bu] 2
rate \- int
.SS debug/set\-mutex\-profile\-fraction: Set runtime.SetMutexProfileFraction for mutex profiling.
@@ -13741,11 +14410,11 @@ go tool pprof http://localhost:5572/debug/pprof/mutex
\f[R]
.fi
.PP
-Parameters
+Parameters:
.IP \[bu] 2
rate \- int
.PP
-Results
+Results:
.IP \[bu] 2
previousRate \- int
.SS fscache/clear: Clear the Fs cache.
@@ -13767,18 +14436,18 @@ Returns \- entries \- number of items in the cache
\f[B]Authentication is required for this call.\f[R]
.SS job/list: Lists the IDs of the running jobs
.PP
-Parameters \- None
+Parameters: None.
.PP
-Results
+Results:
.IP \[bu] 2
-jobids \- array of integer job ids
+jobids \- array of integer job ids.
.SS job/status: Reads the status of the job ID
.PP
-Parameters
+Parameters:
.IP \[bu] 2
-jobid \- id of the job (integer)
+jobid \- id of the job (integer).
.PP
-Results
+Results:
.IP \[bu] 2
finished \- boolean
.IP \[bu] 2
@@ -13804,13 +14473,13 @@ synchronously
progress \- output of the progress related to the underlying job
.SS job/stop: Stop the running job
.PP
-Parameters
+Parameters:
.IP \[bu] 2
-jobid \- id of the job (integer)
+jobid \- id of the job (integer).
.SS mount/listmounts: Show current mount points
.PP
This shows currently mounted points, which can be used for performing an
-unmount
+unmount.
.PP
This takes no parameters and returns
.IP \[bu] 2
@@ -13833,20 +14502,20 @@ Rclone\[aq]s cloud storage systems as a file system with FUSE.
If no mountType is provided, the priority is given as follows: 1.
mount 2.cmount 3.mount2
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote path to be mounted (required)
.IP \[bu] 2
mountPoint: valid path on the local machine (required)
.IP \[bu] 2
-mountType: One of the values (mount, cmount, mount2) specifies the mount
+mountType: one of the values (mount, cmount, mount2) specifies the mount
implementation to use
.IP \[bu] 2
mountOpt: a JSON object with Mount options in.
.IP \[bu] 2
vfsOpt: a JSON object with VFS options in.
.PP
-Eg
+Example:
.IP
.nf
\f[C]
@@ -13858,7 +14527,7 @@ rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt=\[aq]{\[dq]CacheM
.PP
The vfsOpt are as described in options/get and can be seen in the the
\[dq]vfs\[dq] section when running and the mountOpt can be seen in the
-\[dq]mount\[dq] section.
+\[dq]mount\[dq] section:
.IP
.nf
\f[C]
@@ -13893,12 +14562,12 @@ rclone rc mount/types
rclone allows Linux, FreeBSD, macOS and Windows to mount any of
Rclone\[aq]s cloud storage systems as a file system with FUSE.
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
mountPoint: valid path on the local machine where the mount was created
(required)
.PP
-Eg
+Example:
.IP
.nf
\f[C]
@@ -13910,7 +14579,7 @@ rclone rc mount/unmount mountPoint=/home/<user>/mountPoint
.SS mount/unmountall: Show current mount points
.PP
This shows currently mounted points, which can be used for performing an
-unmount
+unmount.
.PP
This takes no parameters and returns error if unmount does not succeed.
.PP
@@ -13925,7 +14594,7 @@ rclone rc mount/unmountall
\f[B]Authentication is required for this call.\f[R]
.SS operations/about: Return the space used on the remote
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -13938,7 +14607,7 @@ for more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS operations/cleanup: Remove trashed files in the remote or path
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -13949,7 +14618,7 @@ command for more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS operations/copyfile: Copy a file from source remote to destination remote
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
srcFs \- a remote name string e.g.
\[dq]drive:\[dq] for the source
@@ -13966,7 +14635,7 @@ dstRemote \- a path within that remote e.g.
\f[B]Authentication is required for this call.\f[R]
.SS operations/copyurl: Copy the URL to the object
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -13984,7 +14653,7 @@ information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS operations/delete: Remove files in the path
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -13995,7 +14664,7 @@ command for more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS operations/deletefile: Remove the single file pointed to
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -14010,7 +14679,7 @@ more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS operations/fsinfo: Return information about the remote
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -14074,7 +14743,7 @@ rclone rc \-\-loopback operations/fsinfo fs=remote:
.fi
.SS operations/list: List the given remote and path in JSON format
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -14094,9 +14763,17 @@ showEncrypted \- If set show decrypted names
showOrigIDs \- If set show the IDs for each item if known
.IP \[bu] 2
showHash \- If set return a dictionary of hashes
+.IP \[bu] 2
+noMimeType \- If set don\[aq]t show mime types
+.IP \[bu] 2
+dirsOnly \- If set only show directories
+.IP \[bu] 2
+filesOnly \- If set only show files
+.IP \[bu] 2
+hashTypes \- array of strings of hash types to show if showHash set
.RE
.PP
-The result is
+Returns:
.IP \[bu] 2
list
.RS 2
@@ -14110,7 +14787,7 @@ more information on the above and examples.
\f[B]Authentication is required for this call.\f[R]
.SS operations/mkdir: Make a destination directory or container
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -14124,7 +14801,7 @@ command for more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS operations/movefile: Move a file from source remote to destination remote
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
srcFs \- a remote name string e.g.
\[dq]drive:\[dq] for the source
@@ -14141,7 +14818,7 @@ dstRemote \- a path within that remote e.g.
\f[B]Authentication is required for this call.\f[R]
.SS operations/publiclink: Create or retrieve a public link to the given file or folder.
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -14155,7 +14832,7 @@ unlink \- boolean \- if set removes the link rather than adding it
expire \- string \- the expiry time of the link e.g.
\[dq]1d\[dq] (optional)
.PP
-Returns
+Returns:
.IP \[bu] 2
url \- URL of the resource
.PP
@@ -14165,7 +14842,7 @@ for more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS operations/purge: Remove a directory or container and all of its contents
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -14179,7 +14856,7 @@ command for more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS operations/rmdir: Remove an empty directory or container
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -14193,7 +14870,7 @@ command for more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS operations/rmdirs: Remove all the empty directories in the path
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
@@ -14201,20 +14878,19 @@ fs \- a remote name string e.g.
remote \- a path within that remote e.g.
\[dq]dir\[dq]
.IP \[bu] 2
-leaveRoot \- boolean, set to true not to delete the root
-.PP
-See the rmdirs command (https://rclone.org/commands/rclone_rmdirs/)
-command for more information on the above.
+leaveRoot \- boolean, set to true not to delete the root See the rmdirs
+command (https://rclone.org/commands/rclone_rmdirs/) command for more
+information on the above.
.PP
\f[B]Authentication is required for this call.\f[R]
.SS operations/size: Count the number of bytes and files in remote
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:path/to/dir\[dq]
.PP
-Returns
+Returns:
.IP \[bu] 2
count \- number of files
.IP \[bu] 2
@@ -14224,10 +14900,36 @@ See the size command (https://rclone.org/commands/rclone_size/) command
for more information on the above.
.PP
\f[B]Authentication is required for this call.\f[R]
-.SS operations/uploadfile: Upload file using multiform/form\-data
+.SS operations/stat: Give information about the supplied file or directory
.PP
This takes the following parameters
.IP \[bu] 2
+fs \- a remote name string eg \[dq]drive:\[dq]
+.IP \[bu] 2
+remote \- a path within that remote eg \[dq]dir\[dq]
+.IP \[bu] 2
+opt \- a dictionary of options to control the listing (optional)
+.RS 2
+.IP \[bu] 2
+see operations/list for the options
+.RE
+.PP
+The result is
+.IP \[bu] 2
+item \- an object as described in the lsjson command.
+Will be null if not found.
+.PP
+Note that if you are only interested in files then it is much more
+efficient to set the filesOnly flag in the options.
+.PP
+See the lsjson command (https://rclone.org/commands/rclone_lsjson/) for
+more information on the above and examples.
+.PP
+\f[B]Authentication is required for this call.\f[R]
+.SS operations/uploadfile: Upload file using multiform/form\-data
+.PP
+This takes the following parameters:
+.IP \[bu] 2
fs \- a remote name string e.g.
\[dq]drive:\[dq]
.IP \[bu] 2
@@ -14241,7 +14943,7 @@ more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS options/blocks: List all the option blocks
.PP
-Returns \- options \- a list of the options block names
+Returns: \- options \- a list of the options block names
.SS options/get: Get all the global options
.PP
Returns an object where keys are option block names and values are an
@@ -14271,7 +14973,7 @@ This shows the internal names of the option within rclone which should
map to the external options very easily with a few exceptions.
.SS options/set: Set an option
.PP
-Parameters
+Parameters:
.IP \[bu] 2
option block name containing an object with
.RS 2
@@ -14313,38 +15015,38 @@ rclone rc options/set \-\-json \[aq]{\[dq]main\[dq]: {\[dq]LogLevel\[dq]: \[dq]N
.fi
.SS pluginsctl/addPlugin: Add a plugin using url
.PP
-used for adding a plugin to the webgui
+Used for adding a plugin to the webgui.
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
-url: http url of the github repo where the plugin is hosted
-(http://github.com/rclone/rclone\-webui\-react)
+url \- http url of the github repo where the plugin is hosted
+(http://github.com/rclone/rclone\-webui\-react).
.PP
-Eg
+Example:
.PP
rclone rc pluginsctl/addPlugin
.PP
\f[B]Authentication is required for this call.\f[R]
.SS pluginsctl/getPluginsForType: Get plugins with type criteria
.PP
-This shows all possible plugins by a mime type
+This shows all possible plugins by a mime type.
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
-type: supported mime type by a loaded plugin e.g.
-(video/mp4, audio/mp3)
+type \- supported mime type by a loaded plugin e.g.
+(video/mp4, audio/mp3).
.IP \[bu] 2
-pluginType: filter plugins based on their type e.g.
-(DASHBOARD, FILE_HANDLER, TERMINAL)
+pluginType \- filter plugins based on their type e.g.
+(DASHBOARD, FILE_HANDLER, TERMINAL).
.PP
-and returns
+Returns:
.IP \[bu] 2
-loadedPlugins: list of current production plugins
+loadedPlugins \- list of current production plugins.
.IP \[bu] 2
-testPlugins: list of temporarily loaded development plugins, usually
+testPlugins \- list of temporarily loaded development plugins, usually
running on a different server.
.PP
-Eg
+Example:
.PP
rclone rc pluginsctl/getPluginsForType type=video/mp4
.PP
@@ -14353,28 +15055,28 @@ rclone rc pluginsctl/getPluginsForType type=video/mp4
.PP
This allows you to get the currently enabled plugins and their details.
.PP
-This takes no parameters and returns
+This takes no parameters and returns:
.IP \[bu] 2
-loadedPlugins: list of current production plugins
+loadedPlugins \- list of current production plugins.
.IP \[bu] 2
-testPlugins: list of temporarily loaded development plugins, usually
+testPlugins \- list of temporarily loaded development plugins, usually
running on a different server.
.PP
-Eg
+E.g.
.PP
rclone rc pluginsctl/listPlugins
.PP
\f[B]Authentication is required for this call.\f[R]
.SS pluginsctl/listTestPlugins: Show currently loaded test plugins
.PP
-allows listing of test plugins with the rclone.test set to true in
-package.json of the plugin
+Allows listing of test plugins with the rclone.test set to true in
+package.json of the plugin.
.PP
-This takes no parameters and returns
+This takes no parameters and returns:
.IP \[bu] 2
-loadedTestPlugins: list of currently available test plugins
+loadedTestPlugins \- list of currently available test plugins.
.PP
-Eg
+E.g.
.IP
.nf
\f[C]
@@ -14385,28 +15087,28 @@ rclone rc pluginsctl/listTestPlugins
\f[B]Authentication is required for this call.\f[R]
.SS pluginsctl/removePlugin: Remove a loaded plugin
.PP
-This allows you to remove a plugin using it\[aq]s name
+This allows you to remove a plugin using it\[aq]s name.
.PP
-This takes parameters
+This takes parameters:
.IP \[bu] 2
-name: name of the plugin in the format
-\f[C]author\f[R]/\f[C]plugin_name\f[R]
+name \- name of the plugin in the format
+\f[C]author\f[R]/\f[C]plugin_name\f[R].
.PP
-Eg
+E.g.
.PP
rclone rc pluginsctl/removePlugin name=rclone/video\-plugin
.PP
\f[B]Authentication is required for this call.\f[R]
.SS pluginsctl/removeTestPlugin: Remove a test plugin
.PP
-This allows you to remove a plugin using it\[aq]s name
+This allows you to remove a plugin using it\[aq]s name.
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
-name: name of the plugin in the format
-\f[C]author\f[R]/\f[C]plugin_name\f[R]
+name \- name of the plugin in the format
+\f[C]author\f[R]/\f[C]plugin_name\f[R].
.PP
-Eg
+Example:
.IP
.nf
\f[C]
@@ -14439,7 +15141,7 @@ parameter passing is working properly.
\f[B]Authentication is required for this call.\f[R]
.SS sync/copy: copy a directory from source remote to destination remote
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
srcFs \- a remote name string e.g.
\[dq]drive:src\[dq] for the source
@@ -14455,7 +15157,7 @@ for more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS sync/move: move a directory from source remote to destination remote
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
srcFs \- a remote name string e.g.
\[dq]drive:src\[dq] for the source
@@ -14473,7 +15175,7 @@ for more information on the above.
\f[B]Authentication is required for this call.\f[R]
.SS sync/sync: sync a directory from source remote to destination remote
.PP
-This takes the following parameters
+This takes the following parameters:
.IP \[bu] 2
srcFs \- a remote name string e.g.
\[dq]drive:src\[dq] for the source
@@ -14906,7 +15608,7 @@ T}@T{
R
T}
T{
-Amazon S3
+Amazon S3 (or S3 compatible)
T}@T{
MD5
T}@T{
@@ -15270,6 +15972,19 @@ T}@T{
\-
T}
T{
+Sia
+T}@T{
+\-
+T}@T{
+No
+T}@T{
+No
+T}@T{
+No
+T}@T{
+\-
+T}
+T{
SugarSync
T}@T{
\-
@@ -15450,6 +16165,8 @@ that are usable in file or directory names.
When \f[C]rclone\f[R] detects such a name during a file upload, it will
transparently replace the restricted characters with similar looking
Unicode characters.
+To handle the different sets of restricted characters for different
+backends, rclone uses something it calls encoding.
.PP
This process is designed to avoid ambiguous file names as much as
possible and allow to move files between many cloud storage systems
@@ -15463,14 +16180,74 @@ storage.
This transformation is reversed when downloading a file or parsing
\f[C]rclone\f[R] arguments.
For example, when uploading a file named \f[C]my file?.txt\f[R] to
-Onedrive will be displayed as \f[C]my file?.txt\f[R] on the console, but
-stored as \f[C]my file\[uFF1F].txt\f[R] (the \f[C]?\f[R] gets replaced
-by the similar looking \f[C]\[uFF1F]\f[R] character) to Onedrive.
-The reverse transformation allows to read a
-file\f[C]unusual/name.txt\f[R] from Google Drive, by passing the name
-\f[C]unusual\[uFF0F]name.txt\f[R] (the \f[C]/\f[R] needs to be replaced
-by the similar looking \f[C]\[uFF0F]\f[R] character) on the command
-line.
+Onedrive, it will be displayed as \f[C]my file?.txt\f[R] on the console,
+but stored as \f[C]my file\[uFF1F].txt\f[R] to Onedrive (the \f[C]?\f[R]
+gets replaced by the similar looking \f[C]\[uFF1F]\f[R] character, the
+so\-called \[dq]fullwidth question mark\[dq]).
+The reverse transformation allows to read a file
+\f[C]unusual/name.txt\f[R] from Google Drive, by passing the name
+\f[C]unusual\[uFF0F]name.txt\f[R] on the command line (the \f[C]/\f[R]
+needs to be replaced by the similar looking \f[C]\[uFF0F]\f[R]
+character).
+.SS Caveats
+.PP
+The filename encoding system works well in most cases, at least where
+file names are written in English or similar languages.
+You might not even notice it: It just works.
+In some cases it may lead to issues, though.
+E.g.
+when file names are written in Chinese, or Japanese, where it is always
+the Unicode fullwidth variants of the punctuation marks that are used.
+.PP
+On Windows, the characters \f[C]:\f[R], \f[C]*\f[R] and \f[C]?\f[R] are
+examples of restricted characters.
+If these are used in filenames on a remote that supports it, Rclone will
+transparently convert them to their fullwidth Unicode variants
+\f[C]\[uFF0A]\f[R], \f[C]\[uFF1F]\f[R] and \f[C]\[uFF1A]\f[R] when
+downloading to Windows, and back again when uploading.
+This way files with names that are not allowed on Windows can still be
+stored.
+.PP
+However, if you have files on your Windows system originally with these
+same Unicode characters in their names, they will be included in the
+same conversion process.
+E.g.
+if you create a file in your Windows filesystem with name
+\f[C]Test\[uFF1A]1.jpg\f[R], where \f[C]\[uFF1A]\f[R] is the Unicode
+fullwidth colon symbol, and use rclone to upload it to Google Drive,
+which supports regular \f[C]:\f[R] (halfwidth question mark), rclone
+will replace the fullwidth \f[C]:\f[R] with the halfwidth \f[C]:\f[R]
+and store the file as \f[C]Test:1.jpg\f[R] in Google Drive.
+Since both Windows and Google Drive allows the name
+\f[C]Test\[uFF1A]1.jpg\f[R], it would probably be better if rclone just
+kept the name as is in this case.
+.PP
+With the opposite situation; if you have a file named
+\f[C]Test:1.jpg\f[R], in your Google Drive, e.g.
+uploaded from a Linux system where \f[C]:\f[R] is valid in file names.
+Then later use rclone to copy this file to your Windows computer you
+will notice that on your local disk it gets renamed to
+\f[C]Test\[uFF1A]1.jpg\f[R].
+The original filename is not legal on Windows, due to the \f[C]:\f[R],
+and rclone therefore renames it to make the copy possible.
+That is all good.
+However, this can also lead to an issue: If you already had a
+\f[I]different\f[R] file named \f[C]Test\[uFF1A]1.jpg\f[R] on Windows,
+and then use rclone to copy either way.
+Rclone will then treat the file originally named \f[C]Test:1.jpg\f[R] on
+Google Drive and the file originally named \f[C]Test\[uFF1A]1.jpg\f[R]
+on Windows as the same file, and replace the contents from one with the
+other.
+.PP
+Its virtually impossible to handle all cases like these correctly in all
+situations, but by customizing the encoding option, changing the set of
+characters that rclone should convert, you should be able to create a
+configuration that works well for your specific situation.
+See also the
+example (https://rclone.org/overview/#encoding-example-windows) below.
+.PP
+(Windows was used as an example of a file system with many restricted
+characters, and Google drive a storage system with few.)
.SS Default restricted characters
.PP
The table below shows the characters that are replaced by default.
@@ -15776,7 +16553,7 @@ See the local filenames (https://rclone.org/local/#filenames) section
for details.
.SS Encoding option
.PP
-Most backends have an encoding options, specified as a flag
+Most backends have an encoding option, specified as a flag
\f[C]\-\-backend\-encoding\f[R] where \f[C]backend\f[R] is the name of
the backend, or as a config parameter \f[C]encoding\f[R] (you\[aq]ll
need to select the Advanced config in \f[C]rclone config\f[R] to see
@@ -15786,9 +16563,11 @@ This will have default value which encodes and decodes characters in
such a way as to preserve the maximum number of characters (see above).
.PP
However this can be incorrect in some scenarios, for example if you have
-a Windows file system with characters such as \f[C]\[uFF0A]\f[R] and
-\f[C]\[uFF1F]\f[R] that you want to remain as those characters on the
-remote rather than being translated to \f[C]*\f[R] and \f[C]?\f[R].
+a Windows file system with Unicode fullwidth characters
+\f[C]\[uFF0A]\f[R], \f[C]\[uFF1F]\f[R] or \f[C]\[uFF1A]\f[R], that you
+want to remain as those characters on the remote rather than being
+translated to regular (halfwidth) \f[C]*\f[R], \f[C]?\f[R] and
+\f[C]:\f[R].
.PP
The \f[C]\-\-backend\-encoding\f[R] flags allow you to change that.
You can disable the encoding completely with
@@ -15796,11 +16575,11 @@ You can disable the encoding completely with
the config file.
.PP
Encoding takes a comma separated list of encodings.
-You can see the list of all available characters by passing an invalid
-value to this flag, e.g.
-\f[C]\-\-local\-encoding \[dq]help\[dq]\f[R] and
-\f[C]rclone help flags encoding\f[R] will show you the defaults for the
-backends.
+You can see the list of all possible values by passing an invalid value
+to this flag, e.g.
+\f[C]\-\-local\-encoding \[dq]help\[dq]\f[R].
+The command \f[C]rclone help flags encoding\f[R] will show you the
+defaults for the backends.
.PP
.TS
tab(@);
@@ -15854,7 +16633,7 @@ T}
T{
Dot
T}@T{
-\f[C].\f[R]
+\f[C].\f[R] or \f[C]..\f[R] as entire string
T}
T{
DoubleQuote
@@ -15942,7 +16721,13 @@ Slash
T}@T{
\f[C]/\f[R]
T}
+T{
+SquareBracket
+T}@T{
+\f[C][\f[R], \f[C]]\f[R]
+T}
.TE
+.SS Encoding example: FTP
.PP
To take a specific example, the FTP backend\[aq]s default encoding is
.IP
@@ -15974,20 +16759,55 @@ Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,Rig
.PP
This can be specified using the \f[C]\-\-ftp\-encoding\f[R] flag or
using an \f[C]encoding\f[R] parameter in the config file.
+.SS Encoding example: Windows
.PP
-Or let\[aq]s say you have a Windows server but you want to preserve
-\f[C]\[uFF0A]\f[R] and \f[C]\[uFF1F]\f[R], you would then have this as
-the encoding (the Windows encoding minus \f[C]Asterisk\f[R] and
-\f[C]Question\f[R]).
+As a nother example, take a Windows system where there is a file with
+name \f[C]Test\[uFF1A]1.jpg\f[R], where \f[C]\[uFF1A]\f[R] is the
+Unicode fullwidth colon symbol.
+When using rclone to copy this to a remote which supports \f[C]:\f[R],
+the regular (halfwidth) colon (such as Google Drive), you will notice
+that the file gets renamed to \f[C]Test:1.jpg\f[R].
+.PP
+To avoid this you can change the set of characters rclone should convert
+for the local filesystem, using command\-line argument
+\f[C]\-\-local\-encoding\f[R].
+Rclone\[aq]s default behavior on Windows corresponds to
.IP
.nf
\f[C]
-Slash,LtGt,DoubleQuote,Colon,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot
+\-\-local\-encoding \[dq]Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot\[dq]
\f[R]
.fi
.PP
-This can be specified using the \f[C]\-\-local\-encoding\f[R] flag or
-using an \f[C]encoding\f[R] parameter in the config file.
+If you want to use fullwidth characters \f[C]\[uFF1A]\f[R],
+\f[C]\[uFF0A]\f[R] and \f[C]\[uFF1F]\f[R] in your filenames without
+rclone changing them when uploading to a remote, then set the same as
+the default value but without \f[C]Colon,Question,Asterisk\f[R]:
+.IP
+.nf
+\f[C]
+\-\-local\-encoding \[dq]Slash,LtGt,DoubleQuote,Pipe,BackSlash,Ctl,RightSpace,RightPeriod,InvalidUtf8,Dot\[dq]
+\f[R]
+.fi
+.PP
+Alternatively, you can disable the conversion of any characters with
+\f[C]\-\-local\-encoding None\f[R].
+.PP
+Instead of using command\-line argument \f[C]\-\-local\-encoding\f[R],
+you may also set it as environment
+variable (https://rclone.org/docs/#environment-variables)
+\f[C]RCLONE_LOCAL_ENCODING\f[R], or
+configure (https://rclone.org/docs/#configure) a remote of type
+\f[C]local\f[R] in your config, and set the \f[C]encoding\f[R] option
+there.
+.PP
+The risk by doing this is that if you have a filename with the regular
+(halfwidth) \f[C]:\f[R], \f[C]*\f[R] and \f[C]?\f[R] in your cloud
+storage, and you try to download it to your Windows filesystem, this
+will fail.
+These characters are not valid in filenames on Windows, and you have
+told rclone not to work around this by converting them to valid
+fullwidth variants.
.SS MIME Type
.PP
MIME types (also known as media types) classify types of documents using
@@ -16963,34 +17783,34 @@ These flags are available for every command.
.IP
.nf
\f[C]
- \-\-ask\-password Allow prompt for password for encrypted configuration. (default true)
- \-\-auto\-confirm If enabled, do not request console confirmation.
- \-\-backup\-dir string Make backups into hierarchy based in DIR.
- \-\-bind string Local address to bind to for outgoing connections, IPv4, IPv6 or name.
- \-\-buffer\-size SizeSuffix In memory buffer size when reading files for each \-\-transfer. (default 16Mi)
- \-\-bwlimit BwTimetable Bandwidth limit in KiByte/s, or use suffix B|K|M|G|T|P or a full timetable.
- \-\-bwlimit\-file BwTimetable Bandwidth limit per file in KiByte/s, or use suffix B|K|M|G|T|P or a full timetable.
+ \-\-ask\-password Allow prompt for password for encrypted configuration (default true)
+ \-\-auto\-confirm If enabled, do not request console confirmation
+ \-\-backup\-dir string Make backups into hierarchy based in DIR
+ \-\-bind string Local address to bind to for outgoing connections, IPv4, IPv6 or name
+ \-\-buffer\-size SizeSuffix In memory buffer size when reading files for each \-\-transfer (default 16Mi)
+ \-\-bwlimit BwTimetable Bandwidth limit in KiB/s, or use suffix B|K|M|G|T|P or a full timetable
+ \-\-bwlimit\-file BwTimetable Bandwidth limit per file in KiB/s, or use suffix B|K|M|G|T|P or a full timetable
\-\-ca\-cert string CA certificate used to verify servers
- \-\-cache\-dir string Directory rclone will use for caching. (default \[dq]$HOME/.cache/rclone\[dq])
- \-\-check\-first Do all the checks before starting transfers.
- \-\-checkers int Number of checkers to run in parallel. (default 8)
+ \-\-cache\-dir string Directory rclone will use for caching (default \[dq]$HOME/.cache/rclone\[dq])
+ \-\-check\-first Do all the checks before starting transfers
+ \-\-checkers int Number of checkers to run in parallel (default 8)
\-c, \-\-checksum Skip based on checksum (if available) & size, not mod\-time & size
\-\-client\-cert string Client SSL certificate (PEM) for mutual TLS auth
\-\-client\-key string Client SSL private key (PEM) for mutual TLS auth
- \-\-compare\-dest stringArray Include additional comma separated server\-side paths during comparison.
- \-\-config string Config file. (default \[dq]$HOME/.config/rclone/rclone.conf\[dq])
+ \-\-compare\-dest stringArray Include additional comma separated server\-side paths during comparison
+ \-\-config string Config file (default \[dq]$HOME/.config/rclone/rclone.conf\[dq])
\-\-contimeout duration Connect timeout (default 1m0s)
- \-\-copy\-dest stringArray Implies \-\-compare\-dest but also copies files from paths into destination.
+ \-\-copy\-dest stringArray Implies \-\-compare\-dest but also copies files from paths into destination
\-\-cpuprofile string Write cpu profile to file
\-\-cutoff\-mode string Mode to stop transfers when reaching the max transfer limit HARD|SOFT|CAUTIOUS (default \[dq]HARD\[dq])
\-\-delete\-after When synchronizing, delete files on destination after transferring (default)
\-\-delete\-before When synchronizing, delete files on destination before transferring
\-\-delete\-during When synchronizing, delete files during transfer
\-\-delete\-excluded Delete files on dest excluded from sync
- \-\-disable string Disable a comma separated list of features. Use \-\-disable help to see a list.
- \-\-disable\-http2 Disable HTTP/2 in the global transport.
+ \-\-disable string Disable a comma separated list of features (use \-\-disable help to see a list)
+ \-\-disable\-http2 Disable HTTP/2 in the global transport
\-n, \-\-dry\-run Do a trial run with no permanent changes
- \-\-dscp string Set DSCP value to connections. Can be value or names, eg. CS1, LE, DF, AF21.
+ \-\-dscp string Set DSCP value to connections, value or name, e.g. CS1, LE, DF, AF21
\-\-dump DumpFlags List of items to dump from: headers,bodies,requests,responses,auth,filters,goroutines,openfiles
\-\-dump\-bodies Dump HTTP headers and bodies \- may contain sensitive info
\-\-dump\-headers Dump HTTP headers \- may contain sensitive info
@@ -16999,112 +17819,115 @@ These flags are available for every command.
\-\-exclude\-from stringArray Read exclude patterns from file (use \- to read from stdin)
\-\-exclude\-if\-present string Exclude directories if filename is present
\-\-expect\-continue\-timeout duration Timeout when using expect / 100\-continue in HTTP (default 1s)
- \-\-fast\-list Use recursive list if available. Uses more memory but fewer transactions.
+ \-\-fast\-list Use recursive list if available; uses more memory but fewer transactions
\-\-files\-from stringArray Read list of source\-file names from file (use \- to read from stdin)
\-\-files\-from\-raw stringArray Read list of source\-file names from file without any processing of lines (use \- to read from stdin)
\-f, \-\-filter stringArray Add a file\-filtering rule
\-\-filter\-from stringArray Read filtering patterns from a file (use \- to read from stdin)
- \-\-fs\-cache\-expire\-duration duration cache remotes for this long (0 to disable caching) (default 5m0s)
- \-\-fs\-cache\-expire\-interval duration interval to check for expired remotes (default 1m0s)
+ \-\-fs\-cache\-expire\-duration duration Cache remotes for this long (0 to disable caching) (default 5m0s)
+ \-\-fs\-cache\-expire\-interval duration Interval to check for expired remotes (default 1m0s)
\-\-header stringArray Set HTTP header for all transactions
\-\-header\-download stringArray Set HTTP header for download transactions
\-\-header\-upload stringArray Set HTTP header for upload transactions
+ \-\-human\-readable Print numbers in a human\-readable format, sizes with suffix Ki|Mi|Gi|Ti|Pi
\-\-ignore\-case Ignore case in filters (case insensitive)
\-\-ignore\-case\-sync Ignore case when synchronizing
- \-\-ignore\-checksum Skip post copy check of checksums.
- \-\-ignore\-errors delete even if there are I/O errors
+ \-\-ignore\-checksum Skip post copy check of checksums
+ \-\-ignore\-errors Delete even if there are I/O errors
\-\-ignore\-existing Skip all files that exist on destination
- \-\-ignore\-size Ignore size when skipping use mod\-time or checksum.
+ \-\-ignore\-size Ignore size when skipping use mod\-time or checksum
\-I, \-\-ignore\-times Don\[aq]t skip files that match size and time \- transfer all files
- \-\-immutable Do not modify files. Fail if existing files have been modified.
+ \-\-immutable Do not modify files, fail if existing files have been modified
\-\-include stringArray Include files matching pattern
\-\-include\-from stringArray Read include patterns from file (use \- to read from stdin)
\-i, \-\-interactive Enable interactive mode
+ \-\-kv\-lock\-time duration Maximum time to keep key\-value database locked by process (default 1s)
\-\-log\-file string Log everything to this file
\-\-log\-format string Comma separated list of log format options (default \[dq]date,time\[dq])
\-\-log\-level string Log level DEBUG|INFO|NOTICE|ERROR (default \[dq]NOTICE\[dq])
- \-\-log\-systemd Activate systemd integration for the logger.
- \-\-low\-level\-retries int Number of low level retries to do. (default 10)
+ \-\-log\-systemd Activate systemd integration for the logger
+ \-\-low\-level\-retries int Number of low level retries to do (default 10)
\-\-max\-age Duration Only transfer files younger than this in s or suffix ms|s|m|h|d|w|M|y (default off)
- \-\-max\-backlog int Maximum number of objects in sync or check backlog. (default 10000)
+ \-\-max\-backlog int Maximum number of objects in sync or check backlog (default 10000)
\-\-max\-delete int When synchronizing, limit the number of deletes (default \-1)
- \-\-max\-depth int If set limits the recursion depth to this. (default \-1)
- \-\-max\-duration duration Maximum duration rclone will transfer data for.
+ \-\-max\-depth int If set limits the recursion depth to this (default \-1)
+ \-\-max\-duration duration Maximum duration rclone will transfer data for
\-\-max\-size SizeSuffix Only transfer files smaller than this in KiB or suffix B|K|M|G|T|P (default off)
- \-\-max\-stats\-groups int Maximum number of stats groups to keep in memory. On max oldest is discarded. (default 1000)
- \-\-max\-transfer SizeSuffix Maximum size of data to transfer. (default off)
+ \-\-max\-stats\-groups int Maximum number of stats groups to keep in memory, on max oldest is discarded (default 1000)
+ \-\-max\-transfer SizeSuffix Maximum size of data to transfer (default off)
\-\-memprofile string Write memory profile to file
\-\-min\-age Duration Only transfer files older than this in s or suffix ms|s|m|h|d|w|M|y (default off)
\-\-min\-size SizeSuffix Only transfer files bigger than this in KiB or suffix B|K|M|G|T|P (default off)
\-\-modify\-window duration Max time diff to be considered the same (default 1ns)
- \-\-multi\-thread\-cutoff SizeSuffix Use multi\-thread downloads for files above this size. (default 250Mi)
- \-\-multi\-thread\-streams int Max number of streams to use for multi\-thread downloads. (default 4)
- \-\-no\-check\-certificate Do not verify the server SSL certificate. Insecure.
- \-\-no\-check\-dest Don\[aq]t check the destination, copy regardless.
- \-\-no\-console Hide console window. Supported on Windows only.
- \-\-no\-gzip\-encoding Don\[aq]t set Accept\-Encoding: gzip.
- \-\-no\-traverse Don\[aq]t traverse destination file system on copy.
- \-\-no\-unicode\-normalization Don\[aq]t normalize unicode characters in filenames.
- \-\-no\-update\-modtime Don\[aq]t update destination mod\-time if files identical.
+ \-\-multi\-thread\-cutoff SizeSuffix Use multi\-thread downloads for files above this size (default 250Mi)
+ \-\-multi\-thread\-streams int Max number of streams to use for multi\-thread downloads (default 4)
+ \-\-no\-check\-certificate Do not verify the server SSL certificate (insecure)
+ \-\-no\-check\-dest Don\[aq]t check the destination, copy regardless
+ \-\-no\-console Hide console window (supported on Windows only)
+ \-\-no\-gzip\-encoding Don\[aq]t set Accept\-Encoding: gzip
+ \-\-no\-traverse Don\[aq]t traverse destination file system on copy
+ \-\-no\-unicode\-normalization Don\[aq]t normalize unicode characters in filenames
+ \-\-no\-update\-modtime Don\[aq]t update destination mod\-time if files identical
\-\-order\-by string Instructions on how to order the transfers, e.g. \[aq]size,descending\[aq]
- \-\-password\-command SpaceSepList Command for supplying password for encrypted configuration.
- \-P, \-\-progress Show progress during transfer.
- \-\-progress\-terminal\-title Show progress on the terminal title. Requires \-P/\-\-progress.
+ \-\-password\-command SpaceSepList Command for supplying password for encrypted configuration
+ \-P, \-\-progress Show progress during transfer
+ \-\-progress\-terminal\-title Show progress on the terminal title (requires \-P/\-\-progress)
\-q, \-\-quiet Print as little stuff as possible
- \-\-rc Enable the remote control server.
- \-\-rc\-addr string IPaddress:Port or :Port to bind server to. (default \[dq]localhost:5572\[dq])
- \-\-rc\-allow\-origin string Set the allowed origin for CORS.
- \-\-rc\-baseurl string Prefix for URLs \- leave blank for root.
+ \-\-rc Enable the remote control server
+ \-\-rc\-addr string IPaddress:Port or :Port to bind server to (default \[dq]localhost:5572\[dq])
+ \-\-rc\-allow\-origin string Set the allowed origin for CORS
+ \-\-rc\-baseurl string Prefix for URLs \- leave blank for root
\-\-rc\-cert string SSL PEM key (concatenation of certificate and CA certificate)
\-\-rc\-client\-ca string Client certificate authority to verify clients with
\-\-rc\-enable\-metrics Enable prometheus metrics on /metrics
- \-\-rc\-files string Path to local files to serve on the HTTP server.
+ \-\-rc\-files string Path to local files to serve on the HTTP server
\-\-rc\-htpasswd string htpasswd file \- if not provided no authentication is done
\-\-rc\-job\-expire\-duration duration expire finished async jobs older than this value (default 1m0s)
\-\-rc\-job\-expire\-interval duration interval to check for expired async jobs (default 10s)
\-\-rc\-key string SSL PEM Private key
\-\-rc\-max\-header\-bytes int Maximum size of request header (default 4096)
- \-\-rc\-no\-auth Don\[aq]t require auth for certain methods.
- \-\-rc\-pass string Password for authentication.
+ \-\-rc\-no\-auth Don\[aq]t require auth for certain methods
+ \-\-rc\-pass string Password for authentication
\-\-rc\-realm string realm for authentication (default \[dq]rclone\[dq])
- \-\-rc\-serve Enable the serving of remote objects.
+ \-\-rc\-serve Enable the serving of remote objects
\-\-rc\-server\-read\-timeout duration Timeout for server reading data (default 1h0m0s)
\-\-rc\-server\-write\-timeout duration Timeout for server writing data (default 1h0m0s)
- \-\-rc\-template string User Specified Template.
- \-\-rc\-user string User name for authentication.
- \-\-rc\-web\-fetch\-url string URL to fetch the releases for webgui. (default \[dq]https://api.github.com/repos/rclone/rclone\-webui\-react/releases/latest\[dq])
+ \-\-rc\-template string User\-specified template
+ \-\-rc\-user string User name for authentication
+ \-\-rc\-web\-fetch\-url string URL to fetch the releases for webgui (default \[dq]https://api.github.com/repos/rclone/rclone\-webui\-react/releases/latest\[dq])
\-\-rc\-web\-gui Launch WebGUI on localhost
\-\-rc\-web\-gui\-force\-update Force update to latest version of web gui
\-\-rc\-web\-gui\-no\-open\-browser Don\[aq]t open the browser automatically
\-\-rc\-web\-gui\-update Check and update to latest version of web gui
- \-\-refresh\-times Refresh the modtime of remote files.
+ \-\-refresh\-times Refresh the modtime of remote files
\-\-retries int Retry operations this many times if they fail (default 3)
- \-\-retries\-sleep duration Interval between retrying operations if they fail, e.g 500ms, 60s, 5m. (0 to disable)
+ \-\-retries\-sleep duration Interval between retrying operations if they fail, e.g. 500ms, 60s, 5m (0 to disable)
\-\-size\-only Skip based on size only, not mod\-time or checksum
- \-\-stats duration Interval between printing stats, e.g 500ms, 60s, 5m. (0 to disable) (default 1m0s)
- \-\-stats\-file\-name\-length int Max file name length in stats. 0 for no limit (default 45)
+ \-\-stats duration Interval between printing stats, e.g. 500ms, 60s, 5m (0 to disable) (default 1m0s)
+ \-\-stats\-file\-name\-length int Max file name length in stats (0 for no limit) (default 45)
\-\-stats\-log\-level string Log level to show \-\-stats output DEBUG|INFO|NOTICE|ERROR (default \[dq]INFO\[dq])
- \-\-stats\-one\-line Make the stats fit on one line.
- \-\-stats\-one\-line\-date Enables \-\-stats\-one\-line and add current date/time prefix.
- \-\-stats\-one\-line\-date\-format string Enables \-\-stats\-one\-line\-date and uses custom formatted date. Enclose date string in double quotes (\[dq]). See https://golang.org/pkg/time/#Time.Format
+ \-\-stats\-one\-line Make the stats fit on one line
+ \-\-stats\-one\-line\-date Enable \-\-stats\-one\-line and add current date/time prefix
+ \-\-stats\-one\-line\-date\-format string Enable \-\-stats\-one\-line\-date and use custom formatted date: Enclose date string in double quotes (\[dq]), see https://golang.org/pkg/time/#Time.Format
\-\-stats\-unit string Show data rate in stats as either \[aq]bits\[aq] or \[aq]bytes\[aq] per second (default \[dq]bytes\[dq])
- \-\-streaming\-upload\-cutoff SizeSuffix Cutoff for switching to chunked upload if file size is unknown. Upload starts after reaching cutoff or when file ends. (default 100Ki)
- \-\-suffix string Suffix to add to changed files.
- \-\-suffix\-keep\-extension Preserve the extension when using \-\-suffix.
+ \-\-streaming\-upload\-cutoff SizeSuffix Cutoff for switching to chunked upload if file size is unknown, upload starts after reaching cutoff or when file ends (default 100Ki)
+ \-\-suffix string Suffix to add to changed files
+ \-\-suffix\-keep\-extension Preserve the extension when using \-\-suffix
\-\-syslog Use Syslog for logging
\-\-syslog\-facility string Facility for syslog, e.g. KERN,USER,... (default \[dq]DAEMON\[dq])
+ \-\-temp\-dir string Directory rclone will use for temporary files (default \[dq]/tmp\[dq])
\-\-timeout duration IO idle timeout (default 5m0s)
- \-\-tpslimit float Limit HTTP transactions per second to this.
- \-\-tpslimit\-burst int Max burst of transactions for \-\-tpslimit. (default 1)
+ \-\-tpslimit float Limit HTTP transactions per second to this
+ \-\-tpslimit\-burst int Max burst of transactions for \-\-tpslimit (default 1)
\-\-track\-renames When synchronizing, track file renames and do a server\-side move if possible
\-\-track\-renames\-strategy string Strategies to use when synchronizing using track\-renames hash|modtime|leaf (default \[dq]hash\[dq])
- \-\-transfers int Number of file transfers to run in parallel. (default 4)
- \-u, \-\-update Skip files that are newer on the destination.
- \-\-use\-cookies Enable session cookiejar.
- \-\-use\-json\-log Use json log format.
- \-\-use\-mmap Use mmap allocator (see docs).
+ \-\-transfers int Number of file transfers to run in parallel (default 4)
+ \-u, \-\-update Skip files that are newer on the destination
+ \-\-use\-cookies Enable session cookiejar
+ \-\-use\-json\-log Use json log format
+ \-\-use\-mmap Use mmap allocator (see docs)
\-\-use\-server\-modtime Use server modified time instead of object metadata
- \-\-user\-agent string Set the user\-agent to a specified string. The default is rclone/ version (default \[dq]rclone/v1.56.0\[dq])
+ \-\-user\-agent string Set the user\-agent to a specified string (default \[dq]rclone/v1.57.0\[dq])
\-v, \-\-verbose count Print lots more stuff (repeat for more)
\f[R]
.fi
@@ -17115,435 +17938,453 @@ They control the backends and may be set in the config file.
.IP
.nf
\f[C]
- \-\-acd\-auth\-url string Auth server URL.
- \-\-acd\-client\-id string OAuth Client Id
- \-\-acd\-client\-secret string OAuth Client Secret
- \-\-acd\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- \-\-acd\-templink\-threshold SizeSuffix Files >= this size will be downloaded via their tempLink. (default 9Gi)
- \-\-acd\-token string OAuth Access Token as a JSON blob.
- \-\-acd\-token\-url string Token server url.
- \-\-acd\-upload\-wait\-per\-gb Duration Additional time per GiB to wait after a failed complete upload to see if it appears. (default 3m0s)
- \-\-alias\-remote string Remote or path to alias.
- \-\-azureblob\-access\-tier string Access tier of blob: hot, cool or archive.
- \-\-azureblob\-account string Storage Account Name (leave blank to use SAS URL or Emulator)
- \-\-azureblob\-archive\-tier\-delete Delete archive tier blobs before overwriting.
- \-\-azureblob\-chunk\-size SizeSuffix Upload chunk size (<= 100 MiB). (default 4Mi)
- \-\-azureblob\-disable\-checksum Don\[aq]t store MD5 checksum with object metadata.
- \-\-azureblob\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8)
- \-\-azureblob\-endpoint string Endpoint for the service
- \-\-azureblob\-key string Storage Account Key (leave blank to use SAS URL or Emulator)
- \-\-azureblob\-list\-chunk int Size of blob list. (default 5000)
- \-\-azureblob\-memory\-pool\-flush\-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- \-\-azureblob\-memory\-pool\-use\-mmap Whether to use mmap buffers in internal memory pool.
- \-\-azureblob\-msi\-client\-id string Object ID of the user\-assigned MSI to use, if any. Leave blank if msi_object_id or msi_mi_res_id specified.
- \-\-azureblob\-msi\-mi\-res\-id string Azure resource ID of the user\-assigned MSI to use, if any. Leave blank if msi_client_id or msi_object_id specified.
- \-\-azureblob\-msi\-object\-id string Object ID of the user\-assigned MSI to use, if any. Leave blank if msi_client_id or msi_mi_res_id specified.
- \-\-azureblob\-public\-access string Public access level of a container: blob, container.
- \-\-azureblob\-sas\-url string SAS URL for container level access only
- \-\-azureblob\-service\-principal\-file string Path to file containing credentials for use with a service principal.
- \-\-azureblob\-upload\-cutoff string Cutoff for switching to chunked upload (<= 256 MiB). (Deprecated)
- \-\-azureblob\-use\-emulator Uses local storage emulator if provided as \[aq]true\[aq] (leave blank if using real azure storage endpoint)
- \-\-azureblob\-use\-msi Use a managed service identity to authenticate (only works in Azure)
- \-\-b2\-account string Account ID or Application Key ID
- \-\-b2\-chunk\-size SizeSuffix Upload chunk size. Must fit in memory. (default 96Mi)
- \-\-b2\-copy\-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4Gi)
- \-\-b2\-disable\-checksum Disable checksums for large (> upload cutoff) files
- \-\-b2\-download\-auth\-duration Duration Time before the authorization token will expire in s or suffix ms|s|m|h|d. (default 1w)
- \-\-b2\-download\-url string Custom endpoint for downloads.
- \-\-b2\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- \-\-b2\-endpoint string Endpoint for the service.
- \-\-b2\-hard\-delete Permanently delete files on remote removal, otherwise hide files.
- \-\-b2\-key string Application Key
- \-\-b2\-memory\-pool\-flush\-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- \-\-b2\-memory\-pool\-use\-mmap Whether to use mmap buffers in internal memory pool.
- \-\-b2\-test\-mode string A flag string for X\-Bz\-Test\-Mode header for debugging.
- \-\-b2\-upload\-cutoff SizeSuffix Cutoff for switching to chunked upload. (default 200Mi)
- \-\-b2\-versions Include old versions in directory listings.
- \-\-box\-access\-token string Box App Primary Access Token
- \-\-box\-auth\-url string Auth server URL.
- \-\-box\-box\-config\-file string Box App config.json location
- \-\-box\-box\-sub\-type string (default \[dq]user\[dq])
- \-\-box\-client\-id string OAuth Client Id
- \-\-box\-client\-secret string OAuth Client Secret
- \-\-box\-commit\-retries int Max number of times to try committing a multipart file. (default 100)
- \-\-box\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot)
- \-\-box\-root\-folder\-id string Fill in for rclone to use a non root folder as its starting point.
- \-\-box\-token string OAuth Access Token as a JSON blob.
- \-\-box\-token\-url string Token server url.
- \-\-box\-upload\-cutoff SizeSuffix Cutoff for switching to multipart upload (>= 50 MiB). (default 50Mi)
- \-\-cache\-chunk\-clean\-interval Duration How often should the cache perform cleanups of the chunk storage. (default 1m0s)
- \-\-cache\-chunk\-no\-memory Disable the in\-memory cache for storing chunks during streaming.
- \-\-cache\-chunk\-path string Directory to cache chunk files. (default \[dq]$HOME/.cache/rclone/cache\-backend\[dq])
- \-\-cache\-chunk\-size SizeSuffix The size of a chunk (partial file data). (default 5Mi)
- \-\-cache\-chunk\-total\-size SizeSuffix The total size that the chunks can take up on the local disk. (default 10Gi)
- \-\-cache\-db\-path string Directory to store file structure metadata DB. (default \[dq]$HOME/.cache/rclone/cache\-backend\[dq])
- \-\-cache\-db\-purge Clear all the cached data for this remote on start.
- \-\-cache\-db\-wait\-time Duration How long to wait for the DB to be available \- 0 is unlimited (default 1s)
- \-\-cache\-info\-age Duration How long to cache file structure information (directory listings, file size, times, etc.). (default 6h0m0s)
- \-\-cache\-plex\-insecure string Skip all certificate verification when connecting to the Plex server
- \-\-cache\-plex\-password string The password of the Plex user (obscured)
- \-\-cache\-plex\-url string The URL of the Plex server
- \-\-cache\-plex\-username string The username of the Plex user
- \-\-cache\-read\-retries int How many times to retry a read from a cache storage. (default 10)
- \-\-cache\-remote string Remote to cache.
- \-\-cache\-rps int Limits the number of requests per second to the source FS (\-1 to disable) (default \-1)
- \-\-cache\-tmp\-upload\-path string Directory to keep temporary files until they are uploaded.
- \-\-cache\-tmp\-wait\-time Duration How long should files be stored in local cache before being uploaded (default 15s)
- \-\-cache\-workers int How many workers should run in parallel to download chunks. (default 4)
- \-\-cache\-writes Cache file data on writes through the FS
- \-\-chunker\-chunk\-size SizeSuffix Files larger than chunk size will be split in chunks. (default 2Gi)
- \-\-chunker\-fail\-hard Choose how chunker should handle files with missing or invalid chunks.
- \-\-chunker\-hash\-type string Choose how chunker handles hash sums. All modes but \[dq]none\[dq] require metadata. (default \[dq]md5\[dq])
- \-\-chunker\-remote string Remote to chunk/unchunk.
- \-\-compress\-level int GZIP compression level (\-2 to 9). (default \-1)
- \-\-compress\-mode string Compression mode. (default \[dq]gzip\[dq])
- \-\-compress\-ram\-cache\-limit SizeSuffix Some remotes don\[aq]t allow the upload of files with unknown size. (default 20Mi)
- \-\-compress\-remote string Remote to compress.
- \-L, \-\-copy\-links Follow symlinks and copy the pointed to item.
- \-\-crypt\-directory\-name\-encryption Option to either encrypt directory names or leave them intact. (default true)
- \-\-crypt\-filename\-encryption string How to encrypt the filenames. (default \[dq]standard\[dq])
- \-\-crypt\-no\-data\-encryption Option to either encrypt file data or leave it unencrypted.
- \-\-crypt\-password string Password or pass phrase for encryption. (obscured)
- \-\-crypt\-password2 string Password or pass phrase for salt. Optional but recommended. (obscured)
- \-\-crypt\-remote string Remote to encrypt/decrypt.
- \-\-crypt\-server\-side\-across\-configs Allow server\-side operations (e.g. copy) to work across different crypt configs.
- \-\-crypt\-show\-mapping For all files listed show how the names encrypt.
- \-\-drive\-acknowledge\-abuse Set to allow files which return cannotDownloadAbusiveFile to be downloaded.
- \-\-drive\-allow\-import\-name\-change Allow the filetype to change when uploading Google docs (e.g. file.doc to file.docx). This will confuse sync and reupload every time.
- \-\-drive\-auth\-owner\-only Only consider files owned by the authenticated user.
- \-\-drive\-auth\-url string Auth server URL.
- \-\-drive\-chunk\-size SizeSuffix Upload chunk size. Must a power of 2 >= 256k. (default 8Mi)
- \-\-drive\-client\-id string Google Application Client Id
- \-\-drive\-client\-secret string OAuth Client Secret
- \-\-drive\-disable\-http2 Disable drive using http2 (default true)
- \-\-drive\-encoding MultiEncoder This sets the encoding for the backend. (default InvalidUtf8)
- \-\-drive\-export\-formats string Comma separated list of preferred formats for downloading Google docs. (default \[dq]docx,xlsx,pptx,svg\[dq])
- \-\-drive\-formats string Deprecated: see export_formats
- \-\-drive\-impersonate string Impersonate this user when using a service account.
- \-\-drive\-import\-formats string Comma separated list of preferred formats for uploading Google docs.
- \-\-drive\-keep\-revision\-forever Keep new head revision of each file forever.
- \-\-drive\-list\-chunk int Size of listing chunk 100\-1000. 0 to disable. (default 1000)
- \-\-drive\-pacer\-burst int Number of API calls to allow without sleeping. (default 100)
- \-\-drive\-pacer\-min\-sleep Duration Minimum time to sleep between API calls. (default 100ms)
- \-\-drive\-root\-folder\-id string ID of the root folder
- \-\-drive\-scope string Scope that rclone should use when requesting access from drive.
- \-\-drive\-server\-side\-across\-configs Allow server\-side operations (e.g. copy) to work across different drive configs.
- \-\-drive\-service\-account\-credentials string Service Account Credentials JSON blob
- \-\-drive\-service\-account\-file string Service Account Credentials JSON file path
- \-\-drive\-shared\-with\-me Only show files that are shared with me.
- \-\-drive\-size\-as\-quota Show sizes as storage quota usage, not actual size.
- \-\-drive\-skip\-checksum\-gphotos Skip MD5 checksum on Google photos and videos only.
- \-\-drive\-skip\-gdocs Skip google documents in all listings.
- \-\-drive\-skip\-shortcuts If set skip shortcut files
- \-\-drive\-starred\-only Only show files that are starred.
- \-\-drive\-stop\-on\-download\-limit Make download limit errors be fatal
- \-\-drive\-stop\-on\-upload\-limit Make upload limit errors be fatal
- \-\-drive\-team\-drive string ID of the Shared Drive (Team Drive)
- \-\-drive\-token string OAuth Access Token as a JSON blob.
- \-\-drive\-token\-url string Token server url.
- \-\-drive\-trashed\-only Only show files that are in the trash.
- \-\-drive\-upload\-cutoff SizeSuffix Cutoff for switching to chunked upload (default 8Mi)
- \-\-drive\-use\-created\-date Use file created date instead of modified date.,
- \-\-drive\-use\-shared\-date Use date file was shared instead of modified date.
- \-\-drive\-use\-trash Send files to the trash instead of deleting permanently. (default true)
- \-\-drive\-v2\-download\-min\-size SizeSuffix If Object\[aq]s are greater, use drive v2 API to download. (default off)
- \-\-dropbox\-auth\-url string Auth server URL.
- \-\-dropbox\-batch\-mode string Upload file batching sync|async|off. (default \[dq]sync\[dq])
- \-\-dropbox\-batch\-size int Max number of files in upload batch.
- \-\-dropbox\-batch\-timeout Duration Max time to allow an idle upload batch before uploading (default 0s)
- \-\-dropbox\-chunk\-size SizeSuffix Upload chunk size. (< 150Mi). (default 48Mi)
- \-\-dropbox\-client\-id string OAuth Client Id
- \-\-dropbox\-client\-secret string OAuth Client Secret
- \-\-dropbox\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot)
- \-\-dropbox\-impersonate string Impersonate this user when using a business account.
- \-\-dropbox\-shared\-files Instructs rclone to work on individual shared files.
- \-\-dropbox\-shared\-folders Instructs rclone to work on shared folders.
- \-\-dropbox\-token string OAuth Access Token as a JSON blob.
- \-\-dropbox\-token\-url string Token server url.
- \-\-fichier\-api\-key string Your API Key, get it from https://1fichier.com/console/params.pl
- \-\-fichier\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot)
- \-\-fichier\-file\-password string If you want to download a shared file that is password protected, add this parameter (obscured)
- \-\-fichier\-folder\-password string If you want to list the files in a shared folder that is password protected, add this parameter (obscured)
- \-\-fichier\-shared\-folder string If you want to download a shared folder, add this parameter
- \-\-filefabric\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,InvalidUtf8,Dot)
- \-\-filefabric\-permanent\-token string Permanent Authentication Token
- \-\-filefabric\-root\-folder\-id string ID of the root folder
- \-\-filefabric\-token string Session Token
- \-\-filefabric\-token\-expiry string Token expiry time
- \-\-filefabric\-url string URL of the Enterprise File Fabric to connect to
- \-\-filefabric\-version string Version read from the file fabric
- \-\-ftp\-close\-timeout Duration Maximum time to wait for a response to close. (default 1m0s)
- \-\-ftp\-concurrency int Maximum number of FTP simultaneous connections, 0 for unlimited
- \-\-ftp\-disable\-epsv Disable using EPSV even if server advertises support
- \-\-ftp\-disable\-mlsd Disable using MLSD even if server advertises support
- \-\-ftp\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,RightSpace,Dot)
- \-\-ftp\-explicit\-tls Use Explicit FTPS (FTP over TLS)
- \-\-ftp\-host string FTP host to connect to
- \-\-ftp\-idle\-timeout Duration Max time before closing idle connections (default 1m0s)
- \-\-ftp\-no\-check\-certificate Do not verify the TLS certificate of the server
- \-\-ftp\-pass string FTP password (obscured)
- \-\-ftp\-port string FTP port, leave blank to use default (21)
- \-\-ftp\-tls Use Implicit FTPS (FTP over TLS)
- \-\-ftp\-user string FTP username, leave blank for current username, $USER
- \-\-gcs\-anonymous Access public buckets and objects without credentials
- \-\-gcs\-auth\-url string Auth server URL.
- \-\-gcs\-bucket\-acl string Access Control List for new buckets.
- \-\-gcs\-bucket\-policy\-only Access checks should use bucket\-level IAM policies.
- \-\-gcs\-client\-id string OAuth Client Id
- \-\-gcs\-client\-secret string OAuth Client Secret
- \-\-gcs\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,CrLf,InvalidUtf8,Dot)
- \-\-gcs\-location string Location for the newly created buckets.
- \-\-gcs\-object\-acl string Access Control List for new objects.
- \-\-gcs\-project\-number string Project number.
- \-\-gcs\-service\-account\-file string Service Account Credentials JSON file path
- \-\-gcs\-storage\-class string The storage class to use when storing objects in Google Cloud Storage.
- \-\-gcs\-token string OAuth Access Token as a JSON blob.
- \-\-gcs\-token\-url string Token server url.
- \-\-gphotos\-auth\-url string Auth server URL.
- \-\-gphotos\-client\-id string OAuth Client Id
- \-\-gphotos\-client\-secret string OAuth Client Secret
- \-\-gphotos\-include\-archived Also view and download archived media.
- \-\-gphotos\-read\-only Set to make the Google Photos backend read only.
- \-\-gphotos\-read\-size Set to read the size of media items.
- \-\-gphotos\-start\-year int Year limits the photos to be downloaded to those which are uploaded after the given year (default 2000)
- \-\-gphotos\-token string OAuth Access Token as a JSON blob.
- \-\-gphotos\-token\-url string Token server url.
- \-\-hdfs\-data\-transfer\-protection string Kerberos data transfer protection: authentication|integrity|privacy
- \-\-hdfs\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Colon,Del,Ctl,InvalidUtf8,Dot)
- \-\-hdfs\-namenode string hadoop name node and port
- \-\-hdfs\-service\-principal\-name string Kerberos service principal name for the namenode
- \-\-hdfs\-username string hadoop user name
- \-\-http\-headers CommaSepList Set HTTP headers for all transactions
- \-\-http\-no\-head Don\[aq]t use HEAD requests to find file sizes in dir listing
- \-\-http\-no\-slash Set this if the site doesn\[aq]t end directories with /
- \-\-http\-url string URL of http host to connect to
- \-\-hubic\-auth\-url string Auth server URL.
- \-\-hubic\-chunk\-size SizeSuffix Above this size files will be chunked into a _segments container. (default 5Gi)
- \-\-hubic\-client\-id string OAuth Client Id
- \-\-hubic\-client\-secret string OAuth Client Secret
- \-\-hubic\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8)
- \-\-hubic\-no\-chunk Don\[aq]t chunk files during streaming upload.
- \-\-hubic\-token string OAuth Access Token as a JSON blob.
- \-\-hubic\-token\-url string Token server url.
- \-\-jottacloud\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
- \-\-jottacloud\-hard\-delete Delete files permanently rather than putting them into the trash.
- \-\-jottacloud\-md5\-memory\-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required. (default 10Mi)
- \-\-jottacloud\-no\-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them.
- \-\-jottacloud\-trashed\-only Only show files that are in the trash.
- \-\-jottacloud\-upload\-resume\-limit SizeSuffix Files bigger than this can be resumed if the upload fail\[aq]s. (default 10Mi)
- \-\-koofr\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- \-\-koofr\-endpoint string The Koofr API endpoint to use (default \[dq]https://app.koofr.net\[dq])
- \-\-koofr\-mountid string Mount ID of the mount to use. If omitted, the primary mount is used.
- \-\-koofr\-password string Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password) (obscured)
- \-\-koofr\-setmtime Does the backend support setting modification time. Set this to false if you use a mount ID that points to a Dropbox or Amazon Drive backend. (default true)
- \-\-koofr\-user string Your Koofr user name
- \-l, \-\-links Translate symlinks to/from regular files with a \[aq].rclonelink\[aq] extension
- \-\-local\-case\-insensitive Force the filesystem to report itself as case insensitive
- \-\-local\-case\-sensitive Force the filesystem to report itself as case sensitive.
- \-\-local\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Dot)
- \-\-local\-no\-check\-updated Don\[aq]t check to see if the files change during upload
- \-\-local\-no\-preallocate Disable preallocation of disk space for transferred files
- \-\-local\-no\-set\-modtime Disable setting modtime
- \-\-local\-no\-sparse Disable sparse files for multi\-thread downloads
- \-\-local\-nounc string Disable UNC (long path names) conversion on Windows
- \-\-local\-unicode\-normalization Apply unicode NFC normalization to paths and filenames
- \-\-local\-zero\-size\-links Assume the Stat size of links is zero (and read them instead) (Deprecated)
- \-\-mailru\-check\-hash What should copy do if file checksum is mismatched or invalid (default true)
- \-\-mailru\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- \-\-mailru\-pass string Password (obscured)
- \-\-mailru\-speedup\-enable Skip full upload if there is another file with same data hash. (default true)
- \-\-mailru\-speedup\-file\-patterns string Comma separated list of file name patterns eligible for speedup (put by hash). (default \[dq]*.mkv,*.avi,*.mp4,*.mp3,*.zip,*.gz,*.rar,*.pdf\[dq])
- \-\-mailru\-speedup\-max\-disk SizeSuffix This option allows you to disable speedup (put by hash) for large files (default 3Gi)
- \-\-mailru\-speedup\-max\-memory SizeSuffix Files larger than the size given below will always be hashed on disk. (default 32Mi)
- \-\-mailru\-user string User name (usually email)
- \-\-mega\-debug Output more debug from Mega.
- \-\-mega\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- \-\-mega\-hard\-delete Delete files permanently rather than putting them into the trash.
- \-\-mega\-pass string Password. (obscured)
- \-\-mega\-user string User name
- \-x, \-\-one\-file\-system Don\[aq]t cross filesystem boundaries (unix/macOS only).
- \-\-onedrive\-auth\-url string Auth server URL.
- \-\-onedrive\-chunk\-size SizeSuffix Chunk size to upload files with \- must be multiple of 320k (327,680 bytes). (default 10Mi)
- \-\-onedrive\-client\-id string OAuth Client Id
- \-\-onedrive\-client\-secret string OAuth Client Secret
- \-\-onedrive\-drive\-id string The ID of the drive to use
- \-\-onedrive\-drive\-type string The type of the drive ( personal | business | documentLibrary )
- \-\-onedrive\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
- \-\-onedrive\-expose\-onenote\-files Set to make OneNote files show up in directory listings.
- \-\-onedrive\-link\-password string Set the password for links created by the link command.
- \-\-onedrive\-link\-scope string Set the scope of the links created by the link command. (default \[dq]anonymous\[dq])
- \-\-onedrive\-link\-type string Set the type of the links created by the link command. (default \[dq]view\[dq])
- \-\-onedrive\-list\-chunk int Size of listing chunk. (default 1000)
- \-\-onedrive\-no\-versions Remove all versions on modifying operations
- \-\-onedrive\-region string Choose national cloud region for OneDrive. (default \[dq]global\[dq])
- \-\-onedrive\-server\-side\-across\-configs Allow server\-side operations (e.g. copy) to work across different onedrive configs.
- \-\-onedrive\-token string OAuth Access Token as a JSON blob.
- \-\-onedrive\-token\-url string Token server url.
- \-\-opendrive\-chunk\-size SizeSuffix Files will be uploaded in chunks this size. (default 10Mi)
- \-\-opendrive\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,LeftSpace,LeftCrLfHtVt,RightSpace,RightCrLfHtVt,InvalidUtf8,Dot)
- \-\-opendrive\-password string Password. (obscured)
- \-\-opendrive\-username string Username
- \-\-pcloud\-auth\-url string Auth server URL.
- \-\-pcloud\-client\-id string OAuth Client Id
- \-\-pcloud\-client\-secret string OAuth Client Secret
- \-\-pcloud\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- \-\-pcloud\-hostname string Hostname to connect to. (default \[dq]api.pcloud.com\[dq])
- \-\-pcloud\-root\-folder\-id string Fill in for rclone to use a non root folder as its starting point. (default \[dq]d0\[dq])
- \-\-pcloud\-token string OAuth Access Token as a JSON blob.
- \-\-pcloud\-token\-url string Token server url.
- \-\-premiumizeme\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- \-\-putio\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
- \-\-qingstor\-access\-key\-id string QingStor Access Key ID
- \-\-qingstor\-chunk\-size SizeSuffix Chunk size to use for uploading. (default 4Mi)
- \-\-qingstor\-connection\-retries int Number of connection retries. (default 3)
- \-\-qingstor\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Ctl,InvalidUtf8)
- \-\-qingstor\-endpoint string Enter an endpoint URL to connection QingStor API.
- \-\-qingstor\-env\-auth Get QingStor credentials from runtime. Only applies if access_key_id and secret_access_key is blank.
- \-\-qingstor\-secret\-access\-key string QingStor Secret Access Key (password)
- \-\-qingstor\-upload\-concurrency int Concurrency for multipart uploads. (default 1)
- \-\-qingstor\-upload\-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
- \-\-qingstor\-zone string Zone to connect to.
- \-\-s3\-access\-key\-id string AWS Access Key ID.
- \-\-s3\-acl string Canned ACL used when creating buckets and storing or copying objects.
- \-\-s3\-bucket\-acl string Canned ACL used when creating buckets.
- \-\-s3\-chunk\-size SizeSuffix Chunk size to use for uploading. (default 5Mi)
- \-\-s3\-copy\-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
- \-\-s3\-disable\-checksum Don\[aq]t store MD5 checksum with object metadata
- \-\-s3\-disable\-http2 Disable usage of http2 for S3 backends
- \-\-s3\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8,Dot)
- \-\-s3\-endpoint string Endpoint for S3 API.
- \-\-s3\-env\-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars).
- \-\-s3\-force\-path\-style If true use path style access if false use virtual hosted style. (default true)
- \-\-s3\-leave\-parts\-on\-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery.
- \-\-s3\-list\-chunk int Size of listing chunk (response list for each ListObject S3 request). (default 1000)
- \-\-s3\-location\-constraint string Location constraint \- must be set to match the Region.
- \-\-s3\-max\-upload\-parts int Maximum number of parts in a multipart upload. (default 10000)
- \-\-s3\-memory\-pool\-flush\-time Duration How often internal memory buffer pools will be flushed. (default 1m0s)
- \-\-s3\-memory\-pool\-use\-mmap Whether to use mmap buffers in internal memory pool.
- \-\-s3\-no\-check\-bucket If set, don\[aq]t attempt to check the bucket exists or create it
- \-\-s3\-no\-head If set, don\[aq]t HEAD uploaded objects to check integrity
- \-\-s3\-no\-head\-object If set, don\[aq]t HEAD objects
- \-\-s3\-profile string Profile to use in the shared credentials file
- \-\-s3\-provider string Choose your S3 provider.
- \-\-s3\-region string Region to connect to.
- \-\-s3\-requester\-pays Enables requester pays option when interacting with S3 bucket.
- \-\-s3\-secret\-access\-key string AWS Secret Access Key (password)
- \-\-s3\-server\-side\-encryption string The server\-side encryption algorithm used when storing this object in S3.
- \-\-s3\-session\-token string An AWS session token
- \-\-s3\-shared\-credentials\-file string Path to the shared credentials file
- \-\-s3\-sse\-customer\-algorithm string If using SSE\-C, the server\-side encryption algorithm used when storing this object in S3.
- \-\-s3\-sse\-customer\-key string If using SSE\-C you must provide the secret encryption key used to encrypt/decrypt your data.
- \-\-s3\-sse\-customer\-key\-md5 string If using SSE\-C you may provide the secret encryption key MD5 checksum (optional).
- \-\-s3\-sse\-kms\-key\-id string If using KMS ID you must provide the ARN of Key.
- \-\-s3\-storage\-class string The storage class to use when storing new objects in S3.
- \-\-s3\-upload\-concurrency int Concurrency for multipart uploads. (default 4)
- \-\-s3\-upload\-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
- \-\-s3\-use\-accelerate\-endpoint If true use the AWS S3 accelerated endpoint.
- \-\-s3\-v2\-auth If true use v2 authentication.
- \-\-seafile\-2fa Two\-factor authentication (\[aq]true\[aq] if the account has 2FA enabled)
- \-\-seafile\-create\-library Should rclone create a library if it doesn\[aq]t exist
- \-\-seafile\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,DoubleQuote,BackSlash,Ctl,InvalidUtf8)
- \-\-seafile\-library string Name of the library. Leave blank to access all non\-encrypted libraries.
- \-\-seafile\-library\-key string Library password (for encrypted libraries only). Leave blank if you pass it through the command line. (obscured)
- \-\-seafile\-pass string Password (obscured)
- \-\-seafile\-url string URL of seafile host to connect to
- \-\-seafile\-user string User name (usually email address)
- \-\-sftp\-ask\-password Allow asking for SFTP password when needed.
- \-\-sftp\-disable\-concurrent\-reads If set don\[aq]t use concurrent reads
- \-\-sftp\-disable\-concurrent\-writes If set don\[aq]t use concurrent writes
- \-\-sftp\-disable\-hashcheck Disable the execution of SSH commands to determine if remote file hashing is available.
- \-\-sftp\-host string SSH host to connect to
- \-\-sftp\-idle\-timeout Duration Max time before closing idle connections (default 1m0s)
- \-\-sftp\-key\-file string Path to PEM\-encoded private key file, leave blank or set key\-use\-agent to use ssh\-agent.
- \-\-sftp\-key\-file\-pass string The passphrase to decrypt the PEM\-encoded private key file. (obscured)
- \-\-sftp\-key\-pem string Raw PEM\-encoded private key, If specified, will override key_file parameter.
- \-\-sftp\-key\-use\-agent When set forces the usage of the ssh\-agent.
- \-\-sftp\-known\-hosts\-file string Optional path to known_hosts file.
- \-\-sftp\-md5sum\-command string The command used to read md5 hashes. Leave blank for autodetect.
- \-\-sftp\-pass string SSH password, leave blank to use ssh\-agent. (obscured)
- \-\-sftp\-path\-override string Override path used by SSH connection.
- \-\-sftp\-port string SSH port, leave blank to use default (22)
- \-\-sftp\-pubkey\-file string Optional path to public key file.
- \-\-sftp\-server\-command string Specifies the path or command to run a sftp server on the remote host.
- \-\-sftp\-set\-modtime Set the modified time on the remote if set. (default true)
- \-\-sftp\-sha1sum\-command string The command used to read sha1 hashes. Leave blank for autodetect.
- \-\-sftp\-skip\-links Set to skip any symlinks and any other non regular files.
- \-\-sftp\-subsystem string Specifies the SSH2 subsystem on the remote host. (default \[dq]sftp\[dq])
- \-\-sftp\-use\-fstat If set use fstat instead of stat
- \-\-sftp\-use\-insecure\-cipher Enable the use of insecure ciphers and key exchange methods.
- \-\-sftp\-user string SSH username, leave blank for current username, $USER
- \-\-sharefile\-chunk\-size SizeSuffix Upload chunk size. Must a power of 2 >= 256k. (default 64Mi)
- \-\-sharefile\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot)
- \-\-sharefile\-endpoint string Endpoint for API calls.
- \-\-sharefile\-root\-folder\-id string ID of the root folder
- \-\-sharefile\-upload\-cutoff SizeSuffix Cutoff for switching to multipart upload. (default 128Mi)
- \-\-skip\-links Don\[aq]t warn about skipped symlinks.
- \-\-sugarsync\-access\-key\-id string Sugarsync Access Key ID.
- \-\-sugarsync\-app\-id string Sugarsync App ID.
- \-\-sugarsync\-authorization string Sugarsync authorization
- \-\-sugarsync\-authorization\-expiry string Sugarsync authorization expiry
- \-\-sugarsync\-deleted\-id string Sugarsync deleted folder id
- \-\-sugarsync\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Ctl,InvalidUtf8,Dot)
- \-\-sugarsync\-hard\-delete Permanently delete files if true
- \-\-sugarsync\-private\-access\-key string Sugarsync Private Access Key
- \-\-sugarsync\-refresh\-token string Sugarsync refresh token
- \-\-sugarsync\-root\-id string Sugarsync root id
- \-\-sugarsync\-user string Sugarsync user
- \-\-swift\-application\-credential\-id string Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
- \-\-swift\-application\-credential\-name string Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
- \-\-swift\-application\-credential\-secret string Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
- \-\-swift\-auth string Authentication URL for server (OS_AUTH_URL).
- \-\-swift\-auth\-token string Auth Token from alternate authentication \- optional (OS_AUTH_TOKEN)
- \-\-swift\-auth\-version int AuthVersion \- optional \- set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
- \-\-swift\-chunk\-size SizeSuffix Above this size files will be chunked into a _segments container. (default 5Gi)
- \-\-swift\-domain string User domain \- optional (v3 auth) (OS_USER_DOMAIN_NAME)
- \-\-swift\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,InvalidUtf8)
- \-\-swift\-endpoint\-type string Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE) (default \[dq]public\[dq])
- \-\-swift\-env\-auth Get swift credentials from environment variables in standard OpenStack form.
- \-\-swift\-key string API key or password (OS_PASSWORD).
- \-\-swift\-leave\-parts\-on\-error If true avoid calling abort upload on a failure. It should be set to true for resuming uploads across different sessions.
- \-\-swift\-no\-chunk Don\[aq]t chunk files during streaming upload.
- \-\-swift\-region string Region name \- optional (OS_REGION_NAME)
- \-\-swift\-storage\-policy string The storage policy to use when creating a new container
- \-\-swift\-storage\-url string Storage URL \- optional (OS_STORAGE_URL)
- \-\-swift\-tenant string Tenant name \- optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
- \-\-swift\-tenant\-domain string Tenant domain \- optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
- \-\-swift\-tenant\-id string Tenant ID \- optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
- \-\-swift\-user string User name to log in (OS_USERNAME).
- \-\-swift\-user\-id string User ID to log in \- optional \- most swift systems use user and leave this blank (v3 auth) (OS_USER_ID).
- \-\-tardigrade\-access\-grant string Access Grant.
- \-\-tardigrade\-api\-key string API Key.
- \-\-tardigrade\-passphrase string Encryption Passphrase. To access existing objects enter passphrase used for uploading.
- \-\-tardigrade\-provider string Choose an authentication method. (default \[dq]existing\[dq])
- \-\-tardigrade\-satellite\-address <nodeid>\[at]<address>:<port> Satellite Address. Custom satellite address should match the format: <nodeid>\[at]<address>:<port>. (default \[dq]us\-central\-1.tardigrade.io\[dq])
- \-\-union\-action\-policy string Policy to choose upstream on ACTION category. (default \[dq]epall\[dq])
- \-\-union\-cache\-time int Cache time of usage and free space (in seconds). This option is only useful when a path preserving policy is used. (default 120)
- \-\-union\-create\-policy string Policy to choose upstream on CREATE category. (default \[dq]epmfs\[dq])
- \-\-union\-search\-policy string Policy to choose upstream on SEARCH category. (default \[dq]ff\[dq])
- \-\-union\-upstreams string List of space separated upstreams.
- \-\-uptobox\-access\-token string Your access Token, get it from https://uptobox.com/my_account
- \-\-uptobox\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot)
- \-\-webdav\-bearer\-token string Bearer token instead of user/pass (e.g. a Macaroon)
- \-\-webdav\-bearer\-token\-command string Command to run to get a bearer token
- \-\-webdav\-encoding string This sets the encoding for the backend.
- \-\-webdav\-headers CommaSepList Set HTTP headers for all transactions
- \-\-webdav\-pass string Password. (obscured)
- \-\-webdav\-url string URL of http host to connect to
- \-\-webdav\-user string User name. In case NTLM authentication is used, the username should be in the format \[aq]Domain\[rs]User\[aq].
- \-\-webdav\-vendor string Name of the Webdav site/service/software you are using
- \-\-yandex\-auth\-url string Auth server URL.
- \-\-yandex\-client\-id string OAuth Client Id
- \-\-yandex\-client\-secret string OAuth Client Secret
- \-\-yandex\-encoding MultiEncoder This sets the encoding for the backend. (default Slash,Del,Ctl,InvalidUtf8,Dot)
- \-\-yandex\-token string OAuth Access Token as a JSON blob.
- \-\-yandex\-token\-url string Token server url.
- \-\-zoho\-auth\-url string Auth server URL.
- \-\-zoho\-client\-id string OAuth Client Id
- \-\-zoho\-client\-secret string OAuth Client Secret
- \-\-zoho\-encoding MultiEncoder This sets the encoding for the backend. (default Del,Ctl,InvalidUtf8)
- \-\-zoho\-region string Zoho region to connect to.
- \-\-zoho\-token string OAuth Access Token as a JSON blob.
- \-\-zoho\-token\-url string Token server url.
+ \-\-acd\-auth\-url string Auth server URL
+ \-\-acd\-client\-id string OAuth Client Id
+ \-\-acd\-client\-secret string OAuth Client Secret
+ \-\-acd\-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ \-\-acd\-templink\-threshold SizeSuffix Files >= this size will be downloaded via their tempLink (default 9Gi)
+ \-\-acd\-token string OAuth Access Token as a JSON blob
+ \-\-acd\-token\-url string Token server url
+ \-\-acd\-upload\-wait\-per\-gb Duration Additional time per GiB to wait after a failed complete upload to see if it appears (default 3m0s)
+ \-\-alias\-remote string Remote or path to alias
+ \-\-azureblob\-access\-tier string Access tier of blob: hot, cool or archive
+ \-\-azureblob\-account string Storage Account Name
+ \-\-azureblob\-archive\-tier\-delete Delete archive tier blobs before overwriting
+ \-\-azureblob\-chunk\-size SizeSuffix Upload chunk size (<= 100 MiB) (default 4Mi)
+ \-\-azureblob\-disable\-checksum Don\[aq]t store MD5 checksum with object metadata
+ \-\-azureblob\-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8)
+ \-\-azureblob\-endpoint string Endpoint for the service
+ \-\-azureblob\-key string Storage Account Key
+ \-\-azureblob\-list\-chunk int Size of blob list (default 5000)
+ \-\-azureblob\-memory\-pool\-flush\-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ \-\-azureblob\-memory\-pool\-use\-mmap Whether to use mmap buffers in internal memory pool
+ \-\-azureblob\-msi\-client\-id string Object ID of the user\-assigned MSI to use, if any
+ \-\-azureblob\-msi\-mi\-res\-id string Azure resource ID of the user\-assigned MSI to use, if any
+ \-\-azureblob\-msi\-object\-id string Object ID of the user\-assigned MSI to use, if any
+ \-\-azureblob\-no\-head\-object If set, do not do HEAD before GET when getting objects
+ \-\-azureblob\-public\-access string Public access level of a container: blob or container
+ \-\-azureblob\-sas\-url string SAS URL for container level access only
+ \-\-azureblob\-service\-principal\-file string Path to file containing credentials for use with a service principal
+ \-\-azureblob\-upload\-cutoff string Cutoff for switching to chunked upload (<= 256 MiB) (deprecated)
+ \-\-azureblob\-use\-emulator Uses local storage emulator if provided as \[aq]true\[aq]
+ \-\-azureblob\-use\-msi Use a managed service identity to authenticate (only works in Azure)
+ \-\-b2\-account string Account ID or Application Key ID
+ \-\-b2\-chunk\-size SizeSuffix Upload chunk size (default 96Mi)
+ \-\-b2\-copy\-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4Gi)
+ \-\-b2\-disable\-checksum Disable checksums for large (> upload cutoff) files
+ \-\-b2\-download\-auth\-duration Duration Time before the authorization token will expire in s or suffix ms|s|m|h|d (default 1w)
+ \-\-b2\-download\-url string Custom endpoint for downloads
+ \-\-b2\-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ \-\-b2\-endpoint string Endpoint for the service
+ \-\-b2\-hard\-delete Permanently delete files on remote removal, otherwise hide files
+ \-\-b2\-key string Application Key
+ \-\-b2\-memory\-pool\-flush\-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ \-\-b2\-memory\-pool\-use\-mmap Whether to use mmap buffers in internal memory pool
+ \-\-b2\-test\-mode string A flag string for X\-Bz\-Test\-Mode header for debugging
+ \-\-b2\-upload\-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ \-\-b2\-versions Include old versions in directory listings
+ \-\-box\-access\-token string Box App Primary Access Token
+ \-\-box\-auth\-url string Auth server URL
+ \-\-box\-box\-config\-file string Box App config.json location
+ \-\-box\-box\-sub\-type string (default \[dq]user\[dq])
+ \-\-box\-client\-id string OAuth Client Id
+ \-\-box\-client\-secret string OAuth Client Secret
+ \-\-box\-commit\-retries int Max number of times to try committing a multipart file (default 100)
+ \-\-box\-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,RightSpace,InvalidUtf8,Dot)
+ \-\-box\-list\-chunk int Size of listing chunk 1\-1000 (default 1000)
+ \-\-box\-owned\-by string Only show items owned by the login (email address) passed in
+ \-\-box\-root\-folder\-id string Fill in for rclone to use a non root folder as its starting point
+ \-\-box\-token string OAuth Access Token as a JSON blob
+ \-\-box\-token\-url string Token server url
+ \-\-box\-upload\-cutoff SizeSuffix Cutoff for switching to multipart upload (>= 50 MiB) (default 50Mi)
+ \-\-cache\-chunk\-clean\-interval Duration How often should the cache perform cleanups of the chunk storage (default 1m0s)
+ \-\-cache\-chunk\-no\-memory Disable the in\-memory cache for storing chunks during streaming
+ \-\-cache\-chunk\-path string Directory to cache chunk files (default \[dq]$HOME/.cache/rclone/cache\-backend\[dq])
+ \-\-cache\-chunk\-size SizeSuffix The size of a chunk (partial file data) (default 5Mi)
+ \-\-cache\-chunk\-total\-size SizeSuffix The total size that the chunks can take up on the local disk (default 10Gi)
+ \-\-cache\-db\-path string Directory to store file structure metadata DB (default \[dq]$HOME/.cache/rclone/cache\-backend\[dq])
+ \-\-cache\-db\-purge Clear all the cached data for this remote on start
+ \-\-cache\-db\-wait\-time Duration How long to wait for the DB to be available \- 0 is unlimited (default 1s)
+ \-\-cache\-info\-age Duration How long to cache file structure information (directory listings, file size, times, etc.) (default 6h0m0s)
+ \-\-cache\-plex\-insecure string Skip all certificate verification when connecting to the Plex server
+ \-\-cache\-plex\-password string The password of the Plex user (obscured)
+ \-\-cache\-plex\-url string The URL of the Plex server
+ \-\-cache\-plex\-username string The username of the Plex user
+ \-\-cache\-read\-retries int How many times to retry a read from a cache storage (default 10)
+ \-\-cache\-remote string Remote to cache
+ \-\-cache\-rps int Limits the number of requests per second to the source FS (\-1 to disable) (default \-1)
+ \-\-cache\-tmp\-upload\-path string Directory to keep temporary files until they are uploaded
+ \-\-cache\-tmp\-wait\-time Duration How long should files be stored in local cache before being uploaded (default 15s)
+ \-\-cache\-workers int How many workers should run in parallel to download chunks (default 4)
+ \-\-cache\-writes Cache file data on writes through the FS
+ \-\-chunker\-chunk\-size SizeSuffix Files larger than chunk size will be split in chunks (default 2Gi)
+ \-\-chunker\-fail\-hard Choose how chunker should handle files with missing or invalid chunks
+ \-\-chunker\-hash\-type string Choose how chunker handles hash sums (default \[dq]md5\[dq])
+ \-\-chunker\-remote string Remote to chunk/unchunk
+ \-\-compress\-level int GZIP compression level (\-2 to 9) (default \-1)
+ \-\-compress\-mode string Compression mode (default \[dq]gzip\[dq])
+ \-\-compress\-ram\-cache\-limit SizeSuffix Some remotes don\[aq]t allow the upload of files with unknown size (default 20Mi)
+ \-\-compress\-remote string Remote to compress
+ \-L, \-\-copy\-links Follow symlinks and copy the pointed to item
+ \-\-crypt\-directory\-name\-encryption Option to either encrypt directory names or leave them intact (default true)
+ \-\-crypt\-filename\-encryption string How to encrypt the filenames (default \[dq]standard\[dq])
+ \-\-crypt\-no\-data\-encryption Option to either encrypt file data or leave it unencrypted
+ \-\-crypt\-password string Password or pass phrase for encryption (obscured)
+ \-\-crypt\-password2 string Password or pass phrase for salt (obscured)
+ \-\-crypt\-remote string Remote to encrypt/decrypt
+ \-\-crypt\-server\-side\-across\-configs Allow server\-side operations (e.g. copy) to work across different crypt configs
+ \-\-crypt\-show\-mapping For all files listed show how the names encrypt
+ \-\-drive\-acknowledge\-abuse Set to allow files which return cannotDownloadAbusiveFile to be downloaded
+ \-\-drive\-allow\-import\-name\-change Allow the filetype to change when uploading Google docs
+ \-\-drive\-auth\-owner\-only Only consider files owned by the authenticated user
+ \-\-drive\-auth\-url string Auth server URL
+ \-\-drive\-chunk\-size SizeSuffix Upload chunk size (default 8Mi)
+ \-\-drive\-client\-id string Google Application Client Id
+ \-\-drive\-client\-secret string OAuth Client Secret
+ \-\-drive\-disable\-http2 Disable drive using http2 (default true)
+ \-\-drive\-encoding MultiEncoder This sets the encoding for the backend (default InvalidUtf8)
+ \-\-drive\-export\-formats string Comma separated list of preferred formats for downloading Google docs (default \[dq]docx,xlsx,pptx,svg\[dq])
+ \-\-drive\-formats string Deprecated: See export_formats
+ \-\-drive\-impersonate string Impersonate this user when using a service account
+ \-\-drive\-import\-formats string Comma separated list of preferred formats for uploading Google docs
+ \-\-drive\-keep\-revision\-forever Keep new head revision of each file forever
+ \-\-drive\-list\-chunk int Size of listing chunk 100\-1000, 0 to disable (default 1000)
+ \-\-drive\-pacer\-burst int Number of API calls to allow without sleeping (default 100)
+ \-\-drive\-pacer\-min\-sleep Duration Minimum time to sleep between API calls (default 100ms)
+ \-\-drive\-root\-folder\-id string ID of the root folder
+ \-\-drive\-scope string Scope that rclone should use when requesting access from drive
+ \-\-drive\-server\-side\-across\-configs Allow server\-side operations (e.g. copy) to work across different drive configs
+ \-\-drive\-service\-account\-credentials string Service Account Credentials JSON blob
+ \-\-drive\-service\-account\-file string Service Account Credentials JSON file path
+ \-\-drive\-shared\-with\-me Only show files that are shared with me
+ \-\-drive\-size\-as\-quota Show sizes as storage quota usage, not actual size
+ \-\-drive\-skip\-checksum\-gphotos Skip MD5 checksum on Google photos and videos only
+ \-\-drive\-skip\-gdocs Skip google documents in all listings
+ \-\-drive\-skip\-shortcuts If set skip shortcut files
+ \-\-drive\-starred\-only Only show files that are starred
+ \-\-drive\-stop\-on\-download\-limit Make download limit errors be fatal
+ \-\-drive\-stop\-on\-upload\-limit Make upload limit errors be fatal
+ \-\-drive\-team\-drive string ID of the Shared Drive (Team Drive)
+ \-\-drive\-token string OAuth Access Token as a JSON blob
+ \-\-drive\-token\-url string Token server url
+ \-\-drive\-trashed\-only Only show files that are in the trash
+ \-\-drive\-upload\-cutoff SizeSuffix Cutoff for switching to chunked upload (default 8Mi)
+ \-\-drive\-use\-created\-date Use file created date instead of modified date
+ \-\-drive\-use\-shared\-date Use date file was shared instead of modified date
+ \-\-drive\-use\-trash Send files to the trash instead of deleting permanently (default true)
+ \-\-drive\-v2\-download\-min\-size SizeSuffix If Object\[aq]s are greater, use drive v2 API to download (default off)
+ \-\-dropbox\-auth\-url string Auth server URL
+ \-\-dropbox\-batch\-commit\-timeout Duration Max time to wait for a batch to finish comitting (default 10m0s)
+ \-\-dropbox\-batch\-mode string Upload file batching sync|async|off (default \[dq]sync\[dq])
+ \-\-dropbox\-batch\-size int Max number of files in upload batch
+ \-\-dropbox\-batch\-timeout Duration Max time to allow an idle upload batch before uploading (default 0s)
+ \-\-dropbox\-chunk\-size SizeSuffix Upload chunk size (< 150Mi) (default 48Mi)
+ \-\-dropbox\-client\-id string OAuth Client Id
+ \-\-dropbox\-client\-secret string OAuth Client Secret
+ \-\-dropbox\-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,RightSpace,InvalidUtf8,Dot)
+ \-\-dropbox\-impersonate string Impersonate this user when using a business account
+ \-\-dropbox\-shared\-files Instructs rclone to work on individual shared files
+ \-\-dropbox\-shared\-folders Instructs rclone to work on shared folders
+ \-\-dropbox\-token string OAuth Access Token as a JSON blob
+ \-\-dropbox\-token\-url string Token server url
+ \-\-fichier\-api\-key string Your API Key, get it from https://1fichier.com/console/params.pl
+ \-\-fichier\-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot)
+ \-\-fichier\-file\-password string If you want to download a shared file that is password protected, add this parameter (obscured)
+ \-\-fichier\-folder\-password string If you want to list the files in a shared folder that is password protected, add this parameter (obscured)
+ \-\-fichier\-shared\-folder string If you want to download a shared folder, add this parameter
+ \-\-filefabric\-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
+ \-\-filefabric\-permanent\-token string Permanent Authentication Token
+ \-\-filefabric\-root\-folder\-id string ID of the root folder
+ \-\-filefabric\-token string Session Token
+ \-\-filefabric\-token\-expiry string Token expiry time
+ \-\-filefabric\-url string URL of the Enterprise File Fabric to connect to
+ \-\-filefabric\-version string Version read from the file fabric
+ \-\-ftp\-close\-timeout Duration Maximum time to wait for a response to close (default 1m0s)
+ \-\-ftp\-concurrency int Maximum number of FTP simultaneous connections, 0 for unlimited
+ \-\-ftp\-disable\-epsv Disable using EPSV even if server advertises support
+ \-\-ftp\-disable\-mlsd Disable using MLSD even if server advertises support
+ \-\-ftp\-disable\-tls13 Disable TLS 1.3 (workaround for FTP servers with buggy TLS)
+ \-\-ftp\-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,RightSpace,Dot)
+ \-\-ftp\-explicit\-tls Use Explicit FTPS (FTP over TLS)
+ \-\-ftp\-host string FTP host to connect to
+ \-\-ftp\-idle\-timeout Duration Max time before closing idle connections (default 1m0s)
+ \-\-ftp\-no\-check\-certificate Do not verify the TLS certificate of the server
+ \-\-ftp\-pass string FTP password (obscured)
+ \-\-ftp\-port string FTP port, leave blank to use default (21)
+ \-\-ftp\-shut\-timeout Duration Maximum time to wait for data connection closing status (default 1m0s)
+ \-\-ftp\-tls Use Implicit FTPS (FTP over TLS)
+ \-\-ftp\-tls\-cache\-size int Size of TLS session cache for all control and data connections (default 32)
+ \-\-ftp\-user string FTP username, leave blank for current username, $USER
+ \-\-ftp\-writing\-mdtm Use MDTM to set modification time (VsFtpd quirk)
+ \-\-gcs\-anonymous Access public buckets and objects without credentials
+ \-\-gcs\-auth\-url string Auth server URL
+ \-\-gcs\-bucket\-acl string Access Control List for new buckets
+ \-\-gcs\-bucket\-policy\-only Access checks should use bucket\-level IAM policies
+ \-\-gcs\-client\-id string OAuth Client Id
+ \-\-gcs\-client\-secret string OAuth Client Secret
+ \-\-gcs\-encoding MultiEncoder This sets the encoding for the backend (default Slash,CrLf,InvalidUtf8,Dot)
+ \-\-gcs\-location string Location for the newly created buckets
+ \-\-gcs\-object\-acl string Access Control List for new objects
+ \-\-gcs\-project\-number string Project number
+ \-\-gcs\-service\-account\-file string Service Account Credentials JSON file path
+ \-\-gcs\-storage\-class string The storage class to use when storing objects in Google Cloud Storage
+ \-\-gcs\-token string OAuth Access Token as a JSON blob
+ \-\-gcs\-token\-url string Token server url
+ \-\-gphotos\-auth\-url string Auth server URL
+ \-\-gphotos\-client\-id string OAuth Client Id
+ \-\-gphotos\-client\-secret string OAuth Client Secret
+ \-\-gphotos\-encoding MultiEncoder This sets the encoding for the backend (default Slash,CrLf,InvalidUtf8,Dot)
+ \-\-gphotos\-include\-archived Also view and download archived media
+ \-\-gphotos\-read\-only Set to make the Google Photos backend read only
+ \-\-gphotos\-read\-size Set to read the size of media items
+ \-\-gphotos\-start\-year int Year limits the photos to be downloaded to those which are uploaded after the given year (default 2000)
+ \-\-gphotos\-token string OAuth Access Token as a JSON blob
+ \-\-gphotos\-token\-url string Token server url
+ \-\-hasher\-auto\-size SizeSuffix Auto\-update checksum for files smaller than this size (disabled by default)
+ \-\-hasher\-hashes CommaSepList Comma separated list of supported checksum types (default md5,sha1)
+ \-\-hasher\-max\-age Duration Maximum time to keep checksums in cache (0 = no cache, off = cache forever) (default off)
+ \-\-hasher\-remote string Remote to cache checksums for (e.g. myRemote:path)
+ \-\-hdfs\-data\-transfer\-protection string Kerberos data transfer protection: authentication|integrity|privacy
+ \-\-hdfs\-encoding MultiEncoder This sets the encoding for the backend (default Slash,Colon,Del,Ctl,InvalidUtf8,Dot)
+ \-\-hdfs\-namenode string Hadoop name node and port
+ \-\-hdfs\-service\-principal\-name string Kerberos service principal name for the namenode
+ \-\-hdfs\-username string Hadoop user name
+ \-\-http\-headers CommaSepList Set HTTP headers for all transactions
+ \-\-http\-no\-head Don\[aq]t use HEAD requests to find file sizes in dir listing
+ \-\-http\-no\-slash Set this if the site doesn\[aq]t end directories with /
+ \-\-http\-url string URL of http host to connect to
+ \-\-hubic\-auth\-url string Auth server URL
+ \-\-hubic\-chunk\-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
+ \-\-hubic\-client\-id string OAuth Client Id
+ \-\-hubic\-client\-secret string OAuth Client Secret
+ \-\-hubic\-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
+ \-\-hubic\-no\-chunk Don\[aq]t chunk files during streaming upload
+ \-\-hubic\-token string OAuth Access Token as a JSON blob
+ \-\-hubic\-token\-url string Token server url
+ \-\-jottacloud\-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
+ \-\-jottacloud\-hard\-delete Delete files permanently rather than putting them into the trash
+ \-\-jottacloud\-md5\-memory\-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required (default 10Mi)
+ \-\-jottacloud\-no\-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them
+ \-\-jottacloud\-trashed\-only Only show files that are in the trash
+ \-\-jottacloud\-upload\-resume\-limit SizeSuffix Files bigger than this can be resumed if the upload fail\[aq]s (default 10Mi)
+ \-\-koofr\-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ \-\-koofr\-endpoint string The Koofr API endpoint to use (default \[dq]https://app.koofr.net\[dq])
+ \-\-koofr\-mountid string Mount ID of the mount to use
+ \-\-koofr\-password string Your Koofr password for rclone (generate one at https://app.koofr.net/app/admin/preferences/password) (obscured)
+ \-\-koofr\-setmtime Does the backend support setting modification time (default true)
+ \-\-koofr\-user string Your Koofr user name
+ \-l, \-\-links Translate symlinks to/from regular files with a \[aq].rclonelink\[aq] extension
+ \-\-local\-case\-insensitive Force the filesystem to report itself as case insensitive
+ \-\-local\-case\-sensitive Force the filesystem to report itself as case sensitive
+ \-\-local\-encoding MultiEncoder This sets the encoding for the backend (default Slash,Dot)
+ \-\-local\-no\-check\-updated Don\[aq]t check to see if the files change during upload
+ \-\-local\-no\-preallocate Disable preallocation of disk space for transferred files
+ \-\-local\-no\-set\-modtime Disable setting modtime
+ \-\-local\-no\-sparse Disable sparse files for multi\-thread downloads
+ \-\-local\-nounc string Disable UNC (long path names) conversion on Windows
+ \-\-local\-unicode\-normalization Apply unicode NFC normalization to paths and filenames
+ \-\-local\-zero\-size\-links Assume the Stat size of links is zero (and read them instead) (deprecated)
+ \-\-mailru\-check\-hash What should copy do if file checksum is mismatched or invalid (default true)
+ \-\-mailru\-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ \-\-mailru\-pass string Password (obscured)
+ \-\-mailru\-speedup\-enable Skip full upload if there is another file with same data hash (default true)
+ \-\-mailru\-speedup\-file\-patterns string Comma separated list of file name patterns eligible for speedup (put by hash) (default \[dq]*.mkv,*.avi,*.mp4,*.mp3,*.zip,*.gz,*.rar,*.pdf\[dq])
+ \-\-mailru\-speedup\-max\-disk SizeSuffix This option allows you to disable speedup (put by hash) for large files (default 3Gi)
+ \-\-mailru\-speedup\-max\-memory SizeSuffix Files larger than the size given below will always be hashed on disk (default 32Mi)
+ \-\-mailru\-user string User name (usually email)
+ \-\-mega\-debug Output more debug from Mega
+ \-\-mega\-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ \-\-mega\-hard\-delete Delete files permanently rather than putting them into the trash
+ \-\-mega\-pass string Password (obscured)
+ \-\-mega\-user string User name
+ \-x, \-\-one\-file\-system Don\[aq]t cross filesystem boundaries (unix/macOS only)
+ \-\-onedrive\-auth\-url string Auth server URL
+ \-\-onedrive\-chunk\-size SizeSuffix Chunk size to upload files with \- must be multiple of 320k (327,680 bytes) (default 10Mi)
+ \-\-onedrive\-client\-id string OAuth Client Id
+ \-\-onedrive\-client\-secret string OAuth Client Secret
+ \-\-onedrive\-drive\-id string The ID of the drive to use
+ \-\-onedrive\-drive\-type string The type of the drive (personal | business | documentLibrary)
+ \-\-onedrive\-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
+ \-\-onedrive\-expose\-onenote\-files Set to make OneNote files show up in directory listings
+ \-\-onedrive\-link\-password string Set the password for links created by the link command
+ \-\-onedrive\-link\-scope string Set the scope of the links created by the link command (default \[dq]anonymous\[dq])
+ \-\-onedrive\-link\-type string Set the type of the links created by the link command (default \[dq]view\[dq])
+ \-\-onedrive\-list\-chunk int Size of listing chunk (default 1000)
+ \-\-onedrive\-no\-versions Remove all versions on modifying operations
+ \-\-onedrive\-region string Choose national cloud region for OneDrive (default \[dq]global\[dq])
+ \-\-onedrive\-server\-side\-across\-configs Allow server\-side operations (e.g. copy) to work across different onedrive configs
+ \-\-onedrive\-token string OAuth Access Token as a JSON blob
+ \-\-onedrive\-token\-url string Token server url
+ \-\-opendrive\-chunk\-size SizeSuffix Files will be uploaded in chunks this size (default 10Mi)
+ \-\-opendrive\-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,LeftSpace,LeftCrLfHtVt,RightSpace,RightCrLfHtVt,InvalidUtf8,Dot)
+ \-\-opendrive\-password string Password (obscured)
+ \-\-opendrive\-username string Username
+ \-\-pcloud\-auth\-url string Auth server URL
+ \-\-pcloud\-client\-id string OAuth Client Id
+ \-\-pcloud\-client\-secret string OAuth Client Secret
+ \-\-pcloud\-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ \-\-pcloud\-hostname string Hostname to connect to (default \[dq]api.pcloud.com\[dq])
+ \-\-pcloud\-root\-folder\-id string Fill in for rclone to use a non root folder as its starting point (default \[dq]d0\[dq])
+ \-\-pcloud\-token string OAuth Access Token as a JSON blob
+ \-\-pcloud\-token\-url string Token server url
+ \-\-premiumizeme\-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ \-\-putio\-encoding MultiEncoder This sets the encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
+ \-\-qingstor\-access\-key\-id string QingStor Access Key ID
+ \-\-qingstor\-chunk\-size SizeSuffix Chunk size to use for uploading (default 4Mi)
+ \-\-qingstor\-connection\-retries int Number of connection retries (default 3)
+ \-\-qingstor\-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8)
+ \-\-qingstor\-endpoint string Enter an endpoint URL to connection QingStor API
+ \-\-qingstor\-env\-auth Get QingStor credentials from runtime
+ \-\-qingstor\-secret\-access\-key string QingStor Secret Access Key (password)
+ \-\-qingstor\-upload\-concurrency int Concurrency for multipart uploads (default 1)
+ \-\-qingstor\-upload\-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ \-\-qingstor\-zone string Zone to connect to
+ \-\-s3\-access\-key\-id string AWS Access Key ID
+ \-\-s3\-acl string Canned ACL used when creating buckets and storing or copying objects
+ \-\-s3\-bucket\-acl string Canned ACL used when creating buckets
+ \-\-s3\-chunk\-size SizeSuffix Chunk size to use for uploading (default 5Mi)
+ \-\-s3\-copy\-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
+ \-\-s3\-disable\-checksum Don\[aq]t store MD5 checksum with object metadata
+ \-\-s3\-disable\-http2 Disable usage of http2 for S3 backends
+ \-\-s3\-download\-url string Custom endpoint for downloads
+ \-\-s3\-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8,Dot)
+ \-\-s3\-endpoint string Endpoint for S3 API
+ \-\-s3\-env\-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars)
+ \-\-s3\-force\-path\-style If true use path style access if false use virtual hosted style (default true)
+ \-\-s3\-leave\-parts\-on\-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery
+ \-\-s3\-list\-chunk int Size of listing chunk (response list for each ListObject S3 request) (default 1000)
+ \-\-s3\-location\-constraint string Location constraint \- must be set to match the Region
+ \-\-s3\-max\-upload\-parts int Maximum number of parts in a multipart upload (default 10000)
+ \-\-s3\-memory\-pool\-flush\-time Duration How often internal memory buffer pools will be flushed (default 1m0s)
+ \-\-s3\-memory\-pool\-use\-mmap Whether to use mmap buffers in internal memory pool
+ \-\-s3\-no\-check\-bucket If set, don\[aq]t attempt to check the bucket exists or create it
+ \-\-s3\-no\-head If set, don\[aq]t HEAD uploaded objects to check integrity
+ \-\-s3\-no\-head\-object If set, do not do HEAD before GET when getting objects
+ \-\-s3\-profile string Profile to use in the shared credentials file
+ \-\-s3\-provider string Choose your S3 provider
+ \-\-s3\-region string Region to connect to
+ \-\-s3\-requester\-pays Enables requester pays option when interacting with S3 bucket
+ \-\-s3\-secret\-access\-key string AWS Secret Access Key (password)
+ \-\-s3\-server\-side\-encryption string The server\-side encryption algorithm used when storing this object in S3
+ \-\-s3\-session\-token string An AWS session token
+ \-\-s3\-shared\-credentials\-file string Path to the shared credentials file
+ \-\-s3\-sse\-customer\-algorithm string If using SSE\-C, the server\-side encryption algorithm used when storing this object in S3
+ \-\-s3\-sse\-customer\-key string If using SSE\-C you must provide the secret encryption key used to encrypt/decrypt your data
+ \-\-s3\-sse\-customer\-key\-md5 string If using SSE\-C you may provide the secret encryption key MD5 checksum (optional)
+ \-\-s3\-sse\-kms\-key\-id string If using KMS ID you must provide the ARN of Key
+ \-\-s3\-storage\-class string The storage class to use when storing new objects in S3
+ \-\-s3\-upload\-concurrency int Concurrency for multipart uploads (default 4)
+ \-\-s3\-upload\-cutoff SizeSuffix Cutoff for switching to chunked upload (default 200Mi)
+ \-\-s3\-use\-accelerate\-endpoint If true use the AWS S3 accelerated endpoint
+ \-\-s3\-v2\-auth If true use v2 authentication
+ \-\-seafile\-2fa Two\-factor authentication (\[aq]true\[aq] if the account has 2FA enabled)
+ \-\-seafile\-create\-library Should rclone create a library if it doesn\[aq]t exist
+ \-\-seafile\-encoding MultiEncoder This sets the encoding for the backend (default Slash,DoubleQuote,BackSlash,Ctl,InvalidUtf8)
+ \-\-seafile\-library string Name of the library
+ \-\-seafile\-library\-key string Library password (for encrypted libraries only) (obscured)
+ \-\-seafile\-pass string Password (obscured)
+ \-\-seafile\-url string URL of seafile host to connect to
+ \-\-seafile\-user string User name (usually email address)
+ \-\-sftp\-ask\-password Allow asking for SFTP password when needed
+ \-\-sftp\-disable\-concurrent\-reads If set don\[aq]t use concurrent reads
+ \-\-sftp\-disable\-concurrent\-writes If set don\[aq]t use concurrent writes
+ \-\-sftp\-disable\-hashcheck Disable the execution of SSH commands to determine if remote file hashing is available
+ \-\-sftp\-host string SSH host to connect to
+ \-\-sftp\-idle\-timeout Duration Max time before closing idle connections (default 1m0s)
+ \-\-sftp\-key\-file string Path to PEM\-encoded private key file
+ \-\-sftp\-key\-file\-pass string The passphrase to decrypt the PEM\-encoded private key file (obscured)
+ \-\-sftp\-key\-pem string Raw PEM\-encoded private key
+ \-\-sftp\-key\-use\-agent When set forces the usage of the ssh\-agent
+ \-\-sftp\-known\-hosts\-file string Optional path to known_hosts file
+ \-\-sftp\-md5sum\-command string The command used to read md5 hashes
+ \-\-sftp\-pass string SSH password, leave blank to use ssh\-agent (obscured)
+ \-\-sftp\-path\-override string Override path used by SSH connection
+ \-\-sftp\-port string SSH port, leave blank to use default (22)
+ \-\-sftp\-pubkey\-file string Optional path to public key file
+ \-\-sftp\-server\-command string Specifies the path or command to run a sftp server on the remote host
+ \-\-sftp\-set\-modtime Set the modified time on the remote if set (default true)
+ \-\-sftp\-sha1sum\-command string The command used to read sha1 hashes
+ \-\-sftp\-skip\-links Set to skip any symlinks and any other non regular files
+ \-\-sftp\-subsystem string Specifies the SSH2 subsystem on the remote host (default \[dq]sftp\[dq])
+ \-\-sftp\-use\-fstat If set use fstat instead of stat
+ \-\-sftp\-use\-insecure\-cipher Enable the use of insecure ciphers and key exchange methods
+ \-\-sftp\-user string SSH username, leave blank for current username, $USER
+ \-\-sharefile\-chunk\-size SizeSuffix Upload chunk size (default 64Mi)
+ \-\-sharefile\-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot)
+ \-\-sharefile\-endpoint string Endpoint for API calls
+ \-\-sharefile\-root\-folder\-id string ID of the root folder
+ \-\-sharefile\-upload\-cutoff SizeSuffix Cutoff for switching to multipart upload (default 128Mi)
+ \-\-sia\-api\-password string Sia Daemon API Password (obscured)
+ \-\-sia\-api\-url string Sia daemon API URL, like http://sia.daemon.host:9980 (default \[dq]http://127.0.0.1:9980\[dq])
+ \-\-sia\-encoding MultiEncoder This sets the encoding for the backend (default Slash,Question,Hash,Percent,Del,Ctl,InvalidUtf8,Dot)
+ \-\-sia\-user\-agent string Siad User Agent (default \[dq]Sia\-Agent\[dq])
+ \-\-skip\-links Don\[aq]t warn about skipped symlinks
+ \-\-sugarsync\-access\-key\-id string Sugarsync Access Key ID
+ \-\-sugarsync\-app\-id string Sugarsync App ID
+ \-\-sugarsync\-authorization string Sugarsync authorization
+ \-\-sugarsync\-authorization\-expiry string Sugarsync authorization expiry
+ \-\-sugarsync\-deleted\-id string Sugarsync deleted folder id
+ \-\-sugarsync\-encoding MultiEncoder This sets the encoding for the backend (default Slash,Ctl,InvalidUtf8,Dot)
+ \-\-sugarsync\-hard\-delete Permanently delete files if true
+ \-\-sugarsync\-private\-access\-key string Sugarsync Private Access Key
+ \-\-sugarsync\-refresh\-token string Sugarsync refresh token
+ \-\-sugarsync\-root\-id string Sugarsync root id
+ \-\-sugarsync\-user string Sugarsync user
+ \-\-swift\-application\-credential\-id string Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
+ \-\-swift\-application\-credential\-name string Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
+ \-\-swift\-application\-credential\-secret string Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
+ \-\-swift\-auth string Authentication URL for server (OS_AUTH_URL)
+ \-\-swift\-auth\-token string Auth Token from alternate authentication \- optional (OS_AUTH_TOKEN)
+ \-\-swift\-auth\-version int AuthVersion \- optional \- set to (1,2,3) if your auth URL has no version (ST_AUTH_VERSION)
+ \-\-swift\-chunk\-size SizeSuffix Above this size files will be chunked into a _segments container (default 5Gi)
+ \-\-swift\-domain string User domain \- optional (v3 auth) (OS_USER_DOMAIN_NAME)
+ \-\-swift\-encoding MultiEncoder This sets the encoding for the backend (default Slash,InvalidUtf8)
+ \-\-swift\-endpoint\-type string Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE) (default \[dq]public\[dq])
+ \-\-swift\-env\-auth Get swift credentials from environment variables in standard OpenStack form
+ \-\-swift\-key string API key or password (OS_PASSWORD)
+ \-\-swift\-leave\-parts\-on\-error If true avoid calling abort upload on a failure
+ \-\-swift\-no\-chunk Don\[aq]t chunk files during streaming upload
+ \-\-swift\-region string Region name \- optional (OS_REGION_NAME)
+ \-\-swift\-storage\-policy string The storage policy to use when creating a new container
+ \-\-swift\-storage\-url string Storage URL \- optional (OS_STORAGE_URL)
+ \-\-swift\-tenant string Tenant name \- optional for v1 auth, this or tenant_id required otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
+ \-\-swift\-tenant\-domain string Tenant domain \- optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
+ \-\-swift\-tenant\-id string Tenant ID \- optional for v1 auth, this or tenant required otherwise (OS_TENANT_ID)
+ \-\-swift\-user string User name to log in (OS_USERNAME)
+ \-\-swift\-user\-id string User ID to log in \- optional \- most swift systems use user and leave this blank (v3 auth) (OS_USER_ID)
+ \-\-tardigrade\-access\-grant string Access grant
+ \-\-tardigrade\-api\-key string API key
+ \-\-tardigrade\-passphrase string Encryption passphrase
+ \-\-tardigrade\-provider string Choose an authentication method (default \[dq]existing\[dq])
+ \-\-tardigrade\-satellite\-address string Satellite address (default \[dq]us\-central\-1.tardigrade.io\[dq])
+ \-\-union\-action\-policy string Policy to choose upstream on ACTION category (default \[dq]epall\[dq])
+ \-\-union\-cache\-time int Cache time of usage and free space (in seconds) (default 120)
+ \-\-union\-create\-policy string Policy to choose upstream on CREATE category (default \[dq]epmfs\[dq])
+ \-\-union\-search\-policy string Policy to choose upstream on SEARCH category (default \[dq]ff\[dq])
+ \-\-union\-upstreams string List of space separated upstreams
+ \-\-uptobox\-access\-token string Your access token
+ \-\-uptobox\-encoding MultiEncoder This sets the encoding for the backend (default Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot)
+ \-\-webdav\-bearer\-token string Bearer token instead of user/pass (e.g. a Macaroon)
+ \-\-webdav\-bearer\-token\-command string Command to run to get a bearer token
+ \-\-webdav\-encoding string This sets the encoding for the backend
+ \-\-webdav\-headers CommaSepList Set HTTP headers for all transactions
+ \-\-webdav\-pass string Password (obscured)
+ \-\-webdav\-url string URL of http host to connect to
+ \-\-webdav\-user string User name
+ \-\-webdav\-vendor string Name of the Webdav site/service/software you are using
+ \-\-yandex\-auth\-url string Auth server URL
+ \-\-yandex\-client\-id string OAuth Client Id
+ \-\-yandex\-client\-secret string OAuth Client Secret
+ \-\-yandex\-encoding MultiEncoder This sets the encoding for the backend (default Slash,Del,Ctl,InvalidUtf8,Dot)
+ \-\-yandex\-token string OAuth Access Token as a JSON blob
+ \-\-yandex\-token\-url string Token server url
+ \-\-zoho\-auth\-url string Auth server URL
+ \-\-zoho\-client\-id string OAuth Client Id
+ \-\-zoho\-client\-secret string OAuth Client Secret
+ \-\-zoho\-encoding MultiEncoder This sets the encoding for the backend (default Del,Ctl,InvalidUtf8)
+ \-\-zoho\-region string Zoho region to connect to
+ \-\-zoho\-token string OAuth Access Token as a JSON blob
+ \-\-zoho\-token\-url string Token server url
\f[R]
.fi
.SH Docker Volume Plugin
@@ -17603,11 +18444,12 @@ sudo mkdir \-p /var/lib/docker\-plugins/rclone/cache
\f[R]
.fi
.PP
-Install the managed rclone docker plugin:
+Install the managed rclone docker plugin for your architecture (here
+\f[C]amd64\f[R]):
.IP
.nf
\f[C]
-docker plugin install rclone/docker\-volume\-rclone args=\[dq]\-v\[dq] \-\-alias rclone \-\-grant\-all\-permissions
+docker plugin install rclone/docker\-volume\-rclone:amd64 args=\[dq]\-v\[dq] \-\-alias rclone \-\-grant\-all\-permissions
docker plugin list
\f[R]
.fi
@@ -17937,6 +18779,8 @@ We maintain the
docker\-volume\-rclone (https://hub.docker.com/p/rclone/docker-volume-rclone/)
plugin image on Docker Hub (https://hub.docker.com).
.PP
+Rclone volume plugin requires \f[B]Docker Engine >= 19.03.15\f[R]
+.PP
The plugin requires presence of two directories on the host before it
can be installed.
Note that plugin will \f[B]not\f[R] create them automatically.
@@ -17954,10 +18798,42 @@ with default settings as follows:
.IP
.nf
\f[C]
-docker plugin install rclone/docker\-volume\-rclone:latest \-\-grant\-all\-permissions \-\-alias rclone
+docker plugin install rclone/docker\-volume\-rclone:amd64 \-\-grant\-all\-permissions \-\-alias rclone
\f[R]
.fi
.PP
+The \f[C]:amd64\f[R] part of the image specification after colon is
+called a \f[I]tag\f[R].
+Usually you will want to install the latest plugin for your
+architecture.
+In this case the tag will just name it, like \f[C]amd64\f[R] above.
+The following plugin architectures are currently available: \-
+\f[C]amd64\f[R] \- \f[C]arm64\f[R] \- \f[C]arm\-v7\f[R]
+.PP
+Sometimes you might want a concrete plugin version, not the latest one.
+Then you should use image tag in the form
+\f[C]:ARCHITECTURE\-VERSION\f[R].
+For example, to install plugin version \f[C]v1.56.2\f[R] on architecture
+\f[C]arm64\f[R] you will use tag \f[C]arm64\-1.56.2\f[R] (note the
+removed \f[C]v\f[R]) so the full image specification becomes
+\f[C]rclone/docker\-volume\-rclone:arm64\-1.56.2\f[R].
+.PP
+We also provide the \f[C]latest\f[R] plugin tag, but since docker does
+not support multi\-architecture plugins as of the time of this writing,
+this tag is currently an \f[B]alias for \f[CB]amd64\f[B]\f[R].
+By convention the \f[C]latest\f[R] tag is the default one and can be
+omitted, thus both \f[C]rclone/docker\-volume\-rclone:latest\f[R] and
+just \f[C]rclone/docker\-volume\-rclone\f[R] will refer to the latest
+plugin release for the \f[C]amd64\f[R] platform.
+.PP
+Also the \f[C]amd64\f[R] part can be omitted from the versioned rclone
+plugin tags.
+For example, rclone image reference
+\f[C]rclone/docker\-volume\-rclone:amd64\-1.56.2\f[R] can be abbreviated
+as \f[C]rclone/docker\-volume\-rclone:1.56.2\f[R] for convenience.
+However, for non\-intel architectures you still have to use the full tag
+as \f[C]amd64\f[R] or \f[C]latest\f[R] will fail to start.
+.PP
Managed plugin is in fact a special container running in a namespace
separate from normal docker containers.
Inside it runs the \f[C]rclone serve docker\f[R] command.
@@ -17987,7 +18863,8 @@ swarm services that use them.
This is rather tedious so please carefully plan in advance.
.PP
You can tweak the following settings: \f[C]args\f[R], \f[C]config\f[R],
-\f[C]cache\f[R], and \f[C]RCLONE_VERBOSE\f[R].
+\f[C]cache\f[R], \f[C]HTTP_PROXY\f[R], \f[C]HTTPS_PROXY\f[R],
+\f[C]NO_PROXY\f[R] and \f[C]RCLONE_VERBOSE\f[R].
It\[aq]s \f[I]your\f[R] task to keep plugin settings in sync across
swarm cluster nodes.
.PP
@@ -18049,13 +18926,16 @@ Log entries are reflected as \f[I]errors\f[R] in the docker log but
retain their actual level assigned by rclone in the encapsulated message
string.
.PP
+\f[C]HTTP_PROXY\f[R], \f[C]HTTPS_PROXY\f[R], \f[C]NO_PROXY\f[R]
+customize the plugin proxy settings.
+.PP
You can set custom plugin options right when you install it, \f[I]in one
go\f[R]:
.IP
.nf
\f[C]
docker plugin remove rclone
-docker plugin install rclone/docker\-volume\-rclone:latest \[rs]
+docker plugin install rclone/docker\-volume\-rclone:amd64 \[rs]
\-\-alias rclone \-\-grant\-all\-permissions \[rs]
args=\[dq]\-v \-\-allow\-other\[dq] config=/etc/rclone
docker plugin inspect rclone
@@ -18101,9 +18981,9 @@ sudo apt\-get \-y install fuse
.fi
.PP
Download two systemd configuration files:
-docker\-volume\-rclone.service (https://raw.githubusercontent.com/rclone/rclone/master/cmd/serve/docker/contrib/systemd/docker-volume-rclone.service)
+docker\-volume\-rclone.service (https://raw.githubusercontent.com/rclone/rclone/master/contrib/docker-plugin/systemd/docker-volume-rclone.service)
and
-docker\-volume\-rclone.socket (https://raw.githubusercontent.com/rclone/rclone/master/cmd/serve/docker/contrib/systemd/docker-volume-rclone.socket).
+docker\-volume\-rclone.socket (https://raw.githubusercontent.com/rclone/rclone/master/contrib/docker-plugin/systemd/docker-volume-rclone.socket).
.PP
Put them to the \f[C]/etc/systemd/system/\f[R] directory:
.IP
@@ -18171,7 +19051,8 @@ part of the docker daemon log.
Note that docker reflects plugin lines as \f[I]errors\f[R] but their
actual level can be seen from encapsulated message string.
.PP
-You will usually install the latest version of managed plugin.
+You will usually install the latest version of managed plugin for your
+platform.
Use the following commands to print the actual installed version:
.IP
.nf
@@ -18201,6 +19082,7 @@ sudo curl \-H Content\-Type:application/json \-XPOST \-d {} \-\-unix\-socket /ru
.fi
.PP
though this is rarely needed.
+.SS Caveats
.PP
Finally I\[aq]d like to mention a \f[I]caveat with updating volume
settings\f[R].
@@ -18241,6 +19123,7 @@ Paths are specified as \f[C]remote:path\f[R]
.PP
Paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
+.SS Configuration
.PP
The initial setup for 1Fichier involves getting the API key from the
website which you need to do in your browser.
@@ -18426,12 +19309,12 @@ T}
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
be used in JSON strings.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to fichier (1Fichier).
.SS \-\-fichier\-api\-key
.PP
-Your API Key, get it from https://1fichier.com/console/params.pl
+Your API Key, get it from https://1fichier.com/console/params.pl.
.IP \[bu] 2
Config: api_key
.IP \[bu] 2
@@ -18440,12 +19323,12 @@ Env Var: RCLONE_FICHIER_API_KEY
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to fichier (1Fichier).
.SS \-\-fichier\-shared\-folder
.PP
-If you want to download a shared folder, add this parameter
+If you want to download a shared folder, add this parameter.
.IP \[bu] 2
Config: shared_folder
.IP \[bu] 2
@@ -18457,7 +19340,7 @@ Default: \[dq]\[dq]
.SS \-\-fichier\-file\-password
.PP
If you want to download a shared file that is password protected, add
-this parameter
+this parameter.
.PP
\f[B]NB\f[R] Input to this must be obscured \- see rclone
obscure (https://rclone.org/commands/rclone_obscure/).
@@ -18472,7 +19355,7 @@ Default: \[dq]\[dq]
.SS \-\-fichier\-folder\-password
.PP
If you want to list the files in a shared folder that is password
-protected, add this parameter
+protected, add this parameter.
.PP
\f[B]NB\f[R] Input to this must be obscured \- see rclone
obscure (https://rclone.org/commands/rclone_obscure/).
@@ -18488,7 +19371,7 @@ Default: \[dq]\[dq]
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -18533,6 +19416,7 @@ Invoking \f[C]rclone mkdir backup:../desktop\f[R] is exactly the same as
invoking \f[C]rclone mkdir mydrive:private/backup/../desktop\f[R].
The empty path is not allowed as a remote.
To alias the current directory use \f[C].\f[R] instead.
+.SS Configuration
.PP
Here is an example of how to make an alias called \f[C]remote\f[R] for
local folder.
@@ -18615,13 +19499,14 @@ Copy another local directory to the alias directory called source
rclone copy /home/source remote:source
\f[R]
.fi
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to alias (Alias for an existing
remote).
.SS \-\-alias\-remote
.PP
Remote or path to alias.
+.PP
Can be \[dq]myremote:path/to/dir\[dq], \[dq]myremote:bucket\[dq],
\[dq]myremote:\[dq] or \[dq]/local/path\[dq].
.IP \[bu] 2
@@ -18651,7 +19536,7 @@ forum (https://forum.rclone.org/t/rclone-has-been-banned-from-amazon-drive/2314)
.PP
If you happen to know anyone who works at Amazon then please ask them to
re\-instate rclone into the Amazon Drive developer program \- thanks!
-.SS Setup
+.SS Configuration
.PP
The initial setup for Amazon Drive involves getting a token from Amazon
which you need to do in your browser.
@@ -18828,13 +19713,15 @@ When you authenticate with rclone it will take you to an
\f[C]amazon.com\f[R] page to log in.
Your \f[C]amazon.co.uk\f[R] email and password should work here just
fine.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to amazon cloud drive (Amazon
Drive).
.SS \-\-acd\-client\-id
.PP
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_id
.IP \[bu] 2
@@ -18845,7 +19732,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-acd\-client\-secret
.PP
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_secret
.IP \[bu] 2
@@ -18854,7 +19743,7 @@ Env Var: RCLONE_ACD_CLIENT_SECRET
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to amazon cloud drive (Amazon
Drive).
@@ -18872,6 +19761,7 @@ Default: \[dq]\[dq]
.SS \-\-acd\-auth\-url
.PP
Auth server URL.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: auth_url
@@ -18884,6 +19774,7 @@ Default: \[dq]\[dq]
.SS \-\-acd\-token\-url
.PP
Token server url.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: token_url
@@ -18960,7 +19851,7 @@ Default: 9Gi
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -19072,9 +19963,13 @@ excess files in the bucket.
rclone sync \-i /home/local/directory remote:bucket
\f[R]
.fi
-.SS AWS S3
+.SS Configuration
+.PP
+Here is an example of making an s3 configuration for the AWS S3
+provider.
+Most applies to the other providers as well, any differences are
+described below.
.PP
-Here is an example of making an s3 configuration.
First run
.IP
.nf
@@ -19284,8 +20179,8 @@ y/e/d>
.SS Modified time
.PP
The modified time is stored as metadata on the object as
-\f[C]X\-Amz\-Meta\-Mtime\f[R] as floating point since the epoch accurate
-to 1 ns.
+\f[C]X\-Amz\-Meta\-Mtime\f[R] as floating point since the epoch,
+accurate to 1 ns.
.PP
If the modification time needs to be updated rclone will attempt to
perform a server side copy to update the modification if the object can
@@ -19705,7 +20600,7 @@ the object(s) in question before using rclone.
.PP
Note that rclone only speaks the S3 API it does not speak the Glacier
Vault API, so rclone cannot directly access Glacier Vaults.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to s3 (Amazon S3 Compliant
Storage Providers including AWS, Alibaba, Ceph, Digital Ocean,
@@ -19813,6 +20708,7 @@ Any other S3 compatible provider
.PP
Get AWS credentials from runtime (environment variables or EC2/ECS meta
data if no env vars).
+.PP
Only applies if access_key_id and secret_access_key is blank.
.IP \[bu] 2
Config: env_auth
@@ -19829,18 +20725,19 @@ Examples:
\[dq]false\[dq]
.RS 2
.IP \[bu] 2
-Enter AWS credentials in the next step
+Enter AWS credentials in the next step.
.RE
.IP \[bu] 2
\[dq]true\[dq]
.RS 2
.IP \[bu] 2
-Get AWS credentials from the environment (env vars or IAM)
+Get AWS credentials from the environment (env vars or IAM).
.RE
.RE
.SS \-\-s3\-access\-key\-id
.PP
AWS Access Key ID.
+.PP
Leave blank for anonymous access or runtime credentials.
.IP \[bu] 2
Config: access_key_id
@@ -19852,8 +20749,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-s3\-secret\-access\-key
.PP
-AWS Secret Access Key (password) Leave blank for anonymous access or
-runtime credentials.
+AWS Secret Access Key (password).
+.PP
+Leave blank for anonymous access or runtime credentials.
.IP \[bu] 2
Config: secret_access_key
.IP \[bu] 2
@@ -19890,7 +20788,7 @@ Leave location constraint empty.
\[dq]us\-east\-2\[dq]
.RS 2
.IP \[bu] 2
-US East (Ohio) Region
+US East (Ohio) Region.
.IP \[bu] 2
Needs location constraint us\-east\-2.
.RE
@@ -19898,7 +20796,7 @@ Needs location constraint us\-east\-2.
\[dq]us\-west\-1\[dq]
.RS 2
.IP \[bu] 2
-US West (Northern California) Region
+US West (Northern California) Region.
.IP \[bu] 2
Needs location constraint us\-west\-1.
.RE
@@ -19906,7 +20804,7 @@ Needs location constraint us\-west\-1.
\[dq]us\-west\-2\[dq]
.RS 2
.IP \[bu] 2
-US West (Oregon) Region
+US West (Oregon) Region.
.IP \[bu] 2
Needs location constraint us\-west\-2.
.RE
@@ -19914,7 +20812,7 @@ Needs location constraint us\-west\-2.
\[dq]ca\-central\-1\[dq]
.RS 2
.IP \[bu] 2
-Canada (Central) Region
+Canada (Central) Region.
.IP \[bu] 2
Needs location constraint ca\-central\-1.
.RE
@@ -19922,7 +20820,7 @@ Needs location constraint ca\-central\-1.
\[dq]eu\-west\-1\[dq]
.RS 2
.IP \[bu] 2
-EU (Ireland) Region
+EU (Ireland) Region.
.IP \[bu] 2
Needs location constraint EU or eu\-west\-1.
.RE
@@ -19930,7 +20828,7 @@ Needs location constraint EU or eu\-west\-1.
\[dq]eu\-west\-2\[dq]
.RS 2
.IP \[bu] 2
-EU (London) Region
+EU (London) Region.
.IP \[bu] 2
Needs location constraint eu\-west\-2.
.RE
@@ -19938,7 +20836,7 @@ Needs location constraint eu\-west\-2.
\[dq]eu\-west\-3\[dq]
.RS 2
.IP \[bu] 2
-EU (Paris) Region
+EU (Paris) Region.
.IP \[bu] 2
Needs location constraint eu\-west\-3.
.RE
@@ -19946,7 +20844,7 @@ Needs location constraint eu\-west\-3.
\[dq]eu\-north\-1\[dq]
.RS 2
.IP \[bu] 2
-EU (Stockholm) Region
+EU (Stockholm) Region.
.IP \[bu] 2
Needs location constraint eu\-north\-1.
.RE
@@ -19954,7 +20852,7 @@ Needs location constraint eu\-north\-1.
\[dq]eu\-south\-1\[dq]
.RS 2
.IP \[bu] 2
-EU (Milan) Region
+EU (Milan) Region.
.IP \[bu] 2
Needs location constraint eu\-south\-1.
.RE
@@ -19962,7 +20860,7 @@ Needs location constraint eu\-south\-1.
\[dq]eu\-central\-1\[dq]
.RS 2
.IP \[bu] 2
-EU (Frankfurt) Region
+EU (Frankfurt) Region.
.IP \[bu] 2
Needs location constraint eu\-central\-1.
.RE
@@ -19970,7 +20868,7 @@ Needs location constraint eu\-central\-1.
\[dq]ap\-southeast\-1\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Singapore) Region
+Asia Pacific (Singapore) Region.
.IP \[bu] 2
Needs location constraint ap\-southeast\-1.
.RE
@@ -19978,7 +20876,7 @@ Needs location constraint ap\-southeast\-1.
\[dq]ap\-southeast\-2\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Sydney) Region
+Asia Pacific (Sydney) Region.
.IP \[bu] 2
Needs location constraint ap\-southeast\-2.
.RE
@@ -19986,7 +20884,7 @@ Needs location constraint ap\-southeast\-2.
\[dq]ap\-northeast\-1\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Tokyo) Region
+Asia Pacific (Tokyo) Region.
.IP \[bu] 2
Needs location constraint ap\-northeast\-1.
.RE
@@ -19994,7 +20892,7 @@ Needs location constraint ap\-northeast\-1.
\[dq]ap\-northeast\-2\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Seoul)
+Asia Pacific (Seoul).
.IP \[bu] 2
Needs location constraint ap\-northeast\-2.
.RE
@@ -20002,7 +20900,7 @@ Needs location constraint ap\-northeast\-2.
\[dq]ap\-northeast\-3\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Osaka\-Local)
+Asia Pacific (Osaka\-Local).
.IP \[bu] 2
Needs location constraint ap\-northeast\-3.
.RE
@@ -20010,7 +20908,7 @@ Needs location constraint ap\-northeast\-3.
\[dq]ap\-south\-1\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Mumbai)
+Asia Pacific (Mumbai).
.IP \[bu] 2
Needs location constraint ap\-south\-1.
.RE
@@ -20018,7 +20916,7 @@ Needs location constraint ap\-south\-1.
\[dq]ap\-east\-1\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Hong Kong) Region
+Asia Pacific (Hong Kong) Region.
.IP \[bu] 2
Needs location constraint ap\-east\-1.
.RE
@@ -20026,7 +20924,7 @@ Needs location constraint ap\-east\-1.
\[dq]sa\-east\-1\[dq]
.RS 2
.IP \[bu] 2
-South America (Sao Paulo) Region
+South America (Sao Paulo) Region.
.IP \[bu] 2
Needs location constraint sa\-east\-1.
.RE
@@ -20034,7 +20932,7 @@ Needs location constraint sa\-east\-1.
\[dq]me\-south\-1\[dq]
.RS 2
.IP \[bu] 2
-Middle East (Bahrain) Region
+Middle East (Bahrain) Region.
.IP \[bu] 2
Needs location constraint me\-south\-1.
.RE
@@ -20042,7 +20940,7 @@ Needs location constraint me\-south\-1.
\[dq]af\-south\-1\[dq]
.RS 2
.IP \[bu] 2
-Africa (Cape Town) Region
+Africa (Cape Town) Region.
.IP \[bu] 2
Needs location constraint af\-south\-1.
.RE
@@ -20050,7 +20948,7 @@ Needs location constraint af\-south\-1.
\[dq]cn\-north\-1\[dq]
.RS 2
.IP \[bu] 2
-China (Beijing) Region
+China (Beijing) Region.
.IP \[bu] 2
Needs location constraint cn\-north\-1.
.RE
@@ -20058,7 +20956,7 @@ Needs location constraint cn\-north\-1.
\[dq]cn\-northwest\-1\[dq]
.RS 2
.IP \[bu] 2
-China (Ningxia) Region
+China (Ningxia) Region.
.IP \[bu] 2
Needs location constraint cn\-northwest\-1.
.RE
@@ -20066,7 +20964,7 @@ Needs location constraint cn\-northwest\-1.
\[dq]us\-gov\-east\-1\[dq]
.RS 2
.IP \[bu] 2
-AWS GovCloud (US\-East) Region
+AWS GovCloud (US\-East) Region.
.IP \[bu] 2
Needs location constraint us\-gov\-east\-1.
.RE
@@ -20074,7 +20972,7 @@ Needs location constraint us\-gov\-east\-1.
\[dq]us\-gov\-west\-1\[dq]
.RS 2
.IP \[bu] 2
-AWS GovCloud (US) Region
+AWS GovCloud (US) Region.
.IP \[bu] 2
Needs location constraint us\-gov\-west\-1.
.RE
@@ -20109,6 +21007,7 @@ Paris, France
.SS \-\-s3\-region
.PP
Region to connect to.
+.PP
Leave blank if you are using an S3 clone and you don\[aq]t have a
region.
.IP \[bu] 2
@@ -20127,19 +21026,23 @@ Examples:
.RS 2
.IP \[bu] 2
Use this if unsure.
+.IP \[bu] 2
Will use v4 signatures and an empty region.
.RE
.IP \[bu] 2
\[dq]other\-v2\-signature\[dq]
.RS 2
.IP \[bu] 2
-Use this only if v4 signatures don\[aq]t work, e.g.
+Use this only if v4 signatures don\[aq]t work.
+.IP \[bu] 2
+E.g.
pre Jewel/v10 CEPH.
.RE
.RE
.SS \-\-s3\-endpoint
.PP
Endpoint for S3 API.
+.PP
Leave blank if using AWS to use the default endpoint for the region.
.IP \[bu] 2
Config: endpoint
@@ -20152,6 +21055,7 @@ Default: \[dq]\[dq]
.SS \-\-s3\-endpoint
.PP
Endpoint for IBM COS S3 API.
+.PP
Specify if using an IBM COS On Premise.
.IP \[bu] 2
Config: endpoint
@@ -20780,120 +21684,121 @@ Examples:
\[dq]cos.ap\-beijing.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Beijing Region.
+Beijing Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-nanjing.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Nanjing Region.
+Nanjing Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-shanghai.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Shanghai Region.
+Shanghai Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-guangzhou.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Guangzhou Region.
+Guangzhou Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-nanjing.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Nanjing Region.
+Nanjing Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-chengdu.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Chengdu Region.
+Chengdu Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-chongqing.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Chongqing Region.
+Chongqing Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-hongkong.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Hong Kong (China) Region.
+Hong Kong (China) Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-singapore.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Singapore Region.
+Singapore Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-mumbai.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Mumbai Region.
+Mumbai Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-seoul.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Seoul Region.
+Seoul Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-bangkok.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Bangkok Region.
+Bangkok Region
.RE
.IP \[bu] 2
\[dq]cos.ap\-tokyo.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Tokyo Region.
+Tokyo Region
.RE
.IP \[bu] 2
\[dq]cos.na\-siliconvalley.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Silicon Valley Region.
+Silicon Valley Region
.RE
.IP \[bu] 2
\[dq]cos.na\-ashburn.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Virginia Region.
+Virginia Region
.RE
.IP \[bu] 2
\[dq]cos.na\-toronto.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Toronto Region.
+Toronto Region
.RE
.IP \[bu] 2
\[dq]cos.eu\-frankfurt.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Frankfurt Region.
+Frankfurt Region
.RE
.IP \[bu] 2
\[dq]cos.eu\-moscow.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Moscow Region.
+Moscow Region
.RE
.IP \[bu] 2
\[dq]cos.accelerate.myqcloud.com\[dq]
.RS 2
.IP \[bu] 2
-Use Tencent COS Accelerate Endpoint.
+Use Tencent COS Accelerate Endpoint
.RE
.RE
.SS \-\-s3\-endpoint
.PP
Endpoint for S3 API.
+.PP
Required when using an S3 clone.
.IP \[bu] 2
Config: endpoint
@@ -20954,10 +21859,17 @@ Wasabi US West endpoint
.IP \[bu] 2
Wasabi EU Central endpoint
.RE
+.IP \[bu] 2
+\[dq]s3.ap\-northeast\-1.wasabisys.com\[dq]
+.RS 2
+.IP \[bu] 2
+Wasabi AP Northeast endpoint
+.RE
.RE
.SS \-\-s3\-location\-constraint
.PP
Location constraint \- must be set to match the Region.
+.PP
Used when creating buckets only.
.IP \[bu] 2
Config: location_constraint
@@ -20974,127 +21886,127 @@ Examples:
\[dq]\[dq]
.RS 2
.IP \[bu] 2
-Empty for US Region, Northern Virginia, or Pacific Northwest.
+Empty for US Region, Northern Virginia, or Pacific Northwest
.RE
.IP \[bu] 2
\[dq]us\-east\-2\[dq]
.RS 2
.IP \[bu] 2
-US East (Ohio) Region.
+US East (Ohio) Region
.RE
.IP \[bu] 2
\[dq]us\-west\-1\[dq]
.RS 2
.IP \[bu] 2
-US West (Northern California) Region.
+US West (Northern California) Region
.RE
.IP \[bu] 2
\[dq]us\-west\-2\[dq]
.RS 2
.IP \[bu] 2
-US West (Oregon) Region.
+US West (Oregon) Region
.RE
.IP \[bu] 2
\[dq]ca\-central\-1\[dq]
.RS 2
.IP \[bu] 2
-Canada (Central) Region.
+Canada (Central) Region
.RE
.IP \[bu] 2
\[dq]eu\-west\-1\[dq]
.RS 2
.IP \[bu] 2
-EU (Ireland) Region.
+EU (Ireland) Region
.RE
.IP \[bu] 2
\[dq]eu\-west\-2\[dq]
.RS 2
.IP \[bu] 2
-EU (London) Region.
+EU (London) Region
.RE
.IP \[bu] 2
\[dq]eu\-west\-3\[dq]
.RS 2
.IP \[bu] 2
-EU (Paris) Region.
+EU (Paris) Region
.RE
.IP \[bu] 2
\[dq]eu\-north\-1\[dq]
.RS 2
.IP \[bu] 2
-EU (Stockholm) Region.
+EU (Stockholm) Region
.RE
.IP \[bu] 2
\[dq]eu\-south\-1\[dq]
.RS 2
.IP \[bu] 2
-EU (Milan) Region.
+EU (Milan) Region
.RE
.IP \[bu] 2
\[dq]EU\[dq]
.RS 2
.IP \[bu] 2
-EU Region.
+EU Region
.RE
.IP \[bu] 2
\[dq]ap\-southeast\-1\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Singapore) Region.
+Asia Pacific (Singapore) Region
.RE
.IP \[bu] 2
\[dq]ap\-southeast\-2\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Sydney) Region.
+Asia Pacific (Sydney) Region
.RE
.IP \[bu] 2
\[dq]ap\-northeast\-1\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Tokyo) Region.
+Asia Pacific (Tokyo) Region
.RE
.IP \[bu] 2
\[dq]ap\-northeast\-2\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Seoul) Region.
+Asia Pacific (Seoul) Region
.RE
.IP \[bu] 2
\[dq]ap\-northeast\-3\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Osaka\-Local) Region.
+Asia Pacific (Osaka\-Local) Region
.RE
.IP \[bu] 2
\[dq]ap\-south\-1\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Mumbai) Region.
+Asia Pacific (Mumbai) Region
.RE
.IP \[bu] 2
\[dq]ap\-east\-1\[dq]
.RS 2
.IP \[bu] 2
-Asia Pacific (Hong Kong) Region.
+Asia Pacific (Hong Kong) Region
.RE
.IP \[bu] 2
\[dq]sa\-east\-1\[dq]
.RS 2
.IP \[bu] 2
-South America (Sao Paulo) Region.
+South America (Sao Paulo) Region
.RE
.IP \[bu] 2
\[dq]me\-south\-1\[dq]
.RS 2
.IP \[bu] 2
-Middle East (Bahrain) Region.
+Middle East (Bahrain) Region
.RE
.IP \[bu] 2
\[dq]af\-south\-1\[dq]
.RS 2
.IP \[bu] 2
-Africa (Cape Town) Region.
+Africa (Cape Town) Region
.RE
.IP \[bu] 2
\[dq]cn\-north\-1\[dq]
@@ -21106,25 +22018,26 @@ China (Beijing) Region
\[dq]cn\-northwest\-1\[dq]
.RS 2
.IP \[bu] 2
-China (Ningxia) Region.
+China (Ningxia) Region
.RE
.IP \[bu] 2
\[dq]us\-gov\-east\-1\[dq]
.RS 2
.IP \[bu] 2
-AWS GovCloud (US\-East) Region.
+AWS GovCloud (US\-East) Region
.RE
.IP \[bu] 2
\[dq]us\-gov\-west\-1\[dq]
.RS 2
.IP \[bu] 2
-AWS GovCloud (US) Region.
+AWS GovCloud (US) Region
.RE
.RE
.SS \-\-s3\-location\-constraint
.PP
Location constraint \- must match endpoint when using IBM Cloud Public.
-For on\-prem COS, do not make a selection from this list, hit enter
+.PP
+For on\-prem COS, do not make a selection from this list, hit enter.
.IP \[bu] 2
Config: location_constraint
.IP \[bu] 2
@@ -21332,6 +22245,7 @@ Toronto Flex
.SS \-\-s3\-location\-constraint
.PP
Location constraint \- must be set to match the Region.
+.PP
Leave blank if not sure.
Used when creating buckets only.
.IP \[bu] 2
@@ -21370,6 +22284,7 @@ Examples:
.RS 2
.IP \[bu] 2
Owner gets Full_CONTROL.
+.IP \[bu] 2
No one else has access rights (default).
.RE
.IP \[bu] 2
@@ -21377,6 +22292,7 @@ No one else has access rights (default).
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
No one else has access rights (default).
.RE
.IP \[bu] 2
@@ -21384,6 +22300,7 @@ No one else has access rights (default).
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
The AllUsers group gets READ access.
.RE
.IP \[bu] 2
@@ -21391,6 +22308,7 @@ The AllUsers group gets READ access.
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
The AllUsers group gets READ and WRITE access.
.IP \[bu] 2
Granting this on a bucket is generally not recommended.
@@ -21400,6 +22318,7 @@ Granting this on a bucket is generally not recommended.
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
The AuthenticatedUsers group gets READ access.
.RE
.IP \[bu] 2
@@ -21407,6 +22326,7 @@ The AuthenticatedUsers group gets READ access.
.RS 2
.IP \[bu] 2
Object owner gets FULL_CONTROL.
+.IP \[bu] 2
Bucket owner gets READ access.
.IP \[bu] 2
If you specify this canned ACL when creating a bucket, Amazon S3 ignores
@@ -21427,35 +22347,44 @@ it.
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
No one else has access rights (default).
+.IP \[bu] 2
This acl is available on IBM Cloud (Infra), IBM Cloud (Storage),
-On\-Premise COS
+On\-Premise COS.
.RE
.IP \[bu] 2
\[dq]public\-read\[dq]
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
The AllUsers group gets READ access.
+.IP \[bu] 2
This acl is available on IBM Cloud (Infra), IBM Cloud (Storage),
-On\-Premise IBM COS
+On\-Premise IBM COS.
.RE
.IP \[bu] 2
\[dq]public\-read\-write\[dq]
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
The AllUsers group gets READ and WRITE access.
-This acl is available on IBM Cloud (Infra), On\-Premise IBM COS
+.IP \[bu] 2
+This acl is available on IBM Cloud (Infra), On\-Premise IBM COS.
.RE
.IP \[bu] 2
\[dq]authenticated\-read\[dq]
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
The AuthenticatedUsers group gets READ access.
+.IP \[bu] 2
Not supported on Buckets.
-This acl is available on IBM Cloud (Infra) and On\-Premise IBM COS
+.IP \[bu] 2
+This acl is available on IBM Cloud (Infra) and On\-Premise IBM COS.
.RE
.RE
.SS \-\-s3\-server\-side\-encryption
@@ -21612,13 +22541,13 @@ Standard storage class
\[dq]GLACIER\[dq]
.RS 2
.IP \[bu] 2
-Archive storage mode.
+Archive storage mode
.RE
.IP \[bu] 2
\[dq]STANDARD_IA\[dq]
.RS 2
.IP \[bu] 2
-Infrequent access storage mode.
+Infrequent access storage mode
.RE
.RE
.SS \-\-s3\-storage\-class
@@ -21651,13 +22580,13 @@ Standard storage class
\[dq]ARCHIVE\[dq]
.RS 2
.IP \[bu] 2
-Archive storage mode.
+Archive storage mode
.RE
.IP \[bu] 2
\[dq]STANDARD_IA\[dq]
.RS 2
.IP \[bu] 2
-Infrequent access storage mode.
+Infrequent access storage mode
.RE
.RE
.SS \-\-s3\-storage\-class
@@ -21678,24 +22607,26 @@ Examples:
\[dq]\[dq]
.RS 2
.IP \[bu] 2
-Default
+Default.
.RE
.IP \[bu] 2
\[dq]STANDARD\[dq]
.RS 2
.IP \[bu] 2
-The Standard class for any upload; suitable for on\-demand content like
-streaming or CDN.
+The Standard class for any upload.
+.IP \[bu] 2
+Suitable for on\-demand content like streaming or CDN.
.RE
.IP \[bu] 2
\[dq]GLACIER\[dq]
.RS 2
.IP \[bu] 2
-Archived storage; prices are lower, but it needs to be restored first to
-be accessed.
+Archived storage.
+.IP \[bu] 2
+Prices are lower, but it needs to be restored first to be accessed.
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to s3 (Amazon S3 Compliant
Storage Providers including AWS, Alibaba, Ceph, Digital Ocean,
@@ -21725,6 +22656,7 @@ Examples:
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
No one else has access rights (default).
.RE
.IP \[bu] 2
@@ -21732,6 +22664,7 @@ No one else has access rights (default).
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
The AllUsers group gets READ access.
.RE
.IP \[bu] 2
@@ -21739,6 +22672,7 @@ The AllUsers group gets READ access.
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
The AllUsers group gets READ and WRITE access.
.IP \[bu] 2
Granting this on a bucket is generally not recommended.
@@ -21748,6 +22682,7 @@ Granting this on a bucket is generally not recommended.
.RS 2
.IP \[bu] 2
Owner gets FULL_CONTROL.
+.IP \[bu] 2
The AuthenticatedUsers group gets READ access.
.RE
.RE
@@ -21839,7 +22774,7 @@ None
.RE
.SS \-\-s3\-upload\-cutoff
.PP
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
.PP
Any files larger than this will be uploaded in chunks of chunk_size.
The minimum is 0 and the maximum is 5 GiB.
@@ -21906,7 +22841,7 @@ Type: int
Default: 10000
.SS \-\-s3\-copy\-cutoff
.PP
-Cutoff for switching to multipart copy
+Cutoff for switching to multipart copy.
.PP
Any files larger than this that need to be server\-side copied will be
copied in chunks of this size.
@@ -21922,7 +22857,7 @@ Type: SizeSuffix
Default: 4.656Gi
.SS \-\-s3\-disable\-checksum
.PP
-Don\[aq]t store MD5 checksum with object metadata
+Don\[aq]t store MD5 checksum with object metadata.
.PP
Normally rclone will calculate the MD5 checksum of the input before
uploading it so it can add it to metadata on the object.
@@ -21938,7 +22873,7 @@ Type: bool
Default: false
.SS \-\-s3\-shared\-credentials\-file
.PP
-Path to the shared credentials file
+Path to the shared credentials file.
.PP
If env_auth = true then rclone can use a shared credentials file.
.PP
@@ -21963,7 +22898,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-s3\-profile
.PP
-Profile to use in the shared credentials file
+Profile to use in the shared credentials file.
.PP
If env_auth = true then rclone can use a shared credentials file.
This variable controls which profile is used in that file.
@@ -21981,7 +22916,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-s3\-session\-token
.PP
-An AWS session token
+An AWS session token.
.IP \[bu] 2
Config: session_token
.IP \[bu] 2
@@ -22099,7 +23034,7 @@ Type: int
Default: 1000
.SS \-\-s3\-no\-check\-bucket
.PP
-If set, don\[aq]t attempt to check the bucket exists or create it
+If set, don\[aq]t attempt to check the bucket exists or create it.
.PP
This can be useful when trying to minimise the number of transactions
rclone does if you know the bucket exists already.
@@ -22117,7 +23052,7 @@ Type: bool
Default: false
.SS \-\-s3\-no\-head
.PP
-If set, don\[aq]t HEAD uploaded objects to check integrity
+If set, don\[aq]t HEAD uploaded objects to check integrity.
.PP
This can be useful when trying to minimise the number of transactions
rclone does.
@@ -22159,7 +23094,7 @@ Type: bool
Default: false
.SS \-\-s3\-no\-head\-object
.PP
-If set, don\[aq]t HEAD objects
+If set, do not do HEAD before GET when getting objects.
.IP \[bu] 2
Config: no_head_object
.IP \[bu] 2
@@ -22172,7 +23107,7 @@ Default: false
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -22185,6 +23120,7 @@ Default: Slash,InvalidUtf8,Dot
.SS \-\-s3\-memory\-pool\-flush\-time
.PP
How often internal memory buffer pools will be flushed.
+.PP
Uploads which requires additional buffers (f.e multipart) will use
memory pool for allocations.
This option controls how often unused buffers will be removed from the
@@ -22210,7 +23146,7 @@ Type: bool
Default: false
.SS \-\-s3\-disable\-http2
.PP
-Disable usage of http2 for S3 backends
+Disable usage of http2 for S3 backends.
.PP
There is currently an unsolved issue with the s3 (specifically minio)
backend and HTTP/2.
@@ -22228,6 +23164,19 @@ Env Var: RCLONE_S3_DISABLE_HTTP2
Type: bool
.IP \[bu] 2
Default: false
+.SS \-\-s3\-download\-url
+.PP
+Custom endpoint for downloads.
+This is usually set to a CloudFront CDN URL as AWS S3 offers cheaper
+egress for data downloaded through the CloudFront network.
+.IP \[bu] 2
+Config: download_url
+.IP \[bu] 2
+Env Var: RCLONE_S3_DOWNLOAD_URL
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]\[dq]
.SS Backend commands
.PP
Here are the commands specific to the s3 backend.
@@ -22421,6 +23370,36 @@ rclone lsd anons3:1000genomes
.fi
.PP
You will be able to list and copy data but not upload it.
+.SS Providers
+.SS AWS S3
+.PP
+This is the provider used as main example and described in the
+configuration section above.
+.SS AWS Snowball Edge
+.PP
+AWS Snowball (https://aws.amazon.com/snowball/) is a hardware appliance
+used for transferring bulk data back to AWS.
+Its main software interface is S3 object storage.
+.PP
+To use rclone with AWS Snowball Edge devices, configure as standard for
+an \[aq]S3 Compatible Service\[aq] be sure to set
+\f[C]upload_cutoff = 0\f[R] otherwise you will run into authentication
+header issues as the snowball device does not support query parameter
+based authentication.
+.PP
+eg.
+.IP
+.nf
+\f[C]
+[snowball]
+type = s3
+provider = Other
+access_key_id = YOUR_ACCESS_KEY
+secret_access_key = YOUR_SECRET_KEY
+endpoint = http://[IP of Snowball]:8080
+upload_cutoff = 0
+\f[R]
+.fi
.SS Ceph
.PP
Ceph (https://ceph.com/) is an open source unified, distributed storage
@@ -23355,6 +24334,7 @@ system (https://www.backblaze.com/b2/).
Paths are specified as \f[C]remote:bucket\f[R] (or \f[C]remote:\f[R] for
the \f[C]lsd\f[R] command.) You may put subdirectories in too, e.g.
\f[C]remote:bucket/path/to/dir\f[R].
+.SS Configuration
.PP
Here is an example of making a b2 configuration.
First run
@@ -23733,12 +24713,12 @@ https://f002.backblazeb2.com/file/bucket/path/file2?Authorization=xxxxxxxx
https://f002.backblazeb2.com/file/bucket/path/folder/file3?Authorization=xxxxxxxx
\f[R]
.fi
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to b2 (Backblaze B2).
.SS \-\-b2\-account
.PP
-Account ID or Application Key ID
+Account ID or Application Key ID.
.IP \[bu] 2
Config: account
.IP \[bu] 2
@@ -23749,7 +24729,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-b2\-key
.PP
-Application Key
+Application Key.
.IP \[bu] 2
Config: key
.IP \[bu] 2
@@ -23769,12 +24749,13 @@ Env Var: RCLONE_B2_HARD_DELETE
Type: bool
.IP \[bu] 2
Default: false
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to b2 (Backblaze B2).
.SS \-\-b2\-endpoint
.PP
Endpoint for the service.
+.PP
Leave blank normally.
.IP \[bu] 2
Config: endpoint
@@ -23812,6 +24793,7 @@ Default: \[dq]\[dq]
.SS \-\-b2\-versions
.PP
Include old versions in directory listings.
+.PP
Note that when using this no file write operations are permitted, so you
can\[aq]t upload files or delete them.
.IP \[bu] 2
@@ -23840,7 +24822,7 @@ Type: SizeSuffix
Default: 200Mi
.SS \-\-b2\-copy\-cutoff
.PP
-Cutoff for switching to multipart copy
+Cutoff for switching to multipart copy.
.PP
Any files larger than this that need to be server\-side copied will be
copied in chunks of this size.
@@ -23857,11 +24839,13 @@ Default: 4Gi
.SS \-\-b2\-chunk\-size
.PP
Upload chunk size.
-Must fit in memory.
.PP
When uploading large files, chunk the file into this size.
-Note that these chunks are buffered in memory and there might a maximum
-of \[dq]\-\-transfers\[dq] chunks in progress at once.
+.PP
+Must fit in memory.
+These chunks are buffered in memory and there might a maximum of
+\[dq]\-\-transfers\[dq] chunks in progress at once.
+.PP
5,000,000 Bytes is the minimum size.
.IP \[bu] 2
Config: chunk_size
@@ -23873,7 +24857,7 @@ Type: SizeSuffix
Default: 96Mi
.SS \-\-b2\-disable\-checksum
.PP
-Disable checksums for large (> upload cutoff) files
+Disable checksums for large (> upload cutoff) files.
.PP
Normally rclone will calculate the SHA1 checksum of the input before
uploading it so it can add it to metadata on the object.
@@ -23952,7 +24936,7 @@ Default: false
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -23983,6 +24967,7 @@ The initial setup for Box involves getting a token from Box which you
can do either in your browser, or with a config.json downloaded from Box
to use JWT authentication.
\f[C]rclone config\f[R] walks you through it.
+.SS Configuration
.PP
Here is an example of how to make a remote called \f[C]remote\f[R].
First run:
@@ -24289,12 +25274,14 @@ So if the folder you want rclone to use has a URL which looks like
\f[C]https://app.box.com/folder/11xxxxxxxxx8\f[R] in the browser, then
you use \f[C]11xxxxxxxxx8\f[R] as the \f[C]root_folder_id\f[R] in the
config.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to box (Box).
.SS \-\-box\-client\-id
.PP
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_id
.IP \[bu] 2
@@ -24305,7 +25292,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-box\-client\-secret
.PP
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_secret
.IP \[bu] 2
@@ -24316,7 +25305,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-box\-box\-config\-file
.PP
-Box App config.json location Leave blank normally.
+Box App config.json location
+.PP
+Leave blank normally.
.PP
Leading \f[C]\[ti]\f[R] will be expanded in the file name as will
environment variables such as \f[C]${RCLONE_CONFIG_DIR}\f[R].
@@ -24330,7 +25321,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-box\-access\-token
.PP
-Box App Primary Access Token Leave blank normally.
+Box App Primary Access Token
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: access_token
.IP \[bu] 2
@@ -24355,16 +25348,16 @@ Examples:
\[dq]user\[dq]
.RS 2
.IP \[bu] 2
-Rclone should act on behalf of a user
+Rclone should act on behalf of a user.
.RE
.IP \[bu] 2
\[dq]enterprise\[dq]
.RS 2
.IP \[bu] 2
-Rclone should act on behalf of a service account
+Rclone should act on behalf of a service account.
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to box (Box).
.SS \-\-box\-token
@@ -24381,6 +25374,7 @@ Default: \[dq]\[dq]
.SS \-\-box\-auth\-url
.PP
Auth server URL.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: auth_url
@@ -24393,6 +25387,7 @@ Default: \[dq]\[dq]
.SS \-\-box\-token\-url
.PP
Token server url.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: token_url
@@ -24435,11 +25430,33 @@ Env Var: RCLONE_BOX_COMMIT_RETRIES
Type: int
.IP \[bu] 2
Default: 100
+.SS \-\-box\-list\-chunk
+.PP
+Size of listing chunk 1\-1000.
+.IP \[bu] 2
+Config: list_chunk
+.IP \[bu] 2
+Env Var: RCLONE_BOX_LIST_CHUNK
+.IP \[bu] 2
+Type: int
+.IP \[bu] 2
+Default: 1000
+.SS \-\-box\-owned\-by
+.PP
+Only show items owned by the login (email address) passed in.
+.IP \[bu] 2
+Config: owned_by
+.IP \[bu] 2
+Env Var: RCLONE_BOX_OWNED_BY
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]\[dq]
.SS \-\-box\-encoding
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -24488,7 +25505,7 @@ you can\[aq]t work without it.
There are many docs online describing the use of the cache backend to
minimize API hits and by\-and\-large these are out of date and the cache
backend isn\[aq]t needed in those scenarios any more.
-.SS Setup
+.SS Configuration
.PP
To get started you just need to have an existing remote which can be
configured with \f[C]cache\f[R].
@@ -24818,12 +25835,13 @@ wrapped by crypt.
Params: \- \f[B]remote\f[R] = path to remote \f[B](required)\f[R] \-
\f[B]withData\f[R] = true/false to delete cached data (chunks) as well
\f[I](optional, false by default)\f[R]
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to cache (Cache a remote).
.SS \-\-cache\-remote
.PP
Remote to cache.
+.PP
Normally should contain a \[aq]:\[aq] and a path, e.g.
\[dq]myremote:path/to/dir\[dq], \[dq]myremote:bucket\[dq] or maybe
\[dq]myremote:\[dq] (not recommended).
@@ -24837,7 +25855,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-cache\-plex\-url
.PP
-The URL of the Plex server
+The URL of the Plex server.
.IP \[bu] 2
Config: plex_url
.IP \[bu] 2
@@ -24848,7 +25866,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-cache\-plex\-username
.PP
-The username of the Plex user
+The username of the Plex user.
.IP \[bu] 2
Config: plex_username
.IP \[bu] 2
@@ -24859,7 +25877,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-cache\-plex\-password
.PP
-The password of the Plex user
+The password of the Plex user.
.PP
\f[B]NB\f[R] Input to this must be obscured \- see rclone
obscure (https://rclone.org/commands/rclone_obscure/).
@@ -24982,12 +26000,12 @@ Examples:
10 GiB
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to cache (Cache a remote).
.SS \-\-cache\-plex\-token
.PP
-The plex token for authentication \- auto set normally
+The plex token for authentication \- auto set normally.
.IP \[bu] 2
Config: plex_token
.IP \[bu] 2
@@ -24998,7 +26016,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-cache\-plex\-insecure
.PP
-Skip all certificate verification when connecting to the Plex server
+Skip all certificate verification when connecting to the Plex server.
.IP \[bu] 2
Config: plex_insecure
.IP \[bu] 2
@@ -25010,6 +26028,7 @@ Default: \[dq]\[dq]
.SS \-\-cache\-db\-path
.PP
Directory to store file structure metadata DB.
+.PP
The remote name is used as the DB file name.
.IP \[bu] 2
Config: db_path
@@ -25053,6 +26072,7 @@ Default: false
.SS \-\-cache\-chunk\-clean\-interval
.PP
How often should the cache perform cleanups of the chunk storage.
+.PP
The default value should be ok for most people.
If you find that the cache goes over \[dq]cache\-chunk\-total\-size\[dq]
too often then try to lower this value to force it to perform cleanups
@@ -25134,7 +26154,7 @@ Default: false
.SS \-\-cache\-rps
.PP
Limits the number of requests per second to the source FS (\-1 to
-disable)
+disable).
.PP
This setting places a hard limit on the number of requests per second
that cache will be doing to the cloud provider remote and try to respect
@@ -25161,7 +26181,7 @@ Type: int
Default: \-1
.SS \-\-cache\-writes
.PP
-Cache file data on writes through the FS
+Cache file data on writes through the FS.
.PP
If you need to read files immediately after you upload them through
cache you can enable this flag to have their data stored in the cache
@@ -25194,7 +26214,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-cache\-tmp\-wait\-time
.PP
-How long should files be stored in local cache before being uploaded
+How long should files be stored in local cache before being uploaded.
.PP
This is the duration that a file must wait in the temporary location
\f[I]cache\-tmp\-upload\-path\f[R] before it is selected for upload.
@@ -25211,7 +26231,7 @@ Type: Duration
Default: 15s
.SS \-\-cache\-db\-wait\-time
.PP
-How long to wait for the DB to be available \- 0 is unlimited
+How long to wait for the DB to be available \- 0 is unlimited.
.PP
Only one process can have the DB open at any one time, so rclone waits
for this duration for the DB to become available before it gives an
@@ -25262,6 +26282,7 @@ smaller chunks during upload to wrapped remote and transparently
assembles them back when the file is downloaded.
This allows to effectively overcome size limits imposed by storage
providers.
+.SS Configuration
.PP
To use it, first set up the underlying remote following the
configuration instructions for that remote.
@@ -25598,13 +26619,14 @@ We recommend users to keep rclone up\-to\-date to avoid data corruption.
.PP
Changing \f[C]transactions\f[R] is dangerous and requires explicit
migration.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to chunker (Transparently
chunk/split large files).
.SS \-\-chunker\-remote
.PP
Remote to chunk/unchunk.
+.PP
Normally should contain a \[aq]:\[aq] and a path, e.g.
\[dq]myremote:path/to/dir\[dq], \[dq]myremote:bucket\[dq] or maybe
\[dq]myremote:\[dq] (not recommended).
@@ -25630,6 +26652,7 @@ Default: 2Gi
.SS \-\-chunker\-hash\-type
.PP
Choose how chunker handles hash sums.
+.PP
All modes but \[dq]none\[dq] require metadata.
.IP \[bu] 2
Config: hash_type
@@ -25646,54 +26669,57 @@ Examples:
\[dq]none\[dq]
.RS 2
.IP \[bu] 2
-Pass any hash supported by wrapped remote for non\-chunked files, return
-nothing otherwise
+Pass any hash supported by wrapped remote for non\-chunked files.
+.IP \[bu] 2
+Return nothing otherwise.
.RE
.IP \[bu] 2
\[dq]md5\[dq]
.RS 2
.IP \[bu] 2
-MD5 for composite files
+MD5 for composite files.
.RE
.IP \[bu] 2
\[dq]sha1\[dq]
.RS 2
.IP \[bu] 2
-SHA1 for composite files
+SHA1 for composite files.
.RE
.IP \[bu] 2
\[dq]md5all\[dq]
.RS 2
.IP \[bu] 2
-MD5 for all files
+MD5 for all files.
.RE
.IP \[bu] 2
\[dq]sha1all\[dq]
.RS 2
.IP \[bu] 2
-SHA1 for all files
+SHA1 for all files.
.RE
.IP \[bu] 2
\[dq]md5quick\[dq]
.RS 2
.IP \[bu] 2
-Copying a file to chunker will request MD5 from the source falling back
-to SHA1 if unsupported
+Copying a file to chunker will request MD5 from the source.
+.IP \[bu] 2
+Falling back to SHA1 if unsupported.
.RE
.IP \[bu] 2
\[dq]sha1quick\[dq]
.RS 2
.IP \[bu] 2
-Similar to \[dq]md5quick\[dq] but prefers SHA1 over MD5
+Similar to \[dq]md5quick\[dq] but prefers SHA1 over MD5.
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to chunker (Transparently
chunk/split large files).
.SS \-\-chunker\-name\-format
.PP
String format of chunk file names.
+.PP
The two placeholders are: base file name (*) and chunk number (#...).
There must be one and only one asterisk and one or more consecutive hash
characters.
@@ -25714,6 +26740,7 @@ Default: \[dq]*.rclone_chunk.###\[dq]
.PP
Minimum valid chunk number.
Usually 0 or 1.
+.PP
By default chunk numbers start from 1.
.IP \[bu] 2
Config: start_from
@@ -25726,6 +26753,7 @@ Default: 1
.SS \-\-chunker\-meta\-format
.PP
Format of the metadata object or \[dq]none\[dq].
+.PP
By default \[dq]simplejson\[dq].
Metadata is a small JSON file named after the composite file.
.IP \[bu] 2
@@ -25744,6 +26772,7 @@ Examples:
.RS 2
.IP \[bu] 2
Do not use metadata files at all.
+.IP \[bu] 2
Requires hash type \[dq]none\[dq].
.RE
.IP \[bu] 2
@@ -25838,6 +26867,7 @@ This method is EXPERIMENTAL, don\[aq]t use on production systems.
.PP
Citrix ShareFile (https://sharefile.com) is a secure file sharing and
transfer service aimed as business.
+.SS Configuration
.PP
The initial setup for Citrix ShareFile involves getting a token from
Citrix ShareFile which you can in your browser.
@@ -25968,12 +26998,6 @@ Rclone will upload up to \f[C]\-\-transfers\f[R] chunks at the same time
(shared among all the multipart uploads).
Chunks are buffered in memory and are normally 64 MiB so increasing
\f[C]\-\-transfers\f[R] will increase memory use.
-.SS Limitations
-.PP
-Note that ShareFile is case insensitive so you can\[aq]t have a file
-called \[dq]Hello.doc\[dq] and one called \[dq]hello.doc\[dq].
-.PP
-ShareFile only supports filenames up to 256 characters in length.
.SS Restricted filename characters
.PP
In addition to the default restricted characters
@@ -26083,12 +27107,12 @@ T}
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
be used in JSON strings.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to sharefile (Citrix Sharefile).
.SS \-\-sharefile\-root\-folder\-id
.PP
-ID of the root folder
+ID of the root folder.
.PP
Leave blank to access \[dq]Personal Folders\[dq].
You can use one of the standard values here or any folder ID (long hex
@@ -26108,8 +27132,7 @@ Examples:
\[dq]\[dq]
.RS 2
.IP \[bu] 2
-Access the Personal Folders.
-(Default)
+Access the Personal Folders (default).
.RE
.IP \[bu] 2
\[dq]favorites\[dq]
@@ -26137,7 +27160,7 @@ Access the home, favorites, and shared folders as well as the
connectors.
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to sharefile (Citrix Sharefile).
.SS \-\-sharefile\-upload\-cutoff
@@ -26154,6 +27177,7 @@ Default: 128Mi
.SS \-\-sharefile\-chunk\-size
.PP
Upload chunk size.
+.PP
Must a power of 2 >= 256k.
.PP
Making this larger will improve performance, but note that each chunk is
@@ -26186,7 +27210,7 @@ Default: \[dq]\[dq]
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -26199,6 +27223,11 @@ Default:
Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Ctl,LeftSpace,LeftPeriod,RightSpace,RightPeriod,InvalidUtf8,Dot
.SS Limitations
.PP
+Note that ShareFile is case insensitive so you can\[aq]t have a file
+called \[dq]Hello.doc\[dq] and one called \[dq]hello.doc\[dq].
+.PP
+ShareFile only supports filenames up to 256 characters in length.
+.PP
\f[C]rclone about\f[R] is not supported by the Citrix ShareFile backend.
Backends without this capability cannot determine free space for an
rclone mount or use policy \f[C]mfs\f[R] (most free space) as a member
@@ -26330,12 +27359,14 @@ Enter a string value. Press Enter for the default (\[dq]\[dq]).
remote> remote:path
How to encrypt the filenames.
Enter a string value. Press Enter for the default (\[dq]standard\[dq]).
-Choose a number from below, or type in your own value
- 1 / Encrypt the filenames see the docs for the details.
+Choose a number from below, or type in your own value.
+ / Encrypt the filenames.
+ 1 | See the docs for the details.
\[rs] \[dq]standard\[dq]
2 / Very simple filename obfuscation.
\[rs] \[dq]obfuscate\[dq]
- 3 / Don\[aq]t encrypt the file names. Adds a \[dq].bin\[dq] extension only.
+ / Don\[aq]t encrypt the file names.
+ 3 | Adds a \[dq].bin\[dq] extension only.
\[rs] \[dq]off\[dq]
filename_encryption>
Option to either encrypt directory names or leave them intact.
@@ -26659,13 +27690,14 @@ authenticator.
Use the \f[C]rclone cryptcheck\f[R] command to check the integrity of a
crypted remote instead of \f[C]rclone check\f[R] which can\[aq]t check
the checksums properly.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to crypt (Encrypt/Decrypt a
remote).
.SS \-\-crypt\-remote
.PP
Remote to encrypt/decrypt.
+.PP
Normally should contain a \[aq]:\[aq] and a path, e.g.
\[dq]myremote:path/to/dir\[dq], \[dq]myremote:bucket\[dq] or maybe
\[dq]myremote:\[dq] (not recommended).
@@ -26695,7 +27727,9 @@ Examples:
\[dq]standard\[dq]
.RS 2
.IP \[bu] 2
-Encrypt the filenames see the docs for the details.
+Encrypt the filenames.
+.IP \[bu] 2
+See the docs for the details.
.RE
.IP \[bu] 2
\[dq]obfuscate\[dq]
@@ -26708,6 +27742,7 @@ Very simple filename obfuscation.
.RS 2
.IP \[bu] 2
Don\[aq]t encrypt the file names.
+.IP \[bu] 2
Adds a \[dq].bin\[dq] extension only.
.RE
.RE
@@ -26758,6 +27793,7 @@ Default: \[dq]\[dq]
.SS \-\-crypt\-password2
.PP
Password or pass phrase for salt.
+.PP
Optional but recommended.
Should be different to the previous password.
.PP
@@ -26771,7 +27807,7 @@ Env Var: RCLONE_CRYPT_PASSWORD2
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to crypt (Encrypt/Decrypt a
remote).
@@ -27061,6 +28097,7 @@ don\[aq]t use this remote in critical applications.
.PP
The \f[C]Compress\f[R] remote adds compression to another remote.
It is best used with remotes containing many large compressible files.
+.SS Configuration
.PP
To use this remote, all you need to do is specify another remote and a
compression mode to use:
@@ -27118,16 +28155,16 @@ y/e/d> y
.fi
.SS Compression Modes
.PP
-Currently only gzip compression is supported, it provides a decent
-balance between speed and strength and is well supported by other
-application.
+Currently only gzip compression is supported.
+It provides a decent balance between speed and size and is well
+supported by other applications.
Compression strength can further be configured via an advanced setting
where 0 is no compression and 9 is strongest compression.
-.SS Filetype
+.SS File types
.PP
-If you open a remote wrapped by press, you will see that there are many
-files with an extension corresponding to the compression algorithm you
-chose.
+If you open a remote wrapped by compress, you will see that there are
+many files with an extension corresponding to the compression algorithm
+you chose.
These files are standard files that can be opened by various archive
programs, but they have some hidden metadata that allows them to be used
by rclone.
@@ -27141,7 +28178,7 @@ The compressed files will be named \f[C]*.###########.gz\f[R] where
size of the uncompressed file.
The file names should not be changed by anything other than the rclone
compression backend.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to compress (Compress a remote).
.SS \-\-compress\-remote
@@ -27176,24 +28213,20 @@ Examples:
Standard gzip compression with fastest parameters.
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to compress (Compress a remote).
.SS \-\-compress\-level
.PP
GZIP compression level (\-2 to 9).
-.IP
-.nf
-\f[C]
- Generally \-1 (default, equivalent to 5) is recommended.
- Levels 1 to 9 increase compressiong at the cost of speed.. Going past 6
- generally offers very little return.
-
- Level \-2 uses Huffmann encoding only. Only use if you now what you
- are doing
- Level 0 turns off compression.
-\f[R]
-.fi
+.PP
+Generally \-1 (default, equivalent to 5) is recommended.
+Levels 1 to 9 increase compression at the cost of speed.
+Going past 6 generally offers very little return.
+.PP
+Level \-2 uses Huffmann encoding only.
+Only use if you know what you are doing.
+Level 0 turns off compression.
.IP \[bu] 2
Config: level
.IP \[bu] 2
@@ -27207,13 +28240,9 @@ Default: \-1
Some remotes don\[aq]t allow the upload of files with unknown size.
In this case the compressed file will need to be cached to determine
it\[aq]s size.
-.IP
-.nf
-\f[C]
- Files smaller than this limit will be cached in RAM, file larger than
- this limit will be cached on disk
-\f[R]
-.fi
+.PP
+Files smaller than this limit will be cached in RAM, files larger than
+this limit will be cached on disk.
.IP \[bu] 2
Config: ram_cache_limit
.IP \[bu] 2
@@ -27228,6 +28257,7 @@ Paths are specified as \f[C]remote:path\f[R]
.PP
Dropbox paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
+.SS Configuration
.PP
The initial setup for dropbox involves getting a token from Dropbox
which you need to do in your browser.
@@ -27467,12 +28497,14 @@ Or you could do an initial transfer with
.PP
Note that there may be a pause when quitting rclone while rclone
finishes up the last batch using this mode.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to dropbox (Dropbox).
.SS \-\-dropbox\-client\-id
.PP
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_id
.IP \[bu] 2
@@ -27483,7 +28515,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-dropbox\-client\-secret
.PP
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_secret
.IP \[bu] 2
@@ -27492,7 +28526,7 @@ Env Var: RCLONE_DROPBOX_CLIENT_SECRET
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to dropbox (Dropbox).
.SS \-\-dropbox\-token
@@ -27509,6 +28543,7 @@ Default: \[dq]\[dq]
.SS \-\-dropbox\-auth\-url
.PP
Auth server URL.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: auth_url
@@ -27521,6 +28556,7 @@ Default: \[dq]\[dq]
.SS \-\-dropbox\-token\-url
.PP
Token server url.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: token_url
@@ -27532,8 +28568,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-dropbox\-chunk\-size
.PP
-Upload chunk size.
-(< 150Mi).
+Upload chunk size (< 150Mi).
.PP
Any files larger than this will be uploaded in chunks of this size.
.PP
@@ -27673,7 +28708,7 @@ Type: int
Default: 0
.SS \-\-dropbox\-batch\-timeout
.PP
-Max time to allow an idle upload batch before uploading
+Max time to allow an idle upload batch before uploading.
.PP
If an upload batch is idle for more than this long then it will be
uploaded.
@@ -27694,11 +28729,22 @@ Env Var: RCLONE_DROPBOX_BATCH_TIMEOUT
Type: Duration
.IP \[bu] 2
Default: 0s
+.SS \-\-dropbox\-batch\-commit\-timeout
+.PP
+Max time to wait for a batch to finish comitting
+.IP \[bu] 2
+Config: batch_commit_timeout
+.IP \[bu] 2
+Env Var: RCLONE_DROPBOX_BATCH_COMMIT_TIMEOUT
+.IP \[bu] 2
+Type: Duration
+.IP \[bu] 2
+Default: 10m0s
.SS \-\-dropbox\-encoding
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -27792,6 +28838,7 @@ This backend supports Storage Made Easy\[aq]s Enterprise File
Fabric\[tm] (https://storagemadeeasy.com/about/) which provides a
software solution to integrate and unify File and Object Storage
accessible through a global file system.
+.SS Configuration
.PP
The initial setup for the Enterprise File Fabric backend involves
getting a token from the the Enterprise File Fabric which you need to do
@@ -27954,13 +29001,13 @@ $ rclone lsf \-\-dirs\-only \-Fip \-\-csv filefabric:
.fi
.PP
The ID for \[dq]S3 Storage\[dq] would be \f[C]120673761\f[R].
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to filefabric (Enterprise File
Fabric).
.SS \-\-filefabric\-url
.PP
-URL of the Enterprise File Fabric to connect to
+URL of the Enterprise File Fabric to connect to.
.IP \[bu] 2
Config: url
.IP \[bu] 2
@@ -27993,7 +29040,9 @@ Connect to your Enterprise File Fabric
.RE
.SS \-\-filefabric\-root\-folder\-id
.PP
-ID of the root folder Leave blank normally.
+ID of the root folder.
+.PP
+Leave blank normally.
.PP
Fill in to make rclone start with directory of a given ID.
.IP \[bu] 2
@@ -28006,7 +29055,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-filefabric\-permanent\-token
.PP
-Permanent Authentication Token
+Permanent Authentication Token.
.PP
A Permanent Authentication Token can be created in the Enterprise File
Fabric, on the users Dashboard under Security, there is an entry
@@ -28025,13 +29074,13 @@ Env Var: RCLONE_FILEFABRIC_PERMANENT_TOKEN
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to filefabric (Enterprise File
Fabric).
.SS \-\-filefabric\-token
.PP
-Session Token
+Session Token.
.PP
This is a session token which rclone caches in the config file.
It is usually valid for 1 hour.
@@ -28047,7 +29096,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-filefabric\-token\-expiry
.PP
-Token expiry time
+Token expiry time.
.PP
Don\[aq]t set this value \- rclone will set it automatically.
.IP \[bu] 2
@@ -28060,7 +29109,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-filefabric\-version
.PP
-Version read from the file fabric
+Version read from the file fabric.
.PP
Don\[aq]t set this value \- rclone will set it automatically.
.IP \[bu] 2
@@ -28075,7 +29124,7 @@ Default: \[dq]\[dq]
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -28098,6 +29147,7 @@ Paths are specified as \f[C]remote:path\f[R].
If the path does not begin with a \f[C]/\f[R] it is relative to the home
directory of the user.
An empty path \f[C]remote:\f[R] refers to the user\[aq]s home directory.
+.SS Configuration
.PP
To create an FTP configuration named \f[C]remote\f[R], run
.IP
@@ -28219,12 +29269,71 @@ This has to be enabled in the FTP backend config for the remote, or with
\f[C]\-\-ftp\-tls\f[R].
The default FTPS port is \f[C]990\f[R], not \f[C]21\f[R] and can be set
with \f[C]\-\-ftp\-port\f[R].
-.SS Standard Options
+.SS Restricted filename characters
+.PP
+In addition to the default restricted characters
+set (https://rclone.org/overview/#restricted-characters) the following
+characters are also replaced:
+.PP
+File names cannot end with the following characters.
+Repacement is limited to the last character in a file name:
+.PP
+.TS
+tab(@);
+l c c.
+T{
+Character
+T}@T{
+Value
+T}@T{
+Replacement
+T}
+_
+T{
+SP
+T}@T{
+0x20
+T}@T{
+\[u2420]
+T}
+.TE
+.PP
+Not all FTP servers can have all characters in file names, for example:
+.PP
+.TS
+tab(@);
+l c.
+T{
+FTP Server
+T}@T{
+Forbidden characters
+T}
+_
+T{
+proftpd
+T}@T{
+\f[C]*\f[R]
+T}
+T{
+pureftpd
+T}@T{
+\f[C]\[rs] [ ]\f[R]
+T}
+.TE
+.PP
+This backend\[aq]s interactive configuration wizard provides a selection
+of sensible encoding settings for major FTP servers: ProFTPd, PureFTPd,
+VsFTPd.
+Just hit a selection number when prompted.
+.SS Standard options
.PP
Here are the standard options specific to ftp (FTP Connection).
.SS \-\-ftp\-host
.PP
-FTP host to connect to
+FTP host to connect to.
+.PP
+E.g.
+\[dq]ftp.example.com\[dq].
.IP \[bu] 2
Config: host
.IP \[bu] 2
@@ -28233,19 +29342,9 @@ Env Var: RCLONE_FTP_HOST
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.IP \[bu] 2
-Examples:
-.RS 2
-.IP \[bu] 2
-\[dq]ftp.example.com\[dq]
-.RS 2
-.IP \[bu] 2
-Connect to ftp.example.com
-.RE
-.RE
.SS \-\-ftp\-user
.PP
-FTP username, leave blank for current username, $USER
+FTP username, leave blank for current username, $USER.
.IP \[bu] 2
Config: user
.IP \[bu] 2
@@ -28256,7 +29355,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-ftp\-port
.PP
-FTP port, leave blank to use default (21)
+FTP port, leave blank to use default (21).
.IP \[bu] 2
Config: port
.IP \[bu] 2
@@ -28267,7 +29366,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-ftp\-pass
.PP
-FTP password
+FTP password.
.PP
\f[B]NB\f[R] Input to this must be obscured \- see rclone
obscure (https://rclone.org/commands/rclone_obscure/).
@@ -28281,9 +29380,10 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-ftp\-tls
.PP
-Use Implicit FTPS (FTP over TLS) When using implicit FTP over TLS the
-client connects using TLS right from the start which breaks
-compatibility with non\-TLS\-aware servers.
+Use Implicit FTPS (FTP over TLS).
+.PP
+When using implicit FTP over TLS the client connects using TLS right
+from the start which breaks compatibility with non\-TLS\-aware servers.
This is usually served over port 990 rather than port 21.
Cannot be used in combination with explicit FTP.
.IP \[bu] 2
@@ -28296,9 +29396,11 @@ Type: bool
Default: false
.SS \-\-ftp\-explicit\-tls
.PP
-Use Explicit FTPS (FTP over TLS) When using explicit FTP over TLS the
-client explicitly requests security from the server in order to upgrade
-a plain text connection to an encrypted one.
+Use Explicit FTPS (FTP over TLS).
+.PP
+When using explicit FTP over TLS the client explicitly requests security
+from the server in order to upgrade a plain text connection to an
+encrypted one.
Cannot be used in combination with implicit FTP.
.IP \[bu] 2
Config: explicit_tls
@@ -28308,12 +29410,12 @@ Env Var: RCLONE_FTP_EXPLICIT_TLS
Type: bool
.IP \[bu] 2
Default: false
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to ftp (FTP Connection).
.SS \-\-ftp\-concurrency
.PP
-Maximum number of FTP simultaneous connections, 0 for unlimited
+Maximum number of FTP simultaneous connections, 0 for unlimited.
.IP \[bu] 2
Config: concurrency
.IP \[bu] 2
@@ -28324,7 +29426,7 @@ Type: int
Default: 0
.SS \-\-ftp\-no\-check\-certificate
.PP
-Do not verify the TLS certificate of the server
+Do not verify the TLS certificate of the server.
.IP \[bu] 2
Config: no_check_certificate
.IP \[bu] 2
@@ -28335,7 +29437,7 @@ Type: bool
Default: false
.SS \-\-ftp\-disable\-epsv
.PP
-Disable using EPSV even if server advertises support
+Disable using EPSV even if server advertises support.
.IP \[bu] 2
Config: disable_epsv
.IP \[bu] 2
@@ -28346,7 +29448,7 @@ Type: bool
Default: false
.SS \-\-ftp\-disable\-mlsd
.PP
-Disable using MLSD even if server advertises support
+Disable using MLSD even if server advertises support.
.IP \[bu] 2
Config: disable_mlsd
.IP \[bu] 2
@@ -28355,9 +29457,20 @@ Env Var: RCLONE_FTP_DISABLE_MLSD
Type: bool
.IP \[bu] 2
Default: false
+.SS \-\-ftp\-writing\-mdtm
+.PP
+Use MDTM to set modification time (VsFtpd quirk)
+.IP \[bu] 2
+Config: writing_mdtm
+.IP \[bu] 2
+Env Var: RCLONE_FTP_WRITING_MDTM
+.IP \[bu] 2
+Type: bool
+.IP \[bu] 2
+Default: false
.SS \-\-ftp\-idle\-timeout
.PP
-Max time before closing idle connections
+Max time before closing idle connections.
.PP
If no connections have been returned to the connection pool in the time
given, rclone will empty the connection pool.
@@ -28382,11 +29495,51 @@ Env Var: RCLONE_FTP_CLOSE_TIMEOUT
Type: Duration
.IP \[bu] 2
Default: 1m0s
+.SS \-\-ftp\-tls\-cache\-size
+.PP
+Size of TLS session cache for all control and data connections.
+.PP
+TLS cache allows to resume TLS sessions and reuse PSK between
+connections.
+Increase if default size is not enough resulting in TLS resumption
+errors.
+Enabled by default.
+Use 0 to disable.
+.IP \[bu] 2
+Config: tls_cache_size
+.IP \[bu] 2
+Env Var: RCLONE_FTP_TLS_CACHE_SIZE
+.IP \[bu] 2
+Type: int
+.IP \[bu] 2
+Default: 32
+.SS \-\-ftp\-disable\-tls13
+.PP
+Disable TLS 1.3 (workaround for FTP servers with buggy TLS)
+.IP \[bu] 2
+Config: disable_tls13
+.IP \[bu] 2
+Env Var: RCLONE_FTP_DISABLE_TLS13
+.IP \[bu] 2
+Type: bool
+.IP \[bu] 2
+Default: false
+.SS \-\-ftp\-shut\-timeout
+.PP
+Maximum time to wait for data connection closing status.
+.IP \[bu] 2
+Config: shut_timeout
+.IP \[bu] 2
+Env Var: RCLONE_FTP_SHUT_TIMEOUT
+.IP \[bu] 2
+Type: Duration
+.IP \[bu] 2
+Default: 1m0s
.SS \-\-ftp\-encoding
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -28396,10 +29549,38 @@ Env Var: RCLONE_FTP_ENCODING
Type: MultiEncoder
.IP \[bu] 2
Default: Slash,Del,Ctl,RightSpace,Dot
+.IP \[bu] 2
+Examples:
+.RS 2
+.IP \[bu] 2
+\[dq]Asterisk,Ctl,Dot,Slash\[dq]
+.RS 2
+.IP \[bu] 2
+ProFTPd can\[aq]t handle \[aq]*\[aq] in file names
+.RE
+.IP \[bu] 2
+\[dq]BackSlash,Ctl,Del,Dot,RightSpace,Slash,SquareBracket\[dq]
+.RS 2
+.IP \[bu] 2
+PureFTPd can\[aq]t handle \[aq][]\[aq] or \[aq]*\[aq] in file names
+.RE
+.IP \[bu] 2
+\[dq]Ctl,LeftPeriod,Slash\[dq]
+.RS 2
+.IP \[bu] 2
+VsFTPd can\[aq]t handle file names starting with dot
+.RE
+.RE
.SS Limitations
.PP
-Modified times are not supported.
-Times you see on the FTP server through rclone are those of upload.
+FTP servers acting as rclone remotes must support \f[C]passive\f[R]
+mode.
+The mode cannot be configured as \f[C]passive\f[R] is the only supported
+one.
+Rclone\[aq]s FTP implementation is not compatible with \f[C]active\f[R]
+mode as the library it uses doesn\[aq]t support
+it (https://github.com/jlaffaye/ftp/issues/29).
+This will likely never be supported due to security concerns.
.PP
Rclone\[aq]s FTP backend does not support any checksums but can compare
file sizes.
@@ -28427,67 +29608,38 @@ Rclone\[aq]s FTP backend could support server\-side move but does not at
present.
.PP
The \f[C]ftp_proxy\f[R] environment variable is not currently supported.
+.SS Modified time
.PP
-FTP servers acting as rclone remotes must support \[aq]passive\[aq]
-mode.
-Rclone\[aq]s FTP implementation is not compatible with \[aq]active\[aq]
-mode.
-.SS Restricted filename characters
-.PP
-In addition to the default restricted characters
-set (https://rclone.org/overview/#restricted-characters) the following
-characters are also replaced:
-.PP
-File names cannot end with the following characters.
-Repacement is limited to the last character in a file name:
-.PP
-.TS
-tab(@);
-l c c.
-T{
-Character
-T}@T{
-Value
-T}@T{
-Replacement
-T}
-_
-T{
-SP
-T}@T{
-0x20
-T}@T{
-\[u2420]
-T}
-.TE
-.PP
-Not all FTP servers can have all characters in file names, for example:
-.PP
-.TS
-tab(@);
-l c.
-T{
-FTP Server
-T}@T{
-Forbidden characters
-T}
-_
-T{
-proftpd
-T}@T{
-\f[C]*\f[R]
-T}
-T{
-pureftpd
-T}@T{
-\f[C]\[rs] [ ]\f[R]
-T}
-.TE
+File modification time (timestamps) is supported to 1 second resolution
+for major FTP servers: ProFTPd, PureFTPd, VsFTPd, and FileZilla FTP
+server.
+The \f[C]VsFTPd\f[R] server has non\-standard implementation of time
+related protocol commands and needs a special configuration setting:
+\f[C]writing_mdtm = true\f[R].
+.PP
+Support for precise file time with other FTP servers varies depending on
+what protocol extensions they advertise.
+If all the \f[C]MLSD\f[R], \f[C]MDTM\f[R] and \f[C]MFTM\f[R] extensions
+are present, rclone will use them together to provide precise time.
+Otherwise the times you see on the FTP server through rclone are those
+of the last file upload.
+.PP
+You can use the following command to check whether rclone can use
+precise time with your FTP server:
+\f[C]rclone backend features your_ftp_remote:\f[R] (the trailing colon
+is important).
+Look for the number in the line tagged by \f[C]Precision\f[R]
+designating the remote time precision expressed as nanoseconds.
+A value of \f[C]1000000000\f[R] means that file time precision of 1
+second is available.
+A value of \f[C]3153600000000000000\f[R] (or another large number) means
+\[dq]unsupported\[dq].
.SH Google Cloud Storage
.PP
Paths are specified as \f[C]remote:bucket\f[R] (or \f[C]remote:\f[R] for
the \f[C]lsd\f[R] command.) You may put subdirectories in too, e.g.
\f[C]remote:bucket/path/to/dir\f[R].
+.SS Configuration
.PP
The initial setup for google cloud storage involves getting a token from
Google Cloud Storage which you need to do in your browser.
@@ -28821,13 +29973,15 @@ T}
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
be used in JSON strings.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to google cloud storage (Google
Cloud Storage (this is not Google Drive)).
.SS \-\-gcs\-client\-id
.PP
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_id
.IP \[bu] 2
@@ -28838,7 +29992,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-gcs\-client\-secret
.PP
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_secret
.IP \[bu] 2
@@ -28850,6 +30006,7 @@ Default: \[dq]\[dq]
.SS \-\-gcs\-project\-number
.PP
Project number.
+.PP
Optional \- needed only for list/create/delete buckets \- see your
developer console.
.IP \[bu] 2
@@ -28862,7 +30019,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-gcs\-service\-account\-file
.PP
-Service Account Credentials JSON file path Leave blank normally.
+Service Account Credentials JSON file path.
+.PP
+Leave blank normally.
Needed only if you want use SA instead of interactive login.
.PP
Leading \f[C]\[ti]\f[R] will be expanded in the file name as will
@@ -28877,7 +30036,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-gcs\-service\-account\-credentials
.PP
-Service Account Credentials JSON blob Leave blank normally.
+Service Account Credentials JSON blob.
+.PP
+Leave blank normally.
Needed only if you want use SA instead of interactive login.
.IP \[bu] 2
Config: service_account_credentials
@@ -28889,8 +30050,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-gcs\-anonymous
.PP
-Access public buckets and objects without credentials Set to
-\[aq]true\[aq] if you just want to download files and don\[aq]t
+Access public buckets and objects without credentials.
+.PP
+Set to \[aq]true\[aq] if you just want to download files and don\[aq]t
configure credentials.
.IP \[bu] 2
Config: anonymous
@@ -28918,41 +30080,49 @@ Examples:
\[dq]authenticatedRead\[dq]
.RS 2
.IP \[bu] 2
-Object owner gets OWNER access, and all Authenticated Users get READER
-access.
+Object owner gets OWNER access.
+.IP \[bu] 2
+All Authenticated Users get READER access.
.RE
.IP \[bu] 2
\[dq]bucketOwnerFullControl\[dq]
.RS 2
.IP \[bu] 2
-Object owner gets OWNER access, and project team owners get OWNER
-access.
+Object owner gets OWNER access.
+.IP \[bu] 2
+Project team owners get OWNER access.
.RE
.IP \[bu] 2
\[dq]bucketOwnerRead\[dq]
.RS 2
.IP \[bu] 2
-Object owner gets OWNER access, and project team owners get READER
-access.
+Object owner gets OWNER access.
+.IP \[bu] 2
+Project team owners get READER access.
.RE
.IP \[bu] 2
\[dq]private\[dq]
.RS 2
.IP \[bu] 2
-Object owner gets OWNER access [default if left blank].
+Object owner gets OWNER access.
+.IP \[bu] 2
+Default if left blank.
.RE
.IP \[bu] 2
\[dq]projectPrivate\[dq]
.RS 2
.IP \[bu] 2
-Object owner gets OWNER access, and project team members get access
-according to their roles.
+Object owner gets OWNER access.
+.IP \[bu] 2
+Project team members get access according to their roles.
.RE
.IP \[bu] 2
\[dq]publicRead\[dq]
.RS 2
.IP \[bu] 2
-Object owner gets OWNER access, and all Users get READER access.
+Object owner gets OWNER access.
+.IP \[bu] 2
+All Users get READER access.
.RE
.RE
.SS \-\-gcs\-bucket\-acl
@@ -28973,14 +30143,17 @@ Examples:
\[dq]authenticatedRead\[dq]
.RS 2
.IP \[bu] 2
-Project team owners get OWNER access, and all Authenticated Users get
-READER access.
+Project team owners get OWNER access.
+.IP \[bu] 2
+All Authenticated Users get READER access.
.RE
.IP \[bu] 2
\[dq]private\[dq]
.RS 2
.IP \[bu] 2
-Project team owners get OWNER access [default if left blank].
+Project team owners get OWNER access.
+.IP \[bu] 2
+Default if left blank.
.RE
.IP \[bu] 2
\[dq]projectPrivate\[dq]
@@ -28992,13 +30165,17 @@ Project team members get access according to their roles.
\[dq]publicRead\[dq]
.RS 2
.IP \[bu] 2
-Project team owners get OWNER access, and all Users get READER access.
+Project team owners get OWNER access.
+.IP \[bu] 2
+All Users get READER access.
.RE
.IP \[bu] 2
\[dq]publicReadWrite\[dq]
.RS 2
.IP \[bu] 2
-Project team owners get OWNER access, and all Users get WRITER access.
+Project team owners get OWNER access.
+.IP \[bu] 2
+All Users get WRITER access.
.RE
.RE
.SS \-\-gcs\-bucket\-policy\-only
@@ -29043,121 +30220,121 @@ Examples:
\[dq]\[dq]
.RS 2
.IP \[bu] 2
-Empty for default location (US).
+Empty for default location (US)
.RE
.IP \[bu] 2
\[dq]asia\[dq]
.RS 2
.IP \[bu] 2
-Multi\-regional location for Asia.
+Multi\-regional location for Asia
.RE
.IP \[bu] 2
\[dq]eu\[dq]
.RS 2
.IP \[bu] 2
-Multi\-regional location for Europe.
+Multi\-regional location for Europe
.RE
.IP \[bu] 2
\[dq]us\[dq]
.RS 2
.IP \[bu] 2
-Multi\-regional location for United States.
+Multi\-regional location for United States
.RE
.IP \[bu] 2
\[dq]asia\-east1\[dq]
.RS 2
.IP \[bu] 2
-Taiwan.
+Taiwan
.RE
.IP \[bu] 2
\[dq]asia\-east2\[dq]
.RS 2
.IP \[bu] 2
-Hong Kong.
+Hong Kong
.RE
.IP \[bu] 2
\[dq]asia\-northeast1\[dq]
.RS 2
.IP \[bu] 2
-Tokyo.
+Tokyo
.RE
.IP \[bu] 2
\[dq]asia\-south1\[dq]
.RS 2
.IP \[bu] 2
-Mumbai.
+Mumbai
.RE
.IP \[bu] 2
\[dq]asia\-southeast1\[dq]
.RS 2
.IP \[bu] 2
-Singapore.
+Singapore
.RE
.IP \[bu] 2
\[dq]australia\-southeast1\[dq]
.RS 2
.IP \[bu] 2
-Sydney.
+Sydney
.RE
.IP \[bu] 2
\[dq]europe\-north1\[dq]
.RS 2
.IP \[bu] 2
-Finland.
+Finland
.RE
.IP \[bu] 2
\[dq]europe\-west1\[dq]
.RS 2
.IP \[bu] 2
-Belgium.
+Belgium
.RE
.IP \[bu] 2
\[dq]europe\-west2\[dq]
.RS 2
.IP \[bu] 2
-London.
+London
.RE
.IP \[bu] 2
\[dq]europe\-west3\[dq]
.RS 2
.IP \[bu] 2
-Frankfurt.
+Frankfurt
.RE
.IP \[bu] 2
\[dq]europe\-west4\[dq]
.RS 2
.IP \[bu] 2
-Netherlands.
+Netherlands
.RE
.IP \[bu] 2
\[dq]us\-central1\[dq]
.RS 2
.IP \[bu] 2
-Iowa.
+Iowa
.RE
.IP \[bu] 2
\[dq]us\-east1\[dq]
.RS 2
.IP \[bu] 2
-South Carolina.
+South Carolina
.RE
.IP \[bu] 2
\[dq]us\-east4\[dq]
.RS 2
.IP \[bu] 2
-Northern Virginia.
+Northern Virginia
.RE
.IP \[bu] 2
\[dq]us\-west1\[dq]
.RS 2
.IP \[bu] 2
-Oregon.
+Oregon
.RE
.IP \[bu] 2
\[dq]us\-west2\[dq]
.RS 2
.IP \[bu] 2
-California.
+California
.RE
.RE
.SS \-\-gcs\-storage\-class
@@ -29217,7 +30394,7 @@ Archive storage class
Durable reduced availability storage class
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to google cloud storage (Google
Cloud Storage (this is not Google Drive)).
@@ -29235,6 +30412,7 @@ Default: \[dq]\[dq]
.SS \-\-gcs\-auth\-url
.PP
Auth server URL.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: auth_url
@@ -29247,6 +30425,7 @@ Default: \[dq]\[dq]
.SS \-\-gcs\-token\-url
.PP
Token server url.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: token_url
@@ -29260,7 +30439,7 @@ Default: \[dq]\[dq]
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -29287,6 +30466,7 @@ Paths are specified as \f[C]drive:path\f[R]
.PP
Drive paths may be as deep as required, e.g.
\f[C]drive:directory/subdirectory\f[R].
+.SS Configuration
.PP
The initial setup for drive involves getting a token from Google drive
which you need to do in your browser.
@@ -29567,7 +30747,7 @@ client_secret> # Can be left blank
scope> # Select your scope, 1 for example
root_folder_id> # Can be left blank
service_account_file> /home/foo/myJSONfile.json # This is where the JSON file goes!
-y/n> # Auto config, y
+y/n> # Auto config, n
\f[R]
.fi
.SS 4. Verify that it\[aq]s working
@@ -29594,7 +30774,7 @@ is unable to access the contents of that folder when using
interface, share your root folder with the user/email of the new Service
Account you created/selected at step #1 \- use rclone without specifying
the \f[C]\-\-drive\-impersonate\f[R] option, like this:
-\f[C]rclone \-v foo\[at]example.com lsf gdrive:backup\f[R]
+\f[C]rclone \-v lsf gdrive:backup\f[R]
.SS Shared drives (team drives)
.PP
If you want to configure the remote to point to a Google Shared Drive
@@ -30148,7 +31328,7 @@ T}@T{
macOS
T}
.TE
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to drive (Google Drive).
.SS \-\-drive\-client\-id
@@ -30168,7 +31348,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-drive\-client\-secret
.PP
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_secret
.IP \[bu] 2
@@ -30232,7 +31414,8 @@ does not allow any access to read or download file content.
.RE
.SS \-\-drive\-root\-folder\-id
.PP
-ID of the root folder Leave blank normally.
+ID of the root folder.
+Leave blank normally.
.PP
Fill in to access \[dq]Computers\[dq] folders (see docs), or for rclone
to use a non root folder as its starting point.
@@ -30246,7 +31429,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-drive\-service\-account\-file
.PP
-Service Account Credentials JSON file path Leave blank normally.
+Service Account Credentials JSON file path.
+.PP
+Leave blank normally.
Needed only if you want use SA instead of interactive login.
.PP
Leading \f[C]\[ti]\f[R] will be expanded in the file name as will
@@ -30261,7 +31446,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-drive\-alternate\-export
.PP
-Deprecated: no longer needed
+Deprecated: No longer needed.
.IP \[bu] 2
Config: alternate_export
.IP \[bu] 2
@@ -30270,7 +31455,7 @@ Env Var: RCLONE_DRIVE_ALTERNATE_EXPORT
Type: bool
.IP \[bu] 2
Default: false
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to drive (Google Drive).
.SS \-\-drive\-token
@@ -30287,6 +31472,7 @@ Default: \[dq]\[dq]
.SS \-\-drive\-auth\-url
.PP
Auth server URL.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: auth_url
@@ -30299,6 +31485,7 @@ Default: \[dq]\[dq]
.SS \-\-drive\-token\-url
.PP
Token server url.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: token_url
@@ -30310,7 +31497,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-drive\-service\-account\-credentials
.PP
-Service Account Credentials JSON blob Leave blank normally.
+Service Account Credentials JSON blob.
+.PP
+Leave blank normally.
Needed only if you want use SA instead of interactive login.
.IP \[bu] 2
Config: service_account_credentials
@@ -30322,7 +31511,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-drive\-team\-drive
.PP
-ID of the Shared Drive (Team Drive)
+ID of the Shared Drive (Team Drive).
.IP \[bu] 2
Config: team_drive
.IP \[bu] 2
@@ -30345,6 +31534,7 @@ Default: false
.SS \-\-drive\-use\-trash
.PP
Send files to the trash instead of deleting permanently.
+.PP
Defaults to true, namely sending files to the trash.
Use \f[C]\-\-drive\-use\-trash=false\f[R] to delete files permanently
instead.
@@ -30359,6 +31549,7 @@ Default: true
.SS \-\-drive\-skip\-gdocs
.PP
Skip google documents in all listings.
+.PP
If given, gdocs practically become invisible to rclone.
.IP \[bu] 2
Config: skip_gdocs
@@ -30412,6 +31603,7 @@ Default: false
.SS \-\-drive\-trashed\-only
.PP
Only show files that are in the trash.
+.PP
This will show trashed files in their original directory structure.
.IP \[bu] 2
Config: trashed_only
@@ -30434,7 +31626,7 @@ Type: bool
Default: false
.SS \-\-drive\-formats
.PP
-Deprecated: see export_formats
+Deprecated: See export_formats.
.IP \[bu] 2
Config: formats
.IP \[bu] 2
@@ -30467,8 +31659,10 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-drive\-allow\-import\-name\-change
.PP
-Allow the filetype to change when uploading Google docs (e.g.
-file.doc to file.docx).
+Allow the filetype to change when uploading Google docs.
+.PP
+E.g.
+file.doc to file.docx.
This will confuse sync and reupload every time.
.IP \[bu] 2
Config: allow_import_name_change
@@ -30480,7 +31674,7 @@ Type: bool
Default: false
.SS \-\-drive\-use\-created\-date
.PP
-Use file created date instead of modified date.,
+Use file created date instead of modified date.
.PP
Useful when downloading data and you want the creation date used in
place of the last modified date.
@@ -30526,8 +31720,7 @@ Type: bool
Default: false
.SS \-\-drive\-list\-chunk
.PP
-Size of listing chunk 100\-1000.
-0 to disable.
+Size of listing chunk 100\-1000, 0 to disable.
.IP \[bu] 2
Config: list_chunk
.IP \[bu] 2
@@ -30549,7 +31742,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-drive\-upload\-cutoff
.PP
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
.IP \[bu] 2
Config: upload_cutoff
.IP \[bu] 2
@@ -30561,6 +31754,7 @@ Default: 8Mi
.SS \-\-drive\-chunk\-size
.PP
Upload chunk size.
+.PP
Must a power of 2 >= 256k.
.PP
Making this larger will improve performance, but note that each chunk is
@@ -30680,7 +31874,7 @@ Type: bool
Default: false
.SS \-\-drive\-disable\-http2
.PP
-Disable drive using http2
+Disable drive using http2.
.PP
There is currently an unsolved issue with the google drive backend and
HTTP/2.
@@ -30699,7 +31893,7 @@ Type: bool
Default: true
.SS \-\-drive\-stop\-on\-upload\-limit
.PP
-Make upload limit errors be fatal
+Make upload limit errors be fatal.
.PP
At the time of writing it is only possible to upload 750 GiB of data to
Google Drive a day (this is an undocumented limit).
@@ -30722,7 +31916,7 @@ Type: bool
Default: false
.SS \-\-drive\-stop\-on\-download\-limit
.PP
-Make download limit errors be fatal
+Make download limit errors be fatal.
.PP
At the time of writing it is only possible to download 10 TiB of data
from Google Drive a day (this is an undocumented limit).
@@ -30743,7 +31937,7 @@ Type: bool
Default: false
.SS \-\-drive\-skip\-shortcuts
.PP
-If set skip shortcut files
+If set skip shortcut files.
.PP
Normally rclone dereferences shortcut files making them appear as if
they are the original file (see the shortcuts section).
@@ -30760,7 +31954,7 @@ Default: false
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -30897,7 +32091,7 @@ Usage:
.IP
.nf
\f[C]
-rclone backend drives drive:
+rclone backend [\-o config] drives drive:
\f[R]
.fi
.PP
@@ -30919,6 +32113,26 @@ This will return a JSON list of objects like this
]
\f[R]
.fi
+.PP
+With the \-o config parameter it will output the list in a format
+suitable for adding to a config file to make aliases for all the drives
+found.
+.IP
+.nf
+\f[C]
+[My Drive]
+type = alias
+remote = drive,team_drive=0ABCDEF\-01234567890,root_folder_id=:
+
+[Test Drive]
+type = alias
+remote = drive,team_drive=0ABCDEFabcdefghijkl,root_folder_id=:
+\f[R]
+.fi
+.PP
+Adding this to the rclone config file will cause those team drives to be
+accessible with the aliases shown.
+This may require manual editing of the names.
.SS untrash
.PP
Untrash files and directories
@@ -30995,7 +32209,7 @@ Use the \-i flag to see what would be copied before copying.
Drive has quite a lot of rate limiting.
This causes rclone to be limited to transferring about 2 files per
second only.
-Individual files may be transferred much faster at 100s of MiByte/s but
+Individual files may be transferred much faster at 100s of MiB/s but
lots of small files can take a long time.
.PP
Server side copies are also subject to a separate rate limit.
@@ -31101,9 +32315,8 @@ tested/documented so far).
Click on the \[dq]+ CREATE CREDENTIALS\[dq] button at the top of the
screen, then select \[dq]OAuth client ID\[dq].
.IP " 7." 4
-Choose an application type of \[dq]Desktop app\[dq] if you using a
-Google account or \[dq]Other\[dq] if you using a GSuite account and
-click \[dq]Create\[dq].
+Choose an application type of \[dq]Desktop app\[dq] and click
+\[dq]Create\[dq].
(the default name is fine)
.IP " 8." 4
It will show you a client ID and client secret.
@@ -31112,6 +32325,9 @@ Make a note of these.
Go to \[dq]Oauth consent screen\[dq] and press \[dq]Publish App\[dq]
.IP "10." 4
Provide the noted client ID and client secret to rclone.
+.IP "11." 4
+Click \[dq]OAuth consent screen\[dq], then click \[dq]PUBLISH APP\[dq]
+button and confirm, or add your account under \[dq]Test users\[dq].
.PP
Be aware that, due to the \[dq]enhanced security\[dq] recently
introduced by Google, you are theoretically expected to \[dq]submit your
@@ -31143,7 +32359,7 @@ for transferring photos and videos to and from Google Photos.
\f[B]NB\f[R] The Google Photos API which rclone uses has quite a few
limitations, so please read the limitations section carefully to make
sure it is suitable for your use.
-.SS Configuring Google Photos
+.SS Configuration
.PP
The initial setup for google cloud storage involves getting a token from
Google Photos which you need to do in your browser.
@@ -31398,6 +32614,157 @@ normal filesystem and it is a good target for repeated syncing.
The \f[C]shared\-album\f[R] directory shows albums shared with you or by
you.
This is similar to the Sharing tab in the Google Photos web interface.
+.SS Standard options
+.PP
+Here are the standard options specific to google photos (Google Photos).
+.SS \-\-gphotos\-client\-id
+.PP
+OAuth Client Id.
+.PP
+Leave blank normally.
+.IP \[bu] 2
+Config: client_id
+.IP \[bu] 2
+Env Var: RCLONE_GPHOTOS_CLIENT_ID
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]\[dq]
+.SS \-\-gphotos\-client\-secret
+.PP
+OAuth Client Secret.
+.PP
+Leave blank normally.
+.IP \[bu] 2
+Config: client_secret
+.IP \[bu] 2
+Env Var: RCLONE_GPHOTOS_CLIENT_SECRET
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]\[dq]
+.SS \-\-gphotos\-read\-only
+.PP
+Set to make the Google Photos backend read only.
+.PP
+If you choose read only then rclone will only request read only access
+to your photos, otherwise rclone will request full access.
+.IP \[bu] 2
+Config: read_only
+.IP \[bu] 2
+Env Var: RCLONE_GPHOTOS_READ_ONLY
+.IP \[bu] 2
+Type: bool
+.IP \[bu] 2
+Default: false
+.SS Advanced options
+.PP
+Here are the advanced options specific to google photos (Google Photos).
+.SS \-\-gphotos\-token
+.PP
+OAuth Access Token as a JSON blob.
+.IP \[bu] 2
+Config: token
+.IP \[bu] 2
+Env Var: RCLONE_GPHOTOS_TOKEN
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]\[dq]
+.SS \-\-gphotos\-auth\-url
+.PP
+Auth server URL.
+.PP
+Leave blank to use the provider defaults.
+.IP \[bu] 2
+Config: auth_url
+.IP \[bu] 2
+Env Var: RCLONE_GPHOTOS_AUTH_URL
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]\[dq]
+.SS \-\-gphotos\-token\-url
+.PP
+Token server url.
+.PP
+Leave blank to use the provider defaults.
+.IP \[bu] 2
+Config: token_url
+.IP \[bu] 2
+Env Var: RCLONE_GPHOTOS_TOKEN_URL
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]\[dq]
+.SS \-\-gphotos\-read\-size
+.PP
+Set to read the size of media items.
+.PP
+Normally rclone does not read the size of media items since this takes
+another transaction.
+This isn\[aq]t necessary for syncing.
+However rclone mount needs to know the size of files in advance of
+reading them, so setting this flag when using rclone mount is
+recommended if you want to read the media.
+.IP \[bu] 2
+Config: read_size
+.IP \[bu] 2
+Env Var: RCLONE_GPHOTOS_READ_SIZE
+.IP \[bu] 2
+Type: bool
+.IP \[bu] 2
+Default: false
+.SS \-\-gphotos\-start\-year
+.PP
+Year limits the photos to be downloaded to those which are uploaded
+after the given year.
+.IP \[bu] 2
+Config: start_year
+.IP \[bu] 2
+Env Var: RCLONE_GPHOTOS_START_YEAR
+.IP \[bu] 2
+Type: int
+.IP \[bu] 2
+Default: 2000
+.SS \-\-gphotos\-include\-archived
+.PP
+Also view and download archived media.
+.PP
+By default rclone does not request archived media.
+Thus, when syncing, archived media is not visible in directory listings
+or transferred.
+.PP
+Note that media in albums is always visible and synced, no matter their
+archive status.
+.PP
+With this flag, archived media are always visible in directory listings
+and transferred.
+.PP
+Without this flag, archived media will not be visible in directory
+listings and won\[aq]t be transferred.
+.IP \[bu] 2
+Config: include_archived
+.IP \[bu] 2
+Env Var: RCLONE_GPHOTOS_INCLUDE_ARCHIVED
+.IP \[bu] 2
+Type: bool
+.IP \[bu] 2
+Default: false
+.SS \-\-gphotos\-encoding
+.PP
+This sets the encoding for the backend.
+.PP
+See the encoding section in the
+overview (https://rclone.org/overview/#encoding) for more info.
+.IP \[bu] 2
+Config: encoding
+.IP \[bu] 2
+Env Var: RCLONE_GPHOTOS_ENCODING
+.IP \[bu] 2
+Type: MultiEncoder
+.IP \[bu] 2
+Default: Slash,CrLf,InvalidUtf8,Dot
.SS Limitations
.PP
Only images and videos can be uploaded.
@@ -31502,137 +32869,389 @@ Rclone cannot delete files anywhere except under \f[C]album\f[R].
.PP
The Google Photos API does not support deleting albums \- see bug
#135714733 (https://issuetracker.google.com/issues/135714733).
-.SS Standard Options
+.SH Hasher (EXPERIMENTAL)
.PP
-Here are the standard options specific to google photos (Google Photos).
-.SS \-\-gphotos\-client\-id
+Hasher is a special overlay backend to create remotes which handle
+checksums for other remotes.
+It\[aq]s main functions include: \- Emulate hash types unimplemented by
+backends \- Cache checksums to help with slow hashing of large local or
+(S)FTP files \- Warm up checksum cache from external SUM files
+.SS Getting started
.PP
-OAuth Client Id Leave blank normally.
-.IP \[bu] 2
-Config: client_id
-.IP \[bu] 2
-Env Var: RCLONE_GPHOTOS_CLIENT_ID
-.IP \[bu] 2
-Type: string
-.IP \[bu] 2
-Default: \[dq]\[dq]
-.SS \-\-gphotos\-client\-secret
+To use Hasher, first set up the underlying remote following the
+configuration instructions for that remote.
+You can also use a local pathname instead of a remote.
+Check that your base remote is working.
.PP
-OAuth Client Secret Leave blank normally.
-.IP \[bu] 2
-Config: client_secret
-.IP \[bu] 2
-Env Var: RCLONE_GPHOTOS_CLIENT_SECRET
-.IP \[bu] 2
-Type: string
-.IP \[bu] 2
-Default: \[dq]\[dq]
-.SS \-\-gphotos\-read\-only
+Let\[aq]s call the base remote \f[C]myRemote:path\f[R] here.
+Note that anything inside \f[C]myRemote:path\f[R] will be handled by
+hasher and anything outside won\[aq]t.
+This means that if you are using a bucket based remote (S3, B2, Swift)
+then you should put the bucket in the remote \f[C]s3:bucket\f[R].
.PP
-Set to make the Google Photos backend read only.
+Now proceed to interactive or manual configuration.
+.SS Interactive configuration
.PP
-If you choose read only then rclone will only request read only access
-to your photos, otherwise rclone will request full access.
-.IP \[bu] 2
-Config: read_only
-.IP \[bu] 2
-Env Var: RCLONE_GPHOTOS_READ_ONLY
-.IP \[bu] 2
-Type: bool
-.IP \[bu] 2
-Default: false
-.SS Advanced Options
+Run \f[C]rclone config\f[R]:
+.IP
+.nf
+\f[C]
+No remotes found \- make a new one
+n) New remote
+s) Set configuration password
+q) Quit config
+n/s/q> n
+name> Hasher1
+Type of storage to configure.
+Choose a number from below, or type in your own value
+[snip]
+XX / Handle checksums for other remotes
+ \[rs] \[dq]hasher\[dq]
+[snip]
+Storage> hasher
+Remote to cache checksums for, like myremote:mypath.
+Enter a string value. Press Enter for the default (\[dq]\[dq]).
+remote> myRemote:path
+Comma separated list of supported checksum types.
+Enter a string value. Press Enter for the default (\[dq]md5,sha1\[dq]).
+hashsums> md5
+Maximum time to keep checksums in cache. 0 = no cache, off = cache forever.
+max_age> off
+Edit advanced config? (y/n)
+y) Yes
+n) No
+y/n> n
+Remote config
+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
+[Hasher1]
+type = hasher
+remote = myRemote:path
+hashsums = md5
+max_age = off
+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
+y) Yes this is OK
+e) Edit this remote
+d) Delete this remote
+y/e/d> y
+\f[R]
+.fi
+.SS Manual configuration
.PP
-Here are the advanced options specific to google photos (Google Photos).
-.SS \-\-gphotos\-token
+Run \f[C]rclone config path\f[R] to see the path of current active
+config file, usually \f[C]YOURHOME/.config/rclone/rclone.conf\f[R].
+Open it in your favorite text editor, find section for the base remote
+and create new section for hasher like in the following examples:
+.IP
+.nf
+\f[C]
+[Hasher1]
+type = hasher
+remote = myRemote:path
+hashes = md5
+max_age = off
+
+[Hasher2]
+type = hasher
+remote = /local/path
+hashes = dropbox,sha1
+max_age = 24h
+\f[R]
+.fi
+.PP
+Hasher takes basically the following parameters: \- \f[C]remote\f[R] is
+required, \- \f[C]hashes\f[R] is a comma separated list of supported
+checksums (by default \f[C]md5,sha1\f[R]), \- \f[C]max_age\f[R] \-
+maximum time to keep a checksum value in the cache, \f[C]0\f[R] will
+disable caching completely, \f[C]off\f[R] will cache \[dq]forever\[dq]
+(that is until the files get changed).
+.PP
+Make sure the \f[C]remote\f[R] has \f[C]:\f[R] (colon) in.
+If you specify the remote without a colon then rclone will use a local
+directory of that name.
+So if you use a remote of \f[C]/local/path\f[R] then rclone will handle
+hashes for that directory.
+If you use \f[C]remote = name\f[R] literally then rclone will put files
+\f[B]in a directory called \f[CB]name\f[B] located under current
+directory\f[R].
+.SS Usage
+.SS Basic operations
.PP
-OAuth Access Token as a JSON blob.
+Now you can use it as \f[C]Hasher2:subdir/file\f[R] instead of base
+remote.
+Hasher will transparently update cache with new checksums when a file is
+fully read or overwritten, like:
+.IP
+.nf
+\f[C]
+rclone copy External:path/file Hasher:dest/path
+
+rclone cat Hasher:path/to/file > /dev/null
+\f[R]
+.fi
+.PP
+The way to refresh \f[B]all\f[R] cached checksums (even unsupported by
+the base backend) for a subtree is to \f[B]re\-download\f[R] all files
+in the subtree.
+For example, use \f[C]hashsum \-\-download\f[R] using \f[B]any\f[R]
+supported hashsum on the command line (we just care to re\-read):
+.IP
+.nf
+\f[C]
+rclone hashsum MD5 \-\-download Hasher:path/to/subtree > /dev/null
+
+rclone backend dump Hasher:path/to/subtree
+\f[R]
+.fi
+.PP
+You can print or drop hashsum cache using custom backend commands:
+.IP
+.nf
+\f[C]
+rclone backend dump Hasher:dir/subdir
+
+rclone backend drop Hasher:
+\f[R]
+.fi
+.SS Pre\-Seed from a SUM File
+.PP
+Hasher supports two backend commands: generic SUM file \f[C]import\f[R]
+and faster but less consistent \f[C]stickyimport\f[R].
+.IP
+.nf
+\f[C]
+rclone backend import Hasher:dir/subdir SHA1 /path/to/SHA1SUM [\-\-checkers 4]
+\f[R]
+.fi
+.PP
+Instead of SHA1 it can be any hash supported by the remote.
+The last argument can point to either a local or an
+\f[C]other\-remote:path\f[R] text file in SUM format.
+The command will parse the SUM file, then walk down the path given by
+the first argument, snapshot current fingerprints and fill in the cache
+entries correspondingly.
+\- Paths in the SUM file are treated as relative to
+\f[C]hasher:dir/subdir\f[R].
+\- The command will \f[B]not\f[R] check that supplied values are
+correct.
+You \f[B]must know\f[R] what you are doing.
+\- This is a one\-time action.
+The SUM file will not get \[dq]attached\[dq] to the remote.
+Cache entries can still be overwritten later, should the object\[aq]s
+fingerprint change.
+\- The tree walk can take long depending on the tree size.
+You can increase \f[C]\-\-checkers\f[R] to make it faster.
+Or use \f[C]stickyimport\f[R] if you don\[aq]t care about fingerprints
+and consistency.
+.IP
+.nf
+\f[C]
+rclone backend stickyimport hasher:path/to/data sha1 remote:/path/to/sum.sha1
+\f[R]
+.fi
+.PP
+\f[C]stickyimport\f[R] is similar to \f[C]import\f[R] but works much
+faster because it does not need to stat existing files and skips initial
+tree walk.
+Instead of binding cache entries to file fingerprints it creates
+\f[I]sticky\f[R] entries bound to the file name alone ignoring size,
+modification time etc.
+Such hash entries can be replaced only by \f[C]purge\f[R],
+\f[C]delete\f[R], \f[C]backend drop\f[R] or by full re\-read/re\-write
+of the files.
+.SS Configuration reference
+.SS Standard options
+.PP
+Here are the standard options specific to hasher (Better checksums for
+other remotes).
+.SS \-\-hasher\-remote
+.PP
+Remote to cache checksums for (e.g.
+myRemote:path).
.IP \[bu] 2
-Config: token
+Config: remote
.IP \[bu] 2
-Env Var: RCLONE_GPHOTOS_TOKEN
+Env Var: RCLONE_HASHER_REMOTE
.IP \[bu] 2
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS \-\-gphotos\-auth\-url
+.SS \-\-hasher\-hashes
.PP
-Auth server URL.
-Leave blank to use the provider defaults.
+Comma separated list of supported checksum types.
.IP \[bu] 2
-Config: auth_url
+Config: hashes
.IP \[bu] 2
-Env Var: RCLONE_GPHOTOS_AUTH_URL
+Env Var: RCLONE_HASHER_HASHES
.IP \[bu] 2
-Type: string
+Type: CommaSepList
.IP \[bu] 2
-Default: \[dq]\[dq]
-.SS \-\-gphotos\-token\-url
+Default: md5,sha1
+.SS \-\-hasher\-max\-age
.PP
-Token server url.
-Leave blank to use the provider defaults.
+Maximum time to keep checksums in cache (0 = no cache, off = cache
+forever).
.IP \[bu] 2
-Config: token_url
+Config: max_age
.IP \[bu] 2
-Env Var: RCLONE_GPHOTOS_TOKEN_URL
+Env Var: RCLONE_HASHER_MAX_AGE
.IP \[bu] 2
-Type: string
+Type: Duration
.IP \[bu] 2
-Default: \[dq]\[dq]
-.SS \-\-gphotos\-read\-size
+Default: off
+.SS Advanced options
.PP
-Set to read the size of media items.
+Here are the advanced options specific to hasher (Better checksums for
+other remotes).
+.SS \-\-hasher\-auto\-size
.PP
-Normally rclone does not read the size of media items since this takes
-another transaction.
-This isn\[aq]t necessary for syncing.
-However rclone mount needs to know the size of files in advance of
-reading them, so setting this flag when using rclone mount is
-recommended if you want to read the media.
+Auto\-update checksum for files smaller than this size (disabled by
+default).
.IP \[bu] 2
-Config: read_size
+Config: auto_size
.IP \[bu] 2
-Env Var: RCLONE_GPHOTOS_READ_SIZE
+Env Var: RCLONE_HASHER_AUTO_SIZE
.IP \[bu] 2
-Type: bool
+Type: SizeSuffix
.IP \[bu] 2
-Default: false
-.SS \-\-gphotos\-start\-year
+Default: 0
+.SS Backend commands
.PP
-Year limits the photos to be downloaded to those which are uploaded
-after the given year
-.IP \[bu] 2
-Config: start_year
-.IP \[bu] 2
-Env Var: RCLONE_GPHOTOS_START_YEAR
-.IP \[bu] 2
-Type: int
-.IP \[bu] 2
-Default: 2000
-.SS \-\-gphotos\-include\-archived
+Here are the commands specific to the hasher backend.
.PP
-Also view and download archived media.
+Run them with
+.IP
+.nf
+\f[C]
+rclone backend COMMAND remote:
+\f[R]
+.fi
.PP
-By default rclone does not request archived media.
-Thus, when syncing, archived media is not visible in directory listings
-or transferred.
+The help below will explain what arguments each command takes.
.PP
-Note that media in albums is always visible and synced, no matter their
-archive status.
+See the \[dq]rclone backend\[dq]
+command (https://rclone.org/commands/rclone_backend/) for more info on
+how to pass options and arguments.
.PP
-With this flag, archived media are always visible in directory listings
-and transferred.
+These can be run on a running backend using the rc command
+backend/command (https://rclone.org/rc/#backend/command).
+.SS drop
.PP
-Without this flag, archived media will not be visible in directory
-listings and won\[aq]t be transferred.
+Drop cache
+.IP
+.nf
+\f[C]
+rclone backend drop remote: [options] [<arguments>+]
+\f[R]
+.fi
+.PP
+Completely drop checksum cache.
+Usage Example: rclone backend drop hasher:
+.SS dump
+.PP
+Dump the database
+.IP
+.nf
+\f[C]
+rclone backend dump remote: [options] [<arguments>+]
+\f[R]
+.fi
+.PP
+Dump cache records covered by the current remote
+.SS fulldump
+.PP
+Full dump of the database
+.IP
+.nf
+\f[C]
+rclone backend fulldump remote: [options] [<arguments>+]
+\f[R]
+.fi
+.PP
+Dump all cache records in the database
+.SS import
+.PP
+Import a SUM file
+.IP
+.nf
+\f[C]
+rclone backend import remote: [options] [<arguments>+]
+\f[R]
+.fi
+.PP
+Amend hash cache from a SUM file and bind checksums to files by
+size/time.
+Usage Example: rclone backend import hasher:subdir md5 /path/to/sum.md5
+.SS stickyimport
+.PP
+Perform fast import of a SUM file
+.IP
+.nf
+\f[C]
+rclone backend stickyimport remote: [options] [<arguments>+]
+\f[R]
+.fi
+.PP
+Fill hash cache from a SUM file without verifying file fingerprints.
+Usage Example: rclone backend stickyimport hasher:subdir md5
+remote:path/to/sum.md5
+.SS Implementation details (advanced)
+.PP
+This section explains how various rclone operations work on a hasher
+remote.
+.PP
+\f[B]Disclaimer. This section describes current implementation which can
+change in future rclone versions!.\f[R]
+.SS Hashsum command
+.PP
+The \f[C]rclone hashsum\f[R] (or \f[C]md5sum\f[R] or \f[C]sha1sum\f[R])
+command will:
+.IP "1." 3
+if requested hash is supported by lower level, just pass it.
+.IP "2." 3
+if object size is below \f[C]auto_size\f[R] then download object and
+calculate \f[I]requested\f[R] hashes on the fly.
+.IP "3." 3
+if unsupported and the size is big enough, build object
+\f[C]fingerprint\f[R] (including size, modtime if supported,
+first\-found \f[I]other\f[R] hash if any).
+.IP "4." 3
+if the strict match is found in cache for the requested remote, return
+the stored hash.
+.IP "5." 3
+if remote found but fingerprint mismatched, then purge the entry and
+proceed to step 6.
+.IP "6." 3
+if remote not found or had no requested hash type or after step 5:
+download object, calculate all \f[I]supported\f[R] hashes on the fly and
+store in cache; return requested hash.
+.SS Other operations
.IP \[bu] 2
-Config: include_archived
+whenever a file is uploaded or downloaded \f[B]in full\f[R], capture the
+stream to calculate all supported hashes on the fly and update database
.IP \[bu] 2
-Env Var: RCLONE_GPHOTOS_INCLUDE_ARCHIVED
+server\-side \f[C]move\f[R] will update keys of existing cache entries
.IP \[bu] 2
-Type: bool
+\f[C]deletefile\f[R] will remove a single cache entry
.IP \[bu] 2
-Default: false
+\f[C]purge\f[R] will remove all cache entries under the purged path
+.PP
+Note that setting \f[C]max_age = 0\f[R] will disable checksum caching
+completely.
+.PP
+If you set \f[C]max_age = off\f[R], checksums in cache will never age,
+unless you fully rewrite or delete the file.
+.SS Cache storage
+.PP
+Cached checksums are stored as \f[C]bolt\f[R] database files under
+rclone cache directory, usually \f[C]\[ti]/.cache/rclone/kv/\f[R].
+Databases are maintained one per \f[I]base\f[R] backend, named like
+\f[C]BaseRemote\[ti]hasher.bolt\f[R].
+Checksums for multiple \f[C]alias\f[R]\-es into a single base backend
+will be stored in the single database.
+All local paths are treated as aliases into the \f[C]local\f[R] backend
+(unless crypted or chunked) and stored in
+\f[C]\[ti]/.cache/rclone/kv/local\[ti]hasher.bolt\f[R].
+Databases can be shared between multiple rclone processes.
.SH HDFS
.PP
HDFS (https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html)
@@ -31641,6 +33260,7 @@ Hadoop (https://hadoop.apache.org/) framework.
.PP
Paths are specified as \f[C]remote:\f[R] or
\f[C]remote:path/to/dir\f[R].
+.SS Configuration
.PP
Here is an example of how to make a remote called \f[C]remote\f[R].
First run:
@@ -31819,18 +33439,16 @@ T}
.PP
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8).
-.SS Limitations
-.IP \[bu] 2
-No server\-side \f[C]Move\f[R] or \f[C]DirMove\f[R].
-.IP \[bu] 2
-Checksums not implemented.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to hdfs (Hadoop distributed file
system).
.SS \-\-hdfs\-namenode
.PP
-hadoop name node and port
+Hadoop name node and port.
+.PP
+E.g.
+\[dq]namenode:8020\[dq] to connect to host namenode at port 8020.
.IP \[bu] 2
Config: namenode
.IP \[bu] 2
@@ -31839,19 +33457,9 @@ Env Var: RCLONE_HDFS_NAMENODE
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.IP \[bu] 2
-Examples:
-.RS 2
-.IP \[bu] 2
-\[dq]namenode:8020\[dq]
-.RS 2
-.IP \[bu] 2
-Connect to host namenode at port 8020
-.RE
-.RE
.SS \-\-hdfs\-username
.PP
-hadoop user name
+Hadoop user name.
.IP \[bu] 2
Config: username
.IP \[bu] 2
@@ -31867,19 +33475,22 @@ Examples:
\[dq]root\[dq]
.RS 2
.IP \[bu] 2
-Connect to hdfs as root
+Connect to hdfs as root.
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to hdfs (Hadoop distributed file
system).
.SS \-\-hdfs\-service\-principal\-name
.PP
-Kerberos service principal name for the namenode
+Kerberos service principal name for the namenode.
.PP
Enables KERBEROS authentication.
Specifies the Service Principal Name (SERVICE/FQDN) for the namenode.
+E.g.
+\[dq]hdfs/namenode.hadoop.docker\[dq] for namenode running as service
+\[aq]hdfs\[aq] with FQDN \[aq]namenode.hadoop.docker\[aq].
.IP \[bu] 2
Config: service_principal_name
.IP \[bu] 2
@@ -31888,20 +33499,9 @@ Env Var: RCLONE_HDFS_SERVICE_PRINCIPAL_NAME
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.IP \[bu] 2
-Examples:
-.RS 2
-.IP \[bu] 2
-\[dq]hdfs/namenode.hadoop.docker\[dq]
-.RS 2
-.IP \[bu] 2
-Namenode running as service \[aq]hdfs\[aq] with FQDN
-\[aq]namenode.hadoop.docker\[aq].
-.RE
-.RE
.SS \-\-hdfs\-data\-transfer\-protection
.PP
-Kerberos data transfer protection: authentication|integrity|privacy
+Kerberos data transfer protection: authentication|integrity|privacy.
.PP
Specifies whether or not authentication, data signature integrity
checks, and wire encryption is required when communicating the the
@@ -31931,7 +33531,7 @@ Ensure authentication, integrity and encryption enabled.
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -31941,6 +33541,11 @@ Env Var: RCLONE_HDFS_ENCODING
Type: MultiEncoder
.IP \[bu] 2
Default: Slash,Colon,Del,Ctl,InvalidUtf8,Dot
+.SS Limitations
+.IP \[bu] 2
+No server\-side \f[C]Move\f[R] or \f[C]DirMove\f[R].
+.IP \[bu] 2
+Checksums not implemented.
.SH HTTP
.PP
The HTTP remote is a read only remote for reading files of a webserver.
@@ -31952,6 +33557,7 @@ and will likely work with file listings from most web servers.
.PP
Paths are specified as \f[C]remote:\f[R] or
\f[C]remote:path/to/dir\f[R].
+.SS Configuration
.PP
Here is an example of how to make a remote called \f[C]remote\f[R].
First run:
@@ -32056,12 +33662,17 @@ without a config file:
rclone lsd \-\-http\-url https://beta.rclone.org :http:
\f[R]
.fi
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to http (http Connection).
.SS \-\-http\-url
.PP
-URL of http host to connect to
+URL of http host to connect to.
+.PP
+E.g.
+\[dq]https://example.com\[dq], or
+\[dq]https://user:pass\[at]example.com\[dq] to use a username and
+password.
.IP \[bu] 2
Config: url
.IP \[bu] 2
@@ -32070,30 +33681,14 @@ Env Var: RCLONE_HTTP_URL
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.IP \[bu] 2
-Examples:
-.RS 2
-.IP \[bu] 2
-\[dq]https://example.com\[dq]
-.RS 2
-.IP \[bu] 2
-Connect to example.com
-.RE
-.IP \[bu] 2
-\[dq]https://user:pass\[at]example.com\[dq]
-.RS 2
-.IP \[bu] 2
-Connect to example.com using a username and password
-.RE
-.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to http (http Connection).
.SS \-\-http\-headers
.PP
-Set HTTP headers for all transactions
+Set HTTP headers for all transactions.
.PP
-Use this to set additional HTTP headers for all transactions
+Use this to set additional HTTP headers for all transactions.
.PP
The input format is comma separated list of key,value pairs.
Standard CSV encoding (https://godoc.org/encoding/csv) may be used.
@@ -32113,7 +33708,7 @@ Type: CommaSepList
Default:
.SS \-\-http\-no\-slash
.PP
-Set this if the site doesn\[aq]t end directories with /
+Set this if the site doesn\[aq]t end directories with /.
.PP
Use this if your target website does not use / on the end of
directories.
@@ -32136,7 +33731,7 @@ Type: bool
Default: false
.SS \-\-http\-no\-head
.PP
-Don\[aq]t use HEAD requests to find file sizes in dir listing
+Don\[aq]t use HEAD requests to find file sizes in dir listing.
.PP
If your site is being very slow to load then you can try this option.
Normally rclone does a HEAD request for each potential file in a
@@ -32181,6 +33776,7 @@ Paths are specified as \f[C]remote:path\f[R]
Paths are specified as \f[C]remote:container\f[R] (or \f[C]remote:\f[R]
for the \f[C]lsd\f[R] command.) You may put subdirectories in too, e.g.
\f[C]remote:container/path/to/dir\f[R].
+.SS Configuration
.PP
The initial setup for Hubic involves getting a token from Hubic which
you need to do in your browser.
@@ -32300,12 +33896,14 @@ amongst others) for storing the modification time for an object.
.PP
Note that Hubic wraps the Swift backend, so most of the properties of
are the same.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to hubic (Hubic).
.SS \-\-hubic\-client\-id
.PP
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_id
.IP \[bu] 2
@@ -32316,7 +33914,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-hubic\-client\-secret
.PP
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_secret
.IP \[bu] 2
@@ -32325,7 +33925,7 @@ Env Var: RCLONE_HUBIC_CLIENT_SECRET
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to hubic (Hubic).
.SS \-\-hubic\-token
@@ -32342,6 +33942,7 @@ Default: \[dq]\[dq]
.SS \-\-hubic\-auth\-url
.PP
Auth server URL.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: auth_url
@@ -32354,6 +33955,7 @@ Default: \[dq]\[dq]
.SS \-\-hubic\-token\-url
.PP
Token server url.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: token_url
@@ -32402,7 +34004,7 @@ Default: false
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -32424,17 +34026,28 @@ MD5SUM for these.
.PP
Jottacloud is a cloud storage service provider from a Norwegian company,
using its own datacenters in Norway.
-.PP
In addition to the official service at
-jottacloud.com (https://www.jottacloud.com/), there are also several
-whitelabel versions which should work with this backend.
+jottacloud.com (https://www.jottacloud.com/), it also provides
+white\-label solutions to different companies, such as: * Telia * Telia
+Cloud (cloud.telia.se) * Telia Sky (sky.telia.no) * Tele2 * Tele2 Cloud
+(mittcloud.tele2.se) * Elkj\[/o]p (with subsidiaries): * Elkj\[/o]p
+Cloud (cloud.elkjop.no) * Elgiganten Sweden (cloud.elgiganten.se) *
+Elgiganten Denmark (cloud.elgiganten.dk) * Giganti Cloud
+(cloud.gigantti.fi) * ELKO Clouud (cloud.elko.is)
+.PP
+Most of the white\-label versions are supported by this backend,
+although may require different authentication setup \- described below.
.PP
Paths are specified as \f[C]remote:path\f[R]
.PP
Paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
-.SS Setup
-.SS Default Setup
+.SS Authentication types
+.PP
+Some of the whitelabel versions uses a different authentication method
+than the official service, and you have to choose the correct one when
+setting up the remote.
+.SS Standard authentication
.PP
To configure Jottacloud you will need to generate a personal security
token in the Jottacloud web interface.
@@ -32442,15 +34055,16 @@ You will the option to do in your account security
settings (https://www.jottacloud.com/web/secure) (for whitelabel version
you need to find this page in its web interface).
Note that the web interface may refer to this token as a JottaCli token.
-.SS Legacy Setup
+.SS Legacy authentication
.PP
-If you are using one of the whitelabel versions (Elgiganten, Com Hem
-Cloud) you may not have the option to generate a CLI token.
+If you are using one of the whitelabel versions (e.g.
+from Elkj\[/o]p or Tele2) you may not have the option to generate a CLI
+token.
In this case you\[aq]ll have to use the legacy authentication.
To to this select yes when the setup asks for legacy authentication and
enter your username and password.
The rest of the setup is identical to the default setup.
-.SS Telia Cloud Setup
+.SS Telia Cloud authentication
.PP
Similar to other whitelabel versions Telia Cloud doesn\[aq]t offer the
option of creating a CLI token, and additionally uses a separate
@@ -32458,7 +34072,7 @@ authentication flow where the username is generated internally.
To setup rclone to use Telia Cloud, choose Telia Cloud authentication in
the setup.
The rest of the setup is identical to the default setup.
-.SS Example
+.SS Configuration
.PP
Here is an example of how to make a remote called \f[C]remote\f[R] with
the default setup.
@@ -32709,7 +34323,7 @@ remote.
To view your current quota you can use the
\f[C]rclone about remote:\f[R] command which will display your usage
limit (unless it is unlimited) and the current usage.
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to jottacloud (Jottacloud).
.SS \-\-jottacloud\-md5\-memory\-limit
@@ -32727,6 +34341,7 @@ Default: 10Mi
.SS \-\-jottacloud\-trashed\-only
.PP
Only show files that are in the trash.
+.PP
This will show trashed files in their original directory structure.
.IP \[bu] 2
Config: trashed_only
@@ -32774,7 +34389,7 @@ Default: false
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -32810,6 +34425,7 @@ Paths are specified as \f[C]remote:path\f[R]
.PP
Paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
+.SS Configuration
.PP
The initial setup for Koofr involves creating an application password
for rclone.
@@ -32935,12 +34551,12 @@ T}
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
be used in XML strings.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to koofr (Koofr).
.SS \-\-koofr\-user
.PP
-Your Koofr user name
+Your Koofr user name.
.IP \[bu] 2
Config: user
.IP \[bu] 2
@@ -32952,7 +34568,7 @@ Default: \[dq]\[dq]
.SS \-\-koofr\-password
.PP
Your Koofr password for rclone (generate one at
-https://app.koofr.net/app/admin/preferences/password)
+https://app.koofr.net/app/admin/preferences/password).
.PP
\f[B]NB\f[R] Input to this must be obscured \- see rclone
obscure (https://rclone.org/commands/rclone_obscure/).
@@ -32964,12 +34580,12 @@ Env Var: RCLONE_KOOFR_PASSWORD
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to koofr (Koofr).
.SS \-\-koofr\-endpoint
.PP
-The Koofr API endpoint to use
+The Koofr API endpoint to use.
.IP \[bu] 2
Config: endpoint
.IP \[bu] 2
@@ -32981,6 +34597,7 @@ Default: \[dq]https://app.koofr.net\[dq]
.SS \-\-koofr\-mountid
.PP
Mount ID of the mount to use.
+.PP
If omitted, the primary mount is used.
.IP \[bu] 2
Config: mountid
@@ -32993,6 +34610,7 @@ Default: \[dq]\[dq]
.SS \-\-koofr\-setmtime
.PP
Does the backend support setting modification time.
+.PP
Set this to false if you use a mount ID that points to a Dropbox or
Amazon Drive backend.
.IP \[bu] 2
@@ -33007,7 +34625,7 @@ Default: true
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -33265,21 +34883,12 @@ T}
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
be used in JSON strings.
-.SS Limitations
-.PP
-File size limits depend on your account.
-A single file size is limited by 2G for a free account and unlimited for
-paid tariffs.
-Please refer to the Mail.ru site for the total uploaded size limits.
-.PP
-Note that Mailru is case insensitive so you can\[aq]t have a file called
-\[dq]Hello.doc\[dq] and one called \[dq]hello.doc\[dq].
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to mailru (Mail.ru Cloud).
.SS \-\-mailru\-user
.PP
-User name (usually email)
+User name (usually email).
.IP \[bu] 2
Config: user
.IP \[bu] 2
@@ -33290,7 +34899,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-mailru\-pass
.PP
-Password
+Password.
.PP
\f[B]NB\f[R] Input to this must be obscured \- see rclone
obscure (https://rclone.org/commands/rclone_obscure/).
@@ -33305,6 +34914,7 @@ Default: \[dq]\[dq]
.SS \-\-mailru\-speedup\-enable
.PP
Skip full upload if there is another file with same data hash.
+.PP
This feature is called \[dq]speedup\[dq] or \[dq]put by hash\[dq].
It is especially efficient in case of generally available files like
popular books, video or audio clips, because files are searched by hash
@@ -33340,13 +34950,14 @@ Enable
Disable
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to mailru (Mail.ru Cloud).
.SS \-\-mailru\-speedup\-file\-patterns
.PP
Comma separated list of file name patterns eligible for speedup (put by
hash).
+.PP
Patterns are case insensitive and can contain \[aq]*\[aq] or \[aq]?\[aq]
meta characters.
.IP \[bu] 2
@@ -33388,8 +34999,9 @@ Only common archives or PDF books will be tried for speedup.
.RE
.SS \-\-mailru\-speedup\-max\-disk
.PP
-This option allows you to disable speedup (put by hash) for large files
-(because preliminary hashing can exhaust you RAM or disk space)
+This option allows you to disable speedup (put by hash) for large files.
+.PP
+Reason is that preliminary hashing can exhaust your RAM or disk space.
.IP \[bu] 2
Config: speedup_max_disk
.IP \[bu] 2
@@ -33455,7 +35067,7 @@ You have at most 256Mb RAM free for hash calculations.
.RE
.SS \-\-mailru\-check\-hash
.PP
-What should copy do if file checksum is mismatched or invalid
+What should copy do if file checksum is mismatched or invalid.
.IP \[bu] 2
Config: check_hash
.IP \[bu] 2
@@ -33483,6 +35095,7 @@ Ignore and continue.
.SS \-\-mailru\-user\-agent
.PP
HTTP user agent used internally by client.
+.PP
Defaults to \[dq]rclone/VERSION\[dq] or \[dq]\-\-user\-agent\[dq]
provided on command line.
.IP \[bu] 2
@@ -33496,6 +35109,7 @@ Default: \[dq]\[dq]
.SS \-\-mailru\-quirks
.PP
Comma separated list of internal maintenance flags.
+.PP
This option must not be used by an ordinary user.
It is intended only to facilitate remote troubleshooting of backend
issues.
@@ -33515,7 +35129,7 @@ Default: \[dq]\[dq]
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -33526,6 +35140,15 @@ Type: MultiEncoder
.IP \[bu] 2
Default:
Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,InvalidUtf8,Dot
+.SS Limitations
+.PP
+File size limits depend on your account.
+A single file size is limited by 2G for a free account and unlimited for
+paid tariffs.
+Please refer to the Mail.ru site for the total uploaded size limits.
+.PP
+Note that Mailru is case insensitive so you can\[aq]t have a file called
+\[dq]Hello.doc\[dq] and one called \[dq]hello.doc\[dq].
.SH Mega
.PP
Mega (https://mega.nz/) is a cloud storage and file hosting service
@@ -33541,6 +35164,7 @@ Paths are specified as \f[C]remote:path\f[R]
.PP
Paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
+.SS Configuration
.PP
Here is an example of how to make a remote called \f[C]remote\f[R].
First run:
@@ -33716,12 +35340,12 @@ relevant, please post on the forum.
So, if rclone was working nicely and suddenly you are unable to log\-in
and you are sure the user and the password are correct, likely you have
got the remote blocked for a while.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to mega (Mega).
.SS \-\-mega\-user
.PP
-User name
+User name.
.IP \[bu] 2
Config: user
.IP \[bu] 2
@@ -33744,7 +35368,7 @@ Env Var: RCLONE_MEGA_PASS
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to mega (Mega).
.SS \-\-mega\-debug
@@ -33780,7 +35404,7 @@ Default: false
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -33809,6 +35433,7 @@ The memory backend behaves like a bucket based remote (e.g.
like s3).
Because it has no parameters you can just use it with the
\f[C]:memory:\f[R] remote name.
+.SS Configuration
.PP
You can configure it as a remote like this with \f[C]rclone config\f[R]
too if you want to:
@@ -33867,6 +35492,7 @@ set (https://rclone.org/overview/#restricted-characters).
Paths are specified as \f[C]remote:container\f[R] (or \f[C]remote:\f[R]
for the \f[C]lsd\f[R] command.) You may put subdirectories in too, e.g.
\f[C]remote:container/path/to/dir\f[R].
+.SS Configuration
.PP
Here is an example of making a Microsoft Azure Blob Storage
configuration.
@@ -34077,13 +35703,15 @@ rclone ls azureblob:othercontainer
Container level SAS URLs are useful for temporarily allowing third
parties access to a single container or putting credentials into an
untrusted environment such as a CI build server.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to azureblob (Microsoft Azure
Blob Storage).
.SS \-\-azureblob\-account
.PP
-Storage Account Name (leave blank to use SAS URL or Emulator)
+Storage Account Name.
+.PP
+Leave blank to use SAS URL or Emulator.
.IP \[bu] 2
Config: account
.IP \[bu] 2
@@ -34124,7 +35752,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-azureblob\-key
.PP
-Storage Account Key (leave blank to use SAS URL or Emulator)
+Storage Account Key.
+.PP
+Leave blank to use SAS URL or Emulator.
.IP \[bu] 2
Config: key
.IP \[bu] 2
@@ -34135,8 +35765,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-azureblob\-sas\-url
.PP
-SAS URL for container level access only (leave blank if using
-account/key or Emulator)
+SAS URL for container level access only.
+.PP
+Leave blank if using account/key or Emulator.
.IP \[bu] 2
Config: sas_url
.IP \[bu] 2
@@ -34147,7 +35778,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-azureblob\-use\-msi
.PP
-Use a managed service identity to authenticate (only works in Azure)
+Use a managed service identity to authenticate (only works in Azure).
.PP
When true, use a managed service
identity (https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/)
@@ -34170,8 +35801,9 @@ Type: bool
Default: false
.SS \-\-azureblob\-use\-emulator
.PP
-Uses local storage emulator if provided as \[aq]true\[aq] (leave blank
-if using real azure storage endpoint)
+Uses local storage emulator if provided as \[aq]true\[aq].
+.PP
+Leave blank if using real azure storage endpoint.
.IP \[bu] 2
Config: use_emulator
.IP \[bu] 2
@@ -34180,13 +35812,14 @@ Env Var: RCLONE_AZUREBLOB_USE_EMULATOR
Type: bool
.IP \[bu] 2
Default: false
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to azureblob (Microsoft Azure
Blob Storage).
.SS \-\-azureblob\-msi\-object\-id
.PP
Object ID of the user\-assigned MSI to use, if any.
+.PP
Leave blank if msi_client_id or msi_mi_res_id specified.
.IP \[bu] 2
Config: msi_object_id
@@ -34199,6 +35832,7 @@ Default: \[dq]\[dq]
.SS \-\-azureblob\-msi\-client\-id
.PP
Object ID of the user\-assigned MSI to use, if any.
+.PP
Leave blank if msi_object_id or msi_mi_res_id specified.
.IP \[bu] 2
Config: msi_client_id
@@ -34211,6 +35845,7 @@ Default: \[dq]\[dq]
.SS \-\-azureblob\-msi\-mi\-res\-id
.PP
Azure resource ID of the user\-assigned MSI to use, if any.
+.PP
Leave blank if msi_client_id or msi_object_id specified.
.IP \[bu] 2
Config: msi_mi_res_id
@@ -34222,7 +35857,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-azureblob\-endpoint
.PP
-Endpoint for the service Leave blank normally.
+Endpoint for the service.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: endpoint
.IP \[bu] 2
@@ -34233,8 +35870,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-azureblob\-upload\-cutoff
.PP
-Cutoff for switching to chunked upload (<= 256 MiB).
-(Deprecated)
+Cutoff for switching to chunked upload (<= 256 MiB) (deprecated).
.IP \[bu] 2
Config: upload_cutoff
.IP \[bu] 2
@@ -34351,6 +35987,7 @@ Default: false
.SS \-\-azureblob\-memory\-pool\-flush\-time
.PP
How often internal memory buffer pools will be flushed.
+.PP
Uploads which requires additional buffers (f.e multipart) will use
memory pool for allocations.
This option controls how often unused buffers will be removed from the
@@ -34378,7 +36015,7 @@ Default: false
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -34390,7 +36027,7 @@ Type: MultiEncoder
Default: Slash,BackSlash,Del,Ctl,RightPeriod,InvalidUtf8
.SS \-\-azureblob\-public\-access
.PP
-Public access level of a container: blob, container.
+Public access level of a container: blob or container.
.IP \[bu] 2
Config: public_access
.IP \[bu] 2
@@ -34408,7 +36045,8 @@ Examples:
.IP \[bu] 2
The container and its blobs can be accessed only with an authorized
request.
-It\[aq]s a default value
+.IP \[bu] 2
+It\[aq]s a default value.
.RE
.IP \[bu] 2
\[dq]blob\[dq]
@@ -34423,6 +36061,17 @@ Blob data within this container can be read via anonymous request.
Allow full public read access for container and blob data.
.RE
.RE
+.SS \-\-azureblob\-no\-head\-object
+.PP
+If set, do not do HEAD before GET when getting objects.
+.IP \[bu] 2
+Config: no_head_object
+.IP \[bu] 2
+Env Var: RCLONE_AZUREBLOB_NO_HEAD_OBJECT
+.IP \[bu] 2
+Type: bool
+.IP \[bu] 2
+Default: false
.SS Limitations
.PP
MD5 sums are only uploaded with chunked files if the source has an MD5
@@ -34451,6 +36100,7 @@ Paths are specified as \f[C]remote:path\f[R]
.PP
Paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
+.SS Configuration
.PP
The initial setup for OneDrive involves getting a token from Microsoft
which you need to do in your browser.
@@ -34601,7 +36251,10 @@ for later use.
.IP "3." 3
Under \f[C]manage\f[R] select \f[C]Certificates & secrets\f[R], click
\f[C]New client secret\f[R].
-Copy and keep that secret for later use.
+Enter a description (can be anything) and set \f[C]Expires\f[R] to 24
+months.
+Copy and keep that secret \f[I]Value\f[R] for later use (you
+\f[I]won\[aq]t\f[R] be able to see this value afterwards).
.IP "4." 3
Under \f[C]manage\f[R] select \f[C]API permissions\f[R], click
\f[C]Add a permission\f[R] and select \f[C]Microsoft Graph\f[R] then
@@ -34772,12 +36425,14 @@ Any files you delete with rclone will end up in the trash.
Microsoft doesn\[aq]t provide an API to permanently delete files, nor to
empty the trash, so you will have to do that with one of Microsoft\[aq]s
apps or via the OneDrive website.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to onedrive (Microsoft OneDrive).
.SS \-\-onedrive\-client\-id
.PP
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_id
.IP \[bu] 2
@@ -34788,7 +36443,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-onedrive\-client\-secret
.PP
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_secret
.IP \[bu] 2
@@ -34836,7 +36493,7 @@ Microsoft Cloud Germany
Azure and Office 365 operated by 21Vianet in China
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to onedrive (Microsoft OneDrive).
.SS \-\-onedrive\-token
@@ -34853,6 +36510,7 @@ Default: \[dq]\[dq]
.SS \-\-onedrive\-auth\-url
.PP
Auth server URL.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: auth_url
@@ -34865,6 +36523,7 @@ Default: \[dq]\[dq]
.SS \-\-onedrive\-token\-url
.PP
Token server url.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: token_url
@@ -34895,7 +36554,7 @@ Type: SizeSuffix
Default: 10Mi
.SS \-\-onedrive\-drive\-id
.PP
-The ID of the drive to use
+The ID of the drive to use.
.IP \[bu] 2
Config: drive_id
.IP \[bu] 2
@@ -34906,7 +36565,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-onedrive\-drive\-type
.PP
-The type of the drive ( personal | business | documentLibrary )
+The type of the drive (personal | business | documentLibrary).
.IP \[bu] 2
Config: drive_type
.IP \[bu] 2
@@ -34964,7 +36623,7 @@ Type: int
Default: 1000
.SS \-\-onedrive\-no\-versions
.PP
-Remove all versions on modifying operations
+Remove all versions on modifying operations.
.PP
Onedrive for business creates versions when rclone uploads new files
overwriting an existing one and when it sets the modification time.
@@ -35003,7 +36662,9 @@ Examples:
.RS 2
.IP \[bu] 2
Anyone with the link has access, without needing to sign in.
+.IP \[bu] 2
This may include people outside of your organization.
+.IP \[bu] 2
Anonymous link support may be disabled by an administrator.
.RE
.IP \[bu] 2
@@ -35012,6 +36673,7 @@ Anonymous link support may be disabled by an administrator.
.IP \[bu] 2
Anyone signed into your organization (tenant) can use the link to get
access.
+.IP \[bu] 2
Only available in OneDrive for Business and SharePoint.
.RE
.RE
@@ -35066,7 +36728,7 @@ Default: \[dq]\[dq]
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -35313,12 +36975,22 @@ this question: \f[C]Already have a token \- refresh?\f[R].
For this question, answer \f[C]y\f[R] and go through the process to
refresh your token, just like the first time the backend is configured.
After this, rclone should work again for this backend.
+.SS Invalid request when making public links
+.PP
+On Sharepoint and OneDrive for Business, \f[C]rclone link\f[R] may
+return an \[dq]Invalid request\[dq] error.
+A possible cause is that the organisation admin didn\[aq]t allow public
+links to be made for the organisation/sharepoint library.
+To fix the permissions as an admin, take a look at the docs:
+1 (https://docs.microsoft.com/en-us/sharepoint/turn-external-sharing-on-or-off),
+2 (https://support.microsoft.com/en-us/office/set-up-and-manage-access-requests-94b26e0b-2822-49d4-929a-8455698654b3).
.SH OpenDrive
.PP
Paths are specified as \f[C]remote:path\f[R]
.PP
Paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
+.SS Configuration
.PP
Here is an example of how to make a remote called \f[C]remote\f[R].
First run:
@@ -35535,12 +37207,12 @@ T}
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
be used in JSON strings.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to opendrive (OpenDrive).
.SS \-\-opendrive\-username
.PP
-Username
+Username.
.IP \[bu] 2
Config: username
.IP \[bu] 2
@@ -35563,14 +37235,14 @@ Env Var: RCLONE_OPENDRIVE_PASSWORD
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to opendrive (OpenDrive).
.SS \-\-opendrive\-encoding
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -35622,6 +37294,7 @@ about (https://rclone.org/commands/rclone_about/)
Paths are specified as \f[C]remote:bucket\f[R] (or \f[C]remote:\f[R] for
the \f[C]lsd\f[R] command.) You may put subdirectories in too, e.g.
\f[C]remote:bucket/path/to/dir\f[R].
+.SS Configuration
.PP
Here is an example of making an QingStor configuration.
First run
@@ -35791,13 +37464,14 @@ Note that 0x7F is not replaced.
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
be used in JSON strings.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to qingstor (QingCloud Object
Storage).
.SS \-\-qingstor\-env\-auth
.PP
Get QingStor credentials from runtime.
+.PP
Only applies if access_key_id and secret_access_key is blank.
.IP \[bu] 2
Config: env_auth
@@ -35814,19 +37488,20 @@ Examples:
\[dq]false\[dq]
.RS 2
.IP \[bu] 2
-Enter QingStor credentials in the next step
+Enter QingStor credentials in the next step.
.RE
.IP \[bu] 2
\[dq]true\[dq]
.RS 2
.IP \[bu] 2
-Get QingStor credentials from the environment (env vars or IAM)
+Get QingStor credentials from the environment (env vars or IAM).
.RE
.RE
.SS \-\-qingstor\-access\-key\-id
.PP
-QingStor Access Key ID Leave blank for anonymous access or runtime
-credentials.
+QingStor Access Key ID.
+.PP
+Leave blank for anonymous access or runtime credentials.
.IP \[bu] 2
Config: access_key_id
.IP \[bu] 2
@@ -35837,8 +37512,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-qingstor\-secret\-access\-key
.PP
-QingStor Secret Access Key (password) Leave blank for anonymous access
-or runtime credentials.
+QingStor Secret Access Key (password).
+.PP
+Leave blank for anonymous access or runtime credentials.
.IP \[bu] 2
Config: secret_access_key
.IP \[bu] 2
@@ -35850,8 +37526,9 @@ Default: \[dq]\[dq]
.SS \-\-qingstor\-endpoint
.PP
Enter an endpoint URL to connection QingStor API.
+.PP
Leave blank will use the default value
-\[dq]https://qingstor.com:443\[dq]
+\[dq]https://qingstor.com:443\[dq].
.IP \[bu] 2
Config: endpoint
.IP \[bu] 2
@@ -35863,6 +37540,7 @@ Default: \[dq]\[dq]
.SS \-\-qingstor\-zone
.PP
Zone to connect to.
+.PP
Default is \[dq]pek3a\[dq].
.IP \[bu] 2
Config: zone
@@ -35879,7 +37557,7 @@ Examples:
\[dq]pek3a\[dq]
.RS 2
.IP \[bu] 2
-The Beijing (China) Three Zone
+The Beijing (China) Three Zone.
.IP \[bu] 2
Needs location constraint pek3a.
.RE
@@ -35887,7 +37565,7 @@ Needs location constraint pek3a.
\[dq]sh1a\[dq]
.RS 2
.IP \[bu] 2
-The Shanghai (China) First Zone
+The Shanghai (China) First Zone.
.IP \[bu] 2
Needs location constraint sh1a.
.RE
@@ -35895,12 +37573,12 @@ Needs location constraint sh1a.
\[dq]gd2a\[dq]
.RS 2
.IP \[bu] 2
-The Guangdong (China) Second Zone
+The Guangdong (China) Second Zone.
.IP \[bu] 2
Needs location constraint gd2a.
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to qingstor (QingCloud Object
Storage).
@@ -35917,7 +37595,7 @@ Type: int
Default: 3
.SS \-\-qingstor\-upload\-cutoff
.PP
-Cutoff for switching to chunked upload
+Cutoff for switching to chunked upload.
.PP
Any files larger than this will be uploaded in chunks of chunk_size.
The minimum is 0 and the maximum is 5 GiB.
@@ -35974,7 +37652,7 @@ Default: 1
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -35994,6 +37672,239 @@ of an rclone union remote.
See List of backends that do not support rclone
about (https://rclone.org/overview/#optional-features) See rclone
about (https://rclone.org/commands/rclone_about/)
+.SH Sia
+.PP
+Sia (sia.tech (https://sia.tech/)) is a decentralized cloud storage
+platform based on the blockchain (https://wikipedia.org/wiki/Blockchain)
+technology.
+With rclone you can use it like any other remote filesystem or mount Sia
+folders locally.
+The technology behind it involves a number of new concepts such as
+Siacoins and Wallet, Blockchain and Consensus, Renting and Hosting, and
+so on.
+If you are new to it, you\[aq]d better first familiarize yourself using
+their excellent support documentation (https://support.sia.tech/).
+.SS Introduction
+.PP
+Before you can use rclone with Sia, you will need to have a running copy
+of \f[C]Sia\-UI\f[R] or \f[C]siad\f[R] (the Sia daemon) locally on your
+computer or on local network (e.g.
+a NAS).
+Please follow the Get started (https://sia.tech/get-started) guide and
+install one.
+.PP
+rclone interacts with Sia network by talking to the Sia daemon via HTTP
+API (https://sia.tech/docs/) which is usually available on port
+\f[I]9980\f[R].
+By default you will run the daemon locally on the same computer so
+it\[aq]s safe to leave the API password blank (the API URL will be
+\f[C]http://127.0.0.1:9980\f[R] making external access impossible).
+.PP
+However, if you want to access Sia daemon running on another node, for
+example due to memory constraints or because you want to share single
+daemon between several rclone and Sia\-UI instances, you\[aq]ll need to
+make a few more provisions: \- Ensure you have \f[I]Sia daemon\f[R]
+installed directly or in a docker
+container (https://github.com/SiaFoundation/siad/pkgs/container/siad)
+because Sia\-UI does not support this mode natively.
+\- Run it on externally accessible port, for example provide
+\f[C]\-\-api\-addr :9980\f[R] and \f[C]\-\-disable\-api\-security\f[R]
+arguments on the daemon command line.
+\- Enforce API password for the \f[C]siad\f[R] daemon via environment
+variable \f[C]SIA_API_PASSWORD\f[R] or text file named
+\f[C]apipassword\f[R] in the daemon directory.
+\- Set rclone backend option \f[C]api_password\f[R] taking it from above
+locations.
+.PP
+Notes: 1.
+If your wallet is locked, rclone cannot unlock it automatically.
+You should either unlock it in advance by using Sia\-UI or via command
+line \f[C]siac wallet unlock\f[R].
+Alternatively you can make \f[C]siad\f[R] unlock your wallet
+automatically upon startup by running it with environment variable
+\f[C]SIA_WALLET_PASSWORD\f[R].
+2.
+If \f[C]siad\f[R] cannot find the \f[C]SIA_API_PASSWORD\f[R] variable or
+the \f[C]apipassword\f[R] file in the \f[C]SIA_DIR\f[R] directory, it
+will generate a random password and store in the text file named
+\f[C]apipassword\f[R] under \f[C]YOUR_HOME/.sia/\f[R] directory on Unix
+or
+\f[C]C:\[rs]Users\[rs]YOUR_HOME\[rs]AppData\[rs]Local\[rs]Sia\[rs]apipassword\f[R]
+on Windows.
+Remember this when you configure password in rclone.
+3.
+The only way to use \f[C]siad\f[R] without API password is to run it
+\f[B]on localhost\f[R] with command line argument
+\f[C]\-\-authorize\-api=false\f[R], but this is insecure and
+\f[B]strongly discouraged\f[R].
+.SS Configuration
+.PP
+Here is an example of how to make a \f[C]sia\f[R] remote called
+\f[C]mySia\f[R].
+First, run:
+.IP
+.nf
+\f[C]
+ rclone config
+\f[R]
+.fi
+.PP
+This will guide you through an interactive setup process:
+.IP
+.nf
+\f[C]
+No remotes found \- make a new one
+n) New remote
+s) Set configuration password
+q) Quit config
+n/s/q> n
+name> mySia
+Type of storage to configure.
+Enter a string value. Press Enter for the default (\[dq]\[dq]).
+Choose a number from below, or type in your own value
+\&...
+29 / Sia Decentralized Cloud
+ \[rs] \[dq]sia\[dq]
+\&...
+Storage> sia
+Sia daemon API URL, like http://sia.daemon.host:9980.
+Note that siad must run with \-\-disable\-api\-security to open API port for other hosts (not recommended).
+Keep default if Sia daemon runs on localhost.
+Enter a string value. Press Enter for the default (\[dq]http://127.0.0.1:9980\[dq]).
+api_url> http://127.0.0.1:9980
+Sia Daemon API Password.
+Can be found in the apipassword file located in HOME/.sia/ or in the daemon directory.
+y) Yes type in my own password
+g) Generate random password
+n) No leave this optional password blank (default)
+y/g/n> y
+Enter the password:
+password:
+Confirm the password:
+password:
+Edit advanced config?
+y) Yes
+n) No (default)
+y/n> n
+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
+[mySia]
+type = sia
+api_url = http://127.0.0.1:9980
+api_password = *** ENCRYPTED ***
+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
+y) Yes this is OK (default)
+e) Edit this remote
+d) Delete this remote
+y/e/d> y
+\f[R]
+.fi
+.PP
+Once configured, you can then use \f[C]rclone\f[R] like this:
+.IP \[bu] 2
+List directories in top level of your Sia storage
+.IP
+.nf
+\f[C]
+rclone lsd mySia:
+\f[R]
+.fi
+.IP \[bu] 2
+List all the files in your Sia storage
+.IP
+.nf
+\f[C]
+rclone ls mySia:
+\f[R]
+.fi
+.IP \[bu] 2
+Upload a local directory to the Sia directory called \f[I]backup\f[R]
+.IP
+.nf
+\f[C]
+rclone copy /home/source mySia:backup
+\f[R]
+.fi
+.SS Standard options
+.PP
+Here are the standard options specific to sia (Sia Decentralized Cloud).
+.SS \-\-sia\-api\-url
+.PP
+Sia daemon API URL, like http://sia.daemon.host:9980.
+.PP
+Note that siad must run with \-\-disable\-api\-security to open API port
+for other hosts (not recommended).
+Keep default if Sia daemon runs on localhost.
+.IP \[bu] 2
+Config: api_url
+.IP \[bu] 2
+Env Var: RCLONE_SIA_API_URL
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]http://127.0.0.1:9980\[dq]
+.SS \-\-sia\-api\-password
+.PP
+Sia Daemon API Password.
+.PP
+Can be found in the apipassword file located in HOME/.sia/ or in the
+daemon directory.
+.PP
+\f[B]NB\f[R] Input to this must be obscured \- see rclone
+obscure (https://rclone.org/commands/rclone_obscure/).
+.IP \[bu] 2
+Config: api_password
+.IP \[bu] 2
+Env Var: RCLONE_SIA_API_PASSWORD
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]\[dq]
+.SS Advanced options
+.PP
+Here are the advanced options specific to sia (Sia Decentralized Cloud).
+.SS \-\-sia\-user\-agent
+.PP
+Siad User Agent
+.PP
+Sia daemon requires the \[aq]Sia\-Agent\[aq] user agent by default for
+security
+.IP \[bu] 2
+Config: user_agent
+.IP \[bu] 2
+Env Var: RCLONE_SIA_USER_AGENT
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]Sia\-Agent\[dq]
+.SS \-\-sia\-encoding
+.PP
+This sets the encoding for the backend.
+.PP
+See the encoding section in the
+overview (https://rclone.org/overview/#encoding) for more info.
+.IP \[bu] 2
+Config: encoding
+.IP \[bu] 2
+Env Var: RCLONE_SIA_ENCODING
+.IP \[bu] 2
+Type: MultiEncoder
+.IP \[bu] 2
+Default: Slash,Question,Hash,Percent,Del,Ctl,InvalidUtf8,Dot
+.SS Limitations
+.IP \[bu] 2
+Modification times not supported
+.IP \[bu] 2
+Checksums not supported
+.IP \[bu] 2
+\f[C]rclone about\f[R] not supported
+.IP \[bu] 2
+rclone can work only with \f[I]Siad\f[R] or \f[I]Sia\-UI\f[R] at the
+moment, the \f[B]SkyNet daemon is not supported yet.\f[R]
+.IP \[bu] 2
+Sia does not allow control characters or symbols like question and pound
+signs in file names.
+rclone will transparently encode (https://rclone.org/overview/#encoding)
+them for you, but you\[aq]d better be aware
.SH Swift
.PP
Swift refers to OpenStack Object
@@ -36007,7 +37918,7 @@ Memset Memstore (https://www.memset.com/cloud/storage/)
OVH Object
Storage (https://www.ovh.co.uk/public-cloud/storage/object-storage/)
.IP \[bu] 2
-Oracle Cloud Storage (https://cloud.oracle.com/storage-opc)
+Oracle Cloud Storage (https://cloud.oracle.com/object-storage/buckets)
.IP \[bu] 2
IBM Bluemix Cloud ObjectStorage
Swift (https://console.bluemix.net/docs/infrastructure/objectstorage-swift/index.html)
@@ -36015,6 +37926,7 @@ Swift (https://console.bluemix.net/docs/infrastructure/objectstorage-swift/index
Paths are specified as \f[C]remote:container\f[R] (or \f[C]remote:\f[R]
for the \f[C]lsd\f[R] command.) You may put subdirectories in too, e.g.
\f[C]remote:container/path/to/dir\f[R].
+.SS Configuration
.PP
Here is an example of making a swift configuration.
First run
@@ -36249,7 +38161,47 @@ By using \f[C]\-\-update\f[R] along with
\f[C]\-\-use\-server\-modtime\f[R], you can avoid the extra API call and
simply upload files whose local modtime is newer than the time it was
last uploaded.
-.SS Standard Options
+.SS Modified time
+.PP
+The modified time is stored as metadata on the object as
+\f[C]X\-Object\-Meta\-Mtime\f[R] as floating point since the epoch
+accurate to 1 ns.
+.PP
+This is a de facto standard (used in the official python\-swiftclient
+amongst others) for storing the modification time for an object.
+.SS Restricted filename characters
+.PP
+.TS
+tab(@);
+l c c.
+T{
+Character
+T}@T{
+Value
+T}@T{
+Replacement
+T}
+_
+T{
+NUL
+T}@T{
+0x00
+T}@T{
+\[u2400]
+T}
+T{
+/
+T}@T{
+0x2F
+T}@T{
+\[uFF0F]
+T}
+.TE
+.PP
+Invalid UTF\-8 bytes will also be
+replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
+be used in JSON strings.
+.SS Standard options
.PP
Here are the standard options specific to swift (OpenStack Swift
(Rackspace Cloud Files, Memset Memstore, OVH)).
@@ -36272,13 +38224,14 @@ Examples:
\[dq]false\[dq]
.RS 2
.IP \[bu] 2
-Enter swift credentials in the next step
+Enter swift credentials in the next step.
.RE
.IP \[bu] 2
\[dq]true\[dq]
.RS 2
.IP \[bu] 2
Get swift credentials from environment vars.
+.IP \[bu] 2
Leave other fields blank if using this.
.RE
.RE
@@ -36381,7 +38334,7 @@ Default: \[dq]\[dq]
.SS \-\-swift\-tenant
.PP
Tenant name \- optional for v1 auth, this or tenant_id required
-otherwise (OS_TENANT_NAME or OS_PROJECT_NAME)
+otherwise (OS_TENANT_NAME or OS_PROJECT_NAME).
.IP \[bu] 2
Config: tenant
.IP \[bu] 2
@@ -36393,7 +38346,7 @@ Default: \[dq]\[dq]
.SS \-\-swift\-tenant\-id
.PP
Tenant ID \- optional for v1 auth, this or tenant required otherwise
-(OS_TENANT_ID)
+(OS_TENANT_ID).
.IP \[bu] 2
Config: tenant_id
.IP \[bu] 2
@@ -36404,7 +38357,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-swift\-tenant\-domain
.PP
-Tenant domain \- optional (v3 auth) (OS_PROJECT_DOMAIN_NAME)
+Tenant domain \- optional (v3 auth) (OS_PROJECT_DOMAIN_NAME).
.IP \[bu] 2
Config: tenant_domain
.IP \[bu] 2
@@ -36415,7 +38368,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-swift\-region
.PP
-Region name \- optional (OS_REGION_NAME)
+Region name \- optional (OS_REGION_NAME).
.IP \[bu] 2
Config: region
.IP \[bu] 2
@@ -36426,7 +38379,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-swift\-storage\-url
.PP
-Storage URL \- optional (OS_STORAGE_URL)
+Storage URL \- optional (OS_STORAGE_URL).
.IP \[bu] 2
Config: storage_url
.IP \[bu] 2
@@ -36437,7 +38390,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-swift\-auth\-token
.PP
-Auth Token from alternate authentication \- optional (OS_AUTH_TOKEN)
+Auth Token from alternate authentication \- optional (OS_AUTH_TOKEN).
.IP \[bu] 2
Config: auth_token
.IP \[bu] 2
@@ -36448,7 +38401,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-swift\-application\-credential\-id
.PP
-Application Credential ID (OS_APPLICATION_CREDENTIAL_ID)
+Application Credential ID (OS_APPLICATION_CREDENTIAL_ID).
.IP \[bu] 2
Config: application_credential_id
.IP \[bu] 2
@@ -36459,7 +38412,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-swift\-application\-credential\-name
.PP
-Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME)
+Application Credential Name (OS_APPLICATION_CREDENTIAL_NAME).
.IP \[bu] 2
Config: application_credential_name
.IP \[bu] 2
@@ -36470,7 +38423,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-swift\-application\-credential\-secret
.PP
-Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET)
+Application Credential Secret (OS_APPLICATION_CREDENTIAL_SECRET).
.IP \[bu] 2
Config: application_credential_secret
.IP \[bu] 2
@@ -36482,7 +38435,7 @@ Default: \[dq]\[dq]
.SS \-\-swift\-auth\-version
.PP
AuthVersion \- optional \- set to (1,2,3) if your auth URL has no
-version (ST_AUTH_VERSION)
+version (ST_AUTH_VERSION).
.IP \[bu] 2
Config: auth_version
.IP \[bu] 2
@@ -36493,7 +38446,7 @@ Type: int
Default: 0
.SS \-\-swift\-endpoint\-type
.PP
-Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE)
+Endpoint type to choose from the service catalogue (OS_ENDPOINT_TYPE).
.IP \[bu] 2
Config: endpoint_type
.IP \[bu] 2
@@ -36526,7 +38479,7 @@ Admin
.RE
.SS \-\-swift\-storage\-policy
.PP
-The storage policy to use when creating a new container
+The storage policy to use when creating a new container.
.PP
This applies the specified storage policy when creating a new container.
The policy cannot be changed afterwards.
@@ -36562,13 +38515,14 @@ OVH Public Cloud Storage
OVH Public Cloud Archive
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to swift (OpenStack Swift
(Rackspace Cloud Files, Memset Memstore, OVH)).
.SS \-\-swift\-leave\-parts\-on\-error
.PP
If true avoid calling abort upload on a failure.
+.PP
It should be set to true for resuming uploads across different sessions.
.IP \[bu] 2
Config: leave_parts_on_error
@@ -36617,7 +38571,7 @@ Default: false
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -36627,46 +38581,6 @@ Env Var: RCLONE_SWIFT_ENCODING
Type: MultiEncoder
.IP \[bu] 2
Default: Slash,InvalidUtf8
-.SS Modified time
-.PP
-The modified time is stored as metadata on the object as
-\f[C]X\-Object\-Meta\-Mtime\f[R] as floating point since the epoch
-accurate to 1 ns.
-.PP
-This is a de facto standard (used in the official python\-swiftclient
-amongst others) for storing the modification time for an object.
-.SS Restricted filename characters
-.PP
-.TS
-tab(@);
-l c c.
-T{
-Character
-T}@T{
-Value
-T}@T{
-Replacement
-T}
-_
-T{
-NUL
-T}@T{
-0x00
-T}@T{
-\[u2400]
-T}
-T{
-/
-T}@T{
-0x2F
-T}@T{
-\[uFF0F]
-T}
-.TE
-.PP
-Invalid UTF\-8 bytes will also be
-replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
-be used in JSON strings.
.SS Limitations
.PP
The Swift API doesn\[aq]t return a correct MD5SUM for segmented files
@@ -36689,12 +38603,35 @@ OVH).
.PP
This is most likely caused by forgetting to specify your tenant when
setting up a swift remote.
+.SS OVH Cloud Archive
+.PP
+To use rclone with OVH cloud archive, first use \f[C]rclone config\f[R]
+to set up a \f[C]swift\f[R] backend with OVH, choosing \f[C]pca\f[R] as
+the \f[C]storage_policy\f[R].
+.SS Uploading Objects
+.PP
+Uploading objects to OVH cloud archive is no different to object
+storage, you just simply run the command you like (move, copy or sync)
+to upload the objects.
+Once uploaded the objects will show in a \[dq]Frozen\[dq] state within
+the OVH control panel.
+.SS Retrieving Objects
+.PP
+To retrieve objects use \f[C]rclone copy\f[R] as normal.
+If the objects are in a frozen state then rclone will ask for them all
+to be unfrozen and it will wait at the end of the output with a message
+like the following:
+.PP
+\f[C]2019/03/23 13:06:33 NOTICE: Received retry after error \- sleeping until 2019\-03\-23T13:16:33.481657164+01:00 (9m59.99985121s)\f[R]
+.PP
+Rclone will wait for the time specified then retry the copy.
.SH pCloud
.PP
Paths are specified as \f[C]remote:path\f[R]
.PP
Paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
+.SS Configuration
.PP
The initial setup for pCloud involves getting a token from pCloud which
you need to do in your browser.
@@ -36797,11 +38734,9 @@ These will be used to detect whether objects need syncing or not.
In order to set a Modification time pCloud requires the object be
re\-uploaded.
.PP
-pCloud supports MD5 and SHA1 type hashes in the US region but and SHA1
-only in the EU region, so you can use the \f[C]\-\-checksum\f[R] flag.
-.PP
-(Note that pCloud also support SHA256 in the EU region, but rclone does
-not have support for that yet.)
+pCloud supports MD5 and SHA1 hashes in the US region, and SHA1 and
+SHA256 hashes in the EU region, so you can use the
+\f[C]\-\-checksum\f[R] flag.
.SS Restricted filename characters
.PP
In addition to the default restricted characters
@@ -36857,12 +38792,14 @@ So if the folder you want rclone to use has a URL which looks like
\f[C]https://my.pcloud.com/#page=filemanager&folder=5xxxxxxxx8&tpl=foldergrid\f[R]
in the browser, then you use \f[C]5xxxxxxxx8\f[R] as the
\f[C]root_folder_id\f[R] in the config.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to pcloud (Pcloud).
.SS \-\-pcloud\-client\-id
.PP
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_id
.IP \[bu] 2
@@ -36873,7 +38810,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-pcloud\-client\-secret
.PP
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_secret
.IP \[bu] 2
@@ -36882,7 +38821,7 @@ Env Var: RCLONE_PCLOUD_CLIENT_SECRET
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to pcloud (Pcloud).
.SS \-\-pcloud\-token
@@ -36899,6 +38838,7 @@ Default: \[dq]\[dq]
.SS \-\-pcloud\-auth\-url
.PP
Auth server URL.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: auth_url
@@ -36911,6 +38851,7 @@ Default: \[dq]\[dq]
.SS \-\-pcloud\-token\-url
.PP
Token server url.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: token_url
@@ -36924,7 +38865,7 @@ Default: \[dq]\[dq]
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -36982,6 +38923,7 @@ Paths are specified as \f[C]remote:path\f[R]
.PP
Paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
+.SS Configuration
.PP
The initial setup for premiumize.me (https://premiumize.me/) involves
getting a token from premiumize.me which you need to do in your browser.
@@ -37115,7 +39057,7 @@ T}
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
be used in JSON strings.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to premiumizeme (premiumize.me).
.SS \-\-premiumizeme\-api\-key
@@ -37131,14 +39073,14 @@ Env Var: RCLONE_PREMIUMIZEME_API_KEY
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to premiumizeme (premiumize.me).
.SS \-\-premiumizeme\-encoding
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -37165,6 +39107,7 @@ Paths are specified as \f[C]remote:path\f[R]
.PP
put.io paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
+.SS Configuration
.PP
The initial setup for put.io involves getting a token from put.io which
you need to do in your browser.
@@ -37298,14 +39241,14 @@ T}
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
be used in JSON strings.
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to putio (Put.io).
.SS \-\-putio\-encoding
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -37323,7 +39266,7 @@ professional edition.
\- Seafile versions 6.x and 7.x are all supported.
\- Encrypted libraries are also supported.
\- It supports 2FA enabled users
-.SS Root mode vs Library mode
+.SS Configuration
.PP
There are two distinct modes you can setup your remote: \- you point
your remote to the \f[B]root of the server\f[R], meaning you don\[aq]t
@@ -37658,12 +39601,12 @@ edition
Versions below 6.0 are not supported.
Versions between 6.0 and 6.3 haven\[aq]t been tested and might not work
properly.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to seafile (seafile).
.SS \-\-seafile\-url
.PP
-URL of seafile host to connect to
+URL of seafile host to connect to.
.IP \[bu] 2
Config: url
.IP \[bu] 2
@@ -37679,12 +39622,12 @@ Examples:
\[dq]https://cloud.seafile.com/\[dq]
.RS 2
.IP \[bu] 2
-Connect to cloud.seafile.com
+Connect to cloud.seafile.com.
.RE
.RE
.SS \-\-seafile\-user
.PP
-User name (usually email address)
+User name (usually email address).
.IP \[bu] 2
Config: user
.IP \[bu] 2
@@ -37695,7 +39638,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-seafile\-pass
.PP
-Password
+Password.
.PP
\f[B]NB\f[R] Input to this must be obscured \- see rclone
obscure (https://rclone.org/commands/rclone_obscure/).
@@ -37710,7 +39653,7 @@ Default: \[dq]\[dq]
.SS \-\-seafile\-2fa
.PP
Two\-factor authentication (\[aq]true\[aq] if the account has 2FA
-enabled)
+enabled).
.IP \[bu] 2
Config: 2fa
.IP \[bu] 2
@@ -37722,6 +39665,7 @@ Default: false
.SS \-\-seafile\-library
.PP
Name of the library.
+.PP
Leave blank to access all non\-encrypted libraries.
.IP \[bu] 2
Config: library
@@ -37734,6 +39678,7 @@ Default: \[dq]\[dq]
.SS \-\-seafile\-library\-key
.PP
Library password (for encrypted libraries only).
+.PP
Leave blank if you pass it through the command line.
.PP
\f[B]NB\f[R] Input to this must be obscured \- see rclone
@@ -37748,7 +39693,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-seafile\-auth\-token
.PP
-Authentication token
+Authentication token.
.IP \[bu] 2
Config: auth_token
.IP \[bu] 2
@@ -37757,12 +39702,12 @@ Env Var: RCLONE_SEAFILE_AUTH_TOKEN
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to seafile (seafile).
.SS \-\-seafile\-create\-library
.PP
-Should rclone create a library if it doesn\[aq]t exist
+Should rclone create a library if it doesn\[aq]t exist.
.IP \[bu] 2
Config: create_library
.IP \[bu] 2
@@ -37775,7 +39720,7 @@ Default: false
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -37810,9 +39755,10 @@ However, \f[C]rclone lsd remote:/\f[R] would list the root directory for
remote machine (i.e.
\f[C]/\f[R])
.PP
-\[dq]Note that some SFTP servers will need the leading / \- Synology is
-a good example of this.
+Note that some SFTP servers will need the leading / \- Synology is a
+good example of this.
rsync.net, on the other hand, requires users to OMIT the leading /.
+.SS Configuration
.PP
Here is an example of making an SFTP configuration.
First run
@@ -37942,9 +39888,12 @@ contained within the rclone config file (key_pem).
If using key_pem in the config file, the entry should be on a single
line with new line (\[aq]\[aq] or \[aq]\[aq]) separating lines.
i.e.
-.PP
-key_pem = \-\-\-\-\-BEGIN RSA PRIVATE
-KEY\-\-\-\-\-0gAMbMbaSsd\-\-\-\-\-END RSA PRIVATE KEY\-\-\-\-\-
+.IP
+.nf
+\f[C]
+key_pem = \-\-\-\-\-BEGIN RSA PRIVATE KEY\-\-\-\-\-\[rs]nMaMbaIXtE\[rs]n0gAMbMbaSsd\[rs]nMbaass\[rs]n\-\-\-\-\-END RSA PRIVATE KEY\-\-\-\-\-
+\f[R]
+.fi
.PP
This will generate it correctly for key_pem for use in the config:
.IP
@@ -37955,8 +39904,8 @@ awk \[aq]{printf \[dq]%s\[rs]\[rs]n\[dq], $0}\[aq] < \[ti]/.ssh/id_rsa
.fi
.PP
If you don\[aq]t specify \f[C]pass\f[R], \f[C]key_file\f[R], or
-\f[C]key_pem\f[R] then rclone will attempt to contact an ssh\-agent.
-.PP
+\f[C]key_pem\f[R] or \f[C]ask_password\f[R] then rclone will attempt to
+contact an ssh\-agent.
You can also specify \f[C]key_use_agent\f[R] to force the usage of an
ssh\-agent.
In this case \f[C]key_file\f[R] or \f[C]key_pem\f[R] can also be
@@ -37965,12 +39914,25 @@ specified to force the usage of a specific key in the ssh\-agent.
Using an ssh\-agent is the only way to load encrypted OpenSSH keys at
the moment.
.PP
-If you set the \f[C]\-\-sftp\-ask\-password\f[R] option, rclone will
-prompt for a password when needed and no password has been configured.
+If you set the \f[C]ask_password\f[R] option, rclone will prompt for a
+password when needed and no password has been configured.
+.SS Certificate\-signed keys
.PP
-If you have a certificate then you can provide the path to the public
-key that contains the certificate.
-For example:
+With traditional key\-based authentication, you configure your private
+key only, and the public key built into it will be used during the
+authentication process.
+.PP
+If you have a certificate you may use it to sign your public key,
+creating a separate SSH user certificate that should be used instead of
+the plain public key extracted from the private key.
+Then you must provide the path to the user certificate public key file
+in \f[C]pubkey_file\f[R].
+.PP
+Note: This is not the traditional public key paired with your private
+key, typically saved as \f[C]/home/$USER/.ssh/id_rsa.pub\f[R].
+Setting this path in \f[C]pubkey_file\f[R] will not work.
+.PP
+Example:
.IP
.nf
\f[C]
@@ -38100,12 +40062,15 @@ mod_sftp).
If you are using one of these servers, you can set the option
\f[C]set_modtime = false\f[R] in your RClone backend configuration to
disable this behaviour.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to sftp (SSH/SFTP Connection).
.SS \-\-sftp\-host
.PP
-SSH host to connect to
+SSH host to connect to.
+.PP
+E.g.
+\[dq]example.com\[dq].
.IP \[bu] 2
Config: host
.IP \[bu] 2
@@ -38114,19 +40079,9 @@ Env Var: RCLONE_SFTP_HOST
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.IP \[bu] 2
-Examples:
-.RS 2
-.IP \[bu] 2
-\[dq]example.com\[dq]
-.RS 2
-.IP \[bu] 2
-Connect to example.com
-.RE
-.RE
.SS \-\-sftp\-user
.PP
-SSH username, leave blank for current username, $USER
+SSH username, leave blank for current username, $USER.
.IP \[bu] 2
Config: user
.IP \[bu] 2
@@ -38137,7 +40092,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-sftp\-port
.PP
-SSH port, leave blank to use default (22)
+SSH port, leave blank to use default (22).
.IP \[bu] 2
Config: port
.IP \[bu] 2
@@ -38162,8 +40117,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-sftp\-key\-pem
.PP
-Raw PEM\-encoded private key, If specified, will override key_file
-parameter.
+Raw PEM\-encoded private key.
+.PP
+If specified, will override key_file parameter.
.IP \[bu] 2
Config: key_pem
.IP \[bu] 2
@@ -38174,8 +40130,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-sftp\-key\-file
.PP
-Path to PEM\-encoded private key file, leave blank or set
-key\-use\-agent to use ssh\-agent.
+Path to PEM\-encoded private key file.
+.PP
+Leave blank or set key\-use\-agent to use ssh\-agent.
.PP
Leading \f[C]\[ti]\f[R] will be expanded in the file name as will
environment variables such as \f[C]${RCLONE_CONFIG_DIR}\f[R].
@@ -38290,6 +40247,7 @@ diffie\-hellman\-group\-exchange\-sha1 key exchange.
.PP
Disable the execution of SSH commands to determine if remote file
hashing is available.
+.PP
Leave blank or set to false to enable hashing (recommended), set to true
to disable hashing.
.IP \[bu] 2
@@ -38300,7 +40258,7 @@ Env Var: RCLONE_SFTP_DISABLE_HASHCHECK
Type: bool
.IP \[bu] 2
Default: false
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to sftp (SSH/SFTP Connection).
.SS \-\-sftp\-known\-hosts\-file
@@ -38326,7 +40284,7 @@ Examples:
\[dq]\[ti]/.ssh/known_hosts\[dq]
.RS 2
.IP \[bu] 2
-Use OpenSSH\[aq]s known_hosts file
+Use OpenSSH\[aq]s known_hosts file.
.RE
.RE
.SS \-\-sftp\-ask\-password
@@ -38387,6 +40345,7 @@ Default: true
.SS \-\-sftp\-md5sum\-command
.PP
The command used to read md5 hashes.
+.PP
Leave blank for autodetect.
.IP \[bu] 2
Config: md5sum_command
@@ -38399,6 +40358,7 @@ Default: \[dq]\[dq]
.SS \-\-sftp\-sha1sum\-command
.PP
The command used to read sha1 hashes.
+.PP
Leave blank for autodetect.
.IP \[bu] 2
Config: sha1sum_command
@@ -38445,7 +40405,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-sftp\-use\-fstat
.PP
-If set use fstat instead of stat
+If set use fstat instead of stat.
.PP
Some servers limit the amount of open files and calling Stat after
opening the file will throw an error from the server.
@@ -38465,7 +40425,7 @@ Type: bool
Default: false
.SS \-\-sftp\-disable\-concurrent\-reads
.PP
-If set don\[aq]t use concurrent reads
+If set don\[aq]t use concurrent reads.
.PP
Normally concurrent reads are safe to use and not using them will
degrade performance, so this option is disabled by default.
@@ -38493,7 +40453,7 @@ Type: bool
Default: false
.SS \-\-sftp\-disable\-concurrent\-writes
.PP
-If set don\[aq]t use concurrent writes
+If set don\[aq]t use concurrent writes.
.PP
Normally rclone uses concurrent writes to upload files.
This improves the performance greatly, especially for distant servers.
@@ -38509,7 +40469,7 @@ Type: bool
Default: false
.SS \-\-sftp\-idle\-timeout
.PP
-Max time before closing idle connections
+Max time before closing idle connections.
.PP
If no connections have been returned to the connection pool in the time
given, rclone will empty the connection pool.
@@ -38585,6 +40545,7 @@ examples (https://www.rsync.net/products/rclone.html).
SugarSync (https://sugarsync.com) is a cloud service that enables active
synchronization of files across computers and other devices for file
backup, access, syncing, and sharing.
+.SS Configuration
.PP
The initial setup for SugarSync involves getting a token from SugarSync
which you can do with rclone.
@@ -38714,7 +40675,7 @@ default.
However you can supply the flag \f[C]\-\-sugarsync\-hard\-delete\f[R] or
set the config parameter \f[C]hard_delete = true\f[R] if you would like
files to be deleted straight away.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to sugarsync (Sugarsync).
.SS \-\-sugarsync\-app\-id
@@ -38745,7 +40706,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-sugarsync\-private\-access\-key
.PP
-Sugarsync Private Access Key
+Sugarsync Private Access Key.
.PP
Leave blank to use rclone\[aq]s.
.IP \[bu] 2
@@ -38768,12 +40729,12 @@ Env Var: RCLONE_SUGARSYNC_HARD_DELETE
Type: bool
.IP \[bu] 2
Default: false
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to sugarsync (Sugarsync).
.SS \-\-sugarsync\-refresh\-token
.PP
-Sugarsync refresh token
+Sugarsync refresh token.
.PP
Leave blank normally, will be auto configured by rclone.
.IP \[bu] 2
@@ -38786,7 +40747,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-sugarsync\-authorization
.PP
-Sugarsync authorization
+Sugarsync authorization.
.PP
Leave blank normally, will be auto configured by rclone.
.IP \[bu] 2
@@ -38799,7 +40760,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-sugarsync\-authorization\-expiry
.PP
-Sugarsync authorization expiry
+Sugarsync authorization expiry.
.PP
Leave blank normally, will be auto configured by rclone.
.IP \[bu] 2
@@ -38812,7 +40773,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-sugarsync\-user
.PP
-Sugarsync user
+Sugarsync user.
.PP
Leave blank normally, will be auto configured by rclone.
.IP \[bu] 2
@@ -38825,7 +40786,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-sugarsync\-root\-id
.PP
-Sugarsync root id
+Sugarsync root id.
.PP
Leave blank normally, will be auto configured by rclone.
.IP \[bu] 2
@@ -38838,7 +40799,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-sugarsync\-deleted\-id
.PP
-Sugarsync deleted folder id
+Sugarsync deleted folder id.
.PP
Leave blank normally, will be auto configured by rclone.
.IP \[bu] 2
@@ -38853,7 +40814,7 @@ Default: \[dq]\[dq]
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -38878,7 +40839,7 @@ about (https://rclone.org/commands/rclone_about/)
Tardigrade (https://tardigrade.io) is an encrypted, secure, and
cost\-effective object storage service that enables you to store, back
up, and archive large amounts of data in a decentralized manner.
-.SS Setup
+.SS Configuration
.PP
To make a new Tardigrade configuration you need one of the following: *
Access Grant that someone else shared with you.
@@ -38998,6 +40959,109 @@ d) Delete this remote
y/e/d> y
\f[R]
.fi
+.SS Standard options
+.PP
+Here are the standard options specific to tardigrade (Tardigrade
+Decentralized Cloud Storage).
+.SS \-\-tardigrade\-provider
+.PP
+Choose an authentication method.
+.IP \[bu] 2
+Config: provider
+.IP \[bu] 2
+Env Var: RCLONE_TARDIGRADE_PROVIDER
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]existing\[dq]
+.IP \[bu] 2
+Examples:
+.RS 2
+.IP \[bu] 2
+\[dq]existing\[dq]
+.RS 2
+.IP \[bu] 2
+Use an existing access grant.
+.RE
+.IP \[bu] 2
+\[dq]new\[dq]
+.RS 2
+.IP \[bu] 2
+Create a new access grant from satellite address, API key, and
+passphrase.
+.RE
+.RE
+.SS \-\-tardigrade\-access\-grant
+.PP
+Access grant.
+.IP \[bu] 2
+Config: access_grant
+.IP \[bu] 2
+Env Var: RCLONE_TARDIGRADE_ACCESS_GRANT
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]\[dq]
+.SS \-\-tardigrade\-satellite\-address
+.PP
+Satellite address.
+.PP
+Custom satellite address should match the format:
+\f[C]<nodeid>\[at]<address>:<port>\f[R].
+.IP \[bu] 2
+Config: satellite_address
+.IP \[bu] 2
+Env Var: RCLONE_TARDIGRADE_SATELLITE_ADDRESS
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]us\-central\-1.tardigrade.io\[dq]
+.IP \[bu] 2
+Examples:
+.RS 2
+.IP \[bu] 2
+\[dq]us\-central\-1.tardigrade.io\[dq]
+.RS 2
+.IP \[bu] 2
+US Central 1
+.RE
+.IP \[bu] 2
+\[dq]europe\-west\-1.tardigrade.io\[dq]
+.RS 2
+.IP \[bu] 2
+Europe West 1
+.RE
+.IP \[bu] 2
+\[dq]asia\-east\-1.tardigrade.io\[dq]
+.RS 2
+.IP \[bu] 2
+Asia East 1
+.RE
+.RE
+.SS \-\-tardigrade\-api\-key
+.PP
+API key.
+.IP \[bu] 2
+Config: api_key
+.IP \[bu] 2
+Env Var: RCLONE_TARDIGRADE_API_KEY
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]\[dq]
+.SS \-\-tardigrade\-passphrase
+.PP
+Encryption passphrase.
+.PP
+To access existing objects enter passphrase used for uploading.
+.IP \[bu] 2
+Config: passphrase
+.IP \[bu] 2
+Env Var: RCLONE_TARDIGRADE_PASSPHRASE
+.IP \[bu] 2
+Type: string
+.IP \[bu] 2
+Default: \[dq]\[dq]
.SS Usage
.PP
Paths are specified as \f[C]remote:bucket\f[R] (or \f[C]remote:\f[R] for
@@ -39182,107 +41246,6 @@ Or even between another cloud storage and Tardigrade.
rclone sync \-i \-\-progress s3:bucket/path/to/dir/ tardigrade:bucket/path/to/dir/
\f[R]
.fi
-.SS Standard Options
-.PP
-Here are the standard options specific to tardigrade (Tardigrade
-Decentralized Cloud Storage).
-.SS \-\-tardigrade\-provider
-.PP
-Choose an authentication method.
-.IP \[bu] 2
-Config: provider
-.IP \[bu] 2
-Env Var: RCLONE_TARDIGRADE_PROVIDER
-.IP \[bu] 2
-Type: string
-.IP \[bu] 2
-Default: \[dq]existing\[dq]
-.IP \[bu] 2
-Examples:
-.RS 2
-.IP \[bu] 2
-\[dq]existing\[dq]
-.RS 2
-.IP \[bu] 2
-Use an existing access grant.
-.RE
-.IP \[bu] 2
-\[dq]new\[dq]
-.RS 2
-.IP \[bu] 2
-Create a new access grant from satellite address, API key, and
-passphrase.
-.RE
-.RE
-.SS \-\-tardigrade\-access\-grant
-.PP
-Access Grant.
-.IP \[bu] 2
-Config: access_grant
-.IP \[bu] 2
-Env Var: RCLONE_TARDIGRADE_ACCESS_GRANT
-.IP \[bu] 2
-Type: string
-.IP \[bu] 2
-Default: \[dq]\[dq]
-.SS \-\-tardigrade\-satellite\-address
-.PP
-Satellite Address.
-Custom satellite address should match the format:
-\f[C]<nodeid>\[at]<address>:<port>\f[R].
-.IP \[bu] 2
-Config: satellite_address
-.IP \[bu] 2
-Env Var: RCLONE_TARDIGRADE_SATELLITE_ADDRESS
-.IP \[bu] 2
-Type: string
-.IP \[bu] 2
-Default: \[dq]us\-central\-1.tardigrade.io\[dq]
-.IP \[bu] 2
-Examples:
-.RS 2
-.IP \[bu] 2
-\[dq]us\-central\-1.tardigrade.io\[dq]
-.RS 2
-.IP \[bu] 2
-US Central 1
-.RE
-.IP \[bu] 2
-\[dq]europe\-west\-1.tardigrade.io\[dq]
-.RS 2
-.IP \[bu] 2
-Europe West 1
-.RE
-.IP \[bu] 2
-\[dq]asia\-east\-1.tardigrade.io\[dq]
-.RS 2
-.IP \[bu] 2
-Asia East 1
-.RE
-.RE
-.SS \-\-tardigrade\-api\-key
-.PP
-API Key.
-.IP \[bu] 2
-Config: api_key
-.IP \[bu] 2
-Env Var: RCLONE_TARDIGRADE_API_KEY
-.IP \[bu] 2
-Type: string
-.IP \[bu] 2
-Default: \[dq]\[dq]
-.SS \-\-tardigrade\-passphrase
-.PP
-Encryption Passphrase.
-To access existing objects enter passphrase used for uploading.
-.IP \[bu] 2
-Config: passphrase
-.IP \[bu] 2
-Env Var: RCLONE_TARDIGRADE_PASSPHRASE
-.IP \[bu] 2
-Type: string
-.IP \[bu] 2
-Default: \[dq]\[dq]
.SS Limitations
.PP
\f[C]rclone about\f[R] is not supported by the rclone Tardigrade
@@ -39328,12 +41291,11 @@ Paths are specified as \f[C]remote:path\f[R]
.PP
Paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
-.SS Setup
+.SS Configuration
.PP
To configure an Uptobox backend you\[aq]ll need your personal api token.
You\[aq]ll find it in your account
settings (https://uptobox.com/my_account)
-.SS Example
.PP
Here is an example of how to make a remote called \f[C]remote\f[R] with
the default setup.
@@ -39458,12 +41420,14 @@ T}
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
be used in XML strings.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to uptobox (Uptobox).
.SS \-\-uptobox\-access\-token
.PP
-Your access Token, get it from https://uptobox.com/my_account
+Your access token.
+.PP
+Get it from https://uptobox.com/my_account.
.IP \[bu] 2
Config: access_token
.IP \[bu] 2
@@ -39472,14 +41436,14 @@ Env Var: RCLONE_UPTOBOX_ACCESS_TOKEN
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to uptobox (Uptobox).
.SS \-\-uptobox\-encoding
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -39526,6 +41490,106 @@ There will be no special handling of paths containing \f[C]..\f[R]
segments.
Invoking \f[C]rclone mkdir backup:../desktop\f[R] is exactly the same as
invoking \f[C]rclone mkdir mydrive:private/backup/../desktop\f[R].
+.SS Configuration
+.PP
+Here is an example of how to make a union called \f[C]remote\f[R] for
+local folders.
+First run:
+.IP
+.nf
+\f[C]
+ rclone config
+\f[R]
+.fi
+.PP
+This will guide you through an interactive setup process:
+.IP
+.nf
+\f[C]
+No remotes found \- make a new one
+n) New remote
+s) Set configuration password
+q) Quit config
+n/s/q> n
+name> remote
+Type of storage to configure.
+Choose a number from below, or type in your own value
+[snip]
+XX / Union merges the contents of several remotes
+ \[rs] \[dq]union\[dq]
+[snip]
+Storage> union
+List of space separated upstreams.
+Can be \[aq]upstreama:test/dir upstreamb:\[aq], \[aq]\[rs]\[dq]upstreama:test/space:ro dir\[rs]\[dq] upstreamb:\[aq], etc.
+Enter a string value. Press Enter for the default (\[dq]\[dq]).
+upstreams> remote1:dir1 remote2:dir2 remote3:dir3
+Policy to choose upstream on ACTION class.
+Enter a string value. Press Enter for the default (\[dq]epall\[dq]).
+action_policy>
+Policy to choose upstream on CREATE class.
+Enter a string value. Press Enter for the default (\[dq]epmfs\[dq]).
+create_policy>
+Policy to choose upstream on SEARCH class.
+Enter a string value. Press Enter for the default (\[dq]ff\[dq]).
+search_policy>
+Cache time of usage and free space (in seconds). This option is only useful when a path preserving policy is used.
+Enter a signed integer. Press Enter for the default (\[dq]120\[dq]).
+cache_time>
+Remote config
+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
+[remote]
+type = union
+upstreams = remote1:dir1 remote2:dir2 remote3:dir3
+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
+y) Yes this is OK
+e) Edit this remote
+d) Delete this remote
+y/e/d> y
+Current remotes:
+
+Name Type
+==== ====
+remote union
+
+e) Edit existing remote
+n) New remote
+d) Delete remote
+r) Rename remote
+c) Copy remote
+s) Set configuration password
+q) Quit config
+e/n/d/r/c/s/q> q
+\f[R]
+.fi
+.PP
+Once configured you can then use \f[C]rclone\f[R] like this,
+.PP
+List directories in top level in \f[C]remote1:dir1\f[R],
+\f[C]remote2:dir2\f[R] and \f[C]remote3:dir3\f[R]
+.IP
+.nf
+\f[C]
+rclone lsd remote:
+\f[R]
+.fi
+.PP
+List all the files in \f[C]remote1:dir1\f[R], \f[C]remote2:dir2\f[R] and
+\f[C]remote3:dir3\f[R]
+.IP
+.nf
+\f[C]
+rclone ls remote:
+\f[R]
+.fi
+.PP
+Copy another local directory to the union directory called source, which
+will be placed into \f[C]remote3:dir3\f[R]
+.IP
+.nf
+\f[C]
+rclone copy C:\[rs]source remote:source
+\f[R]
+.fi
.SS Behavior / Policies
.PP
The behavior of union backend is inspired by
@@ -39768,113 +41832,14 @@ Calls \f[B]all\f[R] and then randomizes.
Returns only one upstream.
T}
.TE
-.SS Setup
-.PP
-Here is an example of how to make a union called \f[C]remote\f[R] for
-local folders.
-First run:
-.IP
-.nf
-\f[C]
- rclone config
-\f[R]
-.fi
-.PP
-This will guide you through an interactive setup process:
-.IP
-.nf
-\f[C]
-No remotes found \- make a new one
-n) New remote
-s) Set configuration password
-q) Quit config
-n/s/q> n
-name> remote
-Type of storage to configure.
-Choose a number from below, or type in your own value
-[snip]
-XX / Union merges the contents of several remotes
- \[rs] \[dq]union\[dq]
-[snip]
-Storage> union
-List of space separated upstreams.
-Can be \[aq]upstreama:test/dir upstreamb:\[aq], \[aq]\[rs]\[dq]upstreama:test/space:ro dir\[rs]\[dq] upstreamb:\[aq], etc.
-Enter a string value. Press Enter for the default (\[dq]\[dq]).
-upstreams> remote1:dir1 remote2:dir2 remote3:dir3
-Policy to choose upstream on ACTION class.
-Enter a string value. Press Enter for the default (\[dq]epall\[dq]).
-action_policy>
-Policy to choose upstream on CREATE class.
-Enter a string value. Press Enter for the default (\[dq]epmfs\[dq]).
-create_policy>
-Policy to choose upstream on SEARCH class.
-Enter a string value. Press Enter for the default (\[dq]ff\[dq]).
-search_policy>
-Cache time of usage and free space (in seconds). This option is only useful when a path preserving policy is used.
-Enter a signed integer. Press Enter for the default (\[dq]120\[dq]).
-cache_time>
-Remote config
-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
-[remote]
-type = union
-upstreams = remote1:dir1 remote2:dir2 remote3:dir3
-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
-y) Yes this is OK
-e) Edit this remote
-d) Delete this remote
-y/e/d> y
-Current remotes:
-
-Name Type
-==== ====
-remote union
-
-e) Edit existing remote
-n) New remote
-d) Delete remote
-r) Rename remote
-c) Copy remote
-s) Set configuration password
-q) Quit config
-e/n/d/r/c/s/q> q
-\f[R]
-.fi
-.PP
-Once configured you can then use \f[C]rclone\f[R] like this,
-.PP
-List directories in top level in \f[C]remote1:dir1\f[R],
-\f[C]remote2:dir2\f[R] and \f[C]remote3:dir3\f[R]
-.IP
-.nf
-\f[C]
-rclone lsd remote:
-\f[R]
-.fi
-.PP
-List all the files in \f[C]remote1:dir1\f[R], \f[C]remote2:dir2\f[R] and
-\f[C]remote3:dir3\f[R]
-.IP
-.nf
-\f[C]
-rclone ls remote:
-\f[R]
-.fi
-.PP
-Copy another local directory to the union directory called source, which
-will be placed into \f[C]remote3:dir3\f[R]
-.IP
-.nf
-\f[C]
-rclone copy C:\[rs]source remote:source
-\f[R]
-.fi
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to union (Union merges the
contents of several upstream fs).
.SS \-\-union\-upstreams
.PP
List of space separated upstreams.
+.PP
Can be \[aq]upstreama:test/dir upstreamb:\[aq],
\[aq]\[dq]upstreama:test/space:ro dir\[dq] upstreamb:\[aq], etc.
.IP \[bu] 2
@@ -39921,6 +41886,7 @@ Default: \[dq]ff\[dq]
.SS \-\-union\-cache\-time
.PP
Cache time of usage and free space (in seconds).
+.PP
This option is only useful when a path preserving policy is used.
.IP \[bu] 2
Config: cache_time
@@ -39936,6 +41902,7 @@ Paths are specified as \f[C]remote:path\f[R]
.PP
Paths may be as deep as required, e.g.
\f[C]remote:directory/subdirectory\f[R].
+.SS Configuration
.PP
To configure the WebDAV remote you will need to have a URL for it, and a
username and password.
@@ -40052,12 +42019,15 @@ Owncloud or Nextcloud rclone will support SHA1 and MD5 hashes.
Depending on the exact version of Owncloud or Nextcloud hashes may
appear on all objects, or only on objects which had a hash uploaded with
them.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to webdav (Webdav).
.SS \-\-webdav\-url
.PP
-URL of http host to connect to
+URL of http host to connect to.
+.PP
+E.g.
+https://example.com.
.IP \[bu] 2
Config: url
.IP \[bu] 2
@@ -40066,19 +42036,9 @@ Env Var: RCLONE_WEBDAV_URL
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.IP \[bu] 2
-Examples:
-.RS 2
-.IP \[bu] 2
-\[dq]https://example.com\[dq]
-.RS 2
-.IP \[bu] 2
-Connect to example.com
-.RE
-.RE
.SS \-\-webdav\-vendor
.PP
-Name of the Webdav site/service/software you are using
+Name of the Webdav site/service/software you are using.
.IP \[bu] 2
Config: vendor
.IP \[bu] 2
@@ -40106,14 +42066,14 @@ Owncloud
\[dq]sharepoint\[dq]
.RS 2
.IP \[bu] 2
-Sharepoint Online, authenticated by Microsoft account.
+Sharepoint Online, authenticated by Microsoft account
.RE
.IP \[bu] 2
\[dq]sharepoint\-ntlm\[dq]
.RS 2
.IP \[bu] 2
-Sharepoint with NTLM authentication.
-Usually self\-hosted or on\-premises.
+Sharepoint with NTLM authentication, usually self\-hosted or
+on\-premises
.RE
.IP \[bu] 2
\[dq]other\[dq]
@@ -40125,6 +42085,7 @@ Other site/service or software
.SS \-\-webdav\-user
.PP
User name.
+.PP
In case NTLM authentication is used, the username should be in the
format \[aq]Domain\[aq].
.IP \[bu] 2
@@ -40152,7 +42113,7 @@ Default: \[dq]\[dq]
.SS \-\-webdav\-bearer\-token
.PP
Bearer token instead of user/pass (e.g.
-a Macaroon)
+a Macaroon).
.IP \[bu] 2
Config: bearer_token
.IP \[bu] 2
@@ -40161,12 +42122,12 @@ Env Var: RCLONE_WEBDAV_BEARER_TOKEN
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to webdav (Webdav).
.SS \-\-webdav\-bearer\-token\-command
.PP
-Command to run to get a bearer token
+Command to run to get a bearer token.
.IP \[bu] 2
Config: bearer_token_command
.IP \[bu] 2
@@ -40179,7 +42140,7 @@ Default: \[dq]\[dq]
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.PP
Default encoding is
@@ -40195,7 +42156,7 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-webdav\-headers
.PP
-Set HTTP headers for all transactions
+Set HTTP headers for all transactions.
.PP
Use this to set additional HTTP headers for all transactions
.PP
@@ -40421,6 +42382,7 @@ bearer_token_command = oidc\-token XDC
.PP
Yandex Disk (https://disk.yandex.com) is a cloud storage solution
created by Yandex (https://yandex.com).
+.SS Configuration
.PP
Here is an example of making a yandex configuration.
First run
@@ -40549,26 +42511,14 @@ set (https://rclone.org/overview/#restricted-characters) are replaced.
Invalid UTF\-8 bytes will also be
replaced (https://rclone.org/overview/#invalid-utf8), as they can\[aq]t
be used in JSON strings.
-.SS Limitations
-.PP
-When uploading very large files (bigger than about 5 GiB) you will need
-to increase the \f[C]\-\-timeout\f[R] parameter.
-This is because Yandex pauses (perhaps to calculate the MD5SUM for the
-entire file) before returning confirmation that the file has been
-uploaded.
-The default handling of timeouts in rclone is to assume a 5 minute pause
-is an error and close the connection \- you\[aq]ll see
-\f[C]net/http: timeout awaiting response headers\f[R] errors in the logs
-if this is happening.
-Setting the timeout to twice the max size of file in GiB should be
-enough, so if you want to upload a 30 GiB file set a timeout of
-\f[C]2 * 30 = 60m\f[R], that is \f[C]\-\-timeout 60m\f[R].
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to yandex (Yandex Disk).
.SS \-\-yandex\-client\-id
.PP
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_id
.IP \[bu] 2
@@ -40579,7 +42529,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-yandex\-client\-secret
.PP
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_secret
.IP \[bu] 2
@@ -40588,7 +42540,7 @@ Env Var: RCLONE_YANDEX_CLIENT_SECRET
Type: string
.IP \[bu] 2
Default: \[dq]\[dq]
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to yandex (Yandex Disk).
.SS \-\-yandex\-token
@@ -40605,6 +42557,7 @@ Default: \[dq]\[dq]
.SS \-\-yandex\-auth\-url
.PP
Auth server URL.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: auth_url
@@ -40617,6 +42570,7 @@ Default: \[dq]\[dq]
.SS \-\-yandex\-token\-url
.PP
Token server url.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: token_url
@@ -40630,7 +42584,7 @@ Default: \[dq]\[dq]
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -40640,10 +42594,36 @@ Env Var: RCLONE_YANDEX_ENCODING
Type: MultiEncoder
.IP \[bu] 2
Default: Slash,Del,Ctl,InvalidUtf8,Dot
+.SS Limitations
+.PP
+When uploading very large files (bigger than about 5 GiB) you will need
+to increase the \f[C]\-\-timeout\f[R] parameter.
+This is because Yandex pauses (perhaps to calculate the MD5SUM for the
+entire file) before returning confirmation that the file has been
+uploaded.
+The default handling of timeouts in rclone is to assume a 5 minute pause
+is an error and close the connection \- you\[aq]ll see
+\f[C]net/http: timeout awaiting response headers\f[R] errors in the logs
+if this is happening.
+Setting the timeout to twice the max size of file in GiB should be
+enough, so if you want to upload a 30 GiB file set a timeout of
+\f[C]2 * 30 = 60m\f[R], that is \f[C]\-\-timeout 60m\f[R].
+.PP
+Having a Yandex Mail account is mandatory to use the Yandex.Disk
+subscription.
+Token generation will work without a mail account, but Rclone won\[aq]t
+be able to complete any actions.
+.IP
+.nf
+\f[C]
+[403 \- DiskUnsupportedUserAccountTypeError] User account type is not supported.
+\f[R]
+.fi
.SH Zoho Workdrive
.PP
Zoho WorkDrive (https://www.zoho.com/workdrive/) is a cloud storage
solution created by Zoho (https://zoho.com).
+.SS Configuration
.PP
Here is an example of making a zoho configuration.
First run
@@ -40781,12 +42761,14 @@ usage.
Only control characters and invalid UTF\-8 are replaced.
In addition most Unicode full\-width characters are not supported at all
and will be removed from filenames during upload.
-.SS Standard Options
+.SS Standard options
.PP
Here are the standard options specific to zoho (Zoho).
.SS \-\-zoho\-client\-id
.PP
-OAuth Client Id Leave blank normally.
+OAuth Client Id.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_id
.IP \[bu] 2
@@ -40797,7 +42779,9 @@ Type: string
Default: \[dq]\[dq]
.SS \-\-zoho\-client\-secret
.PP
-OAuth Client Secret Leave blank normally.
+OAuth Client Secret.
+.PP
+Leave blank normally.
.IP \[bu] 2
Config: client_secret
.IP \[bu] 2
@@ -40849,7 +42833,7 @@ India
Australia
.RE
.RE
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to zoho (Zoho).
.SS \-\-zoho\-token
@@ -40866,6 +42850,7 @@ Default: \[dq]\[dq]
.SS \-\-zoho\-auth\-url
.PP
Auth server URL.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: auth_url
@@ -40878,6 +42863,7 @@ Default: \[dq]\[dq]
.SS \-\-zoho\-token\-url
.PP
Token server url.
+.PP
Leave blank to use the provider defaults.
.IP \[bu] 2
Config: token_url
@@ -40891,7 +42877,7 @@ Default: \[dq]\[dq]
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -40913,6 +42899,7 @@ rclone sync \-i /home/source /tmp/destination
.fi
.PP
Will sync \f[C]/home/source\f[R] to \f[C]/tmp/destination\f[R].
+.SS Configuration
.PP
For consistencies sake one can also configure a remote of type
\f[C]local\f[R] in the config file, and access the local filesystem
@@ -40950,6 +42937,11 @@ Local file system at .: Replacing invalid UTF\-8 characters in \[dq]gro\[rs]xdf\
.fi
.SS Restricted characters
.PP
+With the local backend, restrictions on the characters that are usable
+in file or directory names depend on the operating system.
+To check what rclone will replace by default on your system, run
+\f[C]rclone help flags local\-encoding\f[R].
+.PP
On non Windows platforms the following characters are replaced when
handling file names.
.PP
@@ -41573,12 +43565,12 @@ device as being on the same filesystem.
\f[B]NB\f[R] This flag is only available on Unix based systems.
On systems where it isn\[aq]t supported (e.g.
Windows) it will be ignored.
-.SS Advanced Options
+.SS Advanced options
.PP
Here are the advanced options specific to local (Local Disk).
.SS \-\-local\-nounc
.PP
-Disable UNC (long path names) conversion on Windows
+Disable UNC (long path names) conversion on Windows.
.IP \[bu] 2
Config: nounc
.IP \[bu] 2
@@ -41594,7 +43586,7 @@ Examples:
\[dq]true\[dq]
.RS 2
.IP \[bu] 2
-Disables long file names
+Disables long file names.
.RE
.RE
.SS \-\-copy\-links / \-L
@@ -41611,7 +43603,7 @@ Default: false
.SS \-\-links / \-l
.PP
Translate symlinks to/from regular files with a \[aq].rclonelink\[aq]
-extension
+extension.
.IP \[bu] 2
Config: links
.IP \[bu] 2
@@ -41623,6 +43615,7 @@ Default: false
.SS \-\-skip\-links
.PP
Don\[aq]t warn about skipped symlinks.
+.PP
This flag disables warning messages on skipped symlinks or junction
points, as you explicitly acknowledge that they should be skipped.
.IP \[bu] 2
@@ -41636,10 +43629,10 @@ Default: false
.SS \-\-local\-zero\-size\-links
.PP
Assume the Stat size of links is zero (and read them instead)
-(Deprecated)
+(deprecated).
.PP
Rclone used to use the Stat size of links as the link size, but this
-fails in quite a few places
+fails in quite a few places:
.IP \[bu] 2
Windows
.IP \[bu] 2
@@ -41647,7 +43640,7 @@ On some virtual filesystems (such ash LucidLink)
.IP \[bu] 2
Android
.PP
-So rclone now always reads the link
+So rclone now always reads the link.
.IP \[bu] 2
Config: zero_size_links
.IP \[bu] 2
@@ -41658,7 +43651,7 @@ Type: bool
Default: false
.SS \-\-local\-unicode\-normalization
.PP
-Apply unicode NFC normalization to paths and filenames
+Apply unicode NFC normalization to paths and filenames.
.PP
This flag can be used to normalize file names into unicode NFC form that
are read from the local filesystem.
@@ -41682,7 +43675,7 @@ Type: bool
Default: false
.SS \-\-local\-no\-check\-updated
.PP
-Don\[aq]t check to see if the files change during upload
+Don\[aq]t check to see if the files change during upload.
.PP
Normally rclone checks the size and modification time of files as they
are being uploaded and aborts with a message which starts \[dq]can\[aq]t
@@ -41746,7 +43739,7 @@ Type: bool
Default: false
.SS \-\-local\-case\-insensitive
.PP
-Force the filesystem to report itself as case insensitive
+Force the filesystem to report itself as case insensitive.
.PP
Normally the local backend declares itself as case insensitive on
Windows/macOS and case sensitive for everything else.
@@ -41761,7 +43754,7 @@ Type: bool
Default: false
.SS \-\-local\-no\-preallocate
.PP
-Disable preallocation of disk space for transferred files
+Disable preallocation of disk space for transferred files.
.PP
Preallocation of disk space helps prevent filesystem fragmentation.
However, some virtual filesystem layers (such as Google Drive File
@@ -41778,7 +43771,7 @@ Type: bool
Default: false
.SS \-\-local\-no\-sparse
.PP
-Disable sparse files for multi\-thread downloads
+Disable sparse files for multi\-thread downloads.
.PP
On Windows platforms rclone will make sparse files when doing
multi\-thread downloads.
@@ -41795,7 +43788,7 @@ Type: bool
Default: false
.SS \-\-local\-no\-set\-modtime
.PP
-Disable setting modtime
+Disable setting modtime.
.PP
Normally rclone updates modification time of files after they are done
uploading.
@@ -41816,7 +43809,7 @@ Default: false
.PP
This sets the encoding for the backend.
.PP
-See: the encoding section in the
+See the encoding section in the
overview (https://rclone.org/overview/#encoding) for more info.
.IP \[bu] 2
Config: encoding
@@ -41865,6 +43858,465 @@ Options:
.IP \[bu] 2
\[dq]error\[dq]: return an error based on option value
.SH Changelog
+.SS v1.57.0 \- 2021\-11\-01
+.PP
+See commits (https://github.com/rclone/rclone/compare/v1.56.0...v1.57.0)
+.IP \[bu] 2
+New backends
+.RS 2
+.IP \[bu] 2
+Sia: for Sia decentralized cloud (Ian Levesque, Matthew Sevey, Ivan
+Andreev)
+.IP \[bu] 2
+Hasher: caches hashes and enable hashes for backends that don\[aq]t
+support them (Ivan Andreev)
+.RE
+.IP \[bu] 2
+New commands
+.RS 2
+.IP \[bu] 2
+lsjson \-\-stat: to get info about a single file/dir and
+\f[C]operations/stat\f[R] api (Nick Craig\-Wood)
+.IP \[bu] 2
+config paths: show configured paths (albertony)
+.RE
+.IP \[bu] 2
+New Features
+.RS 2
+.IP \[bu] 2
+about: Make human\-readable output more consistent with other commands
+(albertony)
+.IP \[bu] 2
+build
+.RS 2
+.IP \[bu] 2
+Use go1.17 for building and make go1.14 the minimum supported (Nick
+Craig\-Wood)
+.IP \[bu] 2
+Update Go to 1.16 and NDK to 22b for Android builds (x0b)
+.RE
+.IP \[bu] 2
+config
+.RS 2
+.IP \[bu] 2
+Support hyphen in remote name from environment variable (albertony)
+.IP \[bu] 2
+Make temporary directory user\-configurable (albertony)
+.IP \[bu] 2
+Convert \f[C]\-\-cache\-dir\f[R] value to an absolute path (albertony)
+.IP \[bu] 2
+Do not override MIME types from OS defaults (albertony)
+.RE
+.IP \[bu] 2
+docs
+.RS 2
+.IP \[bu] 2
+Toc styling and header levels cleanup (albertony)
+.IP \[bu] 2
+Extend documentation on valid remote names (albertony)
+.IP \[bu] 2
+Mention make for building and cmount tag for macos (Alex Chen)
+.IP \[bu] 2
+\&...and many more contributions to numerous to mention!
+.RE
+.IP \[bu] 2
+fs: Move with \f[C]\-\-ignore\-existing\f[R] will not delete skipped
+files (Nathan Collins)
+.IP \[bu] 2
+hashsum
+.RS 2
+.IP \[bu] 2
+Treat hash values in sum file as case insensitive (Ivan Andreev)
+.IP \[bu] 2
+Don\[aq]t put \f[C]ERROR\f[R] or \f[C]UNSUPPORTED\f[R] in output (Ivan
+Andreev)
+.RE
+.IP \[bu] 2
+lib/encoder: Add encoding of square brackets (Ivan Andreev)
+.IP \[bu] 2
+lib/file: Improve error message when attempting to create dir on
+nonexistent drive on windows (albertony)
+.IP \[bu] 2
+lib/http: Factor password hash salt into options with default (Nolan
+Woods)
+.IP \[bu] 2
+lib/kv: Add key\-value database api (Ivan Andreev)
+.IP \[bu] 2
+librclone
+.RS 2
+.IP \[bu] 2
+Add \f[C]RcloneFreeString\f[R] function (albertony)
+.IP \[bu] 2
+Free strings in python example (albertony)
+.RE
+.IP \[bu] 2
+log: Optionally print pid in logs (Ivan Andreev)
+.IP \[bu] 2
+ls: Introduce \f[C]\-\-human\-readable\f[R] global option to print
+human\-readable sizes (albertony)
+.IP \[bu] 2
+ncdu: Introduce key \f[C]u\f[R] to toggle human\-readable (albertony)
+.IP \[bu] 2
+operations: Add \f[C]rmdirs \-v\f[R] output (Justin Winokur)
+.IP \[bu] 2
+serve sftp
+.RS 2
+.IP \[bu] 2
+Generate an ECDSA server key as well as RSA (Nick Craig\-Wood)
+.IP \[bu] 2
+Generate an Ed25519 server key as well as ECDSA and RSA (albertony)
+.RE
+.IP \[bu] 2
+serve docker
+.RS 2
+.IP \[bu] 2
+Allow to customize proxy settings of docker plugin (Ivan Andreev)
+.IP \[bu] 2
+Build docker plugin for multiple platforms (Thomas Stachl)
+.RE
+.IP \[bu] 2
+size: Include human\-readable count (albertony)
+.IP \[bu] 2
+touch: Add support for touching files in directory, with recursive
+option, filtering and \f[C]\-\-dry\-run\f[R]/\f[C]\-i\f[R] (albertony)
+.IP \[bu] 2
+tree: Option to print human\-readable sizes removed in favor of global
+option (albertony)
+.RE
+.IP \[bu] 2
+Bug Fixes
+.RS 2
+.IP \[bu] 2
+lib/http
+.RS 2
+.IP \[bu] 2
+Fix bad username check in single auth secret provider (Nolan Woods)
+.IP \[bu] 2
+Fix handling of SSL credentials (Nolan Woods)
+.RE
+.IP \[bu] 2
+serve ftp: Ensure modtime is passed as UTC always to fix timezone
+oddities (Nick Craig\-Wood)
+.IP \[bu] 2
+serve sftp: Fix generation of server keys on windows (albertony)
+.IP \[bu] 2
+serve docker: Fix octal umask (Ivan Andreev)
+.RE
+.IP \[bu] 2
+Mount
+.RS 2
+.IP \[bu] 2
+Enable rclone to be run as mount helper direct from the fstab (Ivan
+Andreev)
+.IP \[bu] 2
+Use procfs to validate mount on linux (Ivan Andreev)
+.IP \[bu] 2
+Correctly daemonize for compatibility with automount (Ivan Andreev)
+.RE
+.IP \[bu] 2
+VFS
+.RS 2
+.IP \[bu] 2
+Ensure names used in cache path are legal on current OS (albertony)
+.IP \[bu] 2
+Ignore \f[C]ECLOSED\f[R] when truncating file handles to fix
+intermittent bad file descriptor error (Nick Craig\-Wood)
+.RE
+.IP \[bu] 2
+Local
+.RS 2
+.IP \[bu] 2
+Refactor default OS encoding out from local backend into shared encoder
+lib (albertony)
+.RE
+.IP \[bu] 2
+Crypt
+.RS 2
+.IP \[bu] 2
+Return wrapped object even with
+\f[C]\-\-crypt\-no\-data\-encryption\f[R] (Ivan Andreev)
+.IP \[bu] 2
+Fix uploads with \f[C]\-\-crypt\-no\-data\-encryption\f[R] (Nick
+Craig\-Wood)
+.RE
+.IP \[bu] 2
+Azure Blob
+.RS 2
+.IP \[bu] 2
+Add \f[C]\-\-azureblob\-no\-head\-object\f[R] (Tatsuya Noyori)
+.RE
+.IP \[bu] 2
+Box
+.RS 2
+.IP \[bu] 2
+Make listings of heavily used directories more reliable (Nick
+Craig\-Wood)
+.IP \[bu] 2
+When doing cleanup delete as much as possible (Nick Craig\-Wood)
+.IP \[bu] 2
+Add \f[C]\-\-box\-list\-chunk\f[R] to control listing chunk size (Nick
+Craig\-Wood)
+.IP \[bu] 2
+Delete items in parallel in cleanup using \f[C]\-\-checkers\f[R] threads
+(Nick Craig\-Wood)
+.IP \[bu] 2
+Add \f[C]\-\-box\-owned\-by\f[R] to only show items owned by the login
+passed (Nick Craig\-Wood)
+.IP \[bu] 2
+Retry \f[C]operation_blocked_temporary\f[R] errors (Nick Craig\-Wood)
+.RE
+.IP \[bu] 2
+Chunker
+.RS 2
+.IP \[bu] 2
+Md5all must create metadata if base hash is slow (Ivan Andreev)
+.RE
+.IP \[bu] 2
+Drive
+.RS 2
+.IP \[bu] 2
+Speed up directory listings by constraining the API listing using the
+current filters (fotile96, Ivan Andreev)
+.IP \[bu] 2
+Fix buffering for single request upload for files smaller than
+\f[C]\-\-drive\-upload\-cutoff\f[R] (YenForYang)
+.IP \[bu] 2
+Add \f[C]\-o config\f[R] option to \f[C]backend drives\f[R] to make
+config for all shared drives (Nick Craig\-Wood)
+.RE
+.IP \[bu] 2
+Dropbox
+.RS 2
+.IP \[bu] 2
+Add \f[C]\-\-dropbox\-batch\-commit\-timeout\f[R] to control batch
+timeout (Nick Craig\-Wood)
+.RE
+.IP \[bu] 2
+Filefabric
+.RS 2
+.IP \[bu] 2
+Make backoff exponential for error_background to fix errors (Nick
+Craig\-Wood)
+.IP \[bu] 2
+Fix directory move after API change (Nick Craig\-Wood)
+.RE
+.IP \[bu] 2
+FTP
+.RS 2
+.IP \[bu] 2
+Enable tls session cache by default (Ivan Andreev)
+.IP \[bu] 2
+Add option to disable tls13 (Ivan Andreev)
+.IP \[bu] 2
+Fix timeout after long uploads (Ivan Andreev)
+.IP \[bu] 2
+Add support for precise time (Ivan Andreev)
+.IP \[bu] 2
+Enable CI for ProFtpd, PureFtpd, VsFtpd (Ivan Andreev)
+.RE
+.IP \[bu] 2
+Googlephotos
+.RS 2
+.IP \[bu] 2
+Use encoder for album names to fix albums with control characters (Parth
+Shukla)
+.RE
+.IP \[bu] 2
+Jottacloud
+.RS 2
+.IP \[bu] 2
+Implement \f[C]SetModTime\f[R] to support modtime\-only changes
+(albertony)
+.IP \[bu] 2
+Improved error handling with \f[C]SetModTime\f[R] and corrupt files in
+general (albertony)
+.IP \[bu] 2
+Add support for \f[C]UserInfo\f[R] (\f[C]rclone config userinfo\f[R])
+feature (albertony)
+.IP \[bu] 2
+Return direct download link from \f[C]rclone link\f[R] command
+(albertony)
+.RE
+.IP \[bu] 2
+Koofr
+.RS 2
+.IP \[bu] 2
+Create direct share link (Dmitry Bogatov)
+.RE
+.IP \[bu] 2
+Pcloud
+.RS 2
+.IP \[bu] 2
+Add sha256 support (Ken Enrique Morel)
+.RE
+.IP \[bu] 2
+Premiumizeme
+.RS 2
+.IP \[bu] 2
+Fix directory listing after API changes (Nick Craig\-Wood)
+.IP \[bu] 2
+Fix server side move after API change (Nick Craig\-Wood)
+.IP \[bu] 2
+Fix server side directory move after API changes (Nick Craig\-Wood)
+.RE
+.IP \[bu] 2
+S3
+.RS 2
+.IP \[bu] 2
+Add support to use CDN URL to download the file (Logeshwaran)
+.IP \[bu] 2
+Add AWS Snowball Edge to providers examples (r0kk3rz)
+.IP \[bu] 2
+Use a combination of SDK retries and rclone retries (Nick Craig\-Wood)
+.IP \[bu] 2
+Fix IAM Role for Service Account not working and other auth problems
+(Nick Craig\-Wood)
+.IP \[bu] 2
+Fix \f[C]shared_credentials_file\f[R] auth after reverting incorrect fix
+(Nick Craig\-Wood)
+.IP \[bu] 2
+Fix corrupted on transfer: sizes differ 0 vs xxxx with Ceph (Nick
+Craig\-Wood)
+.RE
+.IP \[bu] 2
+Seafile
+.RS 2
+.IP \[bu] 2
+Fix error when not configured for 2fa (Fred)
+.RE
+.IP \[bu] 2
+SFTP
+.RS 2
+.IP \[bu] 2
+Fix timeout when doing MD5SUM of large file (Nick Craig\-Wood)
+.RE
+.IP \[bu] 2
+Swift
+.RS 2
+.IP \[bu] 2
+Update OCI URL (David Liu)
+.IP \[bu] 2
+Document OVH Cloud Archive (HNGamingUK)
+.RE
+.IP \[bu] 2
+Union
+.RS 2
+.IP \[bu] 2
+Fix rename not working with union of local disk and bucket based remote
+(Nick Craig\-Wood)
+.RE
+.SS v1.56.2 \- 2021\-10\-01
+.PP
+See commits (https://github.com/rclone/rclone/compare/v1.56.1...v1.56.2)
+.IP \[bu] 2
+Bug Fixes
+.RS 2
+.IP \[bu] 2
+serve http: Re\-add missing auth to http service (Nolan Woods)
+.IP \[bu] 2
+build: Update golang.org/x/sys to fix crash on macOS when compiled with
+go1.17 (Herby Gillot)
+.RE
+.IP \[bu] 2
+FTP
+.RS 2
+.IP \[bu] 2
+Fix deadlock after failed update when concurrency=1 (Ivan Andreev)
+.RE
+.SS v1.56.1 \- 2021\-09\-19
+.PP
+See commits (https://github.com/rclone/rclone/compare/v1.56.0...v1.56.1)
+.IP \[bu] 2
+Bug Fixes
+.RS 2
+.IP \[bu] 2
+accounting: Fix maximum bwlimit by scaling scale max token bucket size
+(Nick Craig\-Wood)
+.IP \[bu] 2
+rc: Fix speed does not update in core/stats (negative0)
+.IP \[bu] 2
+selfupdate: Fix \f[C]\-\-quiet\f[R] option, not quite quiet (yedamo)
+.IP \[bu] 2
+serve http: Fix \f[C]serve http\f[R] exiting directly after starting
+(Cnly)
+.IP \[bu] 2
+build
+.RS 2
+.IP \[bu] 2
+Apply gofmt from golang 1.17 (Ivan Andreev)
+.IP \[bu] 2
+Update Go to 1.16 and NDK to 22b for android/any (x0b)
+.RE
+.RE
+.IP \[bu] 2
+Mount
+.RS 2
+.IP \[bu] 2
+Fix \f[C]\-\-daemon\f[R] mode (Ivan Andreev)
+.RE
+.IP \[bu] 2
+VFS
+.RS 2
+.IP \[bu] 2
+Fix duplicates on rename (Nick Craig\-Wood)
+.IP \[bu] 2
+Fix crash when truncating a just uploaded object (Nick Craig\-Wood)
+.IP \[bu] 2
+Fix issue where empty dirs would build up in cache meta dir (albertony)
+.RE
+.IP \[bu] 2
+Drive
+.RS 2
+.IP \[bu] 2
+Fix instructions for auto config (Greg Sadetsky)
+.IP \[bu] 2
+Fix lsf example without drive\-impersonate (Greg Sadetsky)
+.RE
+.IP \[bu] 2
+Onedrive
+.RS 2
+.IP \[bu] 2
+Handle HTTP 400 better in PublicLink (Alex Chen)
+.IP \[bu] 2
+Clarification of the process for creating custom client_id (Mariano
+Absatz)
+.RE
+.IP \[bu] 2
+Pcloud
+.RS 2
+.IP \[bu] 2
+Return an early error when Put is called with an unknown size (Nick
+Craig\-Wood)
+.IP \[bu] 2
+Try harder to delete a failed upload (Nick Craig\-Wood)
+.RE
+.IP \[bu] 2
+S3
+.RS 2
+.IP \[bu] 2
+Add Wasabi\[aq]s AP\-Northeast endpoint info (hota)
+.IP \[bu] 2
+Fix typo in s3 documentation (Greg Sadetsky)
+.RE
+.IP \[bu] 2
+Seafile
+.RS 2
+.IP \[bu] 2
+Fix 2fa config state machine (Fred)
+.RE
+.IP \[bu] 2
+SFTP
+.RS 2
+.IP \[bu] 2
+Remove spurious error message on
+\f[C]\-\-sftp\-disable\-concurrent\-reads\f[R] (Nick Craig\-Wood)
+.RE
+.IP \[bu] 2
+Sugarsync
+.RS 2
+.IP \[bu] 2
+Fix initial connection after config re\-arrangement (Nick Craig\-Wood)
+.RE
.SS v1.56.0 \- 2021\-07\-20
.PP
See commits (https://github.com/rclone/rclone/compare/v1.55.0...v1.56.0)
@@ -51083,7 +53535,7 @@ bugs (https://github.com/rclone/rclone/issues?q=is%3Aopen+is%3Aissue+label%3Abug
.IP \[bu] 2
Known
issues (https://github.com/rclone/rclone/issues?q=is%3Aopen+is%3Aissue+milestone%3A%22Known+Problem%22)
-.SS Frequently Asked Questions
+.SH Frequently Asked Questions
.SS Do all cloud storage systems support all rclone commands
.PP
Yes they do.
@@ -51325,7 +53777,28 @@ The most common cause of rclone using lots of memory is a single
directory with thousands or millions of files in.
Rclone has to load this entirely into memory as rclone objects.
Each rclone object takes 0.5k\-1k of memory.
-.SS License
+.SS Rclone changes fullwidth Unicode punctuation marks in file names
+.PP
+For example: On a Windows system, you have a file with name
+\f[C]Test\[uFF1A]1.jpg\f[R], where \f[C]\[uFF1A]\f[R] is the Unicode
+fullwidth colon symbol.
+When using rclone to copy this to your Google Drive, you will notice
+that the file gets renamed to \f[C]Test:1.jpg\f[R], where \f[C]:\f[R] is
+the regular (halfwidth) colon.
+.PP
+The reason for such renames is the way rclone handles different
+restricted filenames (https://rclone.org/overview/#restricted-filenames)
+on different cloud storage systems.
+It tries to avoid ambiguous file names as much and allow moving files
+between many cloud storage systems transparently, by replacing invalid
+characters with similar looking Unicode characters when transferring to
+one storage system, and replacing back again when transferring to a
+different storage system where the original characters are supported.
+When the same Unicode characters are intentionally used in file names,
+this replacement strategy leads to unwanted renames.
+Read more
+here (https://rclone.org/overview/#restricted-filenames-caveats).
+.SH License
.PP
This is free software under the terms of MIT the license (check the
COPYING file included with the source code).
@@ -51353,6 +53826,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
\f[R]
.fi
+.SH Authors and contributors
.SS Authors
.IP \[bu] 2
Nick Craig\-Wood <[email protected]>
@@ -51911,7 +54385,7 @@ Micha\[/l] Matczuk <[email protected]>
.IP \[bu] 2
Macavirus <[email protected]>
.IP \[bu] 2
-Abhinav Sharma <[email protected]>
+Abhinav Sharma <[email protected]>
.IP \[bu] 2
.IP \[bu] 2
@@ -51975,8 +54449,7 @@ Sebastian Brandt <[email protected]>
.IP \[bu] 2
Marco Molteni <[email protected]>
.IP \[bu] 2
-Ankur Gupta <[email protected]>
+Ankur Gupta <[email protected]>
.IP \[bu] 2
Maciej Zimnoch <[email protected]>
.IP \[bu] 2
@@ -52269,8 +54742,6 @@ David Sze <[email protected]>
.IP \[bu] 2
cynthia kwok <[email protected]>
.IP \[bu] 2
-Ankur Gupta <[email protected]>
-.IP \[bu] 2
Miron Veryanskiy <[email protected]>
.IP \[bu] 2
@@ -52370,6 +54841,54 @@ Michael Hanselmann <[email protected]>
Chuan Zh <[email protected]>
.IP \[bu] 2
Antoine GIRARD <[email protected]>
+.IP \[bu] 2
+Justin Winokur (Jwink3101) <[email protected]>
+.IP \[bu] 2
+Mariano Absatz (git) <[email protected]>
+.IP \[bu] 2
+Greg Sadetsky <[email protected]>
+.IP \[bu] 2
+.IP \[bu] 2
+.IP \[bu] 2
+vinibali <[email protected]>
+.IP \[bu] 2
+Ken Enrique Morel <[email protected]>
+.IP \[bu] 2
+Justin Hellings <[email protected]>
+.IP \[bu] 2
+Parth Shukla <[email protected]>
+.IP \[bu] 2
+.IP \[bu] 2
+HNGamingUK <[email protected]>
+.IP \[bu] 2
+.IP \[bu] 2
+YenForYang <[email protected]>
+.IP \[bu] 2
+Joda St\[:o]\[ss]er <[email protected]> <[email protected]>
+.IP \[bu] 2
+Logeshwaran <[email protected]>
+.IP \[bu] 2
+Rajat Goel <[email protected]>
+.IP \[bu] 2
+.IP \[bu] 2
+Matthew Sevey <[email protected]>
+.IP \[bu] 2
+Filip Rysavy <[email protected]>
+.IP \[bu] 2
+Ian Levesque <[email protected]>
+.IP \[bu] 2
+Thomas Stachl <[email protected]>
+.IP \[bu] 2
+Dmitry Bogatov <git#[email protected]>
+.IP \[bu] 2
+.IP \[bu] 2
+David Liu <[email protected]>
.SH Contact the rclone project
.SS Forum
.PP