mirror of
https://github.com/nushell/nushell
synced 2025-01-02 16:29:00 +00:00
477 B
477 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 fromdestination
: 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