Copy files from subfolder to folder using SSH

copyssh

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…

Best Solution

scp -r /directory/subfolder/* user@host:/directory