forked from axiom-team/g1-stats
12 lines
327 B
Bash
Executable File
12 lines
327 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
|
|
|
|
cacheFile=$(ls $SCRIPTPATH/../cache/walletsUp-*)
|
|
cacheID=$(echo $cacheFile | awk -F '-' '{ print $NF }')
|
|
|
|
#rm -f cache/bk-walletsUp-*
|
|
cp $cacheFile $SCRIPTPATH/../cache/bk-walletsUp-$cacheID
|
|
cp $SCRIPTPATH/../db/daily.json $SCRIPTPATH/../db/bk-daily.json-$cacheID
|
|
|