From owner-freebsd-questions@FreeBSD.ORG Wed Feb 16 15:48:04 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9972106566B for ; Wed, 16 Feb 2011 15:48:04 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 3B5BC8FC24 for ; Wed, 16 Feb 2011 15:48:03 +0000 (UTC) Received: from kw.homeip.net (c80-217-64-49.bredband.comhem.se [80.217.64.49]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id p1GFlvXC028431; Wed, 16 Feb 2011 16:47:59 +0100 (CET) (envelope-from bernt@bah.homeip.net) Message-ID: <4D5BF1AD.9010109@bah.homeip.net> Date: Wed, 16 Feb 2011 16:47:57 +0100 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; sv-SE; rv:1.9.2.13) Gecko/20101213 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: "Jack L. Stone" References: <3.0.1.32.20110214163437.019167e0@sage-american.com> In-Reply-To: <3.0.1.32.20110214163437.019167e0@sage-american.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: script help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2011 15:48:04 -0000 2011-02-14 23:34, Jack L. Stone skrev: > Hello folks: Hello! > No doubt this will be easy for those with scritping abilities. > # find all of the same filenames (copyright.htm) and then replace the year > 2010 with 2011 in each file. Once I have a working script, I should be able > to add it as a cron job to run on the first day of each new year. cd /your/www/directory rm -rf copyright.htm > Any help appreciated. > > Thanks! > Jack