[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [OT] Changing the case of filenames



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 logic net>
http://esm.logic.net/

Felix qui potuit rerum cognoscere causas.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]