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
--relative does not work for me since I had different setup. Maybe I just didn't understood how --relative works, but I found that the
--relative
ssh remote mkdir -p /top/a/b/c rsync /top/a/b/c/d remote:/top/a/b/c
is easy to understand and does the job.