CNMAPDIR(1)

NAME
cnmapdir - Traditional <-> Simplified Chinese Converter

SYNOPSIS
cnmapdir "-command" inputdir/file outputdir/file

USAGE
    cnmapdir -h
        cnmapdir -hp

    cnmapdir -s2b5 gbkdir big5dir
    cnmapdir -s2gb gbkdir gbdir
    cnmapdir -s2c gbkdir utf8dir
    cnmapdir -s2cgb gbkdir utf8-cnsimp-dir
    cnmapdir -s2cb5 gbkdir utf8-cntrad-dir

    cnmapdir -t2gb big5dir gbdir
    cnmapdir -t2gbk big5dir gbkdir
    cnmapdir -t2c big5dir utf8dir
    cnmapdir -t2cgb big5dir utf8-cnsimp-dir
    cnmapdir -t2cb5 big5dir utf8-cntrad-dir

    cnmapdir -u2b5 utf8dir big5dir
    cnmapdir -u2gb utf8dir gbdir
    cnmapdir -u2gbk utf8dir gbkdir
    cnmapdir -u2cgb utf8dir utf8-cnsimp-dir
    cnmapdir -u2cb5 utf8dir utf8-cntrad-dir

DESCRIPTION
The cnmapdir utility reads all files recursively under inputdir, converts from Traditional to Simplified Chinese or Simplified to Traditional Chinese according to command switch, then writes them to the outputdir.

If outputdir is missing, then /out is assumped. If outputdir is not existed, it will be created automatically. If inputdir is a file, it will be converted to outputfile.

The "-h" switch: Show version and help infomation.

The "-p" switch: pause after execution.

The "-s2b5" switch: Mixed GB2312/GBK -> Traditional Big5.

The "-s2gb" switch: Mixed GB2312/GBK -> Simplified GB2312.

The "-s2c" switch: Mixed GB2312/GBK -> Utf8.

The "-s2cb5" switch: Mixed GB2312/GBK -> Tradiional Big5 -> Utf8.

The "-s2cgb" switch: Mixed GB2312/GBK -> Simplified GB2312 -> Utf8.

The "-t2gb" switch: Traditional Big5 -> Simplified GB2312.

The "-t2gbk" switch: Traditional Big5 -> Mixed GBK.

The "-t2c" switch: Traditional Big5 -> Utf8.

The "-t2cgb" switch: Traditional Big5 -> Simplified GB2312 -> Utf8.

The "-t2cb5" switch: Traditional Big5 -> Utf8.

The "-u2b5" switch: Mixed Utf8 -> Traditional Big5.

The "-u2gb" switch: Mixed Utf8 -> Simplified GB2312.

The "-u2gbk" switch: Mixed Utf8 -> Mixed GBK.

The "-u2cb5" switch: Mixed Utf8 -> Simplified GB2312 -> Utf8.

The "-u2cgb" switch: Mixed Utf8 -> Traditional Big5 -> Utf8.

BUGS, REQUESTS, COMMENTS
Please report any requests, suggestions or bugs via <http://bookbot.sourceforge.net/> <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Encode-CNMap>

SEE ALSO
Encode::CNMap, cnmapwx, cnmap, Encode::HanConvert, Encode

COPYRIGHT AND LICENSE
Copyright 2003-2004 Qing-Jie Zhou <qjzhou@hotmail.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.