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

kcdirmgr - command line interface to manage the directory hash database

Description

       The  command  `kcdirmgr'  is  a  utility  for  test  and debugging of the directory hash database and its
       applications.  `path' specifies the path of a database file.   `key'  specifies  the  key  of  a  record.
       `value' specifies the value of a record.  `file' specifies the input/output file.

              kcdirmgrcreate [-otr] [-onl|-otl|-onr] [-tc] path
                     Creates a database file.
              kcdirmgrinform [-onl|-otl|-onr] [-st] path
                     Prints status information.
              kcdirmgrset [-onl|-otl|-onr] [-add|-app|-rep|-inci|-incd] [-sx] pathkeyvalue
                     Stores a record.
              kcdirmgrremove [-onl|-otl|-onr] [-sx] pathkey
                     Removes a record.
              kcdirmgrget [-onl|-otl|-onr] [-rm] [-sx] [-px] [-pz] pathkey
                     Prints the value of a record.
              kcdirmgrlist [-onl|-otl|-onr] [-maxnum] [-rm] [-sx] [-pv] [-px] path [key]
                     Prints keys of all records, separated by line feeds.
              kcdirmgrclear [-onl|-otl|-onr] path
                     Removes all records of a database.
              kcdirmgrimport [-onl|-otl|-onr] [-sx] path [file]
                     Imports records from a TSV file.
              kcdirmgrcopy [-onl|-otl|-onr] pathfile
                     Copies the whole database.
              kcdirmgrdump [-onl|-otl|-onr] path [file]
                     Dumps records into a snapshot file.
              kcdirmgrload [-otr] [-onl|-otl|-onr] path [file]
                     Loads records from a snapshot file.
              kcdirmgrdefrag [-onl|-otl|-onr] path
                     Performs defragmentation.
              kcdirmgrsetbulk [-onl|-otl|-onr] pathkeyvalue...
                     Store records at once.
              kcdirmgrremovebulk [-onl|-otl|-onr] [-sx] pathkey...
                     Remove records at once.
              kcdirmgrgetbulk [-onl|-otl|-onr] [-sx] [-px] pathkey...
                     Retrieve records at once.
              kcdirmgrcheck [-onl|-otl|-onr] path
                     Checks consistency.

       Options feature the following.

              -otr : opens the database with the truncation option.
              -onl : opens the database with the no locking option.
              -otl : opens the database with the try locking option.
              -onr : opens the database with the no auto repair option.
              -tc : tunes the database with the compression option.
              -st : prints miscellaneous information.
              -add : performs adding operation.
              -app : performs appending operation.
              -rep : performs replacing operation.
              -inci : performs integer increment operation.
              -incd : performs real number increment operation.
              -sx : the input data is evaluated as a hexadecimal data string.
              -rm : removes the record.
              -px : the output data is converted into a hexadecimal data string.
              -pz : does not append line feed at the end of the output.
              -maxnum : specifies the maximum number of shown records.
              -pv : prints values of records also.

       This command returns 0 on success, another on failure.

Name

       kcdirmgr - command line interface to manage the directory hash database

See Also

kcdirtest(1)

Man Page                                           2012-05-24                                        KCDIRMGR(1)

See Also