1
0

print out file size

This commit is contained in:
nicolas.dorier
2019-03-03 18:54:20 +09:00
parent 6a4421e9fb
commit 6a795eb7ff

View File

@@ -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