[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Linux lesson, please
"Greg Goble" <ggoble@rpo.at> writes:
> Can anyone give me a quick Linux lesson?
>
> I want to find all files in /catalog
> with "a_domain_name" hard coded. (I know
> bad mistake)...
>
> and replace them with "__SERVER_NAME__"
find /catalog -type f | xargs perl -i -e 's/a\.domain\.name/__SERVER_NAME__/g'
should work. Probably you would like to exclude the seession directory
etc.
Ciao
Racke
--
Think of it !
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)