🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #174672

[newspost] how to order files being posted?

#174672
From: Ohmster
Date: Tue, 04 Oct 2005 05:09
67 lines
4308 bytes
(Sorry for posting this twice, I think that this post gets the gist of 
what help I need. Thank you for your tollerance.)

I needed a nice, lightweight Usenet poster for Linux and discovered 
newspost through google here:

http://newspost.unixcab.org/

There is a totally excellent HOW-TO page for newspost here:

http://ebook.23ae.com/documents/newspost_howto.html

I have a fedora core 3 system and could not find a newspost 2.1.1 rpm 
file so I found an earlier src rpm, edited and used the spec file from 
that src rpm, and use rpmbuild to create newspost-2.1.1-1.i386.rpm from 
the current tarball, newspost-2.1.1.tar.gz. Worked like a champ, the 
program installed nicely, works fine, and the man page is excellent, with 
examples (The examples help a real lot.)

I use newspost to post a large file to Usenet and WinRAR to break it down 
into 15Mb parts, then use QuickPar to create the par2 files, create an 
info or index file, and newspost does the rest.

I am using a wildcard at the end of the command like, *, to post all the 
files in the current directory, this is great, but I would like more 
control over the order of the files that are posted though, e.g.:

Post in this order:

sfv file
nfo or index file
all rar archive files, beginning with part one:  mymovie.part01.rar, 
ending with mymovie.part49.rar
all par2 files in order: mymovie.vol000+01.PAR2 to mymovie.vol155+40.PAR2

What happens is that my files are not posted this way, I get par2 files 
in the middle of posting and the index.jpg at the very end of the large 
post. Not good, I need the index to be the first file and the par2 files 
at the end.

Instead of this:

newspost -c checksum.sfv -n alt.binaries.test -s 'Here is a great 
movie' /nfs/video/*

Can I do something like this:

newspost -c checksum.sfv -n alt.binaries.test -s 'Here is a great movie' 
<file-list.txt>

(Above lines are wrapped by the newsreader, all should be on one line.)

Where I tell newspost to use a text file, file list, as to what files to 
post and in what order? I was able to do this with autopost32 for windows 
and it worked great, autopost32 created a files.bbs file which was a text 
file it created automatically and you could edit or "sort" if you wanted 
to as to place the files to be posted in the desired order. autopost32 
would even allow comments next to each file in the file list that would 
show up in the subject for that particular file when it was posted (This 
is not important, having control of the posting order is.) Is anything 
like this possible for newspost 2.1.1? Is there some workaround 
otherwise, shell script or some sort of regex for the command line then?

-- 
~Ohmster
"Read Ohmster" in subject, bypass spam filter.
ohmster /a/t/ newsguy dot com
Technical Details
Message-ID: <Xns96E5BF431B38MyBigKitty@216.77.188.18>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.linux.20140805.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!bigfeed.bellsouth.net!bignumber.bellsouth.net!news.bellsouth.net!bignews7.bellsouth.net.POSTED!069558c3!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns96E5BF431B38MyBigKitty@216.77.188.18>
Subject: [newspost] how to order files being posted?
Date: Tue, 04 Oct 2005 05:09:45 GMT
From: Ohmster <notareal@emailaddress.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.linux.20140805.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!bigfeed.bellsouth.net!bignumber.bellsouth.net!news.bellsouth.net!bignews7.bellsouth.net.POSTED!069558c3!not-for-mail
Newsgroups: alt.linux,news.software.readers
Organization: Ohm's Fish Market
Followup-To: news.software.readers
User-Agent: Xnews/5.04.25
X-Face: .XlXp$frDJgk"+lb;
 #RRo7mu{1=_.HV?RtB}%$JLN.!>>|\CPyQIi3/aBRW#(.dd8zlF9N]k8{xh03zVf=zG1G6{.bb%H8Vs%|7l'1YWAw+A)x'S"-}(Y`#ZN`#04OktRpU*!NdugZh(o%w5K,?/WqZ(qWs}K)Req:&D'|lkj%*a[N0bMk^Tr<PY{Sz6YcFm'[*2fkS/RV>}L.;
 =6evum0C,LE}%s@g; ]-DhWu4J"DbcJ*+fIo,l8cH@ZxF|dm~; Vg;
 XxV@K!Wp|SV+3HPyIOS,Z'j]jz]i=/5*!J&hVOQ[
Lines: 67
X-Complaints-To: abuse@bellsouth.net
X-Abuse-Info: Please forward a copy of all headers for proper handling
X-Trace: enggpaojkliedbjjdbdpiflmbcekedmfhojhikkbagflhcbopbnfbdcejhbgoagdiancdnjckcgjkbcmaegeldlkeianchladnjajmeoofnemhfbimolhmimbopkglhkgcefnlopkbnnedihomlgcccebcdfdbbm
NNTP-Posting-Date: Tue, 04 Oct 2005 01:09:45 EDT