mirror of
https://github.com/cupcakearmy/memoir.git
synced 2024-12-23 00:26:28 +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
|