Lately I&#39;ve working on a backup script that utilize rsync together with MySQL logging. Everything has been working just fine until now when I needed to generate some errors for my error handling code.<br><br>So I took a CD (which I scratched with a needle) and mounted it to the file system. There after I started the backup job which went on forever and never got completed. It seems that rsync refused to understand that the file it tried to copy was located on damaged sectors on the CD, and there fore was unreadable.<br>
<br>So what I want is to make rsync skip a file after a couple of unsuccessful attempts to read it. I have searched Google for an answer and looked at the rsync manual but I couldn&#39;t find anything useful.<br><br>Thanks for your assistance.<br>
<br>/Tomas Gustavsson<br>