df -h ~/.ipfs/ | tail -n 1 | awk '{print $4}'

This commit is contained in:
qo-op 2020-05-21 01:59:19 +02:00
parent d8779b3b4f
commit d2ef8d267d
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ echo "DISK SIZE AVAILABLE & PERFORMANCE TESTING"
[[ -f ~/.zen/test.disk ]] && rm -f ~/.zen/test.disk
diskperf=$(dd if=/dev/zero of=~/.zen/test.disk bs=10M count=1 oflag=dsync 2>&1 | tail -n 1 | sed s/\,\ /\ -/g | cut -d '-' -f 4)
# echo $diskperf
sizeAvail=$(df -h ~/ | tail -n 1 | awk '{print $4}')
sizeAvail=$(df -h ~/.ipfs/ | tail -n 1 | awk '{print $4}')
# IPFS LOCAL REPOSITORY for Node Identity G1 + SSB