# How to remove exact duplicate notes from an importing error

**URL:** <https://community.bear.app/t/how-to-remove-exact-duplicate-notes-from-an-importing-error/19048>\
**Category:** General\
**Tags:** features\
**Created:** [April 22, 2026, 12:39pm UTC](https://community.bear.app/t/how-to-remove-exact-duplicate-notes-from-an-importing-error/19048 "2026-04-22T12:39:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![snsokstan](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@snsokstan](https://community.bear.app/u/snsokstan)\
**Post date:** [April 22, 2026, 12:39pm UTC](https://community.bear.app/t/how-to-remove-exact-duplicate-notes-from-an-importing-error/19048/1 "2026-04-22T12:39:29Z")

</div>

I must have imported some .enex files twice as I now have many duplicated notes in Bear.

Is there a best way to identify and remove one instance of duplicated notes? I didn’t find any guidance here in Community.

I have my Claude Pro connected to Bear. Is there code I can develop to find (and delete) exact duplicates?

---

<div class="post-metadata">

**Author:** ![Twitchly](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@Twitchly](https://community.bear.app/u/Twitchly)\
**Post date:** [May 8, 2026, 4:39pm UTC](https://community.bear.app/t/how-to-remove-exact-duplicate-notes-from-an-importing-error/19048/2 "2026-05-08T16:39:42Z")

</div>

I have this same issue. I’m getting a lot of duplicate files while importing from Evernote. It’s going to be a pain to have to delete them.

---

<div class="post-metadata">

**Author:** ![rexikan](https://dub1.discourse-cdn.com/flex013/user_avatar/community.bear.app/rexikan/32/4117_2.png) [@rexikan](https://community.bear.app/u/rexikan)\
**Post date:** [May 8, 2026, 5:50pm UTC](https://community.bear.app/t/how-to-remove-exact-duplicate-notes-from-an-importing-error/19048/3 "2026-05-08T17:50:12Z")

</div>

> [@snsokstan](#):
>
> I have my Claude Pro connected to Bear. Is there code I can develop to find (and delete) exact duplicates?

You can ask Claude to list your notes and report duplicates based on content hash. If it looks all right, you can ask it to then delete the duplicates and keep one of each set. Or, if you let it access the CLI, it can help you to write a script that does it for you. You might want to be clear about whether you also want to search the archive and trash, and what copy to delete. Or maybe you can use the modified date if they are separate for the imports. It depends on your data.

Remember to take a backup before trying if something goes wrong.
