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

maybe something like this (untested)
#$ find /path -type f -a -user mail -exec rm {} \;

-- 
Best Regards,
Markus Falb

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to