This commit is contained in:
xyj 2023-12-11 11:08:16 +08:00
parent d032b21584
commit c2ce4e59a7
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import glob
import time
# 设置您需要监控的文件夹路径
folder_path = '/home/lihai/pi/mp4'
folder_path = '/home/pi/mp4'
# 删除的达到大小 20G 就一直删除
size = 20
# 检查文件夹大小如果超过20G则开始删除文件