r*****s 发帖数: 985 | 1 Say I have RIMG0001.JPG, RIMG0002.JPG, ... RIMG0100.JPG ...
I want to rename them all to myname0001.jpg, myname0002.jpg ...
Any concise commands/scripts to do so? | i*******n 发帖数: 166 | 2 ls RIMG*.JPG | sed 's/RIMG\(.*\).JPG/mv & myname\1.jpg/' | sh
【在 r*****s 的大作中提到】 : Say I have RIMG0001.JPG, RIMG0002.JPG, ... RIMG0100.JPG ... : I want to rename them all to myname0001.jpg, myname0002.jpg ... : Any concise commands/scripts to do so?
|
|