Most of the binaries are .pdf, .ppt, .gif, .jpg, .etc that are linked to be the web 
pages.  Shouldn't be anything that would cause a problem.


Justin.

-----Original Message-----
From: Post, Mark K [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 12:05 PM
To: [EMAIL PROTECTED]
Subject: Re: web server proof of concept - code set translation problem


Except I don't think USS is going to report them as being ASCII.  And,
unless the MVS systems programmer actually put a /etc/magic file out there,
the file command won't work at all.  (Trust me, it happens.  Sigh.)

I'm curious as to just what kind of binaries Justin is transferring.  Are
these OS/390-z/OS executables?  If so, then he's dead anyway, since those
won't run on Linux/390.


Mark Post

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Ferguson, Neale
Sent: Monday, July 12, 2004 11:58 AM
To: [EMAIL PROTECTED]
Subject: Re: web server proof of concept - code set translation problem


As a start:

find ./ -type f | xargs file | grep ASCII | awk '{print $1}' >ascii.files
find ./ -type f | xargs file | grep -v ASCII | awk '{print $1}'
>binary.files

You could then use the contents of these files to do the pax with.

-----Original Message-----
The problem with doing that is that there are over 2500 files scattered
among many directories.  Has anyone experienced this before and written some
code to traverse the directory structure to find and convert files of a
specified file extension?

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to