# I've deleted images in the local sync folder, but they are shown in label studio

**URL:** <https://community.labelstud.io/t/ive-deleted-images-in-the-local-sync-folder-but-they-are-shown-in-label-studio/523>\
**Category:** Label Studio Support\
**Tags:** annotations\
**Created:** [March 22, 2025, 1:54pm UTC](https://community.labelstud.io/t/ive-deleted-images-in-the-local-sync-folder-but-they-are-shown-in-label-studio/523 "2025-03-22T13:54:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melobih](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@Melobih](https://community.labelstud.io/u/Melobih)\
**Post date:** [March 22, 2025, 1:54pm UTC](https://community.labelstud.io/t/ive-deleted-images-in-the-local-sync-folder-but-they-are-shown-in-label-studio/523/1 "2025-03-22T13:54:22Z")

</div>

Hello!

I have a “small” problem with deleted images in the sync folder for Label Studio. The issue is that I had to delete some images from the sync folder. Even after deleting the images from the sync folder, Label Studio still shows them in the UI.  
Is there a way to filter out these deleted images all at once?  
I have over 7,000 deleted images, so doing it manually would take a very long time.

Thank you in advance!

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/labelstudio/original/1X/22b2912641df0070d0deba419f3668fb3ef338c7.png)

---

<div class="post-metadata">

**Author:** ![makseq](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/makseq/32/26_2.png) [@makseq](https://community.labelstud.io/u/makseq)\
**Post date:** [March 23, 2025, 12:52pm UTC](https://community.labelstud.io/t/ive-deleted-images-in-the-local-sync-folder-but-they-are-shown-in-label-studio/523/2 "2025-03-23T12:52:32Z")

</div>

There is no easy way to do it. You don’t need to delete images in the sync storage, you should use the data manager action “Delete tasks”.

Now you have to write an API/SDK script to do it or you can try doing it using label studio terminal with the direct django ORM access.
