I’ve searched high and low to try and work out how to batch process pandoc.
How do I convert a folder and nested folders containing html files to markdown?
I’m using os x 10.6.8
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can apply any command across the files in a directory tree using
find:would run
pandocon all files with a.mdsuffix, creating a file with a.md.txtsuffix. (You will need a wrapper script if you want to get a.txtsuffix without the.md, or do ugly things with subshell invocations.){}in any word from-execto the terminating\;will be replaced by the filename.