1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-08-15 13:34:53 +02:00
This commit is contained in:
Rico Sta. Cruz
2013-01-08 16:37:25 +08:00
parent 6a11b57904
commit 1288ba807c
10 changed files with 228 additions and 45 deletions

22
rename.md Normal file
View File

@@ -0,0 +1,22 @@
title: rename
---
### Installation
# http://plasmasturm.org/code/rename/
brew install rename
### Examples
# Rename hello.txt to world.txt and so on
rename 's/hello/world/' *.txt
# Search and replace
rename -s .png .jpg.png *.png
### Options
-n # Simulation
-l # Symlink instead of rename
-i # Interactive