> Local copy of the website is easy to get with OpenBSD provided tools. > $ cvs -d [email protected]:/cvs checkout -P www/faq
Cool. This example deserves its place in the FAQ itself, in my humble unsolicited opinion :) >> something like: https://openbsd.org/faq/faq_x.x.tar.gz! > Considered. Rejected. Pity. If there was a FAQ install set or `pkg_add openbsd-faq` package, I'd wholeheartedly install one on my laptop > wget -r -l 2 --wait=5 --page-requisites --timestamping --convert-links > www.openbsd.org/faq The command above doesn't scope itself to /faq and downloads parent dir stuff as well. I'd suggest the following command: wget \ --recursive \ --level=2 \ --no-parent \ --no-host-directories \ --cut-dirs=1 \ --wait=5 \ --timestamping \ --reject robots.txt \ www.openbsd.org/faq/ You may alternatively wish to `pkg_add wget2` and use that. After it has finished, I get: pkg_add colortree && colortree . ├── current.html ├── faq1.html ├── faq10.html ├── faq11.html ├── faq13.html ├── faq14.html ├── faq15.html ├── faq16.html ├── faq17.html ├── faq4.html ├── faq5.html ├── faq6.html ├── faq7.html ├── index.html ├── pf │ ├── anchors.html │ ├── authpf.html │ ├── carp.html │ ├── config.html │ ├── example1.html │ ├── filter.html │ ├── ftp.html │ ├── index.html │ ├── logging.html │ ├── macros.html │ ├── nat.html │ ├── options.html │ ├── perf.html │ ├── pools.html │ ├── rdr.html │ ├── shortcuts.html │ ├── tables.html │ └── tagging.html ├── ports │ ├── differences.html │ ├── guide.html │ ├── index.html │ ├── ports.html │ ├── specialtopics.html │ └── testing.html ├── upgrade78.html └── upgrade79.html 2 directories, 40 files `--convert-links` doesn't work as intended for me in both wget and wget2. But links in the FAQ are already relative and don't need any treatment for local offline consumption

