From c2ce4e59a75e26c19b8b94d857959c47c244aad4 Mon Sep 17 00:00:00 2001 From: xyj <10908227994@qq.com> Date: Mon, 11 Dec 2023 11:08:16 +0800 Subject: [PATCH] update --- delete_than20G.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delete_than20G.py b/delete_than20G.py index 6a5348c..9d04e68 100644 --- a/delete_than20G.py +++ b/delete_than20G.py @@ -3,7 +3,7 @@ import glob import time # 设置您需要监控的文件夹路径 -folder_path = '/home/lihai/pi/mp4' +folder_path = '/home/pi/mp4' # 删除的达到大小 20G 就一直删除 size = 20 # 检查文件夹大小,如果超过20G,则开始删除文件