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?

Justin.


-----Original Message-----
From: Fargusson.Alan [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 11:31 AM
To: [EMAIL PROTECTED]
Subject: Re: web server proof of concept - code set translation problem


The only way I know of is to convert the text files before you tar them up (with 
iconv).  This usually means making a copy of the tree since you probably don't want to 
break the production system.

-----Original Message-----
From: SOLLENBERGER, JUSTIN [mailto:[EMAIL PROTECTED]
Sent: Monday, July 12, 2004 8:22 AM
To: [EMAIL PROTECTED]
Subject: web server proof of concept - code set translation problem


We are moving a website from USS to a Redhat image and are running into a problem 
transferring the data over.  I'm more familiar with the Unix side of things and 
assumed this would just involve a simple tar, ftp, and untar of the data.  
Unfortunately I'm running into a problem with the different code sets.  Doing the 
basic tar/untar leaves all of my text files corrupt and if I issue a:

pax ofrom=IBM-1047,to=ISO8859-1 -wLf source,pax -noext dir

the binary files are then corrupt.

Does anyone know of a way to transfer over all the files and do the proper code set 
translation?  Any advice would be greatly appreciated.


Justin.

----------------------------------------------------------------------
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