According to Sunny Fortune:
> So, If I have 3 databases and would like to merge
> them, do I use the following in order to merge
> htdig-mobile1 and htdig-mobile2 into htdig.conf (to be
> consistant with your example),
> htmerge -s  -c /etc/htdig/htdig.conf -m 
> /etc/htdig/htdig-mobile1.conf 
> /etc/htdig/htdig-mobile2.conf
> 
> Or is there another way?

There are a couple problems with the above.  First of all, Nico's
suggestion got folded from one line to two.  Secondly, you can only
specify one config file argument after -m, and only one -m on an htmerge
command line.  So, to merge two databases into a third, you need 2
separate htmerge command lines.  In the interests of keeping the lines
short to avoid folding by the mail packages, I'll assume you're already
in the CONFIG_DIR, e.g. /etc/htdig, to enter these commands:

  htmerge -s -c htdig.conf -m htdig-mobile1.conf
  htmerge -s -c htdig.conf -m htdig-mobile2.conf

Of course, you can prepend any directory name you need to these config
file names.  The two databases specified by htdig-mobile*.conf will be
merged, one after another, into the one specified by htdig.conf.  Have a
look at the htmerge documentation, at http://www.htdig.org/htmerge.html,
for the description of the -m option.  Although brief, it does make it
clear which database is merged into which.  As you already figured out,
you need separate config files for each database, to specify a different
database_base or database_dir.  This point is already explained in
http://www.htdig.org/FAQ.html#q4.4 as well.

> --- Nico De Ranter <[EMAIL PROTECTED]> wrote:
> > I run two different databases with different
> > settings and then merge
> > them using:
> > 
> >  htmerge -s  -c /etc/htdig/htdig.conf -m
> > /etc/htdig/htdig-mobile.conf
> > 
> > this way htdig-mobile.conf will be mergen INTO
> > htdig.conf.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to