SCP – happy copy and transfer file in unix

Wanna copy and trnasfer file from one server to another ?

use SCP….

♦ for transfer :

scp file.txt user@server.com:/folder/destination

♦ transfer folder (use recursive) :

scp -r folder/ user@server.com:/folder/destination

♦ download file :

scp user@server.com:/folder/remote/file.txt .

♦ download folder and all file in the folder to a new_folder:

scp -r user@server.com:/folder/remote /home/user/new_folder/

full tutorial u can find in here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s