diff options
Diffstat (limited to '')
-rwxr-xr-x | home-manager/packages/scripts/deprecated/dua | 6 | ||||
-rwxr-xr-x | home-manager/packages/scripts/deprecated/dua-up | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/home-manager/packages/scripts/deprecated/dua b/home-manager/packages/scripts/deprecated/dua new file mode 100755 index 00000000..628fa6f2 --- /dev/null +++ b/home-manager/packages/scripts/deprecated/dua @@ -0,0 +1,6 @@ +#! /bin/bash + +tmp=$(mktemp) +cat $DUA_DATABASE > $tmp + +cat $tmp | awk '{print $1}' | sort diff --git a/home-manager/packages/scripts/deprecated/dua-up b/home-manager/packages/scripts/deprecated/dua-up new file mode 100755 index 00000000..2201f351 --- /dev/null +++ b/home-manager/packages/scripts/deprecated/dua-up @@ -0,0 +1,3 @@ +#! /bin/bash +sudo btrfs filesystem du --raw / > $DUA_DATABASE +echo "done" |