Tech /

Wiki To Git





edit SideBar

Wiki To Git

MoinMoin?

Makefile:

WIKI := https://<someurl>/wiki
DOCS := $(wildcard *.moin)
NAMES := $(patsubst %.moin,%,$(DOCS))

default: pull

pull:
	for i in $(NAMES); do \
		curl --netrc-file ~/.netrc "$(WIKI)/$$i?action=raw" | fromdos > $$i.moin ; \
	done

Recent Changes (All) | Edit SideBar Page last modified on 08 August 2019, at 11:48 AM UTC Edit Page | Page History
Powered by PmWiki