Search Results

Search: Posts Made By: arulanandsp
3,268
Posted By arulanandsp
Hi, I modified little bit and this worked. ...
Hi,

I modified little bit and this worked.

for y in `find . -name sample.xml`;
do
sed 's/abcd/xyz/g' $y > temp; mv temp $y;
done

Thanks for your help
3,268
Posted By arulanandsp
Replacing string in multiple files
Hi,

I need to replace the string 'abcd' with 'xyz' in a file sample.xml
This sample.xml is also present in the subdirectories of the current directory.

Eg,

If I am in /user/home/

the...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 02:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy