Filesystem
| Command | Description |
|---|---|
| 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 from idx state. |
| idx drop | Drop the current idx runtime from memory. |
| idx export | Persist idx state to disk. |
| idx files | List indexed files, or lookup a specific indexed path. |
| idx find | Search idx with fuzzy matching across files and directories by default. |
| idx import | Import idx state from disk. |
| 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. |
| 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. |
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/categories/filesystem.html