bonomi at mail.r-bonomi.com
Wed Feb 16 16:33:21 UTC 2011
> Date: Wed, 16 Feb 2011 16:47:57 +0100
> From: Bernt Hansson <bernt at bah.homeip.net>
> Subject: Re: script help
> 2011-02-14 23:34, Jack L. Stone skrev:
> > Hello folks:
> > 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
(A) doesn't do what the OP asked.
(B) doesn't do what you -think- it does. (i.e., it will delete at most one file)
More information about the freebsd-questions