Rsync

Ʌ: Tech

Trailing slash behavior

Source

With slash

rsync -r source/ dest

Copies the contents of source to dest.

In other words, synchronizes dest and source.

Without slash

rsync -r source dest

Creates source in dest.

In other words, syncs source into dest/source.

Destination

There is no difference.