Skip to content

Commit c3416ee

Browse files
committed
add stable cleanup for 8
1 parent 174b87f commit c3416ee

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cron/stable-cleanup-8

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
pushd /mnt/compose/8
4+
5+
SRCS=$(find . -maxdepth 1 -type d -mtime +7 | grep -vE 'SIG-|Rocky-8.10-2024' | sort)
6+
7+
printf "The following will be deleted\n"
8+
for x in $SRCS ; do echo ${x} ; done
9+
10+
rm -rf ${SRCS}

0 commit comments

Comments
 (0)