memoir/pages/cli/convert-documents.md

8 lines
214 B
Markdown
Raw Permalink Normal View History

2023-02-19 12:34:28 +00:00
# Convert documents
```bash
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.