delete specific filetype recursively and with whitespaces in filename by michi | Mar 24, 2010 | *nix, Debian, RHEL, Ubuntu | 0 comments In this case, I don’t like jpg… $ find -name '*.jpg' -print0 | xargs -0 rm Share on FacebookShare on Twitter Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Like this:Like Loading... Submit a Comment Cancel replyYour email address will not be published. Required fields are marked *Comment Name * Email * Website Notify me of follow-up comments by email. Notify me of new posts by email. This site uses Akismet to reduce spam. Learn how your comment data is processed.