.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.4. .TH ZKTREEUTIL "1" "June 2017" "zktreeutil 0.0" "User Commands" .SH NAME zktreeutil \- manual page for zktreeutil 0.0 .SH SYNOPSIS .B zktreeutil [\fI\,args-and-values\/\fR]\fI\,+\/\fR .SH DESCRIPTION ZK\-tree utility for managing ZK\-tree with XML import/export, viewing diff between live and saved ZK\-tree and performing incremental update of the same. .HP \fB\-\-import\fR or \fB\-I\fR: .IP Imports the zookeeper tree from XML file. Must be specified with \fB\-\-zookeeper\fR AND \fB\-\-xmlfile\fR options. Optionally takes \fB\-\-path\fR for importing subtree .HP \fB\-\-export\fR or \fB\-E\fR: .IP Exports the zookeeper tree to XML file. Must be specified with \fB\-\-zookeeper\fR option. Optionally takes \fB\-\-path\fR for exporting subtree .HP \fB\-\-update\fR or \fB\-U\fR: .IP Updates zookeeper tree with changes from XML file. Update operation is interactive unless specified with \fB\-\-force\fR option. Must be specified with \fB\-\-zookeeper\fR AND \fB\-\-xmlfile\fR options. Optionally takes \fB\-\-path\fR for updating subtree. .HP \fB\-\-diff\fR or \fB\-F\fR: .IP Creates a list of diff actions on ZK tree based on XML data. Must be specified with \fB\-\-zookeeper\fR OR \fB\-\-xmlfile\fR options. Optionally takes \fB\-\-path\fR for subtree diff .HP \fB\-\-dump\fR or \fB\-D\fR: .IP Dumps the entire ZK (sub)tree to standard output. Must be specified with \fB\-\-zookeeper\fR OR \fB\-\-xmlfile\fR options. Optionally takes \fB\-\-path\fR and \fB\-\-depth\fR for dumping subtree. .HP \fB\-\-xmlfile=\fR or \fB\-x\fR : .IP Zookeeper tree\-data XML file. .HP \fB\-\-path=\fR or \fB\-p\fR : .IP Path to the zookeeper subtree rootnode. .HP \fB\-\-depth=\fR or \fB\-d\fR : .IP Depth of the ZK tree to be dumped (ignored for XML dump). .HP \fB\-\-force\fR or \fB\-f\fR: Forces cleanup before import; also used for forceful .IP update. Optionally be specified with \fB\-\-import\fR and \fB\-\-update\fR. .HP \fB\-\-help\fR or \fB\-h\fR: .IP prints this message .HP \fB\-\-zookeeper=\fR or \fB\-z\fR : .IP specifies information to connect to zookeeper.