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.
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).
displays this help text.
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)
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.
replaces spaces with underscores in the target filename(s).
Displays statistics and the progress of the conversion.