Page 1 of 1
How can I best filter out .par2 etc but keep the .rar files
Posted:
Sun Jun 15, 2003 4:37 pm
by bagera
I've been trying \.par2$ to filter out the .PAR2 files but not the .part##.rar any suggestions on how to better accomplish this.
I want the .rar files but I almost never need the extra stuff. I figure on the rare occasion when I need those files I can switch off the filtering to get them.
Posted:
Sun Jun 15, 2003 5:30 pm
by Smite
well, for par2, it won't match part anyhow (since there's no 2 in it).
For par1 files, (with .par extensions) I'm not sure. A size filter would work, but would also filter some files you DO want.
Posted:
Mon Jun 30, 2003 11:15 am
by tch
I don't have newsbin in front of me, but I'm thinking something like:
\.p(\d+)$ for the .p01,.p02 etc
and then
\.par$ for the .par file
Posted:
Tue Jul 01, 2003 12:06 am
by Smite
That would work (actually, the \d+ part wouldn't), provided you had that as a file accept filter. The issue with file filters being that Newsbin has to start downloading the post in order to find out the filename. Using subject filters is faster, and much less likely to annoy your news server.