[htdig] trying to figure out -a and merging

Subject: [htdig] trying to figure out -a and merging
From: Clint Gilders (servermaster@kingsnake.com)
Date: Thu Jun 15 2000 - 19:20:16 PDT

Hi there

        I did an initial index of about 20 sites or so, and that went off
without a hitch. I then went to index somemore.

        In my rundig file I called htdig and htmerge like so:

$BINDIR/htdig -a -v -c /usr/local/www/htdig_bird/conf/htdig.conf
$BINDIR/htmerge -a -v -c /usr/local/www/htdig_bird/conf/htdig.conf

#this below is a stock bit from rundig and I would appreciate knowing
#what it does (I don't do shell yet)

case "$alt" in
  ( cd $DBDIR && test -f db.docdb.work &&
    for f in *.work
        mv -f $f `basename $f .work`
    done ) ;;

When it was done I ended up with a db directory that looks like this:

-rw-r--r-- 1 root wheel 9889792 Jun 15 20:06 db.docdb
-rw-r--r-- 1 root wheel 19276800 Jun 15 20:01 db.docdb.work
-rw-r--r-- 1 root wheel 238592 Jun 15 20:06 db.docs.index
-rw-r--r-- 1 root wheel 490496 Jun 15 20:01 db.docs.index.work
-rw-r--r-- 1 root wheel 16555676 Jun 15 20:06 db.wordlist
-rw-r--r-- 1 root wheel 27502344 Jun 15 20:01 db.wordlist.work
-rw-r--r-- 1 root wheel 17430528 Jun 15 20:06 db.words.db
-rw-r--r-- 1 root wheel 27430912 Jun 15 20:01 db.words.db.work

db.docdb, db.docs.index, db.wordlist, and db.words.db are the same size
it was when I started and I now have these other files with the .work
ext.. How do I combine the new data in the work files with the original

Or...... maybe I'm going at this all wrong. Somebody set me straight

Clint Gilders

To unsubscribe from the htdig mailing list, send a message to
You will receive a message to confirm this.

This archive was generated by hypermail 2b28 : Thu Jun 15 2000 - 17:15:46 PDT