macOS微信记录定时删除

    1. 删除命令
rm -r /Users/shixiaolong/Library/Group\ Containers/5A4RE8SF68.com.tencent.xinWeChat

rm -r /Users/shixiaolong/Library/Containers/com.tencent.xinWeChat/Data/Library/Application\ Support/com.tencent.xinWeChat/2.0b4.0.9
    1. 创建定时任务
      macos自带crontab
      将上述命令放入文件delwechathistory中,chmod 777
      然后crontab -e
0 * * * * ./delwechathistory

你可能感兴趣的:(macOS微信记录定时删除)