From f846a62eaa183713027eb04dc5eb02159da096f6 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Wed, 5 Jun 2019 07:20:09 +0000 Subject: [PATCH] --- cleanup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cleanup.sh b/cleanup.sh index 6bad121..4ef54ce 100644 --- a/cleanup.sh +++ b/cleanup.sh @@ -1,5 +1,8 @@ #! /bin/sh +rm -rf /root/.cache /root/.rnd +find /tmp -type d -name 'systemd-*-systemd-timesyncd.service*' -delete +find /var/tmp -type d -name 'systemd-*-systemd-timesyncd.service*' -delete find /var/lib/apt -type f -delete find /var/cache/apt -type f -delete find /var/log -type f -regextype posix-extended -regex '.*\.(gz|xz|[0-9])' -delete