Hi,
Because it's a bit hard to post (binary files) to Usenet with Linux, I decided to make this tutorial.
Note: All commands, which you have to run in a terminal, are in code tags.
1. First install a few programs
2. Place the files you want to upload in a folder.Code:sudo apt-get install par2 newspost rar
3. Most files on Usenet are in rar-files. You can create these rar-files with this command:
Let me explain the command:Code:rar a "name of rar file" -v10m -m0 "/home/example/upload/"*
name of rar file: This is the name of the rar-file. ".rar" will automatic be added.
-v10m: Split the file(s) to a new rar-archive after 10 MB
-m0: Set compression level (0-store...3-default...5-best).
"/home/example/upload/"*: This means; rar everything in the folder '/home/example/upload'
4. Now we can create par files.
-r10: Percent par-files you want to createCode:par2create -r10 -n7 "name of par file" /home/example/upload/*.rar*
-n7: Number of par-files you want to create
"name of par file": I don't want to explain this
/home/example/upload/*.rar*: means; Create par-files of everything in the folder /home/eample/upload, which ends with .rar
5. Upload your files
Code:newspost -i upload.eweka.nl -u USERNAME -p PASSWORD -f noadress@gmail.com -n alt.binaries.boneless -y -s "SUBJECT" "/home/example/upload/*.part*" "/home/example/upload/*.par*"
Extra notes:
This is it. You can run commands after each one is done (with &&). Then it will be something like:
Code:rar a "name of rar file" -v10m -m0 "/home/example/upload/"* && par2create -r10 -n7 "name of par file" /home/example/upload/*.rar* && newspost -i upload.eweka.nl -u USERNAME -p PASSWORD -f noadress@gmail.com -n alt.binaries.boneless -y -s "SUBJECT" "/home/example/upload/*.part*" "/home/example/upload/*.par*"



Adv Reply






Bookmarks