Hi,
I have a Template file 'TL.body' which says as follows:
"There are no <FILENAME> files on the server. "
The missing file names are identified and stored in a variable.
For Eg: MISSFILE="abc.txt def.txt xyz.txt"
I want the values of MISSFILE variable to be replaced against... (2 Replies)
lets see if i can explain this in a good way.
im trying to replace some words in a file but i need to know what the words are that is beeing replaced. not sure if sed can do this.
file.name.something.1DATA01.something.whatever
sed "s/./.DATA?????/g"
need to know what the first . is... (2 Replies)
Hi Guys,
While I was writing one shell script , I just got struck at this point.
I need to extract words from a file at some specified position and do some comparison operation and need to replace the extracted word with another word.
Eg : I like Orange very much.
I need to replace... (19 Replies)
Hello,
I have a complex problem. I have a file in which words have been joined together:
Theboy ranslowly
I want to be able to correctly split the words using a lookup file in which all the words occur:
the
boy
ran
slowly
slow
put
child
ly
The lookup file which is meant for look up... (21 Replies)
Hi Gurus,
I have really hard job need you guys to help.
i have two files
one is data file, one is instruction file like below
0000000010000233154825032720204abc BC15
0000000010000233154825032720204defg DB15
1 9 o
10 6 r
16 5 o
21 10 r
31
the requirement is based... (5 Replies)
Hello,
I would like to change my setting in a file to the setting that user input.
For example, by default it is
ONBOOT=ON
When user key in "YES", it would be
ONBOOT=YES
--------------
This code only adds in the entire user input, but didn't replace it.
How do i go about... (5 Replies)
I have the file like this.
cat 123.txt
<p> <table border='1' width='90%' align='center' summary='Script output'> <tr><td>text </td> </tr> </table> </p>
I want to replace some tags and want the output like below. I tried with awk & sed commands. But no luck. Could someone help me on this?
... (4 Replies)
Hi All,
I need one help to replace particular words in file based on if finds another words in that file .
i.e.
my self is peter@king.
i am staying at north sydney.
we all are peter@king.
How to replace peter to sham if it finds @king in any line of that file.
Please help me... (8 Replies)
I have file1 and file2 as shown below,
file1:
((org14/1-131541:0.11535,((org29/1-131541:0.00055,org7/1-131541:0.00055)1.000:0.10112,((org17/1-131541:0.07344,(org23/1-131541:0.07426,((org10/1-131541:0.00201,org22/1-131541:0.00243)1.000:0.02451,
file2:
org14=india
org29=america... (5 Replies)
Discussion started by: dineshkumarsrk
5 Replies
LEARN ABOUT DEBIAN
prosody-migrator
prosody-migrator(8)prosody-migrator(8)NAME
prosody-migrator - Migrate data between Prosody data stores
SYNOPSIS
prosody-migrator [OPTIONS] [SOURCE_STORE DESTINATION_STORE]
DESCRIPTION
prosody-migrator is used to move data (user accounts, rosters, vcards, etc.) between different data stores. For example this allows you to
migrate data from a file-based store to an SQL database, and vice-versa.
Note: the migrator assumes that the destination store is empty. Existing data that conflicts with data in the source store will be over-
written!
OPTIONS --config=FILENAME
Specify an alternative config file to use. The default is /etc/prosody/migrator.cfg.lua.
SOURCE_STORE
The name of the store (defined in the config file) to migrate data from. Defaults to 'input'.
DESTINATION_STORE
The name of the store (also defined in the config file) to migrate data to. Defaults to 'output'.
FILES
/etc/prosody/migrator.cfg.lua
The migrator config file.
SEE ALSO prosody(8), prosodyctl(8)AUTHOR
Matthew Wild <mwild1@gmail.com>
Prosody IM 20 April 2014 prosody-migrator(8)