DOKK / manpages / debian 11 / inn2 / nntpget.1.en
NNTPGET(1) General Commands Manual NNTPGET(1)

nntpget - get Usenet articles from a remote NNTP server

nntpget [ -d dist ] [ -f file ] [ -n newsgroups ] [ -t timestring ] [ -o ] [ -u file ] [ -v ] host

Nntpget connects to the NNTP server at the specified host and retrieves articles from it. The Message-ID's of the desired articles are read from standard input. The articles are sent to standard output.

The ``-o'' option may be used only if the command is executed on the host where the innd(8) server is running. If this option is used, nntpget connects to the specified remote host to retrieve articles. Any article not present in the local history database is then fetched from the remote site and offered to the local server.
If the ``-v'' option is used with the ``-o'' option then the Message-ID of each article will be sent to standard output as it is processed.
The list of article Message-ID's is normally read from standard input. If the ``-f'' option is used, then a ``newnews'' command is used to retrieve all articles newer then the modification date of the specified file.
The ``-u'' option is like ``-f'' except that if the transfer succeeds, the file will be updated with a statistics line, modifying its timestamp so that it can be used in later invocations.
If the ``-t'' option is used, then the specified timestring is used as the time and date parameter to the ``newnews'' command.
If either the ``-u'' or ``-f'' options are used, then the ``-n'' option may be used to specify a newsgroup list. The default is ``*''.
The ``-d'' option may be used to specify a distribution list when using the ``-u'' or ``-f'' options. The default is no distribution list.

Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. This is revision 10283, dated 2018-05-14.

innd(8).