tags:

views:

150

answers:

1

How do I scp an entire folder into a folder of the same name without replacing the content in the destination folder? (instead, I would like to add to the contents of the destination folder)

+1  A: 

Here:

rsync -azv -e ssh --delete --progress localdir/ user@remotehost:remotedir/

Note the trailing slashes — they're important.

(I have the first bit aliased to rsync-usual because I use it so often.)

a paid nerd