From 7c687e5eb26f09ab0c0a1c3a10baa6f99087c6b2 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Mon, 25 Apr 2022 10:19:01 -0400 Subject: [PATCH] I dont' know how I messed up the first versions so badly, but this one is working --- scripts/birdnet_recording.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/birdnet_recording.sh b/scripts/birdnet_recording.sh index e2ea480..1f1cd8d 100755 --- a/scripts/birdnet_recording.sh +++ b/scripts/birdnet_recording.sh @@ -18,11 +18,11 @@ else done if [ -z ${REC_CARD} ];then arecord -f S16_LE -c${CHANNELS} -r48000 -t wav --max-file-time ${RECORDING_LENGTH}\ - --use-strftime ${RECS_DIR}/%B-%Y/%d-%A/%F-birdnet-$(date "+%F").wav + --use-strftime ${RECS_DIR}/%B-%Y/%d-%A/%F-birdnet-%H:%M:%S.wav else arecord -f S16_LE -c${CHANNELS} -r48000 -t wav --max-file-time ${RECORDING_LENGTH}\ -D "${REC_CARD}" --use-strftime \ - ${RECS_DIR}/%B-%Y/%d-%A/%F-birdnet-$(date "+%F").wav + ${RECS_DIR}/%B-%Y/%d-%A/%F-birdnet-%H:%M:%S.wav fi fi fi