<htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>cdist-dir(1)</title><linkrel="stylesheet"type="text/css"href="docbook-xsl.css"/><metaname="generator"content="DocBook XSL Stylesheets V1.76.1"/></head><body><divxml:lang="en"class="article"title="cdist-dir(1)"lang="en"><divclass="titlepage"><div><div><h2class="title"><aid="id456556"></a>cdist-dir(1)</h2></div><div><divclass="author"><h3class="author"><spanclass="firstname">Nico</span><spanclass="surname">Schottelius</span></h3><codeclass="email"><<aclass="email"href="mailto:nico-cdist--@--schottelius.org">nico-cdist--@--schottelius.org</a>></code></div></div></div><hr/></div><divclass="toc"><p><strong>Table of Contents</strong></p><dl><dt><spanclass="section"><ahref="#_name">1. NAME</a></span></dt><dt><spanclass="section"><ahref="#_synopsis">2. SYNOPSIS</a></span></dt><dt><spanclass="section"><ahref="#_description">3. DESCRIPTION</a></span></dt><dt><spanclass="section"><ahref="#_see_also">4. SEE ALSO</a></span></dt><dt><spanclass="section"><ahref="#_copying">5. COPYING</a></span></dt></dl></div><divclass="section"title="1.NAME"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_name"></a>1.NAME</h2></div></div></div><p>cdist-dir - Poor man’s directory synchronisation</p></div><divclass="section"title="2.SYNOPSIS"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_synopsis"></a>2.SYNOPSIS</h2></div></div></div><p>cdist-dir <push|pull> TARGET_HOST SRC_DIR DST_DIR</p></div><divclass="section"title="3.DESCRIPTION"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_description"></a>3.DESCRIPTION</h2></div></div></div><p>cdist-dir either pushes a local directory to the target host
or pulls a remote directory from a target host to the local host.</p><p>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.</p><p>cdist-dir does not cleanup DST_DIR and thus it may contain old
stuff if used multiple times.</p><p>cdist-dir does not rely on rsync or other high level tools, because
it cannot expect its existence on the local or target host.</p></div><divclass="section"title="4.SEE ALSO"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_see_also"></a>4.SEE ALSO</h2></div></div></div><p>cdist(7)</p></div><divclass="section"title="5.COPYING"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_copying"></a>5.COPYING</h2></div></div></div><p>Copyright (C) 2011 Nico Schottelius. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).</p></div></div></body></html>