On Tue, Nov 05, 2013 at 05:28:16AM +0100, Tazman Deville wrote: > find . -name 'popularity-*' | xargs rm -rf Sorry, opportunity for a bit of golf. Find has a built-in for deleting files: > find . -type f -name 'popularity-*' -delete I'd also be rather wary of invoking rm -rf with the results of find output.