soscmd/soscmd-cache-ncdu

8 lines
170 B
Text
Raw Normal View History

2023-06-03 11:28:50 +02:00
#!/bin/bash
if [ ! -f "/usr/bin/ncdu" ]; then
echo ":: Error: You do not have ncdu installed."
exit 1
fi
2024-03-15 02:17:42 +01:00
ncdu --exclude-kernfs /
2023-06-03 11:28:50 +02:00
echo ":: Ran \"ncdu /\" successfully."