Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2011 16:47:57 +0100
From:      Bernt Hansson <bernt@bah.homeip.net>
To:        "Jack L. Stone" <jacks@sage-american.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: script help
Message-ID:  <4D5BF1AD.9010109@bah.homeip.net>
In-Reply-To: <3.0.1.32.20110214163437.019167e0@sage-american.com>
References:  <3.0.1.32.20110214163437.019167e0@sage-american.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D5BF1AD.9010109>