# \[Plugin\] Safe Replace - Manage destination folders and clean up on save

**URL:** https://community.metabrainz.org/t/plugin-safe-replace-manage-destination-folders-and-clean-up-on-save/814828
**Category:** MusicBrainz Picard
**Created:** [May 9, 2026, 9:05pm UTC](https://community.metabrainz.org/t/plugin-safe-replace-manage-destination-folders-and-clean-up-on-save/814828 "2026-05-09T21:05:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![neFAST](https://community.metabrainz.org/user_avatar/community.metabrainz.org/nefast/32/108410_2.png) [@neFAST](https://community.metabrainz.org/u/neFAST)
#### Post date: [May 9, 2026, 9:05pm UTC](https://community.metabrainz.org/t/plugin-safe-replace-manage-destination-folders-and-clean-up-on-save/814828/1 "2026-05-09T21:05:25Z")

</div>

Hi all,

I’d like to share a small plugin I’ve been working on: Safe Replace. I’m not a professional developer, so Gemini AI  
helped me quite a bit with the Picard API and the Python parts.

The goal is to manage destination folders better when moving files:

- Dest Status column: Shows if the target folder exists and how many audio files are already inside.
- Auto-Cleanup: When moving files, it recycles existing audio in the target folder before Picard starts writing.
- Safety: It detects “in-place” saves so it won’t touch your files if you’re just updating tags.
- Context menu: Quick options to open or clean the destination manually.

I’ve spent some time testing it to handle Picard’s asynchronous saving correctly (to avoid any data loss). Since it’s  
“AI-assisted” coding, I’d really appreciate your feedback if you find any bugs or weird behavior!

Repo: [GitHub - JulienMaille/picard-safe-replace · GitHub](https://github.com/JulienMaille/picard-safe-replace)

Thanks!

---

<div class="post-metadata">

### Author: ![Jormangeud](https://community.metabrainz.org/user_avatar/community.metabrainz.org/jormangeud/32/15110_2.png) [@Jormangeud](https://community.metabrainz.org/u/Jormangeud)
#### Post date: [May 11, 2026, 3:14pm UTC](https://community.metabrainz.org/t/plugin-safe-replace-manage-destination-folders-and-clean-up-on-save/814828/2 "2026-05-11T15:14:35Z")

</div>

Quickly checked.

I assume this requires the Windows APIs/libraries (recycle bin) and will fail on other platforms?  
How does that work with network shares?
