in message <[EMAIL PROTECTED]>, wrote BigBrother (BigB3) thusly... > > 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 > > "RESULTS OF JAN 01 2002.txt " > > to > > "RESULTS_OF_JAN_01_2002.txt"
here is another way in perl (though it changes blanks to '-'; edit as you desire)... http://www103.pair.com/parv/comp/src/perl/sanename.perl description... http://www103.pair.com/parv/comp/src/perl/sanename.perl.pod - parv -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message