Skip to content

Commit c51cb38

Browse files
authored
Update cp.md
1 parent 92b85e2 commit c51cb38

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

command/cp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ cp -rfb ./* ../backup
107107
```bash
108108
cp -r aaa/.* ./bbb
109109
# 将 aaa 目录下的,所有`.`开头的文件,复制到 bbb 目录中。
110+
111+
cp -a aaa ./bbb/
112+
# 记住后面目录最好的'/' 带上 `-a` 参数
110113
```
111114

112115

0 commit comments

Comments
 (0)