ソースを参照

clean_data preserve emptyblocks

master
コミット
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

読み込み中…
キャンセル
保存