Elektra  0.8.25
kdb-mv(1) -- Move keys within the key database

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.

DESCRIPTION

This command moves key(s) in the Key database. You can move keys to other paths within the database.

LIMITATIONS

Neither source nor dest can be a cascading key. (Start with /). Make sure to select a namespace.

RETURN VALUES

This command will return the following values as an exit status:

OPTIONS

EXAMPLES

To move multiple keys:
kdb mv -r user/example1 user/example2

To move a single key:
kdb mv user/example/key1 user/example/key2