I just finished a project migrating 1,370 apps to another tree. (don't ask)

Now that we've got them all on one server, I need to copy the
distribution directory to a second server and add the second server's
distribution directory to every application's Fault Tolerance area.

Is there an automated way of doing this?