Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

description

The Xmind app utilizes a file cache to restore previous versions of Xmind files. However, as you save multiple times, the storage for these cache files can grow significantly(>1~100GB). This behavior leads to the accumulation of redundant file versions, making earlier versions increasingly irrelevant to the current one.

To address this issue, I have implemented the following python code to delete unnecessary old version files and only leave the lastest 5 version.

Please execute by the Windows PowerShell and enter the following words: python <your py file path>

Xmind 应用程序使用文件缓存来恢复 Xmind 文件的先前版本。但是,随着您多次保存,这些缓存文件的存储空间会显著增长(>1~100GB)。此行为会导致冗余文件版本的积累,使早期版本与当前版本越来越不相关。

为了解决这个问题,我实现了以下 python 代码来删除不必要的旧版本文件,只保留最新的 5 个版本。

请通过 Windows PowerShell 执行并输入以下语句:python <您的 py 文件路径>

Xmind 應用程式利用檔案快取來還原先前版本的 Xmind 檔案。但是,當您保存多次時,這些快取檔案的儲存空間可能會顯著增長(>1~100GB)。此行為會導致冗餘文件版本的累積,使早期版本與當前版本越來越無關。

為了解決這個問題,我實作了以下Python程式碼來刪除不必要的舊版文件,只保留最新的5個版本。

請透過Windows PowerShell執行並輸入以下文字:python

About

delele redundant xmind cache

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages