Excluding certain file types

How do I exclude picture files (.bmp; .jpg etc); music files (.mp3; .mp4; etc) movies etc from scans?

Can I exclude by file type ie *.mp3 etc or does it have to be a folder location (I really want by file type)?

If so, where do I do it from?

Ta

Just add *.mp3 etc…