#!/usr/bin/env bash # Optional: entire project (source) in one zip for backup. NOT the Qortal WEBSITE bundle — use make-zip.sh for that. set -euo pipefail ROOT="$(cd "$(dirname "$0")/.." && pwd)" cd "$ROOT" DATE="$(date +%Y%m%d)" OUT="My-Personal-Website-builder-source-${DATE}.zip" rm -f "$OUT" find . -type f \ -not -path '*/node_modules/*' \ -not -path '*/.git/*' \ -not -path './dist/*' \ -not -path './extracted/*' \ -not -name '*.zip' \ -print | zip -@ -9 "$OUT" echo "Source archive (builder project, not site deploy):" ls -la "$OUT"