1CVTBATCH(8)               InterNetNews Documentation               CVTBATCH(8)
2
3
4

NAME

6       cvtbatch - Convert Usenet batch files to INN format
7

SYNOPSIS

9       cvtbatch [-w items]
10

DESCRIPTION

12       cvtbatch reads standard input as a sequence of lines, converts each
13       line, and writes it to standard output.  It is used to convert simple
14       batch files that contain just the storage API token of an article to
15       INN batch files that contain additional information about each article.
16
17       Each line is taken as a storage API token indicating a Usenet article.
18       Only the first word of each line is parsed; anything following
19       whitespace is ignored.  Lines not starting with a valid token are also
20       silently ignored.
21
22       If the input file consists of a series of message-IDs, then use
23       grephistory with the -s flag piped into cvtbatch.
24

OPTIONS

26       -w items
27           The -w flag specifies how each output line should be written.  The
28           items for this flag should be chosen from the "W" flag items as
29           specified in newsfeeds(5).  They may be chosen from the following
30           set:
31
32               b    Size of the article in bytes.
33               f    Storage API token of the article (same as "n").
34               m    Article message-ID.
35               n    Storage API token of the article.
36               t    Arrival time of the article as seconds since epoch.
37
38           The default is "nm", that is to say the storage API token followed
39           by the message-ID of the article.
40

HISTORY

42       Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews.  Converted
43       to POD by Julien Elie.
44
45       $Id: cvtbatch.pod 8776 2009-11-15 09:24:06Z iulius $
46

SEE ALSO

48       grephistory(1), newsfeeds(5).
49
50
51
52INN 2.5.2                         2010-08-11                       CVTBATCH(8)
Impressum