summaryrefslogtreecommitdiff
path: root/tools/remove-old-recordings.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/remove-old-recordings.sh')
-rw-r--r--tools/remove-old-recordings.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/remove-old-recordings.sh b/tools/remove-old-recordings.sh
new file mode 100644
index 0000000..d376572
--- /dev/null
+++ b/tools/remove-old-recordings.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+# to be launched by cron on remote server
+
+find /var/recordings -type f -mtime +14 -delete