Skip to content

Instantly share code, notes, and snippets.

View MichiasAsnake's full-sized avatar
🌐
Focusing

Michias Asnake MichiasAsnake

🌐
Focusing
View GitHub Profile
#!/bin/bash
set -e
cd /data/workspace
echo "Downloading Stuart's memory from GitHub..."
curl -sL https://github.com/MichiasAsnake/stuart-workspace-backup/tarball/main -o /tmp/stuart.tar.gz
echo "Extracting files..."
tar xzf /tmp/stuart.tar.gz --strip-components=1 -C /data/workspace
echo "Files restored:"
ls -lh *.md memory/*.md 2>/dev/null
echo "✅ Restoration complete!"