Good question, for which I have no good answer.  If you have a mixture of
text and binary files, I don't know what would happen to the binary files.


Mark Post

-----Original Message-----
From: James Melin [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 2:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run






How does pax know what to convert and what to keep?



|---------+---------------------------->
|         |           John Rowland     |
|         |           <[EMAIL PROTECTED]|
|         |           c.com>           |
|         |           Sent by: Linux on|
|         |           390 Port         |
|         |           <[EMAIL PROTECTED]|
|         |           IST.EDU>         |
|         |                            |
|         |                            |
|         |           11/07/2003 10:27 |
|         |           AM               |
|         |           Please respond to|
|         |           Linux on 390 Port|
|         |                            |
|---------+---------------------------->

>---------------------------------------------------------------------------
---------------------------------------------------|
  |
|
  |       To:       [EMAIL PROTECTED]
|
  |       cc:
|
  |       Subject:  Re: Brain fart - redirect stderr/std out to a file and
NOT see an ything after a command is run              |

>---------------------------------------------------------------------------
---------------------------------------------------|




You can use the pax command on USS to translate the text files while
creating
a tar file.  For example:

pax -wvf mypax.tar -ofrom=ibm-1047,to=iso8859-1 files

Then FTP the mypax.tar file to the PC and use something like WinZip to
expand
the files out of the tar/pax.

~~~~~
John Rowland
Fischer International Systems Corporation
www.fischerinternational.com
239 436 2751

----- snip of mail headers that were in here -------

From: [EMAIL PROTECTED]
Subject:Re: Brain fart - redirect stderr/std out to a file and NOT see an
ything after a command is run
To: [EMAIL PROTECTED]
Precedence: list
X-HDT-HopCount: 1


The wget command is one of my favorites, and it is available for Windows,
but from my reading of the man page, wget only does binary transfers, not
text/ASCII ones.  So, Jim would wind up with EBCDIC on his Linux/390
system,
not ASCII.


Mark Post

-----Original Message-----
From: McKown, John [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


On z/Linux, use the "wget" command. It will do recursive ftp "gets". On
Windows, you are on your own <grin>. Of course, you could use "wget" to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle
it
up, then ftp to get the tar file to Windows.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications & Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

> -----Original Message-----
> From: James Melin [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 07, 2003 8:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Brain fart - redirect stderr/std out to a file
> and NOT see anything after a command is run
>
>
> Actually, it occurs to me that this will do exactly what I
> wanted it to do,
> but not what I need it to do....
>
> Specifically, I need to manually re-import the file system
> structure of a
> web site built on OS/390 Unix system services to which the developer
> destroyed his 'frontpage' source. The import website thing
> only follows
> links and he has some JavaScript built menus and crap, and
> cannot get the
> whole thing back properly. We want to re-deploy this to z/Linux (minor
> changes to scripts required)
>
> I had looked into having FTP recursively navigate a directory
> structure and
> re-created it on his desktop but I can't seem to see how to
> do that. So I
> was going to just tar the whole thing but the I realized the
> text based
> files  will be EBCDIC, so that's kinda useless.
>
> What is the easiest way to bring this USS installed directory
> structure
> into windows so we can used the developer's favorite (gack) tool to
> redeploy this to z/Linux?
>

Reply via email to