[OT] Changing the case of filenames

esm at logic.net esm at logic.net
Fri Apr 29 13:51:21 UTC 2005


On Fri, Apr 29, 2005 at 09:39:27AM -0400, 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).

( for i in *; do mv "$i" "`echo $i | tr [a-z] [A-Z]`"; done )

-- 
Edward S. Marshall <esm at logic.net>
http://esm.logic.net/

Felix qui potuit rerum cognoscere causas.




More information about the users mailing list