[SunRescue] filenames..

Dan Debertin rescue at sunhelp.org
Thu May 24 10:05:56 CDT 2001


On Thu, 24 May 2001, Bill Bradford wrote:

> Anybody got a script/program that will traverse a directory tree and
> change all filenames to lowercase?

for i in `find thedir/ -type f -print`; do
	mv $i `echo $i | perl -e '$thing = <STDIN>;print lc($thing);'`
done


--
Dan Debertin
airboss at nodewarrior.org
www.nodewarrior.org





More information about the rescue mailing list