20210628 - Upgrade of php fixed the page rendering issue.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
slackbook:basic_networking_utilities [2012/09/17 02:47 (UTC)]
mfillpot [lftp] Added original text and formatting
slackbook:basic_networking_utilities [2012/09/17 02:49 (UTC)]
mfillpot [rsync] Added original text and formatting
Line 705: Line 705:
 ===== rsync ===== ===== rsync =====
  
-Ready to see something cool? Have you ever found yourself needing just a handful of files from a large directory, but you're not entirely sure which files you already have and which ones you need? You can download the entire directory again, but that's duplicating a lot of work. You can pick and chose, manually check everything, but that's very tedious. Perhaps you've downloaded a large file such as an ISO, but something went wrong with the download? It doesn't make sense that you should have to pull down the entire file again if only a few bits have been corrupted. Enter rsync(1), a fast and versatile copying tool for local and remote files.+Ready to see something cool? Have you ever found yourself needing just 
 +a handful of files from a large directory, but you're not entirely sure 
 +which files you already have and which ones you need? You can download 
 +the entire directory again, but that's duplicating a lot of work. You 
 +can pick and chose, manually check everything, but that's very tedious. 
 +Perhaps you've downloaded a large file such as an ISO, but something 
 +went wrong with the download? It doesn't make sense that you should 
 +have to pull down the entire file again if only a few bits have been 
 +corrupted.Enter **//rsync//**(1), a fast and 
 +versatile copying tool for local and remote files.
  
-rsync uses a handful of simple, but very effective techniques to determine what needs to be changed. By checking file size and time stamps, it can determine if two files are different. If something has changed, it can determine what bytes are different, and simply download that handfull of data rather than an entire file. It is truly a marvel of modern technology. 
  
-In its simplist form, rsync connects to an rsync protocol server and downloads a list of files and directories, along with their sizes, timestamps, and other information. It then compares this to the local files (if any) to determine what it needs to transfer. Only files that are different will be synced. Additionally, it breaks up large files into smaller chunks and compares those chunks using a quick and simple hash function. Any chunks that match are not transferred, so the amount of data that must be copied can be dramatically reduced. rsync also supports compression, verbose output, file deletion, permission handling, and many other options. For a complete list, you'll need to refer to the man page, but I've included a small table of some of the more common options.+**//rsync//** uses a handful of simple, but very 
 +effective techniques to determine what needs to be changed. By checking 
 +file size and time stamps, it can determine if two files are different. 
 +If something has changed, it can determine what bytes are different, 
 +and simply download that handfull of data rather than an entire file. 
 +It is truly a marvel of modern technology. 
 + 
 + 
 +In its simplist form, **//rsync//** connects to an 
 +rsync protocol server and downloads a list of files and directories, 
 +along with their sizes, timestamps, and other information. It then 
 +compares this to the local files (if any) to determine what it needs to 
 +transfer. Only files that are different will be synced.Additionally, 
 +it breaks up large files into smaller chunks and compares those chunks 
 +using a quick and simple hash function. Any chunks that match are not 
 +transferred, so the amount of data that must be copied can be 
 +dramatically reduced.**//rsync//** also supports 
 +compression, verbose output, file deletion, permission handling, and 
 +many other options. For a complete list, you'll need to refer to the 
 +man page, but I've included a small table of some of the more common 
 +options.
  
 **Table 16.1. rsync Arguments** **Table 16.1. rsync Arguments**
Line 722: Line 750:
 |-z |Compress - handy for slow network connections| |-z |Compress - handy for slow network connections|
  
-Due to the power and versatility of rsync, it can be invoked in a number of ways. The following two examples connect to an rsync protocol server to retrieve some information and to another server via ssh to encrypt the transmission.+Due to the power and versatility of **//rsync//**, 
 +it can be invoked in a number of ways.The following two examples 
 +connect to an rsync protocol server to retrieve some information and to 
 +another server via ssh to encrypt the transmission. 
  
 <code> <code>
Line 729: Line 761:
 darkstar:~# rsync -e ssh ftp.slackware.com:/home/alan/foo /tmp/foo darkstar:~# rsync -e ssh ftp.slackware.com:/home/alan/foo /tmp/foo
 </code> </code>
- 
 ====== Chapter Navigation ====== ====== Chapter Navigation ======
  

In Other Languages
QR Code
QR Code slackbook:basic_networking_utilities (generated for current page)