Commands that will all find *.deb and remove the file:
find . -name ?*.deb? -delete
find . -name ?*.deb? -print | xargs rm
find . -name ?*.deb? -exec rm -f \{\} \;
Source: http://kyleabaker.com/2008/10/19/linux-find-and-remove-matching-files/
Commands that will all find *.deb and remove the file:
find . -name ?*.deb? -delete
find . -name ?*.deb? -print | xargs rm
find . -name ?*.deb? -exec rm -f \{\} \;
Source: http://kyleabaker.com/2008/10/19/linux-find-and-remove-matching-files/