I'm trying to sync all
*.jpg files from
/var/www/data/models/days/ + some other directories from
rsync -az --delete --include='/models' --include='*.jpg' --exclude='*' $SRC::/var/www/data /var/www/data
but it doesn't sync anything. What am I doing wrong?
NOTE: I don't want to change the source or target to include /models/days as I need some other directories with the same filename matching (