.TH "md_doc_help_kdb-getmeta" 3elektra "Sun May 29 2016" "Version 0.8.14" "Elektra" \" -*- nroff -*- .ad l .nh .SH NAME md_doc_help_kdb-getmeta \- kdb-getmeta(1) -- Get the value of a meta key stored in the key database \fCkdb getmeta \fP .PP Where \fCkey-name\fP is the full path to the key and \fCmeta-name\fP is the name of the meta key the user would like to access\&. .PP .SS "DESCRIPTION" .PP This command is used to print the value of a meta key\&. A meta key is information stored in a key which describes that key\&. .PP The handling of cascading \fCkey-name\fP does not differ to \fCkdb get\fP\&. Make sure to use the namespace \fCspec\fP, if you want meta-data from there\&. .PP .SS "RETURN VALUES" .PP This command will return the following values as an exit status: .IP "\(bu" 2 0: No errors\&. .IP "\(bu" 2 1: Key not found\&. (Invalid \fCpath\fP) .IP "\(bu" 2 2: Meta key not found\&. (Invalid \fCmeta-name\fP)\&. .PP .PP .SS "OPTIONS" .PP .IP "\(bu" 2 \fC-H\fP, \fC--help\fP: Show the man page\&. .IP "\(bu" 2 \fC-V\fP, \fC--version\fP: Print version info\&. .IP "\(bu" 2 \fC-n\fP, \fC--no-newline\fP: Suppress the newline at the end of the output\&. .PP .PP .SS "EXAMPLES" .PP To get the value of a meta key called \fCdescription\fP stored in the key \fCspec/example/key\fP: \fCkdb getmeta spec/example/key description\fP .PP To get the value of meta key called \fCoverride/#0\fP stored in the key \fCspec/example/dir/key\fP: \fCkdb getmeta spec/example/dir/key 'override/#0'\fP .PP .SS "SEE ALSO" .PP .IP "\(bu" 2 How to set meta data: \fBkdb-setmeta(1)\fP .IP "\(bu" 2 For more about cascading keys see \fBelektra-cascading(7)\fP .IP "\(bu" 2 For general information about meta data see \fBelektra-meta-data(7)\fP .PP