# Regenerated theme media files on theme refreshing

**URL:** <https://forum.shopware.com/t/regenerated-theme-media-files-on-theme-refreshing/100535>\
**Category:** Shopware 6 (English)\
**Created:** [17. Juli 2023 um 07:25 UTC](https://forum.shopware.com/t/regenerated-theme-media-files-on-theme-refreshing/100535 "2023-07-17T07:25:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emruardo](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@Emruardo](https://forum.shopware.com/u/Emruardo)\
**Post date:** [17. Juli 2023 um 07:25 UTC](https://forum.shopware.com/t/regenerated-theme-media-files-on-theme-refreshing/100535/1 "2023-07-17T07:25:27Z")

</div>

Dear Shopware Community,

I noticed that some of media files are often generated in theme-media folder like (favicon, defaultThemePreview, demostore-logo) and I get error if I want to delete them.  
they have been generated when I use the command bin/console theme:refresh. How can I pretend them to be regenerated ?  
Thank you for the replies.

 ![Screenshot 2023-07-17 at 08.57.09](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/e/2/e217b989692270f6172b14b76e2aaaa4a52fa085.png)
