Open IntoTheBlackHole opened 1 year ago
It is desirable to have a Recycle Bin path configurable in stash, similar to other paths:
If the Recycle Bin path is set (perhaps there would be an additional option to "Enable Recycle Bin"), when a user chooses to delete a scene the normal database updates would occur and as far as Stash is concerned the scene no longer exists. However, in the file system the scene and corresponding media file(s) and generated data would be moved to the Recycle Bin path while preserving directory structure.
Is your feature request related to a problem? Please describe. When I delete something from stash, I neither want to delete it permanently nor only from stashdb. I need it to be moved to a trash folder first and then remove it from stashdb.
This is how many apps on Linux work. They use trash-cli to delete as a Recycle Bin.
Describe the solution you'd like Allow satshapp to use a trash-cli or something else which better supports trash management.
for example: https://pkg.go.dev/github.com/rkoesters/xdg/trash