Nushell
Get Nu!
Getting Started
  • The Nushell Book
  • Command Reference
  • Cookbook
  • Language Reference Guide
  • Contributing Guide
Blog
  • English
  • 中文
  • Deutsch
  • Français
  • Español
  • 日本語
  • Português do Brasil
  • Русский язык
  • 한국어
GitHub
Get Nu!
Getting Started
  • The Nushell Book
  • Command Reference
  • Cookbook
  • Language Reference Guide
  • Contributing Guide
Blog
  • English
  • 中文
  • Deutsch
  • Français
  • Español
  • 日本語
  • Português do Brasil
  • Русский язык
  • 한국어
GitHub
  • Categories

    • Bits
    • Bytes
    • Chart
    • Conversions
    • Core
    • Database
    • Dataframe
    • Dataframe Or Lazyframe
    • Date
    • Debug
    • Default
    • Env
    • Experimental
    • Expression
    • Filesystem
    • Filters
    • Formats
    • Generators
    • Hash
    • History
    • Lazyframe
    • Math
    • Misc
    • Network
    • Path
    • Platform
    • Plugin
    • Prompt
    • Random
    • Removed
    • Shells
    • Strings
    • System
    • Viewers

Filesystem

CommandDescription
cdChange the current working directory.
cpCopy files using uutils/coreutils cp.
duFind disk usage sizes of specified items.
globCreates a list of files and/or folders based on the glob pattern provided.
idxManage in-memory file index state.
idx dirsList indexed directories from idx state.
idx dropDrop the current idx runtime from memory.
idx exportPersist idx state to disk.
idx filesList indexed files, or lookup a specific indexed path.
idx findSearch idx with fuzzy matching across files and directories by default.
idx importImport idx state from disk.
idx initInitialize the in-memory idx index for a path.
idx searchSearch indexed file contents.
idx statusShow status information for the global in-memory idx runtime.
load-envLoads an environment update from a record.
lsList the filenames, sizes, and modification times of items in a directory.
mkdirCreate directories, with intermediary directories if required using uutils/coreutils mkdir.
mktempCreate temporary files or directories using uutils/coreutils mktemp.
mvMove files or directories using uutils/coreutils mv.
openLoad a file into a cell, converting to table if possible (avoid by appending '--raw').
rmRemove files and directories.
saveSave a file.
startOpen a folder, file, or website in the default application or viewer.
touchCreates one or more files.
watchWatch for file changes and execute Nu code when they happen.
Prev
Expression
Next
Filters