Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
CVTBATCH(8)		   InterNetNews Documentation		     CVTBATCH(8)

NAME
     cvtbatch - Convert Usenet batch files to INN format

SYNOPSIS
     cvtbatch [-w items]

DESCRIPTION
     cvtbatch  reads  standard input as a sequence of lines, converts each line,
     and writes it to standard output.	It is used to convert simple batch files
     that contain just the storage API token of an article to  INN  batch  files
     that contain additional information about each article.

     Each  line  is  taken  as	a storage API token indicating a Usenet article.
     Only the first word of each line is parsed; anything  following  whitespace
     is  ignored.   Lines  not starting with a valid token are also silently ig-
     nored.

     If the input file consists of a series of message-IDs, then use grephistory
     with the -s flag piped into cvtbatch.

OPTIONS
     -w items
	 The -w flag specifies how each output	line  should  be  written.   The
	 items	for this flag should be chosen from the "W" flag items as speci-
	 fied in newsfeeds(5).	They may be chosen from the following set:

	     b	  Size of the article in bytes.
	     f	  Storage API token of the article (same as "n").
	     m	  Article message-ID.
	     n	  Storage API token of the article.
	     t	  Arrival time of the article as seconds since epoch.

	 The default is "nm", that is to say the storage API token  followed  by
	 the message-ID of the article.

HISTORY
     Written  by  Rich $alz <rsalz@uunet.uu.net> for InterNetNews.  Converted to
     POD by Julien Elie.

SEE ALSO
     grephistory(1), newsfeeds(5).

INN 2.8.0			   2021-09-13			     CVTBATCH(8)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=cvtbatch&sektion=8&manpath=FreeBSD+Ports+15.1.quarterly>

home | help