my-scripts/space-usage-update
2023-04-18 11:03:58 +02:00

3 lines
88 B
Bash
Executable File

#!/bin/bash
df -h | awk '{ if ($6 == "/") printf "/: " $4; }' > $HOME/.cache/free-space