On Fri, 2010-11-12 at 14:09 +0530, Suresh Kumar wrote:
> (in
> other words not to change the owner and group if it was .. apache )

I might be over-complicating, but you can do this like so:

ls -la | grep -v apache | awk '{print $8}' | xargs chown newwonder:psgrp

You can probably change that a bit to get what you want.

-- 
Roshan George

_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to