wpg2svgbatch.pl (1) - Linux Manuals

wpg2svgbatch.pl: batch convert WordPerfect Graphics files into SVG

NAME

wpg2svgbatch.pl - batch convert WordPerfect Graphics files into SVG

DESCRIPTION

Usage: wpg2svgbatch.pl [-hruv] [-d dir] [-o dir]
wpg2svgbatch.pl uses wpg2svg to convert batches of WordPerfect word processor files (WPG) to the Scalable Vector Graphics (SVG) format. The SVG files are generated anew and do not replace the original wpg files.
Running wpg2svgbatch.pl more than once on the same directory will cause the existing SVG file to be replaced with a new one.
-d <dir>
begins the conversion process in directory "dir" instead of the current directory. Use this switch separately from the other switches, (-vr -d /home/robin) or at the end of a switch string (-rvd /home/robin).
-h
displays this help text.
-o <dir>
causes all the generated SVG files to be deposited in this single specified output directory. When not used, the generated SVG files are deposited in the same directory in which the original WPG file was found. Use this switch separately from the other switches, (-vr -o /home/robin)
-r
converts files in either the current directory or the directory specified by the -d switch (see below) and all the wpg files in all the subdirectories.
-u
replaces spaces with underscores in the target filename(s).
-v
Displays statistics and the progress of the conversion.

running under Perl version 5.16.3.

[Now continuing due to backward compatibility and excessive paranoia.
See 'perldoc Getopt::Std' about $Getopt::Std::STANDARD_HELP_VERSION.]