Elektra
0.8.25
|
kdb find <regex>
Where regex
is a regular expression which contains the key to find.
This command will list the name of all keys that contain regex
.
-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.-v
, --verbose
: Explain what is happening.-0
, --null
: Use binary 0 termination.```
dump
plugin, since some storage plugins, e.g. INI,/tests/find/tests/foo
sudo kdb mount find.ecf /tests/find dump
kdb set /tests/find/tests val1 kdb set /tests/find/tests/foo/bar val2 kdb set /tests/find/tests/fizz/buzz fizzbuzz kdb set /tests/find/tostfizz val3 kdb set /tests/find/tust/level lvl
kdb find '/tests/find/t[eo]' #> user/tests/find/tests #> user/tests/find/tests/fizz/buzz #> user/tests/find/tests/foo/bar #> user/tests/find/tostfizz
kdb find 'fizz' #> user/tests/find/tests/fizz/buzz #> user/tests/find/tostfizz
kdb rm -r /tests/find sudo kdb umount /tests/find ```
path
then you should consider the kdb-export(1) command.