\label{doc_help_kdb-mv_md_md_doc_help_kdb_mv}%
\Hypertarget{doc_help_kdb-mv_md_md_doc_help_kdb_mv}%
 \hypertarget{doc_help_kdb-mv_md_autotoc_md3001}{}\doxysection{SYNOPSIS}\label{doc_help_kdb-mv_md_autotoc_md3001}
{\ttfamily kdb mv $<$source$>$ $<$dest$>$}

Where {\ttfamily source} is the path of the key(s) you want to copy and {\ttfamily dest} is the path where you would like to move the key(s) to. Note that when using the {\ttfamily -\/r} flag, {\ttfamily source} as well as all of the keys below it will be moved.\hypertarget{doc_help_kdb-mv_md_autotoc_md3002}{}\doxysection{DESCRIPTION}\label{doc_help_kdb-mv_md_autotoc_md3002}
This command moves key(s) in the Key database. You can move keys to other paths within the database.\hypertarget{doc_help_kdb-mv_md_autotoc_md3003}{}\doxysection{LIMITATIONS}\label{doc_help_kdb-mv_md_autotoc_md3003}
Neither {\ttfamily source} nor {\ttfamily dest} can be a cascading key. (Start with {\ttfamily /}). Make sure to select a namespace.\hypertarget{doc_help_kdb-mv_md_autotoc_md3004}{}\doxysection{RETURN VALUES}\label{doc_help_kdb-mv_md_autotoc_md3004}
This command will return the following values as an exit status\+:


\begin{DoxyItemize}
\item 0\+: No errors.
\item 1-\/10\+: standard exit codes, see \mbox{\hyperlink{doc_help_kdb_md}{kdb(1)}}
\item 11\+: No key to move found.
\end{DoxyItemize}\hypertarget{doc_help_kdb-mv_md_autotoc_md3005}{}\doxysection{OPTIONS}\label{doc_help_kdb-mv_md_autotoc_md3005}

\begin{DoxyItemize}
\item {\ttfamily -\/H}, {\ttfamily -\/-\/help}\+: Show the man page.
\item {\ttfamily -\/V}, {\ttfamily -\/-\/version}\+: Print version info.
\item {\ttfamily -\/p}, {\ttfamily -\/-\/profile $<$profile$>$}\+: Use a different kdb profile.
\item {\ttfamily -\/C}, {\ttfamily -\/-\/color $<$when$>$}\+: Print never/auto(default)/always colored output.
\item {\ttfamily -\/r}, {\ttfamily -\/-\/recursive}\+: Work in a recursive mode.
\item {\ttfamily -\/v}, {\ttfamily -\/-\/verbose}\+: Explain what is happening. Prints additional information in case of errors/warnings.
\item {\ttfamily -\/d}, {\ttfamily -\/-\/debug}\+: Give debug information. Prints additional debug information in case of errors/warnings.
\end{DoxyItemize}\hypertarget{doc_help_kdb-mv_md_autotoc_md3006}{}\doxysection{EXAMPLES}\label{doc_help_kdb-mv_md_autotoc_md3006}
To move multiple keys\+:~\newline
 {\ttfamily kdb mv -\/r user\+:/example1 user\+:/example2}

To move a single key\+:~\newline
 {\ttfamily kdb mv user\+:/example/key1 user\+:/example/key2} 