# Deleting linked media

**URL:** <https://forum.obsidian.md/t/deleting-linked-media/77250>\
**Category:** Feature requests\
**Created:** [February 20, 2024, 7:00pm UTC](https://forum.obsidian.md/t/deleting-linked-media/77250 "2024-02-20T19:00:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AP2023](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/8baadc/32.png) [@AP2023](https://forum.obsidian.md/u/AP2023)\
**Post date:** [February 20, 2024, 7:00pm UTC](https://forum.obsidian.md/t/deleting-linked-media/77250/1 "2024-02-20T19:00:40Z")

</div>

### Use case or problem

I would like that if I delete a note, I would be asked what to do with the documents linked in it, if they have no other references, whether to keep them or delete them.

### Proposed solution

When I delete a note I would like that if there are linked media that are only in that note, I would be asked whether to keep them or delete them

### Current workaround (optional)

All files remain

---

<div class="post-metadata">

**Author:** ![gino\_m](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/g/3ec8ea/32.png) [@gino\_m](https://forum.obsidian.md/u/gino_m)\
**Post date:** [February 21, 2024, 12:26am UTC](https://forum.obsidian.md/t/deleting-linked-media/77250/2 "2024-02-21T00:26:44Z")

</div>

Duplicate of

> [@Remove unused attachments](https://forum.obsidian.md/t/remove-unused-attachments/4856):
>
> Its hard to delete every attachment after deleting a file. And if there are lot of files in attachment folder its hard to find that specific attachment Maybe while deleting file there should be pop up asking if user wants to delete attachments too

---

<div class="post-metadata">

**Author:** ![ariehen](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ariehen/32/46932_2.png) [@ariehen](https://forum.obsidian.md/u/ariehen)\
**Post date:** [February 21, 2024, 12:31am UTC](https://forum.obsidian.md/t/deleting-linked-media/77250/3 "2024-02-21T00:31:50Z")

</div>

Split this topic on February 21, 2024, 12:31am UTC

A post was merged into an existing topic: [Remove unused attachments](https://forum.obsidian.md/t/remove-unused-attachments/4856)

---

<div class="post-metadata">

**Author:** ![ariehen](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ariehen/32/46932_2.png) [@ariehen](https://forum.obsidian.md/u/ariehen)\
**Post date:** [February 21, 2024, 12:32am UTC](https://forum.obsidian.md/t/deleting-linked-media/77250/4 "2024-02-21T00:32:18Z")

</div>

Closed on February 21, 2024, 12:32am UTC


