linux shell gurus, need a command
I have directories:
- one/
- two/
- three/
each directory has images; aaa.jpg, aab.jpg, aac.jpg, etc..
i need to rename them so that I end up with:
one/one-aaa.jpg, one/one-aab.jpg, ...
two/two-aaa.jpg, two/two-aab.jpg, ...
three/three-aaa.jpg, three/three-aab.jpg, ...
|