mirror of
https://github.com/onkelbeh/cheatsheets.git
synced 2026-01-13 14:32:03 +01:00
- Update some sheets which have very long sections - Remove `layout: 2017/sheet` (everything has the same layout now) - Remove outdated sheets
664 B
664 B
title, category
| title | category |
|---|---|
| rename | CLI |
Installation
brew install rename
See: http://plasmasturm.org/code/rename/
Regex substitution
rename 's/hello/world/' *.txt
Rename hello.txt to world.txt and so on in *.txt.
Replace extension
rename -s .png .jpg.png *.png
Replace .png with .jpg.png in *.png.
Options
| Option | Description |
|---|---|
-n |
Simulation |
-l |
Symlink instead of rename |
-i |
Interactive |
Also see
- Rename website (plasmasturm.org)