HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mkid — Build an ID database for use with `lid` and other idutils tools. More information: <https://www.gnu.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbuildmkiddatabaseusecliwithfor
linux

Problem

How to use the mkid command: Build an ID database for use with lid and other idutils tools. More information: <https://www.gnu.org/software/idutils/manual/idutils.html#mkid-invocation>.

Solution

mkid — Build an ID database for use with lid and other idutils tools. More information: <https://www.gnu.org/software/idutils/manual/idutils.html#mkid-invocation>.

Build an ID database for the current directory:
mkid


Build an ID database for specific directories:
mkid {{path/to/directory1 path/to/directory2 ...}}


Build an ID database and save it to a specific file:
mkid {{[-o|--output]}} {{path/to/database.id}}


Include only specific languages:
mkid {{[-i|--include]}} "{{language1 language2 ...}}"


Exclude specific directories from indexing:
mkid {{[-p|--prune]}} {{path/to/excluded_directory}}


Display statistics after building the database:
mkid {{[-s|--statistics]}}

Code Snippets

Build an ID database for the current directory

mkid

Build an ID database for specific directories

mkid {{path/to/directory1 path/to/directory2 ...}}

Build an ID database and save it to a specific file

mkid {{[-o|--output]}} {{path/to/database.id}}

Include only specific languages

mkid {{[-i|--include]}} "{{language1 language2 ...}}"

Exclude specific directories from indexing

mkid {{[-p|--prune]}} {{path/to/excluded_directory}}

Context

tldr-pages: linux/mkid

Revisions (0)

No revisions yet.