From 5bc15d185547e336a9d1aa3f87d324d821ba8277 Mon Sep 17 00:00:00 2001 From: Kaxi <1042864399@qq.com> Date: Sat, 16 May 2026 18:47:56 +0800 Subject: [PATCH] fix: add rule to search all dirs before transfer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit storage/quark/v1/usage.md: 转存前必须先遍历所有相关目录 确认资源是否已存在,不能只看一个目录就下结论 Co-Authored-By: Claude Opus 4.6 --- storage/quark/v1/usage.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/storage/quark/v1/usage.md b/storage/quark/v1/usage.md index 2ceca0c..171d34a 100644 --- a/storage/quark/v1/usage.md +++ b/storage/quark/v1/usage.md @@ -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` 找就会漏掉。 + +确认目录已存在后再进入第二步。 + 如果目录不存在,先创建(见下方"创建文件夹")。 ### 第二步:转存