# The cleanup of encrypted files ".crypted"

**URL:** <https://discourse.joplinapp.org/t/the-cleanup-of-encrypted-files-crypted/47140>\
**Category:** Support\
**Created:** [30 August 2025 13:01 UTC](https://discourse.joplinapp.org/t/the-cleanup-of-encrypted-files-crypted/47140 "2025-08-30T13:01:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![youyaxiaose](https://avatars.discourse-cdn.com/v4/letter/y/ac8455/32.png) [@youyaxiaose](https://discourse.joplinapp.org/u/youyaxiaose)\
**Post date:** [30 August 2025 13:01 UTC](https://discourse.joplinapp.org/t/the-cleanup-of-encrypted-files-crypted/47140/1 "2025-08-30T13:01:44Z")

</div>

### 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](https://github.com/laurent22/joplin/issues/12975)"?

---

<div class="post-metadata">

**Author:** ![mrjo118](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mrjo118/32/23404_2.png) [@mrjo118](https://discourse.joplinapp.org/u/mrjo118)\
**Post date:** [30 August 2025 16:38 UTC](https://discourse.joplinapp.org/t/the-cleanup-of-encrypted-files-crypted/47140/2 "2025-08-30T16:38:44Z")

</div>

See [Purge of .crypted files ? or orphan resources?](https://discourse.joplinapp.org/t/purge-of-crypted-files-or-orphan-resources/47041)

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

---

<div class="post-metadata">

**Author:** ![youyaxiaose](https://avatars.discourse-cdn.com/v4/letter/y/ac8455/32.png) [@youyaxiaose](https://discourse.joplinapp.org/u/youyaxiaose)\
**Post date:** [4 September 2025 13:16 UTC](https://discourse.joplinapp.org/t/the-cleanup-of-encrypted-files-crypted/47140/3 "2025-09-04T13:16:56Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [4 October 2025 13:17 UTC](https://discourse.joplinapp.org/t/the-cleanup-of-encrypted-files-crypted/47140/4 "2025-10-04T13:17:43Z")

</div>

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