Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

SCP copying issue

Writer Emily Wong

I want to copy the files close to 500 GB from server to my local machine but I have very poor connectivity so the connection breaks in between. Every time when I run scp again, it is copying and overwriting the same set of files again rather than skipping the successfully copied files. However, this way I may not be able to copy the data ever. Please help

1

1 Answer

Use rsync.

rsync -avr --inplace user@source:/path/ /path/to/detination/

This will copy files, and keep partially written files so that you can resume transfer in middle of a file if it is interrupted for any reason.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy