windvn/path/wdvn-clean

3 lines
79 B
Bash
Executable File

#!/bin/bash
wdvn-chroot "$1" apt -y autoclean
find "$1/var/log" -type f -delete