Update clear_all_data.sh

This commit is contained in:
Patrick McGuire
2021-10-12 12:55:42 -04:00
committed by GitHub
parent 06b989b779
commit 51c7ff61df
+1 -1
View File
@@ -8,7 +8,7 @@ echo "Stopping services"
sudo systemctl stop birdnet_recording.service
echo "Removing all data . . . "
sudo rm -drf "${RECS_DIR}"
rm "${IDFILE}"
sudo rm -f "${IDFILE}"
echo "Recreating necessary directories"
[ -d ${RECS_DIR} ] || sudo -u ${BIRDNET_USER} mkdir -p ${RECS_DIR}
[ -d ${EXTRACTED} ] || sudo -u ${BIRDNET_USER} mkdir -p ${EXTRACTED}