I wanted to organize my mp3 files and rename them using the pattern track##.mp3
where ##
is track number.
I need a regular expression that selects the track number, which is the first two characters in the old name.
Example:
01 - Album Artist - track name.mp3
and output should be
track01.mp3
How do I do this? I am trying some find with sed command or just plane rename, but I am not successful. Regular expression is too complicated for me.