[OT] Changing the case of filenames

Gérard Milmeister gemi at bluewin.ch
Fri Apr 29 13:57:34 UTC 2005


On Fri, 2005-04-29 at 19:23 +0530, Rahul Sundaram wrote:
> David Niemi wrote:
> 
> >I am running a fortran program which requires all input file names to be
> >uppercase.  As things were originally done in Windo$e all the filenames
> >are mixed case (with numbers).

In zsh:
for i in *
do
  mv $i ${i:u}
done
-- 
Gérard Milmeister
Langackerstrasse 49
CH-8057 Zürich




More information about the users mailing list