27 Nov
2009
27 Nov
'09
17:35
Le 27/11/2009 16:55, Jan Ritzerfeld a écrit :
for i in *.jpg; do echo mv -i $i $(echo ${i%.jpg} | md5sum | cut -c 1-5).jpg; done
looks goos but gives me a cut error. is it possible to do the same with $RANDOM? thanks jdd -- http://www.dodin.net http://valerie.dodin.org http://news.opensuse.org/2009/04/13/people-of-opensuse-jean-daniel-dodin/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org