[CentOS] RM Help

m.roth at 5-cent.us m.roth at 5-cent.us
Tue Oct 26 21:30:43 UTC 2010


Matt wrote:
> Is there a way to tell rm -f to only remove a file if its owned by say
> mail?

find <path> -user mail -exec rm -f {} \;

man find.

        mark




More information about the CentOS mailing list