Per this question + answer , you can script it like a pipe. Pipes are an integral part of shell programming and shell scripting.
find /path/to/files -type l -print | \ rsync -av --files-from=- /path/to/files user@targethost :/path
What's going on here?
The find runs in / path / to / files and recursively recursively goes through everything "under" this point. The find options are conditions that limit the output of results using the -print option. In this case, to search for "standard output", only -type l lines will be printed (symbolic link, according to man find ).
These files become the "standard input" of the rsync --file-from command.
Take a picture. I have not actually tested this, but it seems to me that it should work.
ghoti source share