only go back a week

This commit is contained in:
miampf 2024-01-29 16:06:59 +01:00
parent 4b024c1ecc
commit 5418d7bce0
No known key found for this signature in database
GPG Key ID: EF039364B5B6886C

View File

@ -34,7 +34,7 @@ artifact_pwd=$1
shopt -s nullglob
start_date=$(date "+%Y-%m-%d")
end_date=$(date --date "-10 day" "+%Y-%m-%d")
end_date=$(date --date "-7 day" "+%Y-%m-%d")
dates_to_clean=()
while [[ "$end_date" != "$start_date" ]]; do