0

Having files

foo.png bar.png baz.png

How to rename all of them to the same file name differentiated with an index number?

qux1.png qux2.png qux3.png

Ideally, I am looking for a command that can accept a substitute expression like s/.*\.png/qux<???>.png/ where <???> is the part I am not able to figure out.

Matus
  • 1

0 Answers0