make changes permanent

This commit is contained in:
Sebastian
2023-09-26 11:32:08 +02:00
parent 9e5f1eb2d7
commit e09547feab
5 changed files with 65 additions and 39 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
date
df -h / | awk 'NR==2 {print "Total: " $2, "Free: " $4}'
find /var/lib/docker/volumes -maxdepth 1 -type d -name 'rpc_*' -exec du -sh {} \; | sort -rh | awk '{cmd="basename "$2; cmd | getline dir; close(cmd); sub(/^rpc_/, "", dir); print $1, dir}'