soscmd/soscmd-cache-ncdu
The StarOpenSource Project e5cedf059c Optimize scripts
2024-03-15 02:17:42 +01:00

7 lines
170 B
Bash
Executable file

#!/bin/bash
if [ ! -f "/usr/bin/ncdu" ]; then
echo ":: Error: You do not have ncdu installed."
exit 1
fi
ncdu --exclude-kernfs /
echo ":: Ran \"ncdu /\" successfully."