diff --git a/conts-snap.sh b/conts-snap.sh index 55825c8..0dff06f 100755 --- a/conts-snap.sh +++ b/conts-snap.sh @@ -8,7 +8,7 @@ mount $containers_dir cd /var/lib/machines for filename in *; do systemctl start cont-snap@$filename.service - btrfs subvolume delete $containers_dir/$filename/$(date -d "-15 days" +"%Y%m%d")* + btrfs subvolume delete $containers_dir/$filename/$(date -d "-8 days" +"%Y%m%d")* done umount $containers_dir