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?
find ./ -type f -exec perl -e '$to=$from=$ARGV[0]; $to =~ tr/A-Z/a-z/; `mv "$from" "$to"`' {} \;
E&EO -- and I recommend adding a "2> /dev/null" at the end ;-)
HIH, Paul
--
h: 0115 922 7162 w: 0115 953 1803