Filesystem
cd— Change the current working directory.cp— Copy files using uutils/coreutils cp.du— Find disk usage sizes of specified items.glob— Creates a list of files and/or folders based on the glob pattern provided.idx— Manage in-memory file index state.idx dirs— List indexed directories, or fuzzy-match directories by query.idx drop— Drop the current idx runtime from memory.idx files— List indexed files, or fuzzy-match files by query.idx find— Search idx with fuzzy matching across files and directories by default.idx init— Initialize the in-memory idx index for a path.idx search— Search indexed file contents.idx status— Show status information for the global in-memory idx runtime.idx watch— Stream filesystem change events from the live idx index.load-env— Loads an environment update from a record.ls— List the filenames, sizes, and modification times of items in a directory.mkdir— Create directories, with intermediary directories if required using uutils/coreutils mkdir.mktemp— Create temporary files or directories using uutils/coreutils mktemp.mv— Move files or directories using uutils/coreutils mv.open— Load a file into a cell, converting to table if possible (avoid by appending ‘—raw’).rm— Remove files and directories.save— Save a file.start— Open a folder, file, or website in the default application or viewer.touch— Creates one or more files.watch— Watch for file changes and execute Nu code when they happen.
Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.