You could do something like this after extracting the archive: #/bin/bash mkdir ../ascii SAVEIFS=$IFS IFS=$(echo -en "\n\b"); for file in $(find .); do dd if=$file of=../ascii/$file conv=ascii done FS=$SAVEIFS
...and then you'll have another directory containing EBCDIC-to-ASCII converted copied of all the files in the archive, with any directory hierarchies within the archive maintained. ~ Chris On Thu, Jun 3, 2010 at 11:39 AM, McKown, John <john.mck...@healthmarkets.com > wrote: > > -----Original Message----- > > From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On > > Behalf Of Richard Troth > > Sent: Thursday, June 03, 2010 10:29 AM > > To: LINUX-390@VM.MARIST.EDU > > Subject: Re: tar extract - code conversion. > > > > PAX exists for Linux, but I have never used it. > > > > You may get some of what you want by using 'iconv'. It can convert > > from "ASCII" to "IBM-1047" ... among other combinations. > > > > -- R; <>< > > I have used iconv. But it is not as simple as I would like. I may need to > end up writing some simple little shell script to do this for me. I'm > "lazy". > > -- > John McKown > Systems Engineer IV > IT > > Administrative Services Group > > HealthMarkets(r) > > 9151 Boulevard 26 * N. Richland Hills * TX 76010 > (817) 255-3225 phone * (817)-961-6183 cell > john.mck...@healthmarkets.com * www.HealthMarkets.com > > Confidentiality Notice: This e-mail message may contain confidential or > proprietary information. If you are not the intended recipient, please > contact the sender by reply e-mail and destroy all copies of the original > message. HealthMarkets(r) is the brand name for products underwritten and > issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake > Life Insurance Company(r), Mid-West National Life Insurance Company of > TennesseeSM and The MEGA Life and Health Insurance Company.SM > > > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390