Cleanup after backup, fixes generate-config, updates immich
This commit is contained in:
@@ -11,3 +11,5 @@ if podman container exists "${user}-database"; then
|
||||
else
|
||||
echo "${user}-database" not found
|
||||
fi
|
||||
echo "Deleting older than 7 days files"
|
||||
find "${host_dir}" -maxdepth 1 -type d -mtime +7 -exec rm -rf {} +
|
||||
|
||||
Reference in New Issue
Block a user