logseq-to-org-roam/preproc

7 lines
371 B
Text
Raw Normal View History

2024-04-20 09:49:30 +00:00
#!/bin/bash
# Overall preprocessing of Logseq markdown before converting to org
scriptdir=~/bin/scripts/logseq-migration
find "${1:-.}" -wholename "*.md" -exec "$scriptdir"/properties '{}' \; -exec "$scriptdir"/backtick '{}' \; -exec "$scriptdir"/delete '{}' \; -exec "$scriptdir"/headings '{}' \; -exec "$scriptdir"/links '{}' \; -exec "$scriptdir"/namespaces '{}' \;