08 May

Find files of a specific mime-type

Use this command to find files of a given mime-type. In this example, we are looking for video files…


find -type f -print0 | xargs -0 file -i | grep -i video

And, by the way, this command, and the last two commands were sponsored by Mahesh. Happy now?

One thought on “Find files of a specific mime-type

Leave a Reply

Your email address will not be published. Required fields are marked *