script help

Bernt Hansson bernt at
Wed Feb 16 15:48:04 UTC 2011

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

> Any help appreciated.
> Thanks!
> Jack

More information about the freebsd-questions mailing list