*edit:* ~~a few ways, you can do the following ```bash ipfs pin ls > pin_list while IFS= read -r line; do ipfs object stat "$(echo "$line" | awk ' {print $1}') " | grep CumulativeSize >> sizes_in_bytes done < pin_list SIZE=0 while IFS= read -r line; do SIZE=SIZE+line done < sizes_in_bytes ``` but thats a pretty verbose way and won't scale when your datastore grows in size. IMO you're better off partitioning your disk and using a dedicated partition to store ipfs stuff then you can just run a simple `df -hl`~~ -> a few ways, you can do the following ```bash ipfs pin ls > pin_list while IFS= read -r line; do ipfs object stat "$(echo "$line" | awk ' {print $1}') " | grep CumulativeSize >> sizes_in_bytes done < pin_list SIZE=0 while IFS= read -r line; do SIZE=SIZE+line done < sizes_in_bytes echo $size ``` but thats a pretty verbose way and won't scale when your datastore grows in size. IMO you're better off partitioning your disk and using a dedicated partition to store ipfs stuff then you can just run a simple `df -hl`