On Mon, 2020-07-13 at 20:39 +1000, Cameron Simpson wrote:
Still this makes an unwanted subdirectory (unwanted to me, most of
the
time). I still prefer the both-src-and-dst-exist approach an to use a
trailing slash:
rsync -ia A/ B/
which just replicates the contents of A inside B.
My point is that leaving out the trailing slash on B makes absolutely
no difference to what happens.
poc