From 3de689ce0292fd39eb81cad680c2b8a130370f25 Mon Sep 17 00:00:00 2001 From: Steve Dogiakos Date: Sun, 23 Feb 2025 11:26:11 -0700 Subject: [PATCH] Create paperless_tmp_clean.sh Created paperless_tmp_clean.sh so that to manually clean the Paperless-ngx temp for cleaning out them out. needs to be set to a cron schedule --- paperless_tmp_clean.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 paperless_tmp_clean.sh diff --git a/paperless_tmp_clean.sh b/paperless_tmp_clean.sh new file mode 100644 index 0000000..96cf8dc --- /dev/null +++ b/paperless_tmp_clean.sh @@ -0,0 +1,2 @@ +#!/bin/bash +find /var/lib/docker/overlay2/${TMP}/diff/tmp -type f -atime +1 -exec rm -f {} \;