Deleting all image files with "small" keyword

Leonard Adjei kinkelson at gmail.com
Sat Apr 10 21:46:21 UTC 2010


> find <folder name> -type f -name "*[Ss]mall*" -exec rm {} \;

This would delete all Files with Small or small in the filenames.
I want to delete image files [png,jpg,bmp] only not music files with
small in their names too

Thanks


More information about the users mailing list