in reply to perl code to replace
but if you must do that in Perl you canfor N in *.xml; do mv $N ${N/%xml/txt} done
:)perl -e 'qx!for N in *.xml\; do mv \$N \${N/%xml/txt}\; done!;'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl code to replace
by suhailck (Friar) on Feb 10, 2011 at 17:24 UTC |