rc-unpack.sh

Unpack tomb archives and restore site state

🪦 rc-unpack.sh

rc-unpack.sh is a planned restoration script that will reverse the effects of rc-pack.sh. It will extract archived tombs and restore either the rendered HTML (/output/) or exported JSON data for rehydration or inspection.

Status: This script is not yet implemented. It is reserved for future versions of Rotkeeper.


📂 What It Will Do

When passed a .tar.gz archive from rc-pack.sh, this script will:


🧬 Planned JSON Support

Rotkeeper may also support direct restoration from exported JSON files:

bones/archive/tomb-export-YYYY-MM-DD_HHMM.json

This would allow:


🛠 Planned Usage

bash bones/scripts/rc-unpack.sh bones/archive/tomb-2025-05-27_1113.tar.gz

Optional flags may include:


🔐 Safety Features



Author:

Project: Rotkeeper

Version: v0.2.3-pre

License: