[CentOS] - automation script

Sat Mar 1 09:34:35 UTC 2014
Rob Kampen <rkampen at kampensonline.com>

On 03/01/2014 10:23 PM, Paolo De Michele wrote:
> Hi everybody,
>
> I have many server in production but I would verify this:
>
> ex.: I have many domain in /var/www/html/ (domain1 / domain2 / domain3)
>
> now,
>
> How I do check if the files are added or changed?
> I should apply this "politic" for all domains but I don't know how
>
> It is possible send me an email with the modification?
> so, exist diff command with some option but I don't understand how to apply it
>
> Can help me somebody?
> Thanks in advance
why not use git on each domain directory?
it will show you changes that need to be committed, side benefit is you 
can roll back and change manage, document .... as well.
> Regards
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos