mv.md 424 字节
Newer Older
G
gongweibao 已提交
1
# Name  
G
gongweibao 已提交
2
mv - move (rename) files or directories
G
gongweibao 已提交
3 4 5


# Synopsis
G
gongweibao 已提交
6 7
If destination already exist, please [rm](rm.md) it first.

G
gongweibao 已提交
8 9 10 11 12 13 14 15 16 17 18 19 20
```
mv [OPTION]...
<LocalPath> <PFSPath> or <PFSPath> <LocalPath> or <PFSPath> <PFSPath>
```

# Description
```	
```

# Examples
- The following command move a single file to pfs

```
G
gongweibao 已提交
21
paddle pfs mv ./text1.txt /pfs/mydirectory/test1.txt
G
gongweibao 已提交
22 23 24 25 26
```

Output

```
G
gongweibao 已提交
27
move ./text1.txt /pfs/mydirectory/test1.txt
G
gongweibao 已提交
28
```