rc-reseed.sh
This script restores a full project directory from a previously
packed .tar.gz tomb archive. It can be used to repopulate
the home/, bones/, and output/
structure from a historical version.
🧠 Purpose
To resurrect an archived site state—useful for regression testing,
audits, or timeline divergence. It is the opposite of
rc-pack.sh.
🌀 Usage
./scripts/rc-reseed.sh --archive bones/archive/tomb-0.2.0.tar.gzIf no archive is provided, the script may prompt or exit with error.
⚙️ Flags
| Flag | Description |
|---|---|
--archive |
Path to .tar.gz archive to unpack |
--dry-run |
Preview actions without extracting files |
--verbose |
Show detailed logs |
--help, -h |
Show usage information and exit |
📦 Example
./scripts/rc-reseed.sh --archive bones/archive/tomb-0.1.9.tar.gz