2020-05-16 14:11:55 +00:00
|
|
|
---
|
2020-05-22 10:17:37 +00:00
|
|
|
date: 2020-05-22T09:52:00+01:00
|
2020-05-16 14:11:55 +00:00
|
|
|
title: "rclone backend"
|
|
|
|
description: "Run a backend specific command."
|
|
|
|
slug: rclone_backend
|
|
|
|
url: /commands/rclone_backend/
|
|
|
|
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/backend/ and as part of making a release run "make commanddocs"
|
|
|
|
---
|
2020-05-22 10:17:37 +00:00
|
|
|
# rclone backend
|
2020-05-16 14:11:55 +00:00
|
|
|
|
|
|
|
Run a backend specific command.
|
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## Synopsis
|
2020-05-16 14:11:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
This runs a backend specific command. The commands themselves (except
|
|
|
|
for "help" and "features") are defined by the backends and you should
|
|
|
|
see the backend docs for definitions.
|
|
|
|
|
|
|
|
You can discover what commands a backend implements by using
|
|
|
|
|
|
|
|
rclone backend help remote:
|
|
|
|
rclone backend help <backendname>
|
|
|
|
|
|
|
|
You can also discover information about the backend using (see
|
|
|
|
[operations/fsinfo](/rc/#operations/fsinfo) in the remote control docs
|
|
|
|
for more info).
|
|
|
|
|
|
|
|
rclone backend features remote:
|
|
|
|
|
|
|
|
Pass options to the backend command with -o. This should be key=value or key, eg:
|
|
|
|
|
|
|
|
rclone backend stats remote:path stats -o format=json -o long
|
|
|
|
|
|
|
|
Pass arguments to the backend by placing them on the end of the line
|
|
|
|
|
|
|
|
rclone backend cleanup remote:path file1 file2 file3
|
|
|
|
|
|
|
|
Note to run these commands on a running backend then see
|
|
|
|
[backend/command](/rc/#backend/command) in the rc docs.
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
rclone backend <command> remote:path [opts] <args> [flags]
|
|
|
|
```
|
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## Options
|
2020-05-16 14:11:55 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for backend
|
|
|
|
--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.
|
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## SEE ALSO
|
2020-05-16 14:11:55 +00:00
|
|
|
|
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
|
|
|
|