miércoles, 16 de junio de 2010

How to copy directories to another AIX server using SCP

Just a quick note of how use SCP to copy one directory to another server.

Login to server where you want to copy the files/directory and run the following command:

scp -r sourceserver:/home/testdirectory /home

It going to ask for sourceserver credentials and will copy recursively (-r parameter) /home/testdirectory from sourceserver to /home at the server where you are.