.\" $Revision: 5909 $ .TH CVTBATCH 8 .SH NAME cvtbatch \- convert Usenet batch file to INN format .SH SYNOPSIS .I cvtbatch [ .BI \-w " items" ] .SH DESCRIPTION .I Cvtbatch reads standard input as a sequence of lines, converts each line, and writes it to standard output. It is used to convert simple batchfiles that contain just the article name to INN batchfiles that contain additional information about each article. .PP 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 ignored.) .PP If the input file consists of a series of Message-ID's, then use .IR grephistory (1) with the `\fB`\-s\fP'' flag piped into .IR cvtbatch . .SH OPTIONS .TP .B \-w The `\fB`\-w\fP'' flag specifies how each output line should be written. The items for this flag should be chosen from the ``W'' flag items as specified in .IR newsfeeds (5). They may be chosen from the following set: .PP .RS .nf b Size of article in bytes f full pathname of article m article message-id n relative pathname of article .fi .RE .SH HISTORY Written by Rich $alz for InterNetNews. .de R$ This is revision \\$3, dated \\$4. .. .R$ $Id: cvtbatch.8 5909 2002-12-03 05:17:18Z vinocur $ .SH "SEE ALSO" grephistory(1), inn.conf(5), newsfeeds(5).