diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-04-03 00:24:49 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-04-03 00:24:49 +0300 |
commit | 9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1 (patch) | |
tree | 5f16ff3c7506b653862e0171d71163074f67c96e /bin/ak-calculate-size | |
parent | fe1fb88889b2c3949383c254f3058da24ba5e3f2 (diff) | |
download | arching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.tar.gz arching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.tar.bz2 arching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.zip |
Renaming to prefix convention, introduced ipfs wrappers so it can be easier to maintain, changes in filesplitter and filejoiner as they move sm submodule namespace... like there are namespaces in bash or something
Diffstat (limited to 'bin/ak-calculate-size')
-rwxr-xr-x | bin/ak-calculate-size | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-calculate-size b/bin/ak-calculate-size index 640d841..45fa5fa 100755 --- a/bin/ak-calculate-size +++ b/bin/ak-calculate-size @@ -2,7 +2,7 @@ extract-cids > to_stats sum=0 ; while IFS="" read -r p || [ -n "$p" ] do - num=$(ipfs block stat $p | grep Size | sed -e 's/Size: //g') + num=$(ak-ipfs-block-stat $p | grep Size | sed -e 's/Size: //g') sum=$(expr $sum + $num ) done < to_stats echo "Chain is : $sum bytes" |