v1.52

rclone backend

Run a backend-specific command.

Synopsis

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

  1. rclone backend help remote:
  2. rclone backend help <backendname>

You can also discover information about the backend using (see operations/fsinfo in the remote control docs for more info).

  1. rclone backend features remote:

Pass options to the backend command with -o. This should be key=value or key, e.g.:

  1. 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

  1. rclone backend cleanup remote:path file1 file2 file3

Note to run these commands on a running backend then see backend/command in the rc docs.

  1. rclone backend <command> remote:path [opts] <args> [flags]

Options

  1. -h, --help help for backend
  2. --json Always output in JSON format
  3. -o, --option stringArray Option in the form name=value or name

Options shared with other commands are described next. See the global flags page for global options not listed here.

Important Options

Important flags useful for most commands

  1. -n, --dry-run Do a trial run with no permanent changes
  2. -i, --interactive Enable interactive mode
  3. -v, --verbose count Print lots more stuff (repeat for more)

See Also

  • rclone - Show help for rclone commands, flags and backends.