In this short article we will see How to SCP an entire folder in Linux. This task is very important to know when you work as a system administrator.
The SCP option that allows us to do this is the -r option, and is stands for:
-r Recursively copy entire directoryscp -r /path/folder/ user@server.com:/path/to/folderscp -r user@server.com:/path/to/folder /path/folder/