cat < mirror.html website mirror instructions

RRDtool Mirror Source

Run the following commands once a day.

#!/bin/sh
cd /YOUR/MIRROR/TREE
wget --no-host-directories --timestamping --recursive --level=1 http://oss.oetiker.ch/rrdtool/mirror.html

Create a file called hoster.html like that:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<style type="text/css">
body {
    margin: 0px;
    padding: 0px;
    background-color: #f0f0f0;
    font-family: sans-serif;
    font-size: 8px;
}

#hoster a {
    color: black;
    text-decoration: none;
}
</style>
</head>
<body>
<div id="hoster">
mirror by <a target="_top" href="http://YOUR.SITE">Company</a>
</div>
</body>
</html>
HEAD for xt in html png gif ico css htaccess js; do find . -name "*.$xt" -not -name stat"*" -not -name "hoster*" -exec printf '.' \; >> mirror.html done echo "" >> mirror.html rsync --copy-unsafe-links --verbose --times --delete --exclude pub --exclude='*~' --exclude=".svn" --exclude=".condor" -r . oposs@oss.oetiker.ch:public_html/rrdtool/ #rsync --copy-unsafe-links --verbose --times --delete --exclude pub --exclude='*~' --exclude=".svn" --exclude=".condor" -r . /home/oetiker/public_html/webtools/rrdtool #rsync --links --verbose --times --delete --exclude pub --exclude='*~' --rsh=ssh -r . tobi@ipn.caida.org:/ipn/web/Tools/RRDtool