I have a script running nightly, logs into a FTP server with PSFTP, &
downloads a monsterous directory w/ a ton of sub directories so I have
local backups.

mget -r public_html

Is there a way to do this large directory backup but specify to only
get certain file types? i.e. no images

Or maybe there is a better tool for doing this? Any help is
appreciated