1
Fork 0
mirror of https://github.com/RealOrangeOne/notes.git synced 2024-09-28 23:21:34 +01:00

Add rename note

This commit is contained in:
Jake Howard 2021-05-14 20:22:54 +01:00
parent bdcaa9176d
commit 9f82abadb1
Signed by: jake
GPG key ID: 57AFB45680EDD477

15
notes/rename-cli.md Normal file
View file

@ -0,0 +1,15 @@
---
title: Bulk rename files
tags:
- CLI
---
```
rename 's/<in_re>/<out_re>/g' *
```
Useful options:
`-v`: List files renamed
`-n`: Dry-run
`-d`: Act just on the filename