avatar

Profile


Victor

victor

Blog

online
Atom feed
avatar

unclev

with "find ... -exec" one can do lots of non-trivial things easily.

Is there a way with 'find' to be able to have it list all the graphic images regardless of their dot extension name?
find . -type f -exec file {} \; | grep -o -P '^.+: \w+ image'

Taken from http://stackoverflow.com/...hic-image-files-with-find