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

16 lines
174 B
Markdown

---
tags:
- rename
- regex
---
# `rename`
`rename` is a command to rename based on regex.
```bash
rename 's/.odt.md/.md/' *.odt.md
```
> Use the `-n` flag to dry run