2026-03-12 20:51:59

This commit is contained in:
2026-03-12 21:51:59 +01:00
parent 92a93d2634
commit 4c51d00919
35 changed files with 1925 additions and 0 deletions

16
bash/adrci_purge.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/bash
AGE1MIN=0
AGE1DAYS=1440
AGE7DAYS=10080
AGE10DAYS=14400
AGE15DAYS=21600
AGE30DAYS=43200
PURGETARGET=$AGE1MIN
for f in $( adrci exec="show homes" | grep -v "ADR Homes:" );
do
echo "Purging ${f}:";
adrci exec="set home $f; purge -age $PURGETARGET ;" ;
done