arnaucube
arnaucube/configsPublic Self-hosted repository
configs/bin/dap-update
bin/dap-updateRaw
 1#!/usr/bin/env bash
 2#
 3
 4
 5DEVICE_PATH=$1
 6
 7if [ -z $DEVICE_PATH ] ; then
 8	echo "missing 1st argument (DEVICE_PATH), ie. where to download the files"
 9	exit 1
10fi
11
12rsync -avz --progress --ignore-existing tele-rpi5:/mnt/usb/audio/ $DEVICE_PATH