Re: ftp transfers of .htm to .html

Eric Boukobza (eric.DOMAIN2.oramail@il.oracle.com)
Mon, 29 May 1995 05:48:10 +0500


In-Reply-To: UNIX1:www-html@www10.w3.org's message of 05-29-95 01:41

If the file are already on the sun and you want to rename them you can try the
following script (its written in C-Shell but can easily be translated to
Bourne-Shell)

#!/bin/csh
foreach i ( *.htm )
mv $i `echo $i | sed 's/.htm$/.html/'`
end

Hope it helps,

+-=-=-=-=-=-=-=-=-+
/ +-=-=-=-=-=-=-=-=-=-=-=-=-=-+
/ Eric Boukobza / John Bryce (Systems) Ltd. +-=-=-=-=-=-=-=-=-=-=-=-+
/ / P.O.Box 23838 / Phone: +972-2-898891 /
+-=-=-=-=-=-=-=-=-+ Jerusalem 91237, Israel / Fax: +972-2-814448 /
+-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+-=-=-=-=-=-=-+
/ Email: eric@il.oracle.com /
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+