# Preserve Folder Structure for Remotely Deleted Files

**URL:** https://community.bildhuus.com/t/preserve-folder-structure-for-remotely-deleted-files/542
**Category:** Feature Requests
**Tags:** tracked, resolved
**Created:** [19 April 2025 03:22 UTC](https://community.bildhuus.com/t/preserve-folder-structure-for-remotely-deleted-files/542 "2025-04-19T03:22:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![scatter\_shot](https://community.bildhuus.com/letter_avatar_proxy/v4/letter/s/ecd19e/32.png) [@scatter\_shot](https://community.bildhuus.com/u/scatter_shot)
#### Post date: [19 April 2025 03:22 UTC](https://community.bildhuus.com/t/preserve-folder-structure-for-remotely-deleted-files/542/1 "2025-04-19T03:22:23Z")

</div>

When files are moved to the remotely deleted folder they are added to the root. This has at least 2 consequences greatly reducing the utility of these archived files:

1. Name collision: if files in different library folders share a name and both are deleted there would be a name collision. This could be resolved in a number of ways but could ultimately lead to a jpeg and raw file pair being renamed differently and, therefore, no longer readily identifiable as a pair.
2. Loss of organizational structure: If a top-level folder is unintentionally deleted, all leaf files will be flattened into a single organizational structure. While the photos are recoverable in some form, the context captured in the folder structures is completely lost.

Ideally, when a file (i.e. `folder 1/folder 2/file a.jpeg`) is deleted it would be moved to the deleted\_remotely folder while maintaining the original folder structure (i.e., `deleted_remotely/folder 1/folder 2/file a.jpeg`). This makes the image easily discoverable and easily recoverable while also significantly reducing, though not entirely eliminating. the risk of name collisions

---

<div class="post-metadata">

### Author: ![Soenke](https://community.bildhuus.com/user_avatar/community.bildhuus.com/soenke/32/59_2.png) [@Soenke](https://community.bildhuus.com/u/Soenke)
#### Post date: [23 April 2025 08:05 UTC](https://community.bildhuus.com/t/preserve-folder-structure-for-remotely-deleted-files/542/2 "2025-04-23T08:05:09Z")

</div>

Added an internal ticket (#1542).

---

<div class="post-metadata">

### Author: ![Soenke](https://community.bildhuus.com/user_avatar/community.bildhuus.com/soenke/32/59_2.png) [@Soenke](https://community.bildhuus.com/u/Soenke)
#### Post date: [4 July 2025 19:26 UTC](https://community.bildhuus.com/t/preserve-folder-structure-for-remotely-deleted-files/542/3 "2025-07-04T19:26:28Z")

</div>

Implemented in the upcoming release (1.0.0-rc.24).
