memoir/pages/cli/convert-documents.md

214 B
Executable File

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.