0.14.1 initial dayglo

This commit is contained in:
2024-10-20 13:05:00 +11:00
parent b043cc5186
commit b5255e4996
12 changed files with 364 additions and 13 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
LOCAL_DIR="/media/frigate"
NFS_DIR="/mnt/nfs_frigate"
# Check if NFS is mounted
if mountpoint -q "$NFS_DIR"; then
# Move files older than 1 day
find "$LOCAL_DIR" -type f -mtime +1 -exec mv {} "$NFS_DIR" \;
fi