aboutsummaryrefslogtreecommitdiff
path: root/c2x
blob: 7d6a1b0ba74a351ad0857e6c71c40f969028f141 (plain)
1
2
3
4
5
6
7
#!/bin/sh
rsync -avz ./"${1}" ./"${1}_xhtml"
cd ./"${1}_xhtml" || exit
for file in $(find ./* | grep ".gmi" | sed 's/.gmi//'); do
	g2x < "./${file}.gmi" > "./${file}.html"
	rm "./${file}.gmi"
done