Skip to content

Instantly share code, notes, and snippets.

@udkl
Created September 22, 2020 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save udkl/773788d46c4278486e8b81a681cc47ab to your computer and use it in GitHub Desktop.
Save udkl/773788d46c4278486e8b81a681cc47ab to your computer and use it in GitHub Desktop.
sh in the terminal - looping through all files in the current dir and running a command
for i in *.html ; do echo "$i" && pandoc -s ./$i -o ./output/$i.md ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment