obs-r2-uploader/start-obs-watcher.sh

22 lines
590 B
Bash
Executable File

#!/bin/bash
# Auto-upload OBS recordings to Cloudflare R2
# Run this script to start watching for new recordings
# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$SCRIPT_DIR"
echo "=========================================="
echo "OBS Recording Auto-Uploader"
echo "=========================================="
echo ""
echo "This will monitor your OBS recordings directory"
echo "and automatically upload new videos to R2."
echo ""
echo "Press Ctrl+C to stop"
echo ""
# Start the file watcher
./scripts/start-watcher.sh