RM Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 26 Oct 2010, Matt wrote:

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

 	find . -user "$USERMATCH"-name "$FILENAME" \
 		-a -exec rm -f {} \;

or such ...

-- Russ herrold
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux