Last active
March 17, 2024 03:06
-
-
Save thomaspoignant/7cbae830acefb923e9d3fd373420f2f5 to your computer and use it in GitHub Desktop.
Dokuwiki, export all pages with one command line. The result is all the wiki pages and files in html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget \ | |
--recursive \ | |
--no-clobber \ | |
--page-requisites \ | |
--no-check-certificate \ | |
--html-extension \ | |
--convert-links \ | |
--restrict-file-names=windows \ | |
--no-parent \ | |
--domains yourdomain.com \ | |
--reject-regex 'do=|feed.php' | |
http://username:password@wiki.yourdomain.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for basic auth it works with
wget \ --recursive \ --no-clobber \ --page-requisites \ --no-check-certificate \ --html-extension \ --convert-links \ --restrict-file-names=windows \ --no-parent \ --domains yourdomain.com \ --reject-regex 'do=|feed.php' \ https://username:password@wiki.yourdomain.com
otherwise you need to set the auth cookie
DokuWiki
with--header