1
0
mirror of https://github.com/moparisthebest/rswiki synced 2024-12-21 23:28:55 -05:00

Add mediawiki2md.sh in prep of gutenberg book

This commit is contained in:
Travis Burtrum 2018-07-01 16:53:39 -04:00
parent 7b84978e31
commit dde9f6b032

2
mediawiki2md.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec find ./ -iname "*.mediawiki" -type f -exec bash -c 'pandoc "${0}" -o "${0%.mediawiki}.md" && rm "${0}"' {} \;