From 8a05dfe5c7d637129fb10beb9305e16937713a96 Mon Sep 17 00:00:00 2001 From: nic Date: Sat, 25 May 2024 16:49:44 -0400 Subject: Change vim color scheme ++ --- .local/bin/space | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 .local/bin/space (limited to '.local/bin') diff --git a/.local/bin/space b/.local/bin/space new file mode 100755 index 0000000..a8eaa31 --- /dev/null +++ b/.local/bin/space @@ -0,0 +1,12 @@ +#!/bin/sh + +# Check if at least one argument is passed +if [ "$#" -eq 0 ]; then + echo "Usage: $0 [ ...]" + exit 1 +fi + +# Loop through all the arguments and perform 'du -sh' on each +for item in "$@"; do + du -sh "$item" +done | sort -h -- cgit v1.2.3