SugoiDogo
2024-01-29 07:30:37 -08:00
committed by GitHub
parent bb2f49dd0d
commit 044bb681a4

View File

@@ -18,5 +18,5 @@ echo "backup created at $FILE_PATH"
if [ "${DELETE_OLD_BACKUPS}" = true ]; then
echo "removing backups older than ${OLD_BACKUP_DAYS:=30} days"
find /palworld/backups/ -mindepth 1 -maxdepth 1 -mtime +$OLD_BACKUP_DAYS -print -delete
find /palworld/backups/ -mindepth 1 -maxdepth 1 -mtime "+$OLD_BACKUP_DAYS" -print -delete
fi