`tar -hc src/ | ssh target.machine 'tar -xC /path/to/remote'` - will create /path/to/remote/src/ on the target machine with symlinks replaced by their targers