On Wed, Jan 08, 2003 at 06:01:50PM +0200, BigBrother (BigB3) said: 
> -----BEGIN PGP SIGNED MESSAGE-----
> Sorry for this OT but I am trying for some hours to achieve a massive
> rename of files using a simple script and I have not success yet. I want
> to rename files like

there is already a general utility for this:
/usr/src/contrib/perl5/eg/rename .

leviathan:/home/chris:1168> /usr/src/contrib/perl5/eg/rename
Usage: rename perlexpr [filenames]

not only already written and tested, but you get to use perl regexen. :-)

HTH,
Chris

-------------------------------
Chris Doherty
chris [at] randomcamel.net

"I think," said Christopher Robin, "that we ought to eat
all our provisions now, so we won't have so much to carry."
               -- A. A. Milne
-------------------------------

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to