in reply to How to rename to lowercase every file in a directory and its subdirectories?
It's not remarkably efficient, but it'll do your bidding.#!/usr/bin/perl -w use strict; # Open 'find' process to list files recursively with paths open(FIND, "find |"); while(<FIND>) { chomp; next if $_ eq $0; # Don't rename ourself rename($_, lc($_)); } close(FIND);
JP
|
|---|