I'm running a clamscan command to scan my users home directories, I'd like to exclude images from the scan as these sites specifically have thousands of images.
\. is the . in the file extension (jpg|jpeg|png|gif) matches any of those strings $ pins the search to the end of the line
This, therefore, should exclude all files ending in .jpg, .jpeg, .png, .gif