Back to Rclone

rclone config unset

docs/content/commands/rclone_config_unset.md

1.75.01.1 KB
Original Source

rclone config unset

Unset options in an existing remote.

Synopsis

Remove one or more options from an existing remote. The options to remove should be passed in as a list of key names.

For example, to remove the client_id and client_secret options from a remote of name myremote you would do:

sh
rclone config unset myremote client_id client_secret

This removes the keys from the config file entirely, which is different from setting them to an empty string with config update. Removing a key restores rclone's default behaviour for that option, whereas setting it to an empty string overrides the default with an empty value.

You can't unset the type of a remote - use config delete to remove the whole remote instead.

rclone config unset name [key]+ [flags]

Options

  -h, --help   help for unset

See the global flags page for global options not listed here.

See Also

<!-- markdownlint-capture --> <!-- markdownlint-disable ul-style line-length --> <!-- markdownlint-restore -->