soscmd/soscmd-cache-ncdu

8 lines
153 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
ncdu /
echo ":: Ran \"ncdu /\" successfully."