regex - renaming files using regular expression with linux -


i have read quite few questions here , on interwebz, file renaming still doesn't work. i've got bunch of files starts follows:

libraryvce_km_library_sumary_s... 

i want remove first instance of library, run command in linux:

rename -v '/\blibrary/' * 

however no files renamed. why not?

i tried this:

rename library '' * 

and seems work.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -