From 9932d6e71fe67faed901f56ae1d17c1f5b53587e Mon Sep 17 00:00:00 2001 From: SanJacobs Date: Sat, 8 Oct 2022 15:40:00 +0200 Subject: Initial Commit --- send-refresh.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 send-refresh.sh (limited to 'send-refresh.sh') diff --git a/send-refresh.sh b/send-refresh.sh new file mode 100644 index 0000000..d57647f --- /dev/null +++ b/send-refresh.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# Recursively delete directories by age (14 days) +find /path/to/base/dir/* -type d -ctime +14 -exec rm -rf {} \; + + + + -- cgit v1.2.1