# Replacing Files in the Audio Bin

**URL:** <https://qa.fmod.com/t/replacing-files-in-the-audio-bin/11429>\
**Category:** FMOD Studio\
**Created:** [June 3, 2014, 9:49pm UTC](https://qa.fmod.com/t/replacing-files-in-the-audio-bin/11429 "2014-06-03T21:49:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkludlow](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@rkludlow](https://qa.fmod.com/u/rkludlow)\
**Post date:** [June 3, 2014, 9:49pm UTC](https://qa.fmod.com/t/replacing-files-in-the-audio-bin/11429/1 "2014-06-03T21:49:51Z")

</div>

Hi,

It seems to me that replacing files in the audio bin appears to replace them at first glance… but then when you actually open up the audio asset folder, the file is just added, not replaced. This is causing major file size bloat. Is there a quick way to clear out all of the unused versions? Along these lines, is there a simple way to convert to a project to a shared audio source directory to avoid this issue altogether?

Thanks for your help as always!

-R

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [June 4, 2014, 1:08am UTC](https://qa.fmod.com/t/replacing-files-in-the-audio-bin/11429/2 "2014-06-04T01:08:25Z")

</div>

As you may have guessed, the duplicate files are there to support undoing of asset replacement. Unfortunately, we have yet to implement the “clean up unused files” option in Studio, and the only way to convert a project to using a shared audio source directory for its files is to perform a replacement of all of its assets.

If you don’t want to do that, then the only option is to delete the obsolete files manually. You can get the full path and filename of the assets listed in Studio’s Audio Bin window by dragging them into the search bar, or into a text editor such as notepad++; This will allow you to easily identify the assets currently in use in your project so you can know which not to delete. (Incidentally, you can also type ##unused in the search bar to bring up a list of assets that aren’t used in any events, which can be handy if you’re looking for content to delete.)

You’re probably already aware of this, but only audio files used in events are included in a built project’s banks, so unused audio files won’t bloat out your game, even if they are inconvenient to work with.

---

<div class="post-metadata">

**Author:** ![rkludlow](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@rkludlow](https://qa.fmod.com/u/rkludlow)\
**Post date:** [June 5, 2014, 4:48pm UTC](https://qa.fmod.com/t/replacing-files-in-the-audio-bin/11429/3 "2014-06-05T16:48:49Z")

</div>

Great, thanks so much for the info!

---

<div class="post-metadata">

**Author:** ![regameyk](https://avatars.discourse-cdn.com/v4/letter/r/c77e96/32.png) [@regameyk](https://qa.fmod.com/u/regameyk)\
**Post date:** [January 29, 2015, 11:10pm UTC](https://qa.fmod.com/t/replacing-files-in-the-audio-bin/11429/4 "2015-01-29T23:10:20Z")

</div>

“Unfortunately, we have yet to implement the “clean up unused files” option in Studio…”

Any idea if this is planned at any point in the near future? Would be extremely helpful for our team to reduce iterative clutter.
