From 5d8263bcc113b756927154ec33541b5840b4808f Mon Sep 17 00:00:00 2001 From: MEUNIER Thibaud Date: Mon, 29 Jan 2024 18:57:27 +0100 Subject: [PATCH] clean_data preserve emptyblocks --- scripts/clean_data.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/clean_data.sh b/scripts/clean_data.sh index d908380..7bb0c97 100755 --- a/scripts/clean_data.sh +++ b/scripts/clean_data.sh @@ -10,6 +10,13 @@ do touch -t $date $DATA_PATH/*/$BLOCK.* done +# Conserver les blocks vides +for BLOCK in `ls $DATA_PATH/emptybot/*.png` +do + fichier=`basename $BLOCK` + touch -t $date $DATA_PATH/*/$fichier +done + # Effacer ce qui trop vieux if [ "$#" -eq "0" ] then