I\'m looking for an rsync-like program which will create any missing parent directories on the remote side.
rsync
For example, if I have /top/a/b/c/d
/top/a/b/c/d
You may be looking for
rsync -aR
for example:
rsync -a --relative /top/a/b/c/d remote:/
See also this trick in other question.