[Feature] Delete external photos #5449
Replies: 14 comments 38 replies
-
my use case and suggestions for this: my photos are locked away on a folder on my NAS. So immich helps me discover photos that i forgot about... As i scroll, i want to make some "Fixes" or "Deletes" .... i totally understand not wanting to touch or accidently delete precious photos. But at the same time, it would be super useful to allow edits and deletes to "Write back" to the source files so i can update them at the source. I have 3 proposed implementation ideas for this:
These will put the responsibility on the user to delete and not immich, but then keep the edits and removals "in snyc" which is really important. |
Beta Was this translation helpful? Give feedback.
-
Because external libraries are mounted read only, it would be fine to
this implementation should be safe, it will not touch anything on the assets. |
Beta Was this translation helpful? Give feedback.
-
I uploaded 163228 photos and 5657 videos. It took 2 days (without transcoding) the photos I have on an external drive, now I find out that I can't delete unnecessary photos from immich web😒. |
Beta Was this translation helpful? Give feedback.
-
Add my vote for allowing deletion of external assets (I think this should be a choice for the end user personally). This is actually a huge problem for me, as my photos directory has multiple phone backup directories in it, and I've not had time to go through them and clean it up. 😒 Additionally, it would be super helpful if it would recognize duplicate photos in external libraries, and:
It could, as suggested above, also just move the files to the Trash folder. Thank you! |
Beta Was this translation helpful? Give feedback.
-
New to Immich, and I urgently need this feature too. Whats the point of a picture management software if it cannot perform one of the most basic functions. I assume it's a very common occurrence for self-hosters to have large libraries on a NAS. An alternative could be a change to the file name. I.e. if "delete asset" is triggered for external assets, the file name (actual and in DB to avoid double scan) is changed, e.g. with the suffix "DELETE". This would then allow for anyone to go onto the NAS, filter for the suffix, and manually delete them. Of course it's not ideal either, but better than nothing. EDIT: my current work around is to mark all pictures I want to delete, then download them via Immich, and use them as a reference database. Super inelegant, especially if it has to traverse multi level folder structures and thousands of pictures. But it seems to work until an official solution is available. |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
I added
and here the tables
then update
|
Beta Was this translation helpful? Give feedback.
-
I propose to add "Read Only" property for External library.
|
Beta Was this translation helpful? Give feedback.
-
I would suggest to cover it with try/catch clause in the code. The fact that external library is writeable or not I would leave to the decision of docker-compose manifest. If volume will be defined with :ro it will be readonly and attempt to remove file will fail, otherwise it should try to delete the file. Simple way we could achieve very configurable solution:
|
Beta Was this translation helpful? Give feedback.
-
Hey, I'm currently having the same problem. I think it would be nice if the user had the option to explicitly enable deleting the photos from the external folder, not just in the Immich system. 👍 |
Beta Was this translation helpful? Give feedback.
-
I would love this feature as well. A delete from "library only" button and a "Delete from Disk and library" would be nice. |
Beta Was this translation helpful? Give feedback.
-
Yes, I need this feature very much, otherwise I wouldn't be able to implement all my ideas! |
Beta Was this translation helpful? Give feedback.
-
Any updates for this request? |
Beta Was this translation helpful? Give feedback.
-
To implement this highly requested feature, external assets are no longer readonly as of #9235 If you would like to keep your assets as readonly, you may mount your volume as readonly in Docker. There is no special handling of readonly volumes in the app. That means you would still see things like delete buttons but the app would fail when it tries to delete those assets since the disk would not be writable |
Beta Was this translation helpful? Give feedback.
-
The feature
I have read this link: https://immich.app/docs/features/libraries
Although the reasons why external photos cannot be deleted are mentioned above, I think at least the user should be given a choice, and a button can be made, which can be turned off by default, so that the user can decide whether to delete external photos or not.
I hope to use immich for local photo management, but when I browse through photos, I find that I can't delete external pictures that I don't like. Looking forward to your reply.
Platform
Beta Was this translation helpful? Give feedback.
All reactions