On 01/01/12 13:10, Theodore Papadopoulo wrote:

Would this work: find /path/to/repo/*.rpm | grep -v "foo* bar*" |
rm *.rpm


Make it

find /path/to/repo/*.rpm -print | grep -v "foo* bar*" | xargs rm

and that should work (not tested).

Gave it a test, it works.
Thanks.


--
Regards,

Frank Murphy
UTF_8 Encoded
Friend of fedoraproject.org
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to