[CentOS] RM Help

m.roth at 5-cent.us m.roth at 5-cent.us
Tue Oct 26 17:30:43 EDT 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