> Date: Wed, 16 Feb 2011 16:47:57 +0100
> From: Bernt Hansson <[email protected]>
> Subject: Re: script 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

(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)


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to