From 3cf23460721f2f611f9055790184001bff636871 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 16 Mar 2011 10:07:30 +0100 Subject: [PATCH] [DOC] add manpage for cdist-dir Signed-off-by: Nico Schottelius --- Makefile | 1 + doc/man/cdist-dir.text | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 doc/man/cdist-dir.text diff --git a/Makefile b/Makefile index b780a983..3bb33226 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,7 @@ MANGENERATED=$(MANDIR)/cdist-reference.text MANSRC=$(MANDIR)/cdist.text \ $(MANDIR)/cdist-bin-transfer.text \ $(MANDIR)/cdist-config.text \ + $(MANDIR)/cdist-dir.text \ $(MANDIR)/cdist-env.text \ $(MANDIR)/cdist-deploy-to.text \ $(MANDIR)/cdist-explorer.text \ diff --git a/doc/man/cdist-dir.text b/doc/man/cdist-dir.text new file mode 100644 index 00000000..0f4a2e68 --- /dev/null +++ b/doc/man/cdist-dir.text @@ -0,0 +1,36 @@ +cdist-dir(1) +============ +Nico Schottelius + + +NAME +---- +cdist-dir - Poor man's directory synchronisation + + +SYNOPSIS +-------- +cdist-dir TARGET_HOST SRC_DIR DST_DIR + + +DESCRIPTION +----------- +cdist-dir either pushes a local directory to the target host +or pulls a remote directory from a target host to the local host. + +In the push case SRC_DIR is local, in the pull case remote. +In the push case DST_DIR is remote, in the pull case local. + +cdist-dir does not cleanup DST_DIR and thus it may contain old +stuff if used multiple times. + + +SEE ALSO +-------- +cdist(7) + + +COPYING +------- +Copyright \(C) 2011 Nico Schottelius. Free use of this software is +granted under the terms of the GNU General Public License version 3 (GPLv3).