修复 ls 命令错误示例 (#337)

应该为`ls *.jpg | xargs -n1 -I{} cp {} /data/images`
This commit is contained in:
noodles2hg 2022-03-04 00:30:02 +08:00 committed by GitHub
parent 3572d9f2c5
commit 81d58b3c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ cat arg.txt | xargs -I {} ./sk.sh -p {} -l
复制所有图片文件到 /data/images 目录下:
```shell
ls *.jpg | xargs -n1 -I cp {} /data/images
ls *.jpg | xargs -n1 -I{} cp {} /data/images
```
#### 结合 find 命令使用