Programming and Scripting :: Need help with bash
same thing, less code=
Code Sample
for i in `ls [0-9].jpg`; do mv $i 0$i; done
Quote
(Guest @ Jan. 15 2006,19:33)
same thing, less code=
Code Sample
for i in `ls [0-9].jpg`; do mv $i 0$i; done
Sorry my bad, carelessly I did not read to end of thread where there were even more succinct versions.
original
here
.