I run some backup scripts using rsync and in order to cut down on the filesize, I only want to backup the files with certain extensions (ie .bmp/.jpg/.css etc...).
My question is that if I use --include *.bmp will I have to use --exclude *.* (or something) too? After reading the man pages I'm just a little confused!
Does anyone know of a way to get this done?
Thanks a lot