aboutsummaryrefslogtreecommitdiff
path: root/c2x
blob: 195c922acc93fbd1048e532d1ac241960e42813e (plain)
1
2
3
4
5
6
7
#!/bin/sh
rsync ./"${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