﻿---
title: mv
description: Move a file or folder from one location to another and update all links in the documentation 
url: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/2830/cli/docset/mv
---

# mv
Move a file or folder from one location to another and update all links in the documentation

## Usage

```
docs-builder mv [arguments...] [options...] [-h|--help] [--version]
```


## Arguments

<definitions>
  <definition term="[0] <string>">
    The source file or folder path to move from (required)
  </definition>
  <definition term="[1] <string>">
    The target file or folder path to move to (required)
  </definition>
</definitions>


## Options

<definitions>
  <definition term="--dry-run <bool?>">
    Dry run the move operation (optional)
  </definition>
  <definition term="-p|--path <string>">
    Defaults to the`{pwd}` folder (optional)
  </definition>
</definitions>