Downloading folder from server

Useful command to download a folder (and content) called “folderonserver” from a server, to the folder “home/localfolder” on the local computer:


home$ scp -r username@server.server:folderonserver localfolder

Obviously “folderonserver” is located in your home folder on the server, i.e, “homeserver/folderonserver”.