Open Dracon09 opened 4 years ago
I would like to see this too, but it uses Plex to delete the files instead of accessing the filesystem itself. So unless Plex supports moving the files (which is highly unlikely), it requires a lot of work to code the function to move the files to a recycle bin.
Hey @Dracon09, I submitted a pull request to add a feature to record the paths of the files that are supposed to be removed without actually removing it. As you're running it in Docker, the path that Plex has (what this script will get) and the actual path in the container of this script might differ, I thought it might be more flexible if it just records the path and if you want you can write a few lines of bash code to actually move them.
In addition to that it might also give the flexibility for those who want to keep some duplicates instead of deleting all.
I'm not sure if you're still looking for this feature, given that it has been so long since you posted the issue, but check my fork in the meantime before @l3uddz accept the pull request.
Describe the problem If you pick the wrong "best" movie to keep then it deletes the other movies.
Describe any solutions you think might work Would be nice if instead of deleting the files it moved them to a separate path "Recyle Bin"
Additional context Running this from Unraid 6.8.3 in a docker
can you share your docker compose file?
Used the docker image
Describe the problem If you pick the wrong "best" movie to keep then it deletes the other movies.
Describe any solutions you think might work Would be nice if instead of deleting the files it moved them to a separate path "Recyle Bin"
Additional context Running this from Unraid 6.8.3 in a docker