memoir/docs/cli/convert-documents.md
2023-02-19 13:34:28 +01:00

259 B

tags
pandoc
find
xargs

Convert documents

find . -name "*.odt" | xargs -I % pandoc % -o %.md

You can add the -p flag to xargs to confirm before executing, useful for testing if what your are doing is actually correct.