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:
Steve Dogiakos 2025-02-23 11:26:11 -07:00 committed by GitHub
parent 59f567f58b
commit 3de689ce02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 {} \;