$darkmode
Elektra 0.11.0
|
kdb mv <source> <dest>
Where source
is the path of the key(s) you want to copy and dest
is the path where you would like to move the key(s) to. Note that when using the -r
flag, source
as well as all of the keys below it will be moved.
This command moves key(s) in the Key database. You can move keys to other paths within the database.
Neither source
nor dest
can be a cascading key. (Start with /
). Make sure to select a namespace.
This command will return the following values as an exit status:
-H
, --help
: Show the man page.-V
, --version
: Print version info.-p
, --profile <profile>
: Use a different kdb profile.-C
, --color <when>
: Print never/auto(default)/always colored output.-r
, --recursive
: Work in a recursive mode.-v
, --verbose
: Explain what is happening. Prints additional information in case of errors/warnings.-d
, --debug
: Give debug information. Prints additional debug information in case of errors/warnings.To move multiple keys:
kdb mv -r user:/example1 user:/example2
To move a single key:
kdb mv user:/example/key1 user:/example/key2