mirror of https://gerrit.osmocom.org/osmo-ci
contrib/obs-mirror: log DRY var in rm script
Related: SYS#5764 Change-Id: I705e52030d538e6d86c72f2bccb0eb97e6dab1de
This commit is contained in:
parent
9b694744ea
commit
958224ea62
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue