keep one week of roots

This commit is contained in:
Christoph Cullmann 2024-03-28 21:33:20 +01:00
parent 4c11cbf8f7
commit b0e9502903

View file

@ -113,7 +113,7 @@ in
btrfs subvolume delete "$1"
}
for i in $(find /btrfs_tmp/old_roots/ -maxdepth 1 -mtime +30); do
for i in $(find /btrfs_tmp/old_roots/ -maxdepth 1 -mtime +7); do
delete_subvolume_recursively "$i"
done