This problem can be solved thus:
Code:
rsync -av '--include=test/*.txt' '--exclude=test/*' startdir/ targetdir/
the solution proposed by homey excluded test/ directory, while this only excludes the files in test directory.
I now still see a problem with the .txt-files in subdirectories of test...
Anybody ?