5 lines
288 B
Bash
Executable File
5 lines
288 B
Bash
Executable File
#!/bin/sh
|
|
# Export all .org to GFM and dokuwiki via pandoc
|
|
find ~/Org/ -iname "*.org" -type f -exec sh -c 'pandoc "${0}" -t "markdown_github" --atx-headers -o "${0%.org}.md"' {} \;
|
|
find ~/Org/ -iname "*.org" -type f -exec sh -c 'pandoc "${0}" -t "dokuwiki" -o "${0%.org}.dokuwiki"' {} \;
|