Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提供一个TIM用户文件(聊天记录等)关闭后丢失的临时解决方法 #189

Open
ZeroNinx opened this issue May 29, 2019 · 0 comments

Comments

@ZeroNinx
Copy link

ZeroNinx commented May 29, 2019

原理是备份TIM文件夹下的缓存数据,每次开启的时候把备份的数据复回去,关闭后把/tmp/TIM文件夹复制一份到自己的文件夹备份,以此循环.
为了方便,可以写成脚本,打开的时候(例如用.desktop)执行这个脚本就好了.
以下是我的脚本,根据机器环境及文件位置不同可能需要做适当修改(我在kali环境下root权限运行)

##TIM.sh
mkdir /tmp/TIM
cp -rf ~/Documents/Tim/tim_tmp/* /tmp/TIM/
~/Documents/Tim/TIM-x86_64.AppImage
cp -rf /tmp/TIM/* ~/Documents/Tim/tim_tmp/

@ZeroNinx ZeroNinx changed the title 关于TIM用户文件(聊天记录等)关闭后丢失的临时解决方法 提供一个TIM用户文件(聊天记录等)关闭后丢失的临时解决方法 May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant