From owner-freebsd-questions@FreeBSD.ORG Wed Feb 16 16:05:00 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 82E29106564A for ; Wed, 16 Feb 2011 16:05:00 +0000 (UTC) (envelope-from mike.jeays@rogers.com) Received: from smtp104.rog.mail.re2.yahoo.com (smtp104.rog.mail.re2.yahoo.com [206.190.36.82]) by mx1.freebsd.org (Postfix) with SMTP id 20FCC8FC19 for ; Wed, 16 Feb 2011 16:04:59 +0000 (UTC) Received: (qmail 75001 invoked from network); 16 Feb 2011 16:04:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=LSBDE6TIanC+soAzixVasqavSD9QpfvFmrp99brmzOeqzjlhqeIa1LjSb7UkI4XQeoftqLHHA6mLIEQIIL+yTws3JvmqItP2A2wOML8SsT9kHEqjlJy1N/BfalZ0RDGxh1THXocvVnllF+zkDgTCF8oopb0Mx9lTbdcSKEUu1qk= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s1024; t=1297872299; bh=Cw2dbLk8XVmPk8FaNSMQz1OcPiAX86ZZVdi82J4TSf8=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=T6EFnxBmH0U++IiJ8LtaVW2yn6jOdBhAX/txIqaFnD1QNsOf9xIUhX0YTjUL3pBsaXMTzRE/COyGle3Mk8K/Um7cYWQxIV1ib+F37+EII2aECQStg2bCH2914ArU0DeMqs+/VYDZv9XrJ3eJUuR+Xf0SM8Rou/iDU0W1uqRdmdg= Received: from napoleon (mike.jeays@99.224.61.141 with login) by smtp104.rog.mail.re2.yahoo.com with SMTP; 16 Feb 2011 08:04:56 -0800 PST X-Yahoo-SMTP: N82WFx6swBBjwcHWPFR2CGt6udzA8RPrA.xm0enFFXaK2g-- X-YMail-OSG: pgl3PkcVM1mJqhQHjxWJlJa6B3oZjJnI1OUYNv_d8T.RwfI z.Pw2VZKjqhHVSLTdPDmrj0Iq5Hb12nQ10AN0QkSjWbjUa_52lmztb6L2Mzk NckdxmPKJJIGATLlKPqCVn22ukkATQDZzLlu179khYkIinn_4Ode0gUcX9U3 6mkyslKsBKH95EVgfLql_hie3oRcjsYmX15Lm7wBhDBKfFnu4CqIMFXDdv3c r18YwRttq3_L4doF6k_Ff5ZspIjxQIHfiW9e72G9kRKIbBuLgoeIS X-Yahoo-Newman-Property: ymail-3 Date: Wed, 16 Feb 2011 11:04:55 -0500 From: Mike Jeays To: freebsd-questions@freebsd.org Message-ID: <20110216110455.3c17770d@napoleon> In-Reply-To: <4D5BF1AD.9010109@bah.homeip.net> References: <3.0.1.32.20110214163437.019167e0@sage-american.com> <4D5BF1AD.9010109@bah.homeip.net> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 16:05:00 -0000 On Wed, 16 Feb 2011 16:47:57 +0100 Bernt Hansson wrote: > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" I doubt anyone will be dumb enough to fall for this, but it is not exactly constructive. Anyhow, it won't work without a semicolon.