update
This commit is contained in:
parent
d032b21584
commit
c2ce4e59a7
|
@ -3,7 +3,7 @@ import glob
|
|||
import time
|
||||
|
||||
# 设置您需要监控的文件夹路径
|
||||
folder_path = '/home/lihai/pi/mp4'
|
||||
folder_path = '/home/pi/mp4'
|
||||
# 删除的达到大小 20G 就一直删除
|
||||
size = 20
|
||||
# 检查文件夹大小,如果超过20G,则开始删除文件
|
||||
|
|
Loading…
Reference in New Issue