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
Tech geek. GIS pro. Avgeek. California Native plant gardener. Cameras: Fujifilm X-T5 and X100V. Views are my own. Follow me on Mastodon: @rpmik@avgeek.social
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