my-scripts/space-usage-update

3 lines
88 B
Plaintext
Raw Normal View History

2021-08-31 06:25:02 +00:00
#!/bin/bash
2022-10-25 11:52:22 +00:00
df -h | awk '{ if ($6 == "/") printf "/: " $4; }' > $HOME/.cache/free-space