> -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On > Behalf Of SOLLENBERGER, JUSTIN > Sent: Monday, July 12, 2004 10:53 AM > To: [EMAIL PROTECTED] > Subject: Re: web server proof of concept - code set > translation problem > > > 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. > >
for i in $(find /subdir/to/start -name "*.ext"); do mv $i $i.old; iconv -f IBM1047 -t ISO8859-1 $i.old >$i;done That's all one big line. ---------------------------------------------------------------------- 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
