![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: path changing problemby lidden (Curate) |
on Apr 02, 2008 at 07:48 UTC ( #677906=note: print w/replies, xml ) | Need Help?? |
I think you want something like this: perl -wi.bak -pe 's!/171/!/mmt/171/!' /path/to/dir/* Delete .bak files when you have confirmed that it did what you wanted.
In Section
Seekers of Perl Wisdom
|
|