mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 18:48:27 +02:00
@@ -15,3 +15,20 @@ Move files or directories.
|
||||
- `source`: the location to move files/directories from
|
||||
- `destination`: the location to move files/directories to
|
||||
|
||||
## Examples
|
||||
|
||||
Rename a file
|
||||
```shell
|
||||
> mv before.txt after.txt
|
||||
```
|
||||
|
||||
Move a file into a directory
|
||||
```shell
|
||||
> mv test.txt my/subdirectory
|
||||
```
|
||||
|
||||
Move many files into a directory
|
||||
```shell
|
||||
> mv *.txt my/subdirectory
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user