.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "KDB\-GETMETA" "1" "2015-11-19" "" "" . .SH "NAME" \fBkdb\-getmeta\fR \- Get the value of a meta key stored in the key database . .SH "SYNOPSIS" \fBkdb getmeta \fR . .P Where \fBkey\-name\fR is the full path to the key and \fBmeta\-name\fR is the name of the meta key the user would like to access\. . .SH "DESCRIPTION" 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\. . .P The handling of cascading \fBkey\-name\fR does not differ to \fBkdb get\fR\. Make sure to use the namespace \fBspec\fR, if you want meta\-data from there\. . .SH "RETURN VALUES" This command will return the following values as an exit status: . .br * 0: No errors\. * 1: Key not found\. (Invalid \fBpath\fR) * 2: Meta key not found\. (Invalid \fBmeta\-name\fR)\. . .SH "OPTIONS" . .IP "\(bu" 4 \fB\-H\fR, \fB\-\-help\fR: Show the man page\. . .IP "\(bu" 4 \fB\-V\fR, \fB\-\-version\fR: Print version info\. . .IP "\(bu" 4 \fB\-n\fR, \fB\-\-no\-newline\fR: Suppress the newline at the end of the output\. . .IP "" 0 . .SH "EXAMPLES" To get the value of a meta key called \fBdescription\fR stored in the key \fBspec/example/key\fR: \fBkdb getmeta spec/example/key description\fR . .P To get the value of meta key called \fBoverride/#0\fR stored in the key \fBspec/example/dir/key\fR: \fBkdb getmeta spec/example/dir/key "override/#0"\fR . .SH "SEE ALSO" . .IP "\(bu" 4 How to set meta data: kdb\-setmeta(1) \fIkdb\-setmeta\.md\fR . .IP "\(bu" 4 For more about cascading keys see elektra\-cascading(7) \fIelektra\-cascading\.md\fR . .IP "\(bu" 4 For general information about meta data see elektra\-meta\-data(7) \fIelektra\-meta\-data\.md\fR . .IP "" 0