mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 21:58:29 +02:00
Auto-generate markdown command docs (#4451)
* Finish updating * a couple improvements * Update renames * cleanup examples
This commit is contained in:
@@ -1,31 +1,17 @@
|
||||
# mv
|
||||
---
|
||||
title: mv
|
||||
layout: command
|
||||
version: 0.59.0
|
||||
---
|
||||
|
||||
Move files or directories.
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> mv <source> <destination> {flags}
|
||||
```
|
||||
## Signature
|
||||
|
||||
```> mv (source) (destination)```
|
||||
|
||||
## 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
|
||||
```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
|
||||
```
|
||||
- `source`: the location to move files/directories from
|
||||
- `destination`: the location to move files/directories to
|
||||
|
||||
|
Reference in New Issue
Block a user