I've multiple files located in /opt/rec/
which I want to rename only some part of it using bash.
Original file name:
WK6LZTPR99999999_dig_2017-07-10 01:55:57.xy
which I want to change all files with in that directory as:
WK6LZTPR99999999_cur_2017-07-10 01:55:57.mp3
Best Answer
Here is
bash
solution.With
mmv
, it's much easier.Or with
zmv
: