idx

For filesystem.

Manage in-memory file index state.

Command Type

built-in

Signature

> idx {flags}

Input/output types:

input output
nothing string

Notes

Use one of the subcommands: init, status, find, search, watch, drop, dirs, files. By default idx init enables filesystem watching so the index updates as files change; pass --no-watch for a static index. Use idx watch to stream change events from that live index into a pipeline.

Subcommands:

name description type
idx dirs List indexed directories, or fuzzy-match directories by query. built-in
idx drop Drop the current idx runtime from memory. built-in
idx files List indexed files, or fuzzy-match files by query. built-in
idx find Search idx with fuzzy matching across files and directories by default. built-in
idx init Initialize the in-memory idx index for a path. built-in
idx search Search indexed file contents. built-in
idx status Show status information for the global in-memory idx runtime. built-in
idx watch Stream filesystem change events from the live idx index. built-in

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.