On Tue, 10 Mar 2009, Matt wrote:

> I want to remove files but only if they are owned by a certain user 
> and group.
>
> Basically I have this:
>
> find /var/spool/greylist -mmin +363 -exec rm -f {} \;

Find supports -user and -group arguments, e.g.,

   find /var/spool -user mail -group mail -mmin ....

-- 
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to