Re: Convert file in a dir to lower case
- From: "ynotssor" <ynotssor@xxxxxxxxxxx>
- Date: Wed, 7 Nov 2007 13:20:13 -0800
In news:13c58$473144a2$d0664623$1217@xxxxxxxx,
Netlurker <netwizNO@xxxxxxxxxxxxxxxx> wrote:
Hi, how to convert recursively all file in a directory and all
subdirs to lower case ?
Bye
There are several ways to do it but here is something I whipped up
real quick:
for x in `find .`; do new=`echo $x | tr '[A-Z]' '[a-z]'`; mv $x $new;
done
Do that from inside the starting directory.
Although that will change the directory names also and cause problems with
the mv.
.
- References:
- Convert file in a dir to lower case
- From: Gin
- Re: Convert file in a dir to lower case
- From: Netlurker
- Convert file in a dir to lower case
- Prev by Date: Re: can anyone please help me with this lvcreate problem??
- Next by Date: Re: Install missing ksh on Redhat 7.2
- Previous by thread: Re: Convert file in a dir to lower case
- Next by thread: Re: Convert file in a dir to lower case
- Index(es):