ls tmp grep dupsearch_ while read name do cat tmp name wc -l -lt rm tm

1
ls /tmp | grep ^dupsearch_ | while read name; do [ `cat "/tmp/$name" | wc -l` -lt 2 ] && rm "/tmp/$name"; done