nushell/docs/commands/mv.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

476 B

title layout version
mv command 0.59.0

Move files or directories.

Signature

> mv (source) (destination)

Parameters

  • source: the location to move files/directories from
  • destination: the location to move files/directories to

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