Automating Usenet file preparation - RAR & PAR

Miscellaneous tools
Post Reply
Message
Author
User avatar
chrome307
Posts: 708
Joined: Thu 15 Jan 2009, 11:00

Automating Usenet file preparation - RAR & PAR

#1 Post by chrome307 »

Please note, you need to have rar and par installed in your os.

I found this great script on a blog and thought it might be useful for members here who use newsgroups and usenet.

The blog is here:

http://tad-do.net/2011/08/20/automating ... eparation/

and all the variables are explained making it very easy to adapt to your own needs :)

" ....... my friend asked me to help him automate a process of preparing and uploading files to Usenet. My friend just switched to Linux and he is completely green. If you have some experience with Usenet, you should already know that it is common practice to put the files into multi-volume RAR archives. Parity(.par2) files are also important, they are used to check the integrity and to repair damaged files. So, ideally, you should rar the files you wish to upload and generate some parity files in case someone would need a repair. There are lots of solutions to automate these tasks in Windows, but I couldn’t find good and simple Linux solution, so I decided to create my own RAR/PAR2 wrapper. "

The script creates 50mb RAR files and 10% PAR2 files for uploading.

Available here:

http://tad-do.net/wp-content/rarnpar.sh

I have slightly altered the script and added two additional scripts, which will give you 15mb oldstyle rar files ie r01, r02 using 'normal compression', and also 50mb oldstyle rar files with 'store compression'.
Attachments
15mb & 50mb Script.zip
(6.19 KiB) Downloaded 283 times
Tad-Do Automating Usenet file preparation.zip
(2.1 KiB) Downloaded 281 times

Post Reply