NNTPGET(1) | InterNetNews Documentation | NNTPGET(1) |
nntpget - Get Usenet articles from a remote NNTP server
nntpget [-ov] [-f file] [-n newsgroups] [-t timestring] [-u file] host
nntpget connects to the NNTP server at the specified host and retrieves articles from it. The Message-IDs of the desired articles are read from standard input. The articles are sent to standard output.
Instead of reading Message-IDs from standard output, the -f, -n, -t and -u options make use of the "NEWNEWS" command, which may not be available on the remote server. Only one of the -f, -t or -u option may be given at the same time; -n can be specified only if one of the other three options is in use.
If authentication credentials are present for the remote server in the passwd.nntp file in pathetc, then nntpget will use them to authenticate.
The newsgroups list can contain several patterns and wildmat characters. For instance "misc.*,!*.test" is a valid list that will be given to the "NEWNEWS" command.
Articles are not written to standard output. Only processed Message-IDs are, if the -v option is also used.
The timestring is specified as "yyyymmdd hhmmss GMT" where "yyyy" is the year, "mm" the month, "dd" the day of the month, "hh" the hours in the 24-hour clock, "mm" the minutes, and "ss" the seconds. The token "GMT" specifies that the date and time are given in Coordinated Universal Time.
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. Rewritten into POD by Julien Elie.
innd(8), passwd.nntp(5).
2024-03-31 | INN 2.7.2 |