소스 검색

clean_data preserve emptyblocks

master
MEUNIER Thibaud 1 년 전
부모
커밋
5d8263bcc1
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. +7
    -0
      scripts/clean_data.sh

+ 7
- 0
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

불러오는 중...
취소
저장