aboutsummaryrefslogtreecommitdiff
path: root/send-refresh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'send-refresh.sh')
-rw-r--r--send-refresh.sh8
1 files changed, 8 insertions, 0 deletions
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 {} \;
+
+
+
+