tutes-dump/bin/convert.sh

8 lines
182 B
Bash
Executable File

#!/bin/sh
mkdir ./dump 2> /dev/null
for f in $(find ./site-tutorials -name *.html); do
echo converting $f ...
perl bin/html2docuwiki.pl < $f > dump/$(basename $f).docuwiki
done