mirror of
https://github.com/cupcakearmy/memoir.git
synced 2024-12-22 16:16:31 +00:00
16 lines
174 B
Markdown
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
|