[auditor] use the date for the report-directory

This commit is contained in:
Özgür Kesim 2023-06-27 13:09:16 +02:00
parent d3d744a444
commit e889179bdd
Signed by: oec
GPG Key ID: 3D76A56D79EDD9D7

View File

@ -83,7 +83,9 @@ optcheck "$@"
ARGS=("$@")
ARGS=(${ARGS[@]/$INF})
DIR=`mktemp -d reportXXXXXX`
DATE=`date +%F_%H:%M:%S`
DIR="report_$DATE"
mkdir $DIR
for n in aggregation coins deposits purses reserves
do
taler-helper-auditor-$n ${ARGS[*]} > ${DIR}/$n.json