Docsnap

What is Docsnap

Docsnap is an rsync repository for easy updating of installed FreeBSD documentation (/usr/share/doc). Use the main advantage of rsync - to only transfer the differences!

Repository is updated automatically every hour. It is generously hosted by Juraj Lutter on cvsup.sk.FreeBSD.org machine.

Usage

To update your documentation set:

rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc/

Don't use --delete flag here, there are some items installed into /usr/share/doc by installworld, which would get wiped out. To clean up, use this instead:

rsync -rltvz --delete docsnap.sk.FreeBSD.org::docsnap/??_??\.\* /usr/share/doc/

If you want to update only a subset of documentation, for example, English texts only, use:

rsync -rltvz docsnap.sk.FreeBSD.org::docsnap/en_US.ISO8859-1 /usr/share/doc/

To update only a specific article:

rsync -rltvz docsnap.sk.FreeBSD.org::docsnap/en_US.ISO8859-1/articles/euro /usr/share/doc/en_US.ISO8859-1/articles/

 

Back to Pav's BSD Corner

<pav@FreeBSD.org>