diff options
-rwxr-xr-x | contrib/obs-mirror/rm-old-nightly-archives.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/obs-mirror/rm-old-nightly-archives.sh b/contrib/obs-mirror/rm-old-nightly-archives.sh index e28bce1..485bf01 100755 --- a/contrib/obs-mirror/rm-old-nightly-archives.sh +++ b/contrib/obs-mirror/rm-old-nightly-archives.sh @@ -8,7 +8,7 @@ DRY=0 # Get removal date in seconds since epoch and display it DATE_RM_SEC=$(expr $(date +%s) - 3600 \* 24 \* 32) DATE_RM_STR=$(date -d "@$DATE_RM_SEC" +"%Y-%m-%d") -echo "Removing nightly archives from $DATE_RM_STR and older" +echo "Removing nightly archives from $DATE_RM_STR and older (DRY=$DRY)" cd /downloads/obs-mirror |