I am trying to synchronize a folder over ssh using rsync. In particular, I only want to get the png fils in the remote folder, as all the folder may occupy several gigas. The folder structure is the following
/path/test_0/Render/images/*.png /path/test_1/Render/images/*.png /path/test_2/Render/images/*.png ...
I have tried the following rsync command
rsync -avzhe ssh --progress --include='**.png' --exclude='*' user@remoteserver:/path/ .
but the output is only
receiving incremental file list sent 39 bytes received 60 bytes 28.29 bytes/sec total size is 0 speedup is 0.00
and nothing in synchronized.
What would be the correct way to achieve this?