The cleanup of encrypted files ".crypted"

If this is a bug report, please create it on GitHub instead. Follow this link:

on

Operating system

macOS

Joplin version

3.4.6

Desktop version info

Joplin 3.4.6 (prod, darwin)

设备:darwin, Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz
客户端 ID: xxxxx
同步版本:3
配置档案版本:48
支持的密钥链:是
替代性实例 ID: -

修订:4128061

Admonition markdown extension: 1.1.0
Autolinker: 1.0.4
Automatic Backlinks to note: 3.0.3
Joplin Batch: 0.2.2
Markdown Table: Colorize: 1.2.0
Outline: 1.5.14
Quick Links: 1.3.2
Spoilers: 1.0.6

Sync target

WebDAV

Editor

Markdown Editor

What issue do you have?

Do you know about the phenomenon mentioned in "The cleanup of encrypted files ".crypted" · Issue #12975 · laurent22/joplin · GitHub"?

See Purge of .crypted files ? or orphan resources?

On mobile the only way it is possible to delete crypted files is to uninstall the app and therefore delete anything. On desktop, you can delete the crypted files when the app is not running. If you know how to write bash (or some other scripting language), you could write a bash script to manually run when Joplin is closed, which will delete all .crypted files in the .resources folder where there is no matching file without the crypted extension

Thank you for your reply. I believe I understand now. I previously researched related information, which mentioned that original isolated resource files (with associated records in the database or elsewhere) cannot be manually deleted directly and must be handled through Joplin's official API. Therefore, I was uncertain whether the same restriction applied to manually deleting .crypted files.

Your provided link clarifies that .crypted files are no longer needed after synchronization and will likely be regenerated and overwritten during the next change. Therefore, it appears feasible for me to write a script that directly deletes specific .crypted files or all *.crypted encrypted files when Joplin is not running.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.