Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 188 Bytes

rename.md

File metadata and controls

14 lines (10 loc) · 188 Bytes

show files

-n

replace

rename s/"SEARCH"/"REPLACE"/g *

prefix

rename s/'^'/'MyPrefix'/ *

suffix

rename s/'$'/'MySuffix'/ *

using bash

for f in * ; do mv "$f" "pre_$f" ; done