Program: ext Owner: Michael MacIsaac Email: mikemac@us.ibm.com ext extracts files from an archive using ASCII to EBCDIC character translation and then goes back and identifies (by file suffix) those files in the archive that are binary files and re-extracts them without character translation. Syntax: ext archive where 'archive' is a tar (pax) archive file. The default suffixes used to identify binary files are: ico ICO bmp BMP jpg JPG gif GIF, but these can be changed by modifying the variable 'binary_suffixes' in the script. Details: The script works by first extracting all files and performing character translation on them from ASCII to EBCDIC. The following pax command is used (pax is the current standard for handling archives replacing tar): pax -rvf archive -o to=IBM-1047,from=ISO8859-1 pax is then used to generate a list of files in the archive from which all files with the defined binary suffixes are noted. pax is then invoked again to re-extract only the files with these suffixes without using character translation: pax -rvf archive binfile_1 binfile_2 ... binfile_n For questions or problems, please contact Michael MacIsaac (mikemac@us.ibm.com)