222MHz
02-24-2009, 07:20 AM
For the Linux bunch that run into this thread...
Newspost (http://newspost.unixcab.org/)
Currently it only supports automagically creating par and not par2 files, but if you've come this far that should be no sweat off your back.. I saw an email (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479139) on a bug tracking list discussing some interesting features that could be implemented.
After installing, you'll need to generate the ~/.newspostrc file containing all the default values such as your news server, login information, email (probably fake) and few other things.. The man page has somewhat descent documentation. Give it a look over for all options you might want to include. -i,-z,-u,-p,-f,-F,-o,-n,-w,-m,-x,-q,-y,-B,-l,-X,and -k can be set.
Running newspost with the -d switch will generate this file for you.. Here is an example.
newspost -d -i news.astraweb.com -z 119 -u username -p ur_password -f ur_email@address -F 'Your Name' -q -y
Now once again, with the -d tossed in there all were are doing is generating the ~/.newspostrc so we can forget about all that login crap and what not.. Also have a look at the man page to decide if you'd like to include the -e or -c.. -e will post a plain text file containing the same subject line and the lines that will follow, however it will list the file part as 0/21 or whatever.. And the -c will generate a .sfv file.
So now that everything is set up we'll go ahead and post a test file to a.b.test with this..
newspost -n alt.binaries.test -s 'Test Post for FileSharing Talk.com' /location/of/foo/bar/*.mp3What we end up with is a post to the group that will look something like this...
Test Post for FileSharing Talk.com- File 1 of 3: "track01.mp3" yEnc (01/12)Remembering that newspost does not create par2 files, but can post anything. If your clever and know how to use some *.globing (http://wooledge.org:8000/BashGuide#BashGuide.2BAC8-TheBasics.2BAC8-Patterns.Glob_Patterns) techniques, you can get away with posting all .rar .par2 all in one shot. Have a look at BASH (http://wooledge.org:8000/BashGuide), and it's man (http://www.linuxmanpages.com/man1/bash.1.php) page.
So, there is also a built in -T switch you can toss in to set it to launch at a specific time say 10 minutes or whatever. I prefer to use newspost in conjunction with the command at (http://www.linuxmanpages.com/man1/at.1.php). This way I can set it, forget about it and then receive system mail when it executes.
Newspost (http://newspost.unixcab.org/)
Currently it only supports automagically creating par and not par2 files, but if you've come this far that should be no sweat off your back.. I saw an email (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479139) on a bug tracking list discussing some interesting features that could be implemented.
After installing, you'll need to generate the ~/.newspostrc file containing all the default values such as your news server, login information, email (probably fake) and few other things.. The man page has somewhat descent documentation. Give it a look over for all options you might want to include. -i,-z,-u,-p,-f,-F,-o,-n,-w,-m,-x,-q,-y,-B,-l,-X,and -k can be set.
Running newspost with the -d switch will generate this file for you.. Here is an example.
newspost -d -i news.astraweb.com -z 119 -u username -p ur_password -f ur_email@address -F 'Your Name' -q -y
Now once again, with the -d tossed in there all were are doing is generating the ~/.newspostrc so we can forget about all that login crap and what not.. Also have a look at the man page to decide if you'd like to include the -e or -c.. -e will post a plain text file containing the same subject line and the lines that will follow, however it will list the file part as 0/21 or whatever.. And the -c will generate a .sfv file.
So now that everything is set up we'll go ahead and post a test file to a.b.test with this..
newspost -n alt.binaries.test -s 'Test Post for FileSharing Talk.com' /location/of/foo/bar/*.mp3What we end up with is a post to the group that will look something like this...
Test Post for FileSharing Talk.com- File 1 of 3: "track01.mp3" yEnc (01/12)Remembering that newspost does not create par2 files, but can post anything. If your clever and know how to use some *.globing (http://wooledge.org:8000/BashGuide#BashGuide.2BAC8-TheBasics.2BAC8-Patterns.Glob_Patterns) techniques, you can get away with posting all .rar .par2 all in one shot. Have a look at BASH (http://wooledge.org:8000/BashGuide), and it's man (http://www.linuxmanpages.com/man1/bash.1.php) page.
So, there is also a built in -T switch you can toss in to set it to launch at a specific time say 10 minutes or whatever. I prefer to use newspost in conjunction with the command at (http://www.linuxmanpages.com/man1/at.1.php). This way I can set it, forget about it and then receive system mail when it executes.