rsync to make a backup
saved by41 people, first byMichail Litvak on 2006-04-26, last byDaniel Phillips on 2008-08-16
rsync to make a backuprsync -a a b
produces b/a/foo, whereas this command:
rsync -a a/ b
produces b/foo. The presence or absence of a trailing slash on
the destination argument (b, in this case) has no effect.