Re: pb of listing and renaming files

2003-03-19 Thread John W. Krahn
"Scott R. Godin" wrote: > > Rob Dixon wrote: > > > Hi Scott. > > > > Scott R. Godin wrote: > >> John W. Krahn wrote: > >> > >> > chomp; > >> > if ( /(.*)\.BMP/ ) { > >> > print "processing image $_ ..\n"; > >> > system( 'mv', $_, "$1.bmp" ) == 0 or die "system 'mv $_' > >>

Re: pb of listing and renaming files

2003-03-19 Thread Scott R. Godin
Rob Dixon wrote: > Hi Scott. > > Scott R. Godin wrote: >> John W. Krahn wrote: >> >> > chomp; >> > if ( /(.*)\.BMP/ ) { >> > print "processing image $_ ..\n"; >> > system( 'mv', $_, "$1.bmp" ) == 0 or die "system 'mv $_' >> > failed: $?"; >> > } >> >> next unless /

Re: pb of listing and renaming files

2003-03-18 Thread Rob Dixon
Hi Scott. Scott R. Godin wrote: > John W. Krahn wrote: > > > chomp; > > if ( /(.*)\.BMP/ ) { > > print "processing image $_ ..\n"; > > system( 'mv', $_, "$1.bmp" ) == 0 or die "system 'mv $_' > > failed: $?"; > > } > > next unless /(.*)\.BMP$/;#anchor it to the end

Re: pb of listing and renaming files

2003-03-18 Thread Scott R. Godin
John W. Krahn wrote: > chomp; > if ( /(.*)\.BMP/ ) { > print "processing image $_ ..\n"; > system( 'mv', $_, "$1.bmp" ) == 0 or die "system 'mv $_' failed: > $?"; > } next unless /(.*)\.BMP$/;#anchor it to the end of the string! print "processing image file: $_\n";

Re: pb of listing and renaming files

2003-03-17 Thread John W. Krahn
R p wrote: > > hi all Hello, > i am a beginner and i need some help from you: > here is my problem: > -- > i have to filter all files *.BMP and to rename all by > *.bmp > -- > here is my scrip

Re: pb of listing and renaming files

2003-03-17 Thread Paul Johnson
=?iso-8859-1?q?r=20p?= said: > hi all > > i am a beginner and i need some help from you: > here is my problem: > -- > i have to filter all files *.BMP and to rename all by > *.bmp > -- > here i

RE: pb of listing and renaming files

2003-03-17 Thread David Olbersen
Diego, CA 92127 1-858-676-2277 x2152 > -Original Message- > From: r p [mailto:[EMAIL PROTECTED] > Sent: Monday, March 17, 2003 8:52 AM > To: [EMAIL PROTECTED] > Subject: pb of listing and renaming files > > > hi all > > i am a beginner and i need

pb of listing and renaming files

2003-03-17 Thread r p
hi all i am a beginner and i need some help from you: here is my problem: -- i have to filter all files *.BMP and to rename all by *.bmp -- here is my script: --