Update rm.md

This commit is contained in:
小弟调调™ 2022-08-18 14:32:49 +08:00 committed by GitHub
parent 480003bbf5
commit 8e596b722a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -98,6 +98,12 @@ rm -r testdir
rm -r -i testdir
```
**批量删除 `icons` 文件夹中的子文件夹中的 data 文件夹**
```shell
rm -rf icons/**/data
```
**rm 忽略不存在的文件或目录**
> -f 选项LCTT 译注:即 “force”让此次操作强制执行忽略错误提示