瀏覽代碼

typo

tags/1.5
Nico Rey 4 年之前
父節點
當前提交
daf001b765
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      migrate_data.sh

+ 1
- 1
migrate_data.sh 查看文件

@@ -35,7 +35,7 @@ for filename in $(find . -name *.jpg); do
passname=$(echo "$basename" | cut -f1,2 -d'-')
echo "Migration in progress: $basename"
cp "$BASEPATH/$filename" "$FINALPATH"
convert -thumbnail 300 "$BASEPATH/$filename" "$FINALPATH/thumb/$filename"
convert -thumbnail 300 "$BASEPATH/$filename" "$FINALPATH/thumb/$basename"
if [[ $basename == *"METEOR"* ]]; then
sqlite3 "${RAMFS_AUDIO}/panel.db" "insert into decoded_passes (pass_start, file_path, daylight_pass, is_noaa) values ($epoch_date,\"$passname\",1,0);"
sqlite3 "${RAMFS_AUDIO}/panel.db" "insert into decoded_passes (pass_start, file_path, daylight_pass, is_noaa) values ($epoch_date,\"$passname\",1,0);"


Loading…
取消
儲存