scp -r localdir/ user@host:/path/

Category: SSH & Remote

scp -r localdir/ user@host:/path/

Copy an entire directory to a remote host

Copies an entire directory to a remote server. -r means 'recursive'.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.