BookLore icon indicating copy to clipboard operation
BookLore copied to clipboard

Deleting books via webapp leaves empty directories

Open clockwinder opened this issue 5 months ago • 1 comments

Deleting books via webapp leaves empty directories.

This is inconvenient for me, but not a huge deal.

Should we add a check that if a file is the last in a directory, it'll remove the directory?

clockwinder avatar Jun 27 '25 23:06 clockwinder

Actually, I was thinking about the same, removing the parent folder if it’s empty after deleting a book. But I need to be cautious to avoid accidentally deleting the library root folder. I’ll explore this further and try to implement the changes safely.

acx10 avatar Jun 28 '25 01:06 acx10