nushell/docs/commands/mv.md
JT bff81f24aa
Autogenerate missing docs (#3514)
* Autogenerate missing docs

* Update ansi.md

* Rename question mark command docs

* Delete empty?.md
2021-05-30 12:57:04 +12:00

498 B

mv

Move files or directories.

Usage

> mv <source> <destination> {flags} 

Parameters

  • <source> the location to move files/directories from
  • <destination> the location to move files/directories to

Flags

  • -h, --help: Display this help message

Examples

Rename a file

> mv before.txt after.txt

Move a file into a directory

> mv test.txt my/subdirectory

Move many files into a directory

> mv *.txt my/subdirectory