diff options
author | SanJacobs | 2022-10-08 15:40:00 +0200 |
---|---|---|
committer | SanJacobs | 2022-10-08 15:40:00 +0200 |
commit | 9932d6e71fe67faed901f56ae1d17c1f5b53587e (patch) | |
tree | 770aa0ea9448822345296d1ff15c5e88a438cda0 /send-refresh.sh | |
download | send-9932d6e71fe67faed901f56ae1d17c1f5b53587e.tar.gz send-9932d6e71fe67faed901f56ae1d17c1f5b53587e.tar.bz2 send-9932d6e71fe67faed901f56ae1d17c1f5b53587e.zip |
Initial Commit
Diffstat (limited to 'send-refresh.sh')
-rw-r--r-- | send-refresh.sh | 8 |
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 {} \; + + + + |