Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Changing data in one directory

by Cine (Friar)
on Jul 31, 2003 at 14:12 UTC ( #279582=note: print w/replies, xml ) Need Help??


in reply to Changing data in one directory

find /perl/bin/ThisDirectoryHere -type f | xargs perl -i -pe 's|oldwo +rd/newword/gi'
You loose the number of changes, but is that important?

T I M T O W T D I

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2022-08-18 04:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?