data-bak / code /output /README.md
cywan's picture
Document all backup directories and restore workflows
5c06ff2 verified
|
Raw History Blame Contribute Delete
1.55 kB
# output 工作区快照
开发工作区根下 output/ 的快照。归档只含零字节的 .experiment-record.lock 占位文件。
源路径为 `/wanchenyang/code/output`。采集时间为 2026-11-24 08:45 UTC,工作区清单记录 1 个文件、1 个目录、0 个符号链接。
## 解压后内容
| 位置 | 用途 |
| --- | --- |
| `.experiment-record.lock` | 用于运行记录的零字节锁占位。 |
需要具体运行时,从对应项目的 exp/、logs/、results/ 或 codex_eval/output/ 开始找,例如 [ego](../ego/README.md) 与 [StreamVLN](../StreamVLN/README.md)。
## 仓库里的文件
| 文件 | 内容 |
| --- | --- |
| 工作区分卷 | 1 个,共 234 B。按分卷编号拼接。 |
| [MANIFEST.json](MANIFEST.json) | 采集时间、文件统计、分卷大小与哈希、Git 备份及例外。 |
| [SHA256SUMS](SHA256SUMS) | 工作区分卷和归档的 Git bundle 校验值。 |
工作区快照以 MANIFEST.json 所列文件为准。
## 下载与恢复
需要 Hugging Face CLI、GNU tar、zstd 和 sha256sum。执行后得到 `./restored_code/output/`。
```bash
set -euo pipefail
export LC_ALL=C
hf download cywan/data-bak --repo-type dataset --include 'code/output/**' --local-dir ./data-bak
(cd './data-bak/code/output' && sha256sum -c SHA256SUMS)
mkdir -p './restored_code'
cat './data-bak/code/output/output.tar.zst.part-'* | zstd -dc | tar -xf - -C './restored_code'
```
符号链接在工作区分卷里按链接保存。迁移之后,按项目配置核对外部数据、模型及实验路径。