I want to copy all files "pom.xml" from a big tree to a new tree: On each level of the src tree I have this file. I want to get the same tree structure, but ignore empty directories.
sounds like a rsync one-liner but I don't get it ... :-/
thanks in advance ...
rsync -avzm --include "*/" --include "pom.xml" --exclude "*" /path/to/src/tree /path/to/dest/tree