sed - How to rename multiple file names using unix command -


i have list of file name like

sam.txt ron.txt maria.txt glory.txt 

and need change different name without manually renaming filename

is there sed command perform that?

this might work (gnu sed):

sed 's/.*/mv & new_&/e' file 

Comments