[geeks] Renaming en masse

Kirby Menzel kmenzel at austin.rr.com
Mon Feb 24 18:57:01 CST 2003


On Monday 24 February 2003 03:48 pm, Jonathan C. Patschke wrote:
> Is there perhaps a simple solution that I'm missing?

Well, I know you aren't a lover of PHP, but this is something it can do for 
you...

Use a combo of it's file functions and renaming with the strtolower function:
http://www.php.net/manual/en/function.strtolower.php
http://www.php.net/manual/en/ref.filesystem.php

Newer versions of PHP (such as the one in ports for OBSD 3.2) can be called 
from the command line cleanly, as you would PERL.

Kirb


More information about the geeks mailing list