[CentOS] RM Help

Tue Oct 26 21:34:11 UTC 2010
Markus Falb <markus.falb at fasel.at>

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20101026/939d6242/attachment-0004.sig>