#!/bin/bash DIR=~/bin/scripts/logseq-migration find "${1:-.}" -wholename "*.md" -exec "$DIR"/pandoc-cmd '{}' \; -exec rm '{}' \;