mirror of
https://github.com/cupcakearmy/memoir.git
synced 2024-12-22 16:16:31 +00:00
15 lines
259 B
Markdown
15 lines
259 B
Markdown
---
|
|
tags:
|
|
- pandoc
|
|
- find
|
|
- xargs
|
|
---
|
|
|
|
# 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.
|