~/Maildir/cur# for i in `grep Tiki *|awk ‘{split($0,a,”:”); print a[1]”:”a[2] }’`; do rm $i; done Deletes all mails in Maildir inbox containing “Tiki”
Tag Archives: awk
openvz do for all VEs
vzlist | awk {‘print “vzctl set ” $1 ” –save –cpuunits=33325 ” ‘} | grep -v CTID | sh