Unrar to folder named for the rar file

This is the place to help test and discuss Version 6 Beta releases.

Unrar to folder named for the rar file

Postby Abraham » Mon Dec 30, 2013 8:44 am

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
Abraham
Occasional Contributor
Occasional Contributor
 
Posts: 29
Joined: Tue Feb 17, 2004 12:48 pm
Location: France

Registered Newsbin User since: 02/17/04

Re: Unrar to folder named for the rar file

Postby Abraham » Tue Dec 31, 2013 1:01 pm

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 ?
Abraham
Occasional Contributor
Occasional Contributor
 
Posts: 29
Joined: Tue Feb 17, 2004 12:48 pm
Location: France

Registered Newsbin User since: 02/17/04

Re: Unrar to folder named for the rar file

Postby Quade » Tue Dec 31, 2013 1:36 pm

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.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44986
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Unrar to folder named for the rar file

Postby Abraham » Tue Dec 31, 2013 1:39 pm

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!
Abraham
Occasional Contributor
Occasional Contributor
 
Posts: 29
Joined: Tue Feb 17, 2004 12:48 pm
Location: France

Registered Newsbin User since: 02/17/04


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: No registered users and 2 guests