Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The "--progress" option will keep you up to date on the transfer, and the "--partial" option will let you restart the transfer if there is an interruption (even if you kill the rsync manually). Check the man page (man rsync) for more details.
Last edited by macemoneta; 05-05-2005 at 02:11 PM.
Using scp would look something like this. If you don't have that machine in dns or the host file, you will need to use the ip address of that machine.
scp remote_machine:/mnt/images/some_file /local/folder
Rsync would look something like this..
rsync -avz -e ssh user@remote_machine:/some/folder /local/folder
Rsync sends only changed data. If you've updated a large file, only the changes will be sent (very fast). It can restart a partially sent file from where it left off (--partial); scp and sftp cannot. It can use compression on low bandwidth connections (--compress), for compressible data; scp and sftp cannot. You can limit your bandwidth consumption (--bwlimit), so you don;t monopolize a machine; scp and sftp cannot. It performs its own checksum to insure that data is transferred correctly; scp and sftp rely on the TCP checking, which can have problems on high error rate facilities. It can recursively transfer directory trees (--recursive); sftp cannot. It can copy file attributes (permissions, times, etc.); scp and sftp do not. It can keep local and remote directories synchronized; scp and sftp cannot. Many more reasons.
In short, there are lots of reasons rsync is the best way. It's a very useful tool to learn to use.