add file
@@ -1,80 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id": 0,
|
||||
"h": "創造",
|
||||
"src": "89",
|
||||
"cid": "bafkreibh4nmdgyzvjvkhek2ultx4lsrrq2dnc7z2lqbua2ik47xo2zgkru"
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"h": "夢幻",
|
||||
"src": "100",
|
||||
"cid": "bafkreiajf5lblrojyo7vcqdhiqgbhd5eaj3u47mvvqf63kvexwfwphpx2y"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"h": "光輝",
|
||||
"src": "109",
|
||||
"cid": "bafkreieywv4thvjrwbcf2dcol4svwmculf5qm2kvjtu2ywyyh56c7swi64"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"h": "中性子",
|
||||
"src": "88",
|
||||
"cid": "bafkreieuphzhesuoqouszzwuv3iw7d5nz4eamlqc2csfv26d5vmcdg2qby"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"h": "太陽",
|
||||
"src": "59",
|
||||
"cid": "bafkreifw7f44ldmi7bufs5rzwftjvgmsflekkvxazqns63venm7hqnql3q"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"h": "夜空",
|
||||
"src": "112",
|
||||
"cid": "bafkreicuieuz6wjva7l7t2u5n46izxs7nku6tedlgtlgkabszjz5dn3yl4"
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"h": "白雪",
|
||||
"src": "15",
|
||||
"cid": "bafkreihl5ifvl3ougbfdjfdjwrhdjrncqm5opj65cteow5f2aj7p6nz42y"
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"h": "雷帝",
|
||||
"src": "30",
|
||||
"cid": "bafkreihylxc22kfcb3bereypl6tvqkiqtazod3tp7vbze7yxdqedwli6z4"
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"h": "超究",
|
||||
"src": "108",
|
||||
"cid": "bafkreieq4tdiq72tsbvqv5bnitd5sj5bbvtmee5off3k4nvl7za3plhj5m"
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"h": "剣技",
|
||||
"src": "103",
|
||||
"cid": "bafkreig2uzf5cyn5fty5ftumd6wyg7vf5wry37h4v4mmorkx5msvn3uqvu"
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"h": "破壊",
|
||||
"src": "87",
|
||||
"cid": "bafkreifcos5ur6y753jepmy4ttgylasvcyk5osguzlaojcnlrshl3q6k3a"
|
||||
},
|
||||
{
|
||||
"id": 11,
|
||||
"h": "地球",
|
||||
"src": "78",
|
||||
"cid": "bafkreigpxxkzz2oesnb2mnfe42nrgk57wnr73ssn5luriy3j25mij43uki"
|
||||
},
|
||||
{
|
||||
"id": 12,
|
||||
"h": "天ノ川",
|
||||
"src": "115",
|
||||
"cid": "bafkreiefcjjplklmo6wrc7pq23yaewg2zgjm7nsmjy5q7mut2dnxydomnm"
|
||||
}
|
||||
]
|
Before Width: | Height: | Size: 173 KiB |
Before Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 67 KiB |
Before Width: | Height: | Size: 182 KiB |
Before Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 225 KiB |
Before Width: | Height: | Size: 2.5 MiB |
Before Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 196 KiB |
Before Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 174 KiB |
Before Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 155 KiB |
Before Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 192 KiB |
Before Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 208 KiB |
Before Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 172 KiB |
Before Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 166 KiB |
Before Width: | Height: | Size: 2.0 MiB |
Before Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 191 KiB |
Before Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 78 KiB |
Before Width: | Height: | Size: 152 KiB |
Before Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 152 KiB |
Before Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 80 KiB |
@@ -1,21 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
d=${0:a:h}
|
||||
j=$d/card.json
|
||||
n=`cat $j|jq length`
|
||||
n=$((n - 1))
|
||||
for ((i=0;i<=$n;i++))
|
||||
do
|
||||
t=`cat $j|jq ".[$i].cid"`
|
||||
id=`cat $j|jq ".[$i].id"`
|
||||
f=card_${id}.webp
|
||||
if ls $f;then
|
||||
cid=`atr img-upload $f|head -n 1`
|
||||
echo $cid
|
||||
if cat $j |jq ".[$i]|= .+ {\"cid\":\"$cid\"}";then
|
||||
cat $j |jq ".[$i]|= .+ {\"cid\":\"$cid\"}" >! $j.back
|
||||
mv $j.back $j
|
||||
cat $j|jq ".[$i]"
|
||||
fi
|
||||
fi
|
||||
done
|