OnWorks favicon

htdump - Online in the Cloud

Run htdump in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command htdump that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



htdump - write out an ASCII-text version of the document database


htdump [options]


Htdump writes out an ASCII-text version of the document database in the same form as the
-t option of htdig.


-a Use alternate work files. Tells htdump to append .work to database files, allowing
it to operate on a second set of databases.

-c configfile
Use the specified configfile instead of the default.

-v Verbose mode. This doesn't have much effect.

File Formats

Document Database
Each line in the file starts with the document id followed by a list of fieldname :
value separated by tabs. The fields always appear in the order listed below:


t Title

a State (0 = normal, 1 = not found, 2 = not indexed, 3 = obsolete)

m Last modification time as reported by the server

s Size in bytes

H Excerpt

h Meta description

l Time of last retrieval

L Count of the links in the document (outgoing links)

b Count of the links to the document (incoming links or backlinks)

c HopCount of this document

g Signature of the document used for duplicate-detection

e E-mail address to use for a notification message from htnotify

n Date to send out a notification e-mail message

S Subject for a notification e-mail message

d The text of links pointing to this document. (e.g. <a

A Anchors in the document (i.e. <A NAME=...)

Word Database
While htdump and htload don't deal with the word database directly, it's worth
mentioning it here because you need to deal with it when copying the ASCII
databases from one system to another. The initial word database produced by htdig
is already in ASCII format, and a binary version of it is produced by htmerge, for
use by htsearch. So, when you copy over the ASCII version of the document database
produced by htdump, you need to copy over the wordlist as well, then run htload to
make the binary document database on the target system, followed by running htmerge
to make the word index.

Each line in the word list file starts with the word
followed by a list of fieldname : value separated by tabs. The fields always appear
in the order listed below, with the last two being optional:

i Document ID

l Location of word in document (1 to 1000)

w Weight of word based on scoring factors

c Count of word's appearances in document, if more than 1

a Anchor number if word occurred after a named anchor

Use htdump online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    Download Eclipse Tomcat Plugin
  • 2
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 3
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 4
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 5
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 6
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • More »

Linux commands