docs: 优化多个 README 文件中的命令格式

- 移除了不必要的 mkdir 命令中的 && 符号
- 更新了 curl 命令格式,从 -fsSL 改为 -fSL
- 添加了 Python 脚本说明文档
- 新增了删除空文件夹的 Python 脚本
This commit is contained in:
2025-06-27 19:12:23 +08:00
parent 23e0373380
commit 4b5071fd05
13 changed files with 52 additions and 20 deletions

View File

@@ -3,7 +3,7 @@
创建一些文件夹
```bash
mkdir -p /opt/docker/clash && mkdir -p /opt/docker/clash/data && cd /opt/docker/clash
mkdir -p /opt/docker/clash && cd /opt/docker/clash
```
**请在 `data` 文件夹下创建 `config.yaml` 文件**
@@ -11,7 +11,7 @@ mkdir -p /opt/docker/clash && mkdir -p /opt/docker/clash/data && cd /opt/docker/
下载 docker-compose.yml
```bash
curl -fsSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/clash/docker-compose.yml > docker-compose.yml
curl -fSL https://i.sugarscat.cn/me/script/-/raw/main/docker/compose/clash/docker-compose.yml > docker-compose.yml
```
启动