logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

htpurge - remove unused documents from the database (general maintenance script)

Author

       This manual page was written by Robert Ribnitz, based on the HTML documentation of ht://Dig.

                                                  January 2004                                          htdig(1)

Description

       Htpurge  functions  to  remove  specified  URLs from the databases as well as bad URLs, unretrieved URLs,
       obsolete documents, etc. It is recommended that htpurge be run after htdig to clean out any documents  of
       this sort.

       OPTIONS-      Take URL list from standard input (rather than specified with -u). Format of input file is one URL
              per line.  -a Use alternate work files. Tells htpurge to append .work to database files, causing a
              second  copy  of  the  database to be built. This allows the original files to be used by htsearch
              during the run.

       -cconfigfile
              Use the specified configfile instead of the default.

       -uURL Add this URL to the list of documents to remove. Must be specified multiple times if more than one
              URL are to be removed. Should nor be used together with -.

       -v     Verbose mode. This increases the verbosity of the program.  Using more than  2  is  probably  only
              useful  for debugging purposes. The default verbose mode (using only one -v) gives a nice progress
              report while digging.

Files

/etc/htdig/htdig.conf
              The default configuration file.

Name

       htpurge -  remove unused documents from the database (general maintenance script)

See Also

       Please refer to the HTML pages (in the htdig-doc  package)  /usr/share/doc/htdig-doc/html/index.html  and
       the  manual pages htdigconfig(8) , htdig(1) and htmerge(1) for a detailed description of ht://Dig and its
       commands.

Synopsis

htpurge[-][-a][-cconfigfile][-u][-v]

See Also