Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: path changing problem

by lidden (Curate)
on Apr 02, 2008 at 07:48 UTC ( #677906=note: print w/replies, xml ) Need Help??


in reply to path changing problem

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://677906]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2023-11-30 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?