Thursday, 1 January 2015

How to copy (Merge and Overwrite in destination) a folder from one Unix box to another ?

1. Log in to the Target box
2. Execute the following command

scp -rp <SOURCE_IP>:<SOURCE_FOLDER>/* <DESTINATION_FOLDER>

Example : scp -rp 10.75.105.166:/wfmtsw/vinoth/* /wfmtsw/vinoth

No comments:

Post a Comment