Quantcast
Channel: Eva & Quirinius
Viewing all articles
Browse latest Browse all 69

Posting binary content to newsgroups from the command line

$
0
0
First make sure you have 'git' installed (sudo apt-get install git)

Then get, make and install 'newspost':

cd
mkdir git
cd git
git clone https://github.com/joehillen/newspost.git
cd newspost/
make
sudo make install

Then create a directory structure with content:

cd
mkdir uploader
cd uploader/
mkdir binary-source
cd binary-source/
wget http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi
cd ..
rar a bigbuckbunny -v10m -m0 binary-source/* 
par2 create -r10 -n7 bigbuckbunny *rar

Now check that you now have 15 rar files and 8 par2 files in the working directory uploader/
If so, still in that directory, post those rar and par2 files:

newspost -i upload.eweka.nl -u MyNewsserverUsername -p MyNewsserverPassword -f blablabla@gmail.com -n alt.binaries.boneless -y -s "BigTestFile BigBuckBunny big_buck_bunny_480p_stereo.avi 2015-01-04" *rar *par2

After 10-30 minutes you can find your files via:
  • Human readable: http://www.binsearch.info/index.php?q=bigtestfile+bigbuckbunny
  • RSS feed (if and when nzbindex is cooperating): http://www.nzbindex.nl/rss/?q=bigtestfile+bigbuckbunny&sort=agedesc&max=25

HTH




Viewing all articles
Browse latest Browse all 69

Trending Articles