memoir/pages/cli/rename.md

16 lines
174 B
Markdown
Raw Permalink Normal View History

2023-02-19 12:34:28 +00:00
---
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