//View Tip #796
» Checksum directory recursively
» Replace expr by other recursively
» Pipe files to an archive
» Find last modified files on a filesystem
Similar Tips
» Random mass-rename» Checksum directory recursively
» Replace expr by other recursively
» Pipe files to an archive
» Find last modified files on a filesystem
Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
Use this command to find files of a given mime-type. For example to find all PNG images in a directory or below:
find . -exec file -i {} \; | grep image/png

find . -type f -exec file -i {} \; | grep image/png