[Gllug] Changing case on filenames
Gordon Joly
gordon.joly at pobox.com
Mon Mar 4 21:36:23 UTC 2002
>
> > for file_name in *
>> do
>> cp $file_name `echo $file_name | tr '[A-Z]' '[a-z]'`
>> done
which shell?
>This wonderful technique can be built on:-
>
>for i in *; do
>mv $i `echo $i | tr 'A-Z' 'n-za-m'`
>done
which shell?
:-)
--
Linux User No. 256022
Gordon Joly//////////
gordon.joly at pobox.com
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list