Search code examples
unixrsyncscp

How to see read errors with rsync like using scp?


When copying something using scp, you get clear read errors (I/O Errors) in the output.

How can you tell rsync to report read errors like scp?

scp: /home/abc/a0/0f/4e/7d-2a4b-4be0-ac7b-7f93c1706edf.pdf:
Input/output error

I need a way to detect read errors while synching with rsync.

Commands used:

scp -r root@XYZ:/home/abc .  
rsync -av --delete-before --rsync-path "ionice -c 3 nice rsync" --bwlimit=30000 root@XYZ:/home/abc .

Solution

  • If you use rsync -v and you wish more verbosity, there is no option that would show more information about the file transfer.

    So -v is already the highest level of verbosity.