Replacing a particular word with another word in all the xml's under a particular directory with sed
Hi Folks,
Could you please advise what will be the SED command to replace a word in all xml's under a particular directory
for example let say I rite now at the following below location
now under config directory there will be lots of xml file , now my objective is to first reach to the config directory that i will achieve , and then in all the xmls where the word TTT is there I have to replace it with CCC so please advise how can I achieve this with sed in unix. Thanks in advance.
Hi all,
I wanted to replace one word with another word pl help me to solve the same.
example:-
I wanted to replace RXOTX with RXOTRX in a perticuler file with hole.
Regards,
Ramesh (2 Replies)
I have a File with the below contents
File1
I have no prior experience in unix. I have just started to work in unix.
My experience in unix is 0. My Total It exp is 3 yrs.
I need to replace the first word in each line with the last word for example
unix have no prior experience in... (2 Replies)
Dear Friends,
I am facing some problem with some hundred files. Hence to use these file I have to make a small change in each file. But its not possible to open each file and make changes manually. Hence I need guidance frm you to automate it.
Example File name is "Queue_11.txt"
reload sec=F... (6 Replies)
how would you get SED to do the following, say you have the following lines in a text file:
user=tigger
some text some text
some text some text
some text some text
user=ted
some text some text
some text some text
some text some text
user=thekingofrockandroll
you want to find any line... (15 Replies)
Hi Everyone,
I am looking for a simple way for replacing all the files under a directory that use the server "xsgd1234dap" with "xsdr3423pap".
For Example:
In the Directory,
$pwd
/home/nick
$ grep -l "xsgd1234dap" *.sh | wc -l
119
I have "119" files that are still using... (5 Replies)
Hi,
I have gone through may posts and dint find exact solution for my requirement.
I have file which consists below data and same file have lot of other data.
<MAPPING DESCRIPTION ='' ISVALID ='YES' NAME='m_TASK_UPDATE' OBJECTVERSION ='1'>
<MAPPING DESCRIPTION ='' ISVALID ='NO'... (11 Replies)
I have a file that has the words I want to find in other files (but lets say I just want to find my words in a single file). Those words are IDs, so if my word is ZZZ4, outputs like aaZZZ4, ZZZ4bb, aaZZZ4bb, ZZ4, ZZZ, ZyZ4, ZZZ4.8 (or anything like that) WON'T BE USEFUL.
I need the whole word... (6 Replies)
Hello All,
I am extracting a part of file. the file looks as follows
USING CHARACTER SET UTF8 DEFINE JOB
(
DEFINE SCHEMA Flat_File_Schema
(
cntnt_id VARCHAR(10)
);
DEFINE OPERATOR o_mload
TYPE update
SCHEMA *
ATTRIBUTES
(
VARCHAR TdpId = @TdpId (5 Replies)
Hi Folks ,
I have to replace the following value in all the xml files so the value is
tcp://pondevpms1.fm.rbsgrp.net:6033,pondevpms2.fm.rbsgrp.net:6033
and the value with it need to be replaces is shown below
tcp://pondevpms1:3063
so i have fired the below command inside... (3 Replies)
Dear ALL,
I have sample file :
IDcentos-forum,bash,linuxCentOS,GNome
IEfedora-milis,cli,linuxRedhat,KDE
IRfreebsd-milis,aix,unixbsd,pyton
required output:
centos,bash,linuxCentOS,GNome
fedora,cli,linuxRedhat,KDE
freebsd,aix,unixbsd,pyton
Can you help me pls.. (1 Reply)
Discussion started by: gnulyn
1 Replies
LEARN ABOUT DEBIAN
musetup-gtk
MUSETUP-GTK(1) Museek Daemon Plus MUSETUP-GTK(1)NAME
Musetup-GTK - PyGTK2 Configuration app for Museekd
SYNOPSIS
musetup-gtk [-c | --config <config-filename>] [-h | --help]
DESCRIPTION
Musetup-GTK is PyGTK2 GUI that configures museekd(1). There are two configuration modes:
Dialogs - under General Settings - that provide the most commonly configured options, including the adding of shared directories, via a
muscan frontend (add/removing & rescanning take effect immediately).
The Settings Tree allows you to modify all options and even remove entire settings nodes, so it is quite dangerous, and should be used with
much care.
After changes to settings you need to Save them from them be written to the config file.
OPTIONS
Musetup-GTK accepts the following options:
-c, --config <config-filename>
Selected Config's path and filename.
-h, --help
Display Help and exit.
EXAMPLE
To run this program the standard way type:
musetup-gtk
Alternativly you use a different config file with:
musetup-gtk -c config.xml
FILES
~/.museekd/config.xml
The default location for the museekd config file.
/usr/share/museek/museekd/config.xml.tmpl
Config file template that's used if no config exists.
AUTHORS
Code taken from musetup by Hyriand <hyriand@thegraveyard.org>
daelstorm <daelstorm@gmail.com>
SEE ALSO mucous(1)mulog(1)murmur(1)muscan(1)muscand(1)museekcontrol(1)museekd(1)museeq(1)musetup(1)daelstorm Release 0.2.0 MUSETUP-GTK(1)