copy entire directory scp code example
Example 1: scp all files in directory
scp -r myfoldername [email protected]:/home/myfoldername
Example 2: scp copy recursive
scp -r /users/Edward/desktop [email protected]:/writing/article
scp -r myfoldername [email protected]:/home/myfoldername
scp -r /users/Edward/desktop [email protected]:/writing/article