Check out "man rename". An example
rename 'foo' 'bar' dir*
dir_foo1/ becomes dir_bar1/
dir_foo2/ becomes dir_bar2/
Quote:
Originally Posted by Just Alex
Lets say I have them 001, 002, 003 .. etc.. How can I rename them ... 1-001, 1-002, 1-003
|
For that specifically:
rename "" "1-" 0*