Re: ftp transfers of .htm to .html

Eric Boukobza (eric.DOMAIN2.oramail@il.oracle.com)
Mon, 29 May 95 10:55:33 +0300


Message-Id: <199505290938.CAA00411@oracle.us.oracle.com>
Date: Mon, 29 May 95 10:55:33 +0300
From: "Eric Boukobza" <eric.DOMAIN2.oramail@il.oracle.com>
To: www-html@www10.w3.org
Subject: Re: ftp transfers of .htm to .html

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   /
                        +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+