Just found out that MacOS Catalina’s new shell (zsh) doesn’t require me to remove spaces from file names for my simple Markdown to PDF shell command — nice!
for f in *.md; do pandoc $f -o ./Archive/${f%.md}.pdf -t latex; done
I'm Ryan M. Tech geek. Avgeek. California Native plant gardener. All photos on this blog, unless stated otherwise, are mine. Cameras: Fujifilm X-T5 and X100V. Views are my own.
Just found out that MacOS Catalina’s new shell (zsh) doesn’t require me to remove spaces from file names for my simple Markdown to PDF shell command — nice!
for f in *.md; do pandoc $f -o ./Archive/${f%.md}.pdf -t latex; done