comparison y4-blog.sh @ 8:3db7524d3dea

Add default images
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 20 Jul 2015 11:30:39 +0900
parents 6822f4362bf9
children f2204bd941d5
comparison
equal deleted inserted replaced
7:67a1bb482ce1 8:3db7524d3dea
250 err ok 250 err ok
251 i=$((i+1)) 251 i=$((i+1))
252 dir=`printf $bd/%03d $i` 252 dir=`printf $bd/%03d $i`
253 mkdir $dir 253 mkdir $dir
254 query "select quote(bin) from article_m where rowid=$rowid;" \ 254 query "select quote(bin) from article_m where rowid=$rowid;" \
255 | xxd -r -p > $dir/$filename 255 | unhexize > $dir/$filename
256 done 256 done
257 if [ ! -d $bd/001 ]; then 257 if [ ! -d $bd/001 ]; then
258 contenttype; echo 258 contenttype; echo
259 echo "<p>取得できるファイルがありませんでした。</p>" 259 echo "<p>取得できるファイルがありませんでした。</p>"
260 return 260 return

yatex.org