in reply to perl code to replace
There's a rename (sometimes also called prename) program that's shipped with Perl. You can use it for this task:
rename "s/\.xml$/.txt" *.xml
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: perl code to replace
by bart (Canon) on Feb 10, 2011 at 12:40 UTC |