Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- set -e
- if ! test $2 ; then
- echo "Usage: $0 <dir> <grp>"
- exit 1
- fi
- NNTP_HOST="upload.eweka.nl"
- NNTP_USER="ohno"
- NNTP_PASS="youdont"
- DIR="$1"
- NEWSGRP="$2"
- SUBJECT=$(basename "$DIR")
- newspost -i "$NNTP_USER" -u "$NNTP_USER" -p "$NNTP_PASS" -f anon@ymous.org -F Anon -o Ymous -s "$SUBJECT" -n "$NEWSGRP" -y "$DIR"/*
- exit 0
Add Comment
Please, Sign In to add comment