Command Line Tools Guide
Red Hat Certificate System                                                            

Previous
Contents
Index
Next

Chapter 9

Binary to ASCII Tool


You can use the Binary to ASCII tool to convert binary base-64 encoded data to ASCII base-64 encoded data.

The chapter has the following sections:

Location

The tool is located with the rest of the command-line tools in this directory: <server_root>/bin/cert/tools

Syntax

To run the Binary to ASCII tool, type the following command:

BtoA[.bat] <input-file> <output_file>

.bat specifies the file extension; this is required only when running the utility on a Windows NT system.
<input_file> specifies the path to the file that contains the base-64 encoded data in binary format.
<output_file> specifies the path to the file to write the base-64 encoded data in ASCII format.

Example

BtoA.bat C:\test\data.in C:\test\data.out

The above command takes the base-64 encoded data (in binary format) in the file named data.in and writes the ASCII equivalent of the data to the file named data.out.




Previous
Contents
Index
Next

© 2001 Sun Microsystems, Inc. Used by permission. © 2005 Red Hat, Inc. All rights reserved.
Read the Full Copyright and Third-Party Acknowledgments.

last updated July 18, 2005