Open your eyes to world and enjoy linux!
This sheet tells you all the funky stuff bash does for you!
This sheet tells you all the funky stuff bash does for you!
Dead simple.
How do I rename
hello_kitty2.png hello_kitty3.png
to
byebye_kitty2.png byebye_kitty3.png
I think it’s simple, but it’s hard to Google for this kind of thing unless you already know.
You can do this with a simple one-liner with bash
for file in $(ls hello_ki*); do mv "$file" "${file/hello/byebye}"; done