Pandoc doesn't make it easy to work with directories (why? idk). So I created a shell script that recursively scans all subdirectories in a given directory and converts all the files in them one by one.
- Install Pandoc
- Download and run "Pandoc-Directory-Convert.sh"
$ sh Pandoc-Directory-Convert.sh directory from to
$ sh Pandoc-Directory-Convert.sh directory from to delete
$ sh Pandoc-Directory-Convert.sh test docx markdown true delete
$ sh Pandoc-Directory-Convert.sh "C:\Users\user\Downloads\Test" docx markdown
- initial_path - directory to be converted
- from - extension of files that you want to convert from DOESN'T WORK WITH PANDOC EXTENSIONS
- to - extension of files that you want to convert to IN PANDOC
- delete - to delete the files used that you converted from. Make sure to backup your files before you do this.