Ubuntu 16.04系统下Skype 8.15.0.4本地缓存位置查询
Skype 8.15.0.4 (Ubuntu 16.04) 本地旧消息存储位置
针对你提到的Skype新版本不再使用main.db的情况,我专门研究过这个版本的存储机制,在Ubuntu 16.04环境下,Skype 8.x系列(包括8.15.0.4)改用了LevelDB格式的数据库来存储本地离线消息,具体路径和查看方法如下:
- 核心存储目录:
~/.config/skypeforlinux/IndexedDB/https_skype.com_0.indexeddb.leveldb/
这个目录下的文件是LevelDB的分片存储文件,你可以通过以下步骤查看里面的内容:
- 先安装LevelDB工具包(Ubuntu官方源里就有):
sudo apt-get update && sudo apt-get install leveldb-tools - 使用
ldb命令导出数据库内容:ldb dump ~/.config/skypeforlinux/IndexedDB/https_skype.com_0.indexeddb.leveldb/
需要注意的是,导出的内容是经过序列化的键值对,直接看会包含一些结构化标记和乱码片段,你可以用grep搭配关键词来筛选目标聊天内容,比如:
ldb dump ~/.config/skypeforlinux/IndexedDB/https_skype.com_0.indexeddb.leveldb/ | grep "你要找的关键词"
另外,路径里的~代表当前登录用户的主目录,比如你的用户名是alice,完整路径就是/home/alice/.config/skypeforlinux/IndexedDB/https_skype.com_0.indexeddb.leveldb/。
内容的提问来源于stack exchange,提问作者Why-Seven-Six
相关产品推荐
相关产品推荐

