fix: add rule to search all dirs before transfer

storage/quark/v1/usage.md: 转存前必须先遍历所有相关目录
确认资源是否已存在,不能只看一个目录就下结论

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-16 18:47:56 +08:00
parent 1a36d8119f
commit 5bc15d1855
+10 -1
View File
@@ -28,10 +28,19 @@ mcporter call 'netdisk.view(share_link: "https://pan.quark.cn/s/xxx", file_patte
### 第一步:确认目标目录存在
转存前必须**先搜索夸克网盘中所有相关目录**,确认资源是否已存在:
```bash
mcporter call 'netdisk.list(cloud: "quark", path: "/目标目录")'
# 遍历所有可能的目录,不能只看一个
mcporter call 'netdisk.list(cloud: "quark", path: "/动漫/国漫2024")'
mcporter call 'netdisk.list(cloud: "quark", path: "/动漫/国漫2025")'
mcporter call 'netdisk.list(cloud: "quark", path: "/动漫/国漫2026")'
```
> 例如:斗破苍穹可能在 `/动漫/国漫2024/斗破苍穹`,只在 `/动漫/国漫2026` 找就会漏掉。
确认目录已存在后再进入第二步。
如果目录不存在,先创建(见下方"创建文件夹")。
### 第二步:转存