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
This commit is contained in:
2025-02-23 11:26:11 -07:00
committed by GitHub
parent 59f567f58b
commit 3de689ce02

2
paperless_tmp_clean.sh Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
find /var/lib/docker/overlay2/${TMP}/diff/tmp -type f -atime +1 -exec rm -f {} \;