Dear all,
I am looking for a simplified solution for renaming files through shell scripts.
I need the file names in continuous numerical order, i.e. from
M?L01.mp4 to M?L30.mp4
So, the file
M2L01.mp4 should be renamed to M2L11.mp4 and
M3L01.mp4 should be renamed to M3L21.mp4
M1L01.mp4
M1L02.mp4
M1L03.mp4
M1L04.mp4
M1L05.mp4
M1L06.mp4
M1L07.mp4
M1L08.mp4
M1L09.mp4
M1L10.mp4
* M2L01.mp4
M2L02.mp4
M2L03.mp4
M2L04.mp4
M2L05.mp4
M2L06.mp4
M2L07.mp4
M2L08.mp4
M2L09.mp4
M2L10.mp4
* M3L01.mp4
M3L02.mp4
M3L03.mp4
M3L04.mp4
M3L05.mp4
M3L06.mp4
M3L07.mp4
M3L08.mp4
M3L09.mp4
M3L10.mp4
Any help would be appreciated.
--
S. Baskar
Blog: https://linuxbaskar.wordpress.com
Twitter : http://twitter.com/linuxbaskar
LinkedIN : http://www.linkedin.com/pub/baskar-selvaraj/21/881/b29