#!/bin/bash

echo "================================================"
echo "Manually Pushing BAT Files to NAS"
echo "================================================"
echo ""

echo "[1/3] Pushing files to /data/test/COMMON/ProdSW/..."
scp -o StrictHostKeyChecking=no \
    D:/ClaudeTools/DEPLOY.BAT \
    D:/ClaudeTools/CTONW.BAT \
    D:/ClaudeTools/CTONWTXT.BAT \
    D:/ClaudeTools/NWTOC.BAT \
    D:/ClaudeTools/UPDATE.BAT \
    D:/ClaudeTools/CHECKUPD.BAT \
    D:/ClaudeTools/STAGE.BAT \
    D:/ClaudeTools/REBOOT.BAT \
    D:/ClaudeTools/AUTOEXEC.BAT \
    root@192.168.0.9:/data/test/COMMON/ProdSW/
echo "[OK] COMMON/ProdSW updated"
echo ""

echo "[2/3] Pushing UPDATE.BAT to /data/test/ root..."
scp -o StrictHostKeyChecking=no D:/ClaudeTools/UPDATE.BAT root@192.168.0.9:/data/test/
echo "[OK] UPDATE.BAT pushed to root"
echo ""

echo "[3/3] Pushing DEPLOY.BAT to /data/test/ root..."
scp -o StrictHostKeyChecking=no D:/ClaudeTools/DEPLOY.BAT root@192.168.0.9:/data/test/
echo "[OK] DEPLOY.BAT pushed to root"
echo ""

echo "================================================"
echo "Manual Push Complete!"
echo "================================================"
