Paulo Henrique Baptista de Oliveira wrote: > Hi debian users, > I need to translate 800 filenames from upcase to lowercase. I remember > that I can do this with tr, but I don't know very well.
In tcsh: $ foreach F (*) foreach? mv $F `echo $F | tr '[A-Z]' '[a-z]'` foreach? end In bash, it would be something like: for F in *; do mv $F `echo $F | tr '[A-Z]' '[a-z]'` done; -- Peter Galbraith, research scientist <[EMAIL PROTECTED]> Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546 6623'rd GNU/Linux user at the Counter - http://counter.li.org/