Once in a while, after extracting nested rars and cleanup, I end up having to go two folders deep to get to my video file. So, I end up having to manually move it to the parent folder; then, delete the unnecessary child folder . Is there a setting that makes SABnzbd smart enough to move all extracted contents to the parent folder; then, get rid of any unnecessary subdirectories? I looked in the settings; but, didn't see anything obvious. I searched online for a solution; but, the closest thing I could find was what seems to be the opposite of what I'm looking for.
https://bugs.launchpad.net/sabnzbd/+bug/579918
EDIT: While I know this isn't a universal setting that everyone would want; it is something that people would want to do for movie/TV files. Maybe if there isn't a setting for this, someone could suggest a post-processing script suggestion either in Windows batch or bash. Im guessing I'm not the first person who's wanted to do this.
Nested rars don't unpack to parent folder
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Nested rars don't unpack to parent folder
SABnzbd does some attempt to remove unnecessary folders.
It will remove a first level folder that contains just one folder.
(That is, when temp folder renaming isn't disabled.
Disabling it is recommended on Windows due to the paranoid attitude Windows has regarding folder renaming)
BTW: "Generic Sort" might solve the issue for you (Config->Sorting).
It will remove a first level folder that contains just one folder.
(That is, when temp folder renaming isn't disabled.
Disabling it is recommended on Windows due to the paranoid attitude Windows has regarding folder renaming)
BTW: "Generic Sort" might solve the issue for you (Config->Sorting).
Re: Nested rars don't unpack to parent folder
Hi skypike,
Thanks for the quick reply! I have a temp directory already defined for SABnzbd (installed on Windows); which seems to be working.
I am not familiar with sorting very much. All I know is I dont need/want auto sorting for TV/Movies; since I have a post-processing script for that.
What specifically do I need to do in Generic Sort to attempt to resolve this kind of issue (so files are put in one level deep instead of two levels deep)?
Thanks again!
Thanks for the quick reply! I have a temp directory already defined for SABnzbd (installed on Windows); which seems to be working.
I am not familiar with sorting very much. All I know is I dont need/want auto sorting for TV/Movies; since I have a post-processing script for that.
What specifically do I need to do in Generic Sort to attempt to resolve this kind of issue (so files are put in one level deep instead of two levels deep)?
Thanks again!
Re: Nested rars don't unpack to parent folder
Generic sorting works best for single file MKV style downloads.
Use something like %dn.%ext or %dn/%dn.%ext (the latter will create a folder named after the NZB name).
Use something like %dn.%ext or %dn/%dn.%ext (the latter will create a folder named after the NZB name).
Re: Nested rars don't unpack to parent folder
Currently, under "Generic Sorting" I have the below string in the "sort string" field for "default" category. Im not even sure if it's enabled or not.
%title (%y)/%title (%y).%ext
So, if I just change that field to:
%dn/%dn.%ext
Would it prevent the issue I mentioned? Should I expect any other different behavior? Is there anything else I need to do in order to enable generic sorting?
%title (%y)/%title (%y).%ext
So, if I just change that field to:
%dn/%dn.%ext
Would it prevent the issue I mentioned? Should I expect any other different behavior? Is there anything else I need to do in order to enable generic sorting?
Re: Nested rars don't unpack to parent folder
Just try. I'm sometimes surprised by what Sorting does.
(I didn't write this part.)
(I didn't write this part.)