i am trying to use newspost to batch upload binaries from a certain directory to usenet. the following line needs to be executed inside of every directory inside of /home/user/Music piping the title of directory into subject. it must be called within the directory because if executed from /home/user/Music it simply wont find any files there. i need the command to be executed inside every specific directory within /home/user/Music/ also there is a field for subject which is in quotes like "SUBJECT" and preferably, i'd like to pipe the directory name to that field within quotes so as to use a different subject per directory. here is the syntax of the command i'd like to use:
newspost -i news.giganews.com -u username -p password -f [email protected]
-n alt.binaries.mp3 -y -s "SUBJECT" "/home/user/Music/*"
if anyone could help out i'd appreciate that. there seems to be little information on the net on doing this save for issuing the command one at a time, which is awful.
i'm basically trying to upload my entire music collection.