I need to copy a whole folder from a remote computer. I am new to SSH and SCP.
How can I do that?
Assuming the remote server supports SSH and SCP, this guide is really helpful: SCP and SFTP for Unix and Mac OS X
To copy an entire folder from a remote server,
Example where I copy a folder called
Using the -r flag:
Aside from command line options like SCP, SFTP or rsync, on Mac OS X you can also just use File Sharing by enabling it from System Preferences. Your computer will then show up on other Apple computers which have Bonjour enabled and you can drag & drop your files across. See Apple's docs at: Mac 101: File Sharing
You can also use a GUI client such as FileZilla as an FTP client / server. You can download this here: http://filezilla-project.org/ This works well even for very large transfers where the connection is liable to drop as you can re-queue those files much more easily than on the command line.