Copy files from subfolder to folder using SSH

copy, ssh

Solution

I'm not too familiar with SSH though I have used WinSCP to do what you asked using an SSH connection. It was fairly easy, though I didn't have to deal with the server-side settings.

Problem

How do I copy all files inside `/directory/subfolder` to `/directory` using SSH? PS. I'm not going from 1 server to another, I'm just trying copy the files in the subfolder to update the site...

Original source