I'm trying to remove rpms from my local repo. But keep some named files. Would this work: find /path/to/repo/*.rpm | grep -v "foo* bar*" | rm *.rpm -- Regards, Frank Murphy--exclude UTF_8 Encoded Friend of fedoraproject.org -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx 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