Page 1 of 1

Unrar to folder named for the rar file

PostPosted: Mon Dec 30, 2013 8:44 am
by Abraham
Hello :)

First of all, sorry if my question has already been answered, I did try a search but maybe I didn't use the right wording (As you will probably notice, English isn't my native language).

I was trying to download pictures from a group and each set is in a rar file named for the set xxx.setxx.rar. The problem is, each rar contain pictures named 001.jpg ... xxx.jpg so if they are all unrared in the same folder it's a mess (copy xxx).
I cannot use the subject line either since it's very long and when using "subject" to create a sub-folder, newsbin "cut" the name after a certain number of letters (which make sense) so in the end, all files get unrared in the same folder named according to the fisrt part of the subject, before the "setXXX" appears
So, my question is, it there a way (short of disabling unrar altogether) to get the files unrared in a folder named for the rar file name (set001 ...)
Thank you in advance for your help and please forgive me if I am being thick :)

J-L

Re: Unrar to folder named for the rar file

PostPosted: Tue Dec 31, 2013 1:01 pm
by Abraham
I experimented a little more and it seems that $(filename) would actually work with one small limitation, you have to select the files one by one when adding them to the download list, otherwise, every rar files are extracted in a folder named after the rar name of the first file in the selection. Maybe there is a setting to edit in the nbi file to alter this behavior ?

Re: Unrar to folder named for the rar file

PostPosted: Tue Dec 31, 2013 1:36 pm
by Quade
Yeah I didn't forget this. I was trying to think what the best answer was.

[SETTINGS]
SingleSubject=0

I believe if you add this to the configuration file (exit Newsbin, then edit the NBI file with wordpad).

It'll use each subject as a source of the filename/subject instead of the default which is to use the first subject of a block of selected items.

Re: Unrar to folder named for the rar file

PostPosted: Tue Dec 31, 2013 1:39 pm
by Abraham
Thank you Quade, I will try that :)
And do not worry, I wasn't expecting as fast an answer, I know this period of the year is a busy one for everyone :)

Okay, I can confirm it works :) Thanks again for your help!