用自启动消除 方法。
进入/etc目录下,sudo vi rc.local,内容如下,在exit 0前输入自己的命令:rm -rf 路径 清除下面所有文件。
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
rm -rf '/home/LBDP/.deepinwine/Deepin-WeChat/drive_c/users/LBDP/Application Data/Tencent/WeChat/xweb/crash/Crashpad/reports'
exit 0
然后,sudo chmod +755 rc.local 授权
用sudo /etc/rc.local 来模拟执行。
也算临时解决一下问题。


中文 



今天系统(版本20.6)一直在报系统盘又满,
下了个清理软件,才清理了1.5G。
只要用在终端 du -hd 1 一路查下去。
发现微信临时文件占满整个系统盘!
LBDP@LBDP-PC:~/.deepinwine/Deepin-WeChat/drive_c/users/LBDP/Application Data/Tencent/WeChat/xweb/crash/Crashpad$ du -hd 1
67G ./reports
67G .
里面全是dmp文件,如是一rm*,就干掉了,
问题来了,微信会不会一开就会生成这个文件呢。那是不是动不动要清除一下。
那位大神有解决办法。