[CentOS] rm user:group
Paul Heinlein
heinlein at madboa.com
Tue Mar 10 15:01:53 UTC 2009
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 <> heinlein at madboa.com <> http://www.madboa.com/
More information about the CentOS
mailing list