5 lines
134 B
Bash
Executable File
5 lines
134 B
Bash
Executable File
#!/usr/bin/env bash
|
|
nix-store -q --size $(nix-store -qR $(readlink -e $1) ) | \
|
|
awk '{ a+=$1 } END { print a }' | \
|
|
numfmt --to=iec-i
|