NorthStar-HMI/download_recordings
2025-07-17 10:33:02 +02:00

11 lines
243 B
Bash

#!/bin/bash
# Configuration
PI_USER="pi"
PI_HOST="192.168.1.42"
REMOTE_FOLDER="/home/pi/data_logs/"
LOCAL_FOLDER="/recordings"
# Sync folder from Raspberry Pi to local
rsync -avz --progress "$PI_USER@$PI_HOST:$REMOTE_FOLDER" "$LOCAL_FOLDER"