How do I copy an entire directory into a directory of the same name without replacing the content in the destination directory? (instead, I would like to add to the contents of the destination folder)
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
migrated from stackoverflow.com Jun 2 '11 at 0:50
|
Use
(Note the |
|||
|
|
|
scp will overwrite the files if you have write permissions to them. In other words:
You can make |
||||
|
|
|
Here:
Note the trailing slashes — they're important. (I have the first bit aliased to |
|||||
|