From 6a795eb7ffc5f507488516d6ddb7d836081a0c1e Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sun, 3 Mar 2019 18:54:20 +0900 Subject: [PATCH] print out file size --- contrib/FastSync/save-utxo-set.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/FastSync/save-utxo-set.sh b/contrib/FastSync/save-utxo-set.sh index 3f204c3..8352559 100755 --- a/contrib/FastSync/save-utxo-set.sh +++ b/contrib/FastSync/save-utxo-set.sh @@ -34,6 +34,7 @@ btcpay-up.sh echo "Calculating the hash of the tar file..." TAR_FILE="$(echo /var/lib/docker/volumes/generated_bitcoin_datadir/_data/utxo-snapshot-*)" +echo "Tar file of size $(ls -s -h $TAR_FILE) at $TAR_FILE" TAR_FILE_HASH="$(sha256sum "$TAR_FILE" | cut -d " " -f 1)" if [[ "$AZURE_STORAGE_CONNECTION_STRING" ]]; then