[prev in list] [next in list] [prev in thread] [next in thread]
List: centos
Subject: Re: [CentOS] RM Help
From: Markus Falb <markus.falb () fasel ! at>
Date: 2010-10-26 21:34:11
Message-ID: ia7hh1$1d4$1 () dough ! gmane ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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
["signature.asc" (application/pgp-signature)]
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic