Update birdnet_stats.sh

This commit is contained in:
mcguirepr89
2021-10-07 13:54:10 -04:00
committed by GitHub
parent 792e410b60
commit b72aa58cc6
+1 -1
View File
@@ -15,7 +15,7 @@ while true;do
) / | (
"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"
EOF
if [ "$(find ${EXTRACTED} -name '*.wav' | wc -l)" -ge 1 ];then
if [ "$(find ${EXTRACTED} -name '*.wav' | wc -l &> /dev/null)" -ge 1 ];then
a=$( find "${EXTRACTED}" -name '*.wav' \
| awk -F "/" '{print $NF}' \
| cut -d'-' -f1 \