Linux / Unix: Rsync Resume Partially Downloaded Files

Linux / Unix: Rsync Resume Partially Downloaded Files

The rsync command can be used to resume a partially downloaded file by using the --partial and --append-verify options. These options allow rsync to resume the transfer of a file that was previously interrupted and to verify the integrity of the transferred data.

Here's an example of how to use rsync to resume a partially downloaded file:

  1. Start the rsync transfer as usual, using the rsync command and the source and destination directories or files. For example:
refe‮r‬ to:lautturi.com
rsync -avz source_directory/ destination_directory/

This will start the rsync transfer and create the destination directory if it does not exist.

  1. Interrupt the rsync transfer by pressing CTRL+C or by closing the terminal window.

  2. Resume the rsync transfer by running the same rsync command with the --partial and --append-verify options. For example:

rsync -avz --partial --append-verify source_directory/ destination_directory/

This will resume the rsync transfer and verify the integrity of the transferred data.

By using the --partial and --append-verify options, you can resume a partially downloaded file using rsync and ensure that the transferred data is complete and accurate. It's always a good idea to carefully review the documentation and use the appropriate options when using rsync. This will help ensure that your files are transferred efficiently and that any problems are detected and addressed.

Created Time:2017-10-29 22:08:59  Author:lautturi