Files
rsync/rsync-web/examples.html
Andrew Tridgell 0af88421dc import rsync-web website content as a subdirectory
Fold the standalone rsync-web repo into the rsync source tree as
rsync-web/, eliminating the sibling-checkout convention and the
drift it causes between the release-time HTML snapshot in
../release/rsync-html and the source of truth in ../rsync-web.

Flat-copy import (no git history merge).  The standalone repo at
github.com/RsyncProject/rsync-web is retained for historical
reference and will be archived once the in-tree copy proves itself.

Add /rsync-web/ to .gitattributes with export-ignore so the
website content does not bloat the release source tarball
produced by 'git archive' in packaging/release.py step_7_tarball.

A follow-up commit repoints HTML_SRC in packaging/release.py at
the new in-tree location.
2026-05-20 15:36:44 +10:00

55 lines
1.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>rsync examples</TITLE>
</HEAD>
<!--#include virtual="header.html" -->
<H2 align="center">rsync examples</H2>
If you have an interesting example of how you use rsync then please
submit it to the
<A HREF="mailto:rsync-bugs@samba.org">rsync-bugs@samba.org</A>
for inclusion on this page.
<h2>backup to a central backup server with 7 day incremental</h2>
<pre><small>
<!--#include virtual="backup.txt" -->
</small></pre>
<H2>backup to a spare disk</H2>
<pre><small>
<!--#include virtual="horus.txt" -->
</small></pre>
<H2>mirroring vger CVS tree</H2>
<pre><small>
<!--#include virtual="vger.txt" -->
</small></pre>
<H2>automated backup at home</H2>
<pre><small>
<!--#include virtual="susan.txt" -->
</small></pre>
<H2>Fancy footwork with remote file lists</H2>
<pre><small>
One little known feature of rsync is the fact that when run over a
remote shell (such as rsh or ssh) you can give any shell command as
the remote file list. The shell command is expanded by your remote
shell before rsync is called. For example, see if you can work out
what this does:
rsync -avR remote:'`find /home -name "*.[ch]"`' /tmp/
note that that is backquotes enclosed by quotes (some browsers don't
show that correctly).
</small></pre>
<!--#include virtual="footer.html" -->