[CentOS] rm user:group
Paul Heinlein
heinlein at madboa.comTue Mar 10 15:01:53 UTC 2009
- Previous message: [CentOS] rm user:group
- Next message: [CentOS] rm user:group
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message: [CentOS] rm user:group
- Next message: [CentOS] rm user:group
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list