引用纠偏: 工作区 16 件旧路径 AI技能->AIProject + 接续包 §6 执行记录
This commit is contained in:
1 parent
12e9497609
commit
9a2896f179
19 files changed
+64
-32
No files matched your search
@@ -55,7 +55,7 @@ for size, proj, fn, titles, nu, fr in sorted(out, key=lambda x: -x[0]):
|
||||
print("=" * 78)
|
||||
print("本工作区全部会话的身份卡(标题 + 首问),供交叉确认")
|
||||
print("=" * 78)
|
||||
d = os.path.join(ROOT, "e-ProgramData-AI技能-aliyun-dsh-server")
|
||||
d = os.path.join(ROOT, "e-ProgramData-AIProject-aliyun-dsh-server")
|
||||
for fn in sorted(os.listdir(d)):
|
||||
if not fn.endswith(".jsonl"):
|
||||
continue
|
||||
|
||||
@@ -11,7 +11,7 @@ import json
|
||||
import os
|
||||
|
||||
GUARD = r"D:\github\dsh_shenxian\dsh-server-docs\scripts\bash-output-guard.py"
|
||||
PROJ = r"E:\ProgramData\.workbuddy\projects\e-ProgramData-AI技能-aliyun-dsh-server"
|
||||
PROJ = r"E:\ProgramData\.workbuddy\projects\e-ProgramData-AIProject-aliyun-dsh-server"
|
||||
|
||||
sp = importlib.util.spec_from_file_location("g", GUARD)
|
||||
g = importlib.util.module_from_spec(sp)
|
||||
|
||||
@@ -5,7 +5,7 @@ export PATH="/d/Program Files/Git/usr/bin:/c/Windows/System32:/c/Windows:$PATH"
|
||||
SSH="ssh -o BatchMode=yes -o ConnectTimeout=15"
|
||||
SCP="scp -q -o BatchMode=yes -o ConnectTimeout=15"
|
||||
P="$1"; N="$2"; DEST="$3"
|
||||
L="/e/ProgramData/AI技能/aliyun-dsh-server/_relay-$N"
|
||||
L="/e/ProgramData/AIProject/aliyun-dsh-server/_relay-$N"
|
||||
mkdir -p "$L"
|
||||
$SSH bt-server "stat -c '%s %n' /tmp/$P-*" > "$L/remote.txt"
|
||||
TOTAL=$(wc -l < "$L/remote.txt")
|
||||
|
||||
@@ -13,7 +13,7 @@ import re
|
||||
import sys
|
||||
from collections import Counter
|
||||
|
||||
PROJ = r"E:\ProgramData\.workbuddy\projects\e-ProgramData-AI技能-aliyun-dsh-server"
|
||||
PROJ = r"E:\ProgramData\.workbuddy\projects\e-ProgramData-AIProject-aliyun-dsh-server"
|
||||
SID8 = sys.argv[1] if len(sys.argv) > 1 else "7057685c"
|
||||
P = None
|
||||
for fn in os.listdir(PROJ):
|
||||
|
||||
Reference in new issue
Block a user