vendredi 3 avril 2015

rename command with regular expression is not working.


Vote count:

0




i want to rename files using regex. for example: replace pattern Mod[0-9][0-9] to Mod[0-9][0-9]_temp in files N_Mod10_m.bdf & N_Mod11_n.bdf using below command,


rename 's/(.Mod[0-9][0-9])(..bdf)/$1_temp$2 *


but this is not working.



asked 26 secs ago







rename command with regular expression is not working.

Aucun commentaire:

Enregistrer un commentaire