This repository has been archived on 2025-11-26. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nixos-config/modules/home/scripts/dsize
2023-11-11 22:38:55 +01:00

7 lines
105 B
Bash
Executable file

#!/bin/bash
if [ "$#" -eq 1 ]; then
du -hs $1
else
echo "[ERROR] => Wrong number of parameters"
fi