-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] - Ability to delete inside rar #159
Comments
And just deleting from the source folder is not enough? |
When using things like sonarr which can scan and upgrade media files to higher quality. It causes problem since sonarr cannot delete the old files. You can't scan the source folder since then it can't see the media files. |
Got it. But how do you foresee this? |
Yes exactly. If I have multiple folders Sonarr can scan the folders and put upgraded .mkv into each folder where possible. Then afterwards when it tries to delete the previous .mkv it gets But as I am typing this. I am thinking it would be much better actually, if rar2fs could at the time of delete, mkdir Then it would be impossible to have any kind of accidental data loss. But you could also get these kind of tools to work perfectly. |
Doable I guess. But always moving deleted files to a trash-style folder might not be what you want either. But to allow deletion of an entire archive simply because a single file in it is "deleted", well I need to think about that one. From what I understand it would not be needed to cover your specific use-case anyway and it would appear more consistent not to allow it. |
Yes you understand correctly. For my use case, moving the archives for deleted files using trash style folder is just perfect. After thinking about it more, I see no reason for deleting the archives instead of just moving them. Looking forward to see if you can come up with a solution. |
Unfortunately I cannot give you an ETA on this. I am rather busy right now and thus not able to look into it at the moment. |
I was thinking, would it matter if actual archive is left as is and that only files get hidden from user? |
In my case it does not matter as long as there is some way to find which archive files were deleted. To be able to have some script "real" delete them periodically. |
So a "fake" file residing under the rar2fs mount point as e.g. |
Sure, that's fine |
If possible, the ability to
rm -rf folder
to delete the underlying rar files would be very useful.This might be difficult to implement if there are multiple files inside the rar archive. But at least in my case, if ANY files from inside the rar archive attempt delete, then it's acceptable to delete all the rar files.
This would need to be behind flag since that would be unexpected behaviour for those not aware of how it works.
The text was updated successfully, but these errors were encountered: