You have to use the option --exclude=PATTERN.
Just a couple of examples: to copy a directory structure (just the directories, but not the files inside them) use
Code:
--include '*/' --exclude '*'
To exclude all the .nc.gz files:
To exclude a directory called test and a directory called images:
Code:
--exclude=test/ --exclude=images/