I dont' know how I messed up the first versions so badly,
but this one is working
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user